From 86932d1cd9da72b36168ccbc60f614d65f307cb8 Mon Sep 17 00:00:00 2001 From: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Date: Wed, 10 May 2023 14:03:33 +0200 Subject: [PATCH] Test variant selection fix (#3617) * fixing attribute variants selection tests --- .../attributes/attributeVariantSelection.js | 69 +- .../pages/catalog/products/VariantsPage.js | 2 +- src/graphql/fragmentTypes.generated.ts | 52 +- src/graphql/typePolicies.generated.ts | 6924 ++++++++--------- src/graphql/types.generated.ts | 5150 ++++++------ 5 files changed, 6118 insertions(+), 6079 deletions(-) diff --git a/cypress/e2e/configuration/attributes/attributeVariantSelection.js b/cypress/e2e/configuration/attributes/attributeVariantSelection.js index 42190c65f..d41efb28d 100644 --- a/cypress/e2e/configuration/attributes/attributeVariantSelection.js +++ b/cypress/e2e/configuration/attributes/attributeVariantSelection.js @@ -48,6 +48,7 @@ describe("As an admin I want to use attributes in variant selection", () => { const name = `${startsWith}${ attributeType.key }${faker.datatype.number()}`; + const variantName = `cypress_variant_${faker.datatype.number()}`; const inputType = attributeType.key; const attributeValues = ["1", "2"]; let productType; @@ -57,43 +58,41 @@ describe("As an admin I want to use attributes in variant selection", () => { name, inputType, attributeValues, - }) - .then(({ productType: productTypeResp }) => { - productType = productTypeResp; + }).then(({ productType: productTypeResp }) => { + productType = productTypeResp; - createProductInChannelWithoutVariants({ - categoryId: category.id, - productTypeId: productType.id, - name, - channelId: channel.id, + createProductInChannelWithoutVariants({ + categoryId: category.id, + productTypeId: productType.id, + name, + channelId: channel.id, + }) + .then(productResp => { + product = productResp; + + cy.visit(addVariantUrl(product.id)).addAliasToGraphRequest( + "VariantCreate", + ); + + fillUpVariantDetails({ + sku: name, + attributeName: attributeValues[0], + attributeType: inputType, + costPrice: 10, + price: 10, + variantName, + }); + cy.wait("@VariantCreate"); + }) + .then(({ response }) => { + const variant = + response.body.data.productVariantCreate.productVariant; + getVariant(variant.id, channel.slug).then(({ attributes }) => { + expect(attributes[0].attribute.inputType).to.eq(inputType); + cy.confirmationMessageShouldAppear(); + }); }); - }) - .then(productResp => { - product = productResp; - - cy.visit(addVariantUrl(product.id)).addAliasToGraphRequest( - "VariantCreate", - ); - - fillUpVariantDetails({ - sku: name, - attributeName: attributeValues[0], - attributeType: inputType, - costPrice: 10, - price: 10, - }); - - cy.wait("@VariantCreate"); - }) - .then(({ response }) => { - const variant = - response.body.data.productVariantCreate.productVariant; - getVariant(variant.id, channel.slug); - }) - .then(({ attributes }) => { - expect(attributes[0].attribute.inputType).to.eq(inputType); - cy.confirmationMessageShouldAppear(); - }); + }); }, ); }); diff --git a/cypress/support/pages/catalog/products/VariantsPage.js b/cypress/support/pages/catalog/products/VariantsPage.js index db2bbf960..2173b00b1 100644 --- a/cypress/support/pages/catalog/products/VariantsPage.js +++ b/cypress/support/pages/catalog/products/VariantsPage.js @@ -161,7 +161,7 @@ export function selectOptionsAttribute(attributeName) { } export function selectBooleanAttributeToTrue() { - cy.get(VARIANTS_SELECTORS.booleanAttributeCheckbox).click(); + cy.get(VARIANTS_SELECTORS.attributeSelector).click(); } export function selectDateAttribute() { diff --git a/src/graphql/fragmentTypes.generated.ts b/src/graphql/fragmentTypes.generated.ts index 845074765..cf53a4f43 100644 --- a/src/graphql/fragmentTypes.generated.ts +++ b/src/graphql/fragmentTypes.generated.ts @@ -8,8 +8,8 @@ const result: PossibleTypesResultData = { "possibleTypes": { "DeliveryMethod": [ - "ShippingMethod", - "Warehouse" + "Warehouse", + "ShippingMethod" ], "Event": [ "AddressCreated", @@ -284,48 +284,48 @@ "Order" ], "TranslatableItem": [ + "ProductTranslatableContent", + "CollectionTranslatableContent", + "CategoryTranslatableContent", "AttributeTranslatableContent", "AttributeValueTranslatableContent", - "CategoryTranslatableContent", - "CollectionTranslatableContent", - "MenuItemTranslatableContent", - "PageTranslatableContent", - "ProductTranslatableContent", "ProductVariantTranslatableContent", - "SaleTranslatableContent", + "PageTranslatableContent", "ShippingMethodTranslatableContent", - "VoucherTranslatableContent" + "SaleTranslatableContent", + "VoucherTranslatableContent", + "MenuItemTranslatableContent" ], "TranslationTypes": [ + "ProductTranslation", + "CollectionTranslation", + "CategoryTranslation", "AttributeTranslation", "AttributeValueTranslation", - "CategoryTranslation", - "CollectionTranslation", - "MenuItemTranslation", - "PageTranslation", - "ProductTranslation", "ProductVariantTranslation", - "SaleTranslation", + "PageTranslation", "ShippingMethodTranslation", - "VoucherTranslation" + "SaleTranslation", + "VoucherTranslation", + "MenuItemTranslation" ], "UserOrApp": [ - "App", - "User" + "User", + "App" ], "_Entity": [ - "Address", "App", + "Address", + "User", + "Group", + "ProductVariant", + "Product", + "ProductType", + "ProductMedia", "Category", "Collection", - "Group", "Order", - "PageType", - "Product", - "ProductMedia", - "ProductType", - "ProductVariant", - "User" + "PageType" ] } }; diff --git a/src/graphql/typePolicies.generated.ts b/src/graphql/typePolicies.generated.ts index 6c6a7e152..6d814beaf 100644 --- a/src/graphql/typePolicies.generated.ts +++ b/src/graphql/typePolicies.generated.ts @@ -1,25 +1,25 @@ /* eslint-disable */ import { FieldPolicy, FieldReadFunction, TypePolicies, TypePolicy } from '@apollo/client/cache'; -export type AccountAddressCreateKeySpecifier = ('accountErrors' | 'address' | 'errors' | 'user' | AccountAddressCreateKeySpecifier)[]; +export type AccountAddressCreateKeySpecifier = ('user' | 'accountErrors' | 'errors' | 'address' | AccountAddressCreateKeySpecifier)[]; export type AccountAddressCreateFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - address?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; -export type AccountAddressDeleteKeySpecifier = ('accountErrors' | 'address' | 'errors' | 'user' | AccountAddressDeleteKeySpecifier)[]; +export type AccountAddressDeleteKeySpecifier = ('user' | 'accountErrors' | 'errors' | 'address' | AccountAddressDeleteKeySpecifier)[]; export type AccountAddressDeleteFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - address?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; -export type AccountAddressUpdateKeySpecifier = ('accountErrors' | 'address' | 'errors' | 'user' | AccountAddressUpdateKeySpecifier)[]; +export type AccountAddressUpdateKeySpecifier = ('user' | 'accountErrors' | 'errors' | 'address' | AccountAddressUpdateKeySpecifier)[]; export type AccountAddressUpdateFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - address?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; export type AccountDeleteKeySpecifier = ('accountErrors' | 'errors' | 'user' | AccountDeleteKeySpecifier)[]; export type AccountDeleteFieldPolicy = { @@ -27,18 +27,18 @@ export type AccountDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type AccountErrorKeySpecifier = ('addressType' | 'code' | 'field' | 'message' | AccountErrorKeySpecifier)[]; +export type AccountErrorKeySpecifier = ('field' | 'message' | 'code' | 'addressType' | AccountErrorKeySpecifier)[]; export type AccountErrorFieldPolicy = { - addressType?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + addressType?: FieldPolicy | FieldReadFunction }; -export type AccountRegisterKeySpecifier = ('accountErrors' | 'errors' | 'requiresConfirmation' | 'user' | AccountRegisterKeySpecifier)[]; +export type AccountRegisterKeySpecifier = ('requiresConfirmation' | 'accountErrors' | 'errors' | 'user' | AccountRegisterKeySpecifier)[]; export type AccountRegisterFieldPolicy = { + requiresConfirmation?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - requiresConfirmation?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; export type AccountRequestDeletionKeySpecifier = ('accountErrors' | 'errors' | AccountRequestDeletionKeySpecifier)[]; @@ -46,11 +46,11 @@ export type AccountRequestDeletionFieldPolicy = { accountErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type AccountSetDefaultAddressKeySpecifier = ('accountErrors' | 'errors' | 'user' | AccountSetDefaultAddressKeySpecifier)[]; +export type AccountSetDefaultAddressKeySpecifier = ('user' | 'accountErrors' | 'errors' | AccountSetDefaultAddressKeySpecifier)[]; export type AccountSetDefaultAddressFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; export type AccountUpdateKeySpecifier = ('accountErrors' | 'errors' | 'user' | AccountUpdateKeySpecifier)[]; export type AccountUpdateFieldPolicy = { @@ -58,99 +58,99 @@ export type AccountUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type AddressKeySpecifier = ('city' | 'cityArea' | 'companyName' | 'country' | 'countryArea' | 'firstName' | 'id' | 'isDefaultBillingAddress' | 'isDefaultShippingAddress' | 'lastName' | 'metadata' | 'metafield' | 'metafields' | 'phone' | 'postalCode' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'streetAddress1' | 'streetAddress2' | AddressKeySpecifier)[]; +export type AddressKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'firstName' | 'lastName' | 'companyName' | 'streetAddress1' | 'streetAddress2' | 'city' | 'cityArea' | 'postalCode' | 'country' | 'countryArea' | 'phone' | 'isDefaultShippingAddress' | 'isDefaultBillingAddress' | AddressKeySpecifier)[]; export type AddressFieldPolicy = { - city?: FieldPolicy | FieldReadFunction, - cityArea?: FieldPolicy | FieldReadFunction, - companyName?: FieldPolicy | FieldReadFunction, - country?: FieldPolicy | FieldReadFunction, - countryArea?: FieldPolicy | FieldReadFunction, - firstName?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isDefaultBillingAddress?: FieldPolicy | FieldReadFunction, - isDefaultShippingAddress?: FieldPolicy | FieldReadFunction, - lastName?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - phone?: FieldPolicy | FieldReadFunction, - postalCode?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + firstName?: FieldPolicy | FieldReadFunction, + lastName?: FieldPolicy | FieldReadFunction, + companyName?: FieldPolicy | FieldReadFunction, streetAddress1?: FieldPolicy | FieldReadFunction, - streetAddress2?: FieldPolicy | FieldReadFunction + streetAddress2?: FieldPolicy | FieldReadFunction, + city?: FieldPolicy | FieldReadFunction, + cityArea?: FieldPolicy | FieldReadFunction, + postalCode?: FieldPolicy | FieldReadFunction, + country?: FieldPolicy | FieldReadFunction, + countryArea?: FieldPolicy | FieldReadFunction, + phone?: FieldPolicy | FieldReadFunction, + isDefaultShippingAddress?: FieldPolicy | FieldReadFunction, + isDefaultBillingAddress?: FieldPolicy | FieldReadFunction }; -export type AddressCreateKeySpecifier = ('accountErrors' | 'address' | 'errors' | 'user' | AddressCreateKeySpecifier)[]; +export type AddressCreateKeySpecifier = ('user' | 'accountErrors' | 'errors' | 'address' | AddressCreateKeySpecifier)[]; export type AddressCreateFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - address?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; -export type AddressCreatedKeySpecifier = ('address' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AddressCreatedKeySpecifier)[]; +export type AddressCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'address' | AddressCreatedKeySpecifier)[]; export type AddressCreatedFieldPolicy = { - address?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; -export type AddressDeleteKeySpecifier = ('accountErrors' | 'address' | 'errors' | 'user' | AddressDeleteKeySpecifier)[]; +export type AddressDeleteKeySpecifier = ('user' | 'accountErrors' | 'errors' | 'address' | AddressDeleteKeySpecifier)[]; export type AddressDeleteFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - address?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; -export type AddressDeletedKeySpecifier = ('address' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AddressDeletedKeySpecifier)[]; +export type AddressDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'address' | AddressDeletedKeySpecifier)[]; export type AddressDeletedFieldPolicy = { - address?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; -export type AddressSetDefaultKeySpecifier = ('accountErrors' | 'errors' | 'user' | AddressSetDefaultKeySpecifier)[]; +export type AddressSetDefaultKeySpecifier = ('user' | 'accountErrors' | 'errors' | AddressSetDefaultKeySpecifier)[]; export type AddressSetDefaultFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type AddressUpdateKeySpecifier = ('accountErrors' | 'address' | 'errors' | 'user' | AddressUpdateKeySpecifier)[]; +export type AddressUpdateKeySpecifier = ('user' | 'accountErrors' | 'errors' | 'address' | AddressUpdateKeySpecifier)[]; export type AddressUpdateFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - address?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; -export type AddressUpdatedKeySpecifier = ('address' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AddressUpdatedKeySpecifier)[]; +export type AddressUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'address' | AddressUpdatedKeySpecifier)[]; export type AddressUpdatedFieldPolicy = { - address?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + address?: FieldPolicy | FieldReadFunction }; -export type AddressValidationDataKeySpecifier = ('addressFormat' | 'addressLatinFormat' | 'allowedFields' | 'cityAreaChoices' | 'cityAreaType' | 'cityChoices' | 'cityType' | 'countryAreaChoices' | 'countryAreaType' | 'countryCode' | 'countryName' | 'postalCodeExamples' | 'postalCodeMatchers' | 'postalCodePrefix' | 'postalCodeType' | 'requiredFields' | 'upperFields' | AddressValidationDataKeySpecifier)[]; +export type AddressValidationDataKeySpecifier = ('countryCode' | 'countryName' | 'addressFormat' | 'addressLatinFormat' | 'allowedFields' | 'requiredFields' | 'upperFields' | 'countryAreaType' | 'countryAreaChoices' | 'cityType' | 'cityChoices' | 'cityAreaType' | 'cityAreaChoices' | 'postalCodeType' | 'postalCodeMatchers' | 'postalCodeExamples' | 'postalCodePrefix' | AddressValidationDataKeySpecifier)[]; export type AddressValidationDataFieldPolicy = { + countryCode?: FieldPolicy | FieldReadFunction, + countryName?: FieldPolicy | FieldReadFunction, addressFormat?: FieldPolicy | FieldReadFunction, addressLatinFormat?: FieldPolicy | FieldReadFunction, allowedFields?: FieldPolicy | FieldReadFunction, - cityAreaChoices?: FieldPolicy | FieldReadFunction, - cityAreaType?: FieldPolicy | FieldReadFunction, - cityChoices?: FieldPolicy | FieldReadFunction, - cityType?: FieldPolicy | FieldReadFunction, - countryAreaChoices?: FieldPolicy | FieldReadFunction, - countryAreaType?: FieldPolicy | FieldReadFunction, - countryCode?: FieldPolicy | FieldReadFunction, - countryName?: FieldPolicy | FieldReadFunction, - postalCodeExamples?: FieldPolicy | FieldReadFunction, - postalCodeMatchers?: FieldPolicy | FieldReadFunction, - postalCodePrefix?: FieldPolicy | FieldReadFunction, - postalCodeType?: FieldPolicy | FieldReadFunction, requiredFields?: FieldPolicy | FieldReadFunction, - upperFields?: FieldPolicy | FieldReadFunction + upperFields?: FieldPolicy | FieldReadFunction, + countryAreaType?: FieldPolicy | FieldReadFunction, + countryAreaChoices?: FieldPolicy | FieldReadFunction, + cityType?: FieldPolicy | FieldReadFunction, + cityChoices?: FieldPolicy | FieldReadFunction, + cityAreaType?: FieldPolicy | FieldReadFunction, + cityAreaChoices?: FieldPolicy | FieldReadFunction, + postalCodeType?: FieldPolicy | FieldReadFunction, + postalCodeMatchers?: FieldPolicy | FieldReadFunction, + postalCodeExamples?: FieldPolicy | FieldReadFunction, + postalCodePrefix?: FieldPolicy | FieldReadFunction }; export type AllocationKeySpecifier = ('id' | 'quantity' | 'warehouse' | AllocationKeySpecifier)[]; export type AllocationFieldPolicy = { @@ -158,273 +158,273 @@ export type AllocationFieldPolicy = { quantity?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type AppKeySpecifier = ('aboutApp' | 'accessToken' | 'appUrl' | 'author' | 'configurationUrl' | 'created' | 'dataPrivacy' | 'dataPrivacyUrl' | 'extensions' | 'homepageUrl' | 'id' | 'isActive' | 'manifestUrl' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'permissions' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'supportUrl' | 'tokens' | 'type' | 'version' | 'webhooks' | AppKeySpecifier)[]; +export type AppKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'permissions' | 'created' | 'isActive' | 'name' | 'type' | 'tokens' | 'webhooks' | 'aboutApp' | 'dataPrivacy' | 'dataPrivacyUrl' | 'homepageUrl' | 'supportUrl' | 'configurationUrl' | 'appUrl' | 'manifestUrl' | 'version' | 'accessToken' | 'author' | 'extensions' | AppKeySpecifier)[]; export type AppFieldPolicy = { - aboutApp?: FieldPolicy | FieldReadFunction, - accessToken?: FieldPolicy | FieldReadFunction, - appUrl?: FieldPolicy | FieldReadFunction, - author?: FieldPolicy | FieldReadFunction, - configurationUrl?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, - dataPrivacy?: FieldPolicy | FieldReadFunction, - dataPrivacyUrl?: FieldPolicy | FieldReadFunction, - extensions?: FieldPolicy | FieldReadFunction, - homepageUrl?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isActive?: FieldPolicy | FieldReadFunction, - manifestUrl?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - permissions?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - supportUrl?: FieldPolicy | FieldReadFunction, - tokens?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, - webhooks?: FieldPolicy | FieldReadFunction -}; -export type AppActivateKeySpecifier = ('app' | 'appErrors' | 'errors' | AppActivateKeySpecifier)[]; -export type AppActivateFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - appErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction -}; -export type AppCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | AppCountableConnectionKeySpecifier)[]; -export type AppCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type AppCountableEdgeKeySpecifier = ('cursor' | 'node' | AppCountableEdgeKeySpecifier)[]; -export type AppCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type AppCreateKeySpecifier = ('app' | 'appErrors' | 'authToken' | 'errors' | AppCreateKeySpecifier)[]; -export type AppCreateFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - appErrors?: FieldPolicy | FieldReadFunction, - authToken?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction -}; -export type AppDeactivateKeySpecifier = ('app' | 'appErrors' | 'errors' | AppDeactivateKeySpecifier)[]; -export type AppDeactivateFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - appErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction -}; -export type AppDeleteKeySpecifier = ('app' | 'appErrors' | 'errors' | AppDeleteKeySpecifier)[]; -export type AppDeleteFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - appErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction -}; -export type AppDeleteFailedInstallationKeySpecifier = ('appErrors' | 'appInstallation' | 'errors' | AppDeleteFailedInstallationKeySpecifier)[]; -export type AppDeleteFailedInstallationFieldPolicy = { - appErrors?: FieldPolicy | FieldReadFunction, - appInstallation?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction -}; -export type AppDeletedKeySpecifier = ('app' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AppDeletedKeySpecifier)[]; -export type AppDeletedFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type AppErrorKeySpecifier = ('code' | 'field' | 'message' | 'permissions' | AppErrorKeySpecifier)[]; -export type AppErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - permissions?: FieldPolicy | FieldReadFunction -}; -export type AppExtensionKeySpecifier = ('accessToken' | 'app' | 'id' | 'label' | 'mount' | 'permissions' | 'target' | 'url' | AppExtensionKeySpecifier)[]; -export type AppExtensionFieldPolicy = { - accessToken?: FieldPolicy | FieldReadFunction, - app?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - label?: FieldPolicy | FieldReadFunction, - mount?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, permissions?: FieldPolicy | FieldReadFunction, - target?: FieldPolicy | FieldReadFunction, - url?: FieldPolicy | FieldReadFunction + created?: FieldPolicy | FieldReadFunction, + isActive?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + tokens?: FieldPolicy | FieldReadFunction, + webhooks?: FieldPolicy | FieldReadFunction, + aboutApp?: FieldPolicy | FieldReadFunction, + dataPrivacy?: FieldPolicy | FieldReadFunction, + dataPrivacyUrl?: FieldPolicy | FieldReadFunction, + homepageUrl?: FieldPolicy | FieldReadFunction, + supportUrl?: FieldPolicy | FieldReadFunction, + configurationUrl?: FieldPolicy | FieldReadFunction, + appUrl?: FieldPolicy | FieldReadFunction, + manifestUrl?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + accessToken?: FieldPolicy | FieldReadFunction, + author?: FieldPolicy | FieldReadFunction, + extensions?: FieldPolicy | FieldReadFunction }; -export type AppExtensionCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | AppExtensionCountableConnectionKeySpecifier)[]; -export type AppExtensionCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type AppExtensionCountableEdgeKeySpecifier = ('cursor' | 'node' | AppExtensionCountableEdgeKeySpecifier)[]; -export type AppExtensionCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type AppFetchManifestKeySpecifier = ('appErrors' | 'errors' | 'manifest' | AppFetchManifestKeySpecifier)[]; -export type AppFetchManifestFieldPolicy = { +export type AppActivateKeySpecifier = ('appErrors' | 'errors' | 'app' | AppActivateKeySpecifier)[]; +export type AppActivateFieldPolicy = { appErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - manifest?: FieldPolicy | FieldReadFunction + app?: FieldPolicy | FieldReadFunction }; -export type AppInstallKeySpecifier = ('appErrors' | 'appInstallation' | 'errors' | AppInstallKeySpecifier)[]; -export type AppInstallFieldPolicy = { +export type AppCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | AppCountableConnectionKeySpecifier)[]; +export type AppCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type AppCountableEdgeKeySpecifier = ('node' | 'cursor' | AppCountableEdgeKeySpecifier)[]; +export type AppCountableEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type AppCreateKeySpecifier = ('authToken' | 'appErrors' | 'errors' | 'app' | AppCreateKeySpecifier)[]; +export type AppCreateFieldPolicy = { + authToken?: FieldPolicy | FieldReadFunction, appErrors?: FieldPolicy | FieldReadFunction, - appInstallation?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction }; -export type AppInstallationKeySpecifier = ('appName' | 'createdAt' | 'id' | 'manifestUrl' | 'message' | 'status' | 'updatedAt' | AppInstallationKeySpecifier)[]; -export type AppInstallationFieldPolicy = { - appName?: FieldPolicy | FieldReadFunction, - createdAt?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - manifestUrl?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - status?: FieldPolicy | FieldReadFunction, - updatedAt?: FieldPolicy | FieldReadFunction +export type AppDeactivateKeySpecifier = ('appErrors' | 'errors' | 'app' | AppDeactivateKeySpecifier)[]; +export type AppDeactivateFieldPolicy = { + appErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction }; -export type AppInstalledKeySpecifier = ('app' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AppInstalledKeySpecifier)[]; -export type AppInstalledFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, +export type AppDeleteKeySpecifier = ('appErrors' | 'errors' | 'app' | AppDeleteKeySpecifier)[]; +export type AppDeleteFieldPolicy = { + appErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction +}; +export type AppDeleteFailedInstallationKeySpecifier = ('appErrors' | 'errors' | 'appInstallation' | AppDeleteFailedInstallationKeySpecifier)[]; +export type AppDeleteFailedInstallationFieldPolicy = { + appErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + appInstallation?: FieldPolicy | FieldReadFunction +}; +export type AppDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'app' | AppDeletedKeySpecifier)[]; +export type AppDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + app?: FieldPolicy | FieldReadFunction }; -export type AppManifestExtensionKeySpecifier = ('label' | 'mount' | 'permissions' | 'target' | 'url' | AppManifestExtensionKeySpecifier)[]; -export type AppManifestExtensionFieldPolicy = { - label?: FieldPolicy | FieldReadFunction, - mount?: FieldPolicy | FieldReadFunction, +export type AppErrorKeySpecifier = ('field' | 'message' | 'code' | 'permissions' | AppErrorKeySpecifier)[]; +export type AppErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + permissions?: FieldPolicy | FieldReadFunction +}; +export type AppExtensionKeySpecifier = ('id' | 'permissions' | 'label' | 'url' | 'mount' | 'target' | 'app' | 'accessToken' | AppExtensionKeySpecifier)[]; +export type AppExtensionFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, permissions?: FieldPolicy | FieldReadFunction, + label?: FieldPolicy | FieldReadFunction, + url?: FieldPolicy | FieldReadFunction, + mount?: FieldPolicy | FieldReadFunction, target?: FieldPolicy | FieldReadFunction, - url?: FieldPolicy | FieldReadFunction + app?: FieldPolicy | FieldReadFunction, + accessToken?: FieldPolicy | FieldReadFunction +}; +export type AppExtensionCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | AppExtensionCountableConnectionKeySpecifier)[]; +export type AppExtensionCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type AppExtensionCountableEdgeKeySpecifier = ('node' | 'cursor' | AppExtensionCountableEdgeKeySpecifier)[]; +export type AppExtensionCountableEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type AppFetchManifestKeySpecifier = ('manifest' | 'appErrors' | 'errors' | AppFetchManifestKeySpecifier)[]; +export type AppFetchManifestFieldPolicy = { + manifest?: FieldPolicy | FieldReadFunction, + appErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type AppInstallKeySpecifier = ('appErrors' | 'errors' | 'appInstallation' | AppInstallKeySpecifier)[]; +export type AppInstallFieldPolicy = { + appErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + appInstallation?: FieldPolicy | FieldReadFunction +}; +export type AppInstallationKeySpecifier = ('id' | 'status' | 'createdAt' | 'updatedAt' | 'message' | 'appName' | 'manifestUrl' | AppInstallationKeySpecifier)[]; +export type AppInstallationFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + status?: FieldPolicy | FieldReadFunction, + createdAt?: FieldPolicy | FieldReadFunction, + updatedAt?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + appName?: FieldPolicy | FieldReadFunction, + manifestUrl?: FieldPolicy | FieldReadFunction +}; +export type AppInstalledKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'app' | AppInstalledKeySpecifier)[]; +export type AppInstalledFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction +}; +export type AppManifestExtensionKeySpecifier = ('permissions' | 'label' | 'url' | 'mount' | 'target' | AppManifestExtensionKeySpecifier)[]; +export type AppManifestExtensionFieldPolicy = { + permissions?: FieldPolicy | FieldReadFunction, + label?: FieldPolicy | FieldReadFunction, + url?: FieldPolicy | FieldReadFunction, + mount?: FieldPolicy | FieldReadFunction, + target?: FieldPolicy | FieldReadFunction }; export type AppManifestRequiredSaleorVersionKeySpecifier = ('constraint' | 'satisfied' | AppManifestRequiredSaleorVersionKeySpecifier)[]; export type AppManifestRequiredSaleorVersionFieldPolicy = { constraint?: FieldPolicy | FieldReadFunction, satisfied?: FieldPolicy | FieldReadFunction }; -export type AppManifestWebhookKeySpecifier = ('asyncEvents' | 'name' | 'query' | 'syncEvents' | 'targetUrl' | AppManifestWebhookKeySpecifier)[]; +export type AppManifestWebhookKeySpecifier = ('name' | 'asyncEvents' | 'syncEvents' | 'query' | 'targetUrl' | AppManifestWebhookKeySpecifier)[]; export type AppManifestWebhookFieldPolicy = { - asyncEvents?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - query?: FieldPolicy | FieldReadFunction, + asyncEvents?: FieldPolicy | FieldReadFunction, syncEvents?: FieldPolicy | FieldReadFunction, + query?: FieldPolicy | FieldReadFunction, targetUrl?: FieldPolicy | FieldReadFunction }; -export type AppRetryInstallKeySpecifier = ('appErrors' | 'appInstallation' | 'errors' | AppRetryInstallKeySpecifier)[]; +export type AppRetryInstallKeySpecifier = ('appErrors' | 'errors' | 'appInstallation' | AppRetryInstallKeySpecifier)[]; export type AppRetryInstallFieldPolicy = { appErrors?: FieldPolicy | FieldReadFunction, - appInstallation?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + appInstallation?: FieldPolicy | FieldReadFunction }; -export type AppStatusChangedKeySpecifier = ('app' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AppStatusChangedKeySpecifier)[]; +export type AppStatusChangedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'app' | AppStatusChangedKeySpecifier)[]; export type AppStatusChangedFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + app?: FieldPolicy | FieldReadFunction }; -export type AppTokenKeySpecifier = ('authToken' | 'id' | 'name' | AppTokenKeySpecifier)[]; +export type AppTokenKeySpecifier = ('id' | 'name' | 'authToken' | AppTokenKeySpecifier)[]; export type AppTokenFieldPolicy = { - authToken?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction + name?: FieldPolicy | FieldReadFunction, + authToken?: FieldPolicy | FieldReadFunction }; -export type AppTokenCreateKeySpecifier = ('appErrors' | 'appToken' | 'authToken' | 'errors' | AppTokenCreateKeySpecifier)[]; +export type AppTokenCreateKeySpecifier = ('authToken' | 'appErrors' | 'errors' | 'appToken' | AppTokenCreateKeySpecifier)[]; export type AppTokenCreateFieldPolicy = { - appErrors?: FieldPolicy | FieldReadFunction, - appToken?: FieldPolicy | FieldReadFunction, authToken?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + appErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + appToken?: FieldPolicy | FieldReadFunction }; -export type AppTokenDeleteKeySpecifier = ('appErrors' | 'appToken' | 'errors' | AppTokenDeleteKeySpecifier)[]; +export type AppTokenDeleteKeySpecifier = ('appErrors' | 'errors' | 'appToken' | AppTokenDeleteKeySpecifier)[]; export type AppTokenDeleteFieldPolicy = { appErrors?: FieldPolicy | FieldReadFunction, - appToken?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + appToken?: FieldPolicy | FieldReadFunction +}; +export type AppTokenVerifyKeySpecifier = ('valid' | 'appErrors' | 'errors' | AppTokenVerifyKeySpecifier)[]; +export type AppTokenVerifyFieldPolicy = { + valid?: FieldPolicy | FieldReadFunction, + appErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type AppTokenVerifyKeySpecifier = ('appErrors' | 'errors' | 'valid' | AppTokenVerifyKeySpecifier)[]; -export type AppTokenVerifyFieldPolicy = { +export type AppUpdateKeySpecifier = ('appErrors' | 'errors' | 'app' | AppUpdateKeySpecifier)[]; +export type AppUpdateFieldPolicy = { appErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - valid?: FieldPolicy | FieldReadFunction + app?: FieldPolicy | FieldReadFunction }; -export type AppUpdateKeySpecifier = ('app' | 'appErrors' | 'errors' | AppUpdateKeySpecifier)[]; -export type AppUpdateFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - appErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction -}; -export type AppUpdatedKeySpecifier = ('app' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AppUpdatedKeySpecifier)[]; +export type AppUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'app' | AppUpdatedKeySpecifier)[]; export type AppUpdatedFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + app?: FieldPolicy | FieldReadFunction }; -export type AssignNavigationKeySpecifier = ('errors' | 'menu' | 'menuErrors' | AssignNavigationKeySpecifier)[]; +export type AssignNavigationKeySpecifier = ('menu' | 'menuErrors' | 'errors' | AssignNavigationKeySpecifier)[]; export type AssignNavigationFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, menu?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction + menuErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; export type AssignedVariantAttributeKeySpecifier = ('attribute' | 'variantSelection' | AssignedVariantAttributeKeySpecifier)[]; export type AssignedVariantAttributeFieldPolicy = { attribute?: FieldPolicy | FieldReadFunction, variantSelection?: FieldPolicy | FieldReadFunction }; -export type AttributeKeySpecifier = ('availableInGrid' | 'choices' | 'entityType' | 'externalReference' | 'filterableInDashboard' | 'filterableInStorefront' | 'id' | 'inputType' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'productTypes' | 'productVariantTypes' | 'slug' | 'storefrontSearchPosition' | 'translation' | 'type' | 'unit' | 'valueRequired' | 'visibleInStorefront' | 'withChoices' | AttributeKeySpecifier)[]; +export type AttributeKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'inputType' | 'entityType' | 'name' | 'slug' | 'type' | 'unit' | 'choices' | 'valueRequired' | 'visibleInStorefront' | 'filterableInStorefront' | 'filterableInDashboard' | 'availableInGrid' | 'storefrontSearchPosition' | 'translation' | 'withChoices' | 'productTypes' | 'productVariantTypes' | 'externalReference' | AttributeKeySpecifier)[]; export type AttributeFieldPolicy = { - availableInGrid?: FieldPolicy | FieldReadFunction, - choices?: FieldPolicy | FieldReadFunction, - entityType?: FieldPolicy | FieldReadFunction, - externalReference?: FieldPolicy | FieldReadFunction, - filterableInDashboard?: FieldPolicy | FieldReadFunction, - filterableInStorefront?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - inputType?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - productTypes?: FieldPolicy | FieldReadFunction, - productVariantTypes?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + inputType?: FieldPolicy | FieldReadFunction, + entityType?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, slug?: FieldPolicy | FieldReadFunction, - storefrontSearchPosition?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, type?: FieldPolicy | FieldReadFunction, unit?: FieldPolicy | FieldReadFunction, + choices?: FieldPolicy | FieldReadFunction, valueRequired?: FieldPolicy | FieldReadFunction, visibleInStorefront?: FieldPolicy | FieldReadFunction, - withChoices?: FieldPolicy | FieldReadFunction + filterableInStorefront?: FieldPolicy | FieldReadFunction, + filterableInDashboard?: FieldPolicy | FieldReadFunction, + availableInGrid?: FieldPolicy | FieldReadFunction, + storefrontSearchPosition?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + withChoices?: FieldPolicy | FieldReadFunction, + productTypes?: FieldPolicy | FieldReadFunction, + productVariantTypes?: FieldPolicy | FieldReadFunction, + externalReference?: FieldPolicy | FieldReadFunction }; -export type AttributeBulkDeleteKeySpecifier = ('attributeErrors' | 'count' | 'errors' | AttributeBulkDeleteKeySpecifier)[]; +export type AttributeBulkDeleteKeySpecifier = ('count' | 'attributeErrors' | 'errors' | AttributeBulkDeleteKeySpecifier)[]; export type AttributeBulkDeleteFieldPolicy = { - attributeErrors?: FieldPolicy | FieldReadFunction, count?: FieldPolicy | FieldReadFunction, + attributeErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type AttributeCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | AttributeCountableConnectionKeySpecifier)[]; +export type AttributeCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | AttributeCountableConnectionKeySpecifier)[]; export type AttributeCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type AttributeCountableEdgeKeySpecifier = ('cursor' | 'node' | AttributeCountableEdgeKeySpecifier)[]; +export type AttributeCountableEdgeKeySpecifier = ('node' | 'cursor' | AttributeCountableEdgeKeySpecifier)[]; export type AttributeCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; export type AttributeCreateKeySpecifier = ('attribute' | 'attributeErrors' | 'errors' | AttributeCreateKeySpecifier)[]; export type AttributeCreateFieldPolicy = { @@ -432,33 +432,33 @@ export type AttributeCreateFieldPolicy = { attributeErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type AttributeCreatedKeySpecifier = ('attribute' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AttributeCreatedKeySpecifier)[]; +export type AttributeCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'attribute' | AttributeCreatedKeySpecifier)[]; export type AttributeCreatedFieldPolicy = { - attribute?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + attribute?: FieldPolicy | FieldReadFunction }; -export type AttributeDeleteKeySpecifier = ('attribute' | 'attributeErrors' | 'errors' | AttributeDeleteKeySpecifier)[]; +export type AttributeDeleteKeySpecifier = ('attributeErrors' | 'errors' | 'attribute' | AttributeDeleteKeySpecifier)[]; export type AttributeDeleteFieldPolicy = { - attribute?: FieldPolicy | FieldReadFunction, attributeErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + attribute?: FieldPolicy | FieldReadFunction }; -export type AttributeDeletedKeySpecifier = ('attribute' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AttributeDeletedKeySpecifier)[]; +export type AttributeDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'attribute' | AttributeDeletedKeySpecifier)[]; export type AttributeDeletedFieldPolicy = { - attribute?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + attribute?: FieldPolicy | FieldReadFunction }; -export type AttributeErrorKeySpecifier = ('code' | 'field' | 'message' | AttributeErrorKeySpecifier)[]; +export type AttributeErrorKeySpecifier = ('field' | 'message' | 'code' | AttributeErrorKeySpecifier)[]; export type AttributeErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; export type AttributeReorderValuesKeySpecifier = ('attribute' | 'attributeErrors' | 'errors' | AttributeReorderValuesKeySpecifier)[]; export type AttributeReorderValuesFieldPolicy = { @@ -466,18 +466,18 @@ export type AttributeReorderValuesFieldPolicy = { attributeErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type AttributeTranslatableContentKeySpecifier = ('attribute' | 'id' | 'name' | 'translation' | AttributeTranslatableContentKeySpecifier)[]; +export type AttributeTranslatableContentKeySpecifier = ('id' | 'name' | 'translation' | 'attribute' | AttributeTranslatableContentKeySpecifier)[]; export type AttributeTranslatableContentFieldPolicy = { - attribute?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction + translation?: FieldPolicy | FieldReadFunction, + attribute?: FieldPolicy | FieldReadFunction }; -export type AttributeTranslateKeySpecifier = ('attribute' | 'errors' | 'translationErrors' | AttributeTranslateKeySpecifier)[]; +export type AttributeTranslateKeySpecifier = ('translationErrors' | 'errors' | 'attribute' | AttributeTranslateKeySpecifier)[]; export type AttributeTranslateFieldPolicy = { - attribute?: FieldPolicy | FieldReadFunction, + translationErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction + attribute?: FieldPolicy | FieldReadFunction }; export type AttributeTranslationKeySpecifier = ('id' | 'language' | 'name' | AttributeTranslationKeySpecifier)[]; export type AttributeTranslationFieldPolicy = { @@ -491,268 +491,268 @@ export type AttributeUpdateFieldPolicy = { attributeErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type AttributeUpdatedKeySpecifier = ('attribute' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AttributeUpdatedKeySpecifier)[]; +export type AttributeUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'attribute' | AttributeUpdatedKeySpecifier)[]; export type AttributeUpdatedFieldPolicy = { - attribute?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + attribute?: FieldPolicy | FieldReadFunction }; -export type AttributeValueKeySpecifier = ('boolean' | 'date' | 'dateTime' | 'externalReference' | 'file' | 'id' | 'inputType' | 'name' | 'plainText' | 'reference' | 'richText' | 'slug' | 'translation' | 'value' | AttributeValueKeySpecifier)[]; +export type AttributeValueKeySpecifier = ('id' | 'name' | 'slug' | 'value' | 'translation' | 'inputType' | 'reference' | 'file' | 'richText' | 'plainText' | 'boolean' | 'date' | 'dateTime' | 'externalReference' | AttributeValueKeySpecifier)[]; export type AttributeValueFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + slug?: FieldPolicy | FieldReadFunction, + value?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + inputType?: FieldPolicy | FieldReadFunction, + reference?: FieldPolicy | FieldReadFunction, + file?: FieldPolicy | FieldReadFunction, + richText?: FieldPolicy | FieldReadFunction, + plainText?: FieldPolicy | FieldReadFunction, boolean?: FieldPolicy | FieldReadFunction, date?: FieldPolicy | FieldReadFunction, dateTime?: FieldPolicy | FieldReadFunction, - externalReference?: FieldPolicy | FieldReadFunction, - file?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - inputType?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - plainText?: FieldPolicy | FieldReadFunction, - reference?: FieldPolicy | FieldReadFunction, - richText?: FieldPolicy | FieldReadFunction, - slug?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, - value?: FieldPolicy | FieldReadFunction + externalReference?: FieldPolicy | FieldReadFunction }; -export type AttributeValueBulkDeleteKeySpecifier = ('attributeErrors' | 'count' | 'errors' | AttributeValueBulkDeleteKeySpecifier)[]; +export type AttributeValueBulkDeleteKeySpecifier = ('count' | 'attributeErrors' | 'errors' | AttributeValueBulkDeleteKeySpecifier)[]; export type AttributeValueBulkDeleteFieldPolicy = { - attributeErrors?: FieldPolicy | FieldReadFunction, count?: FieldPolicy | FieldReadFunction, + attributeErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type AttributeValueCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | AttributeValueCountableConnectionKeySpecifier)[]; +export type AttributeValueCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | AttributeValueCountableConnectionKeySpecifier)[]; export type AttributeValueCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type AttributeValueCountableEdgeKeySpecifier = ('cursor' | 'node' | AttributeValueCountableEdgeKeySpecifier)[]; +export type AttributeValueCountableEdgeKeySpecifier = ('node' | 'cursor' | AttributeValueCountableEdgeKeySpecifier)[]; export type AttributeValueCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type AttributeValueCreateKeySpecifier = ('attribute' | 'attributeErrors' | 'attributeValue' | 'errors' | AttributeValueCreateKeySpecifier)[]; +export type AttributeValueCreateKeySpecifier = ('attribute' | 'attributeErrors' | 'errors' | 'attributeValue' | AttributeValueCreateKeySpecifier)[]; export type AttributeValueCreateFieldPolicy = { attribute?: FieldPolicy | FieldReadFunction, attributeErrors?: FieldPolicy | FieldReadFunction, - attributeValue?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + attributeValue?: FieldPolicy | FieldReadFunction }; -export type AttributeValueCreatedKeySpecifier = ('attributeValue' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AttributeValueCreatedKeySpecifier)[]; +export type AttributeValueCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'attributeValue' | AttributeValueCreatedKeySpecifier)[]; export type AttributeValueCreatedFieldPolicy = { - attributeValue?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + attributeValue?: FieldPolicy | FieldReadFunction }; -export type AttributeValueDeleteKeySpecifier = ('attribute' | 'attributeErrors' | 'attributeValue' | 'errors' | AttributeValueDeleteKeySpecifier)[]; +export type AttributeValueDeleteKeySpecifier = ('attribute' | 'attributeErrors' | 'errors' | 'attributeValue' | AttributeValueDeleteKeySpecifier)[]; export type AttributeValueDeleteFieldPolicy = { attribute?: FieldPolicy | FieldReadFunction, attributeErrors?: FieldPolicy | FieldReadFunction, - attributeValue?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + attributeValue?: FieldPolicy | FieldReadFunction }; -export type AttributeValueDeletedKeySpecifier = ('attributeValue' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AttributeValueDeletedKeySpecifier)[]; +export type AttributeValueDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'attributeValue' | AttributeValueDeletedKeySpecifier)[]; export type AttributeValueDeletedFieldPolicy = { - attributeValue?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + attributeValue?: FieldPolicy | FieldReadFunction }; -export type AttributeValueTranslatableContentKeySpecifier = ('attribute' | 'attributeValue' | 'id' | 'name' | 'plainText' | 'richText' | 'translation' | AttributeValueTranslatableContentKeySpecifier)[]; +export type AttributeValueTranslatableContentKeySpecifier = ('id' | 'name' | 'richText' | 'plainText' | 'translation' | 'attributeValue' | 'attribute' | AttributeValueTranslatableContentKeySpecifier)[]; export type AttributeValueTranslatableContentFieldPolicy = { - attribute?: FieldPolicy | FieldReadFunction, - attributeValue?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - plainText?: FieldPolicy | FieldReadFunction, richText?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction -}; -export type AttributeValueTranslateKeySpecifier = ('attributeValue' | 'errors' | 'translationErrors' | AttributeValueTranslateKeySpecifier)[]; -export type AttributeValueTranslateFieldPolicy = { + plainText?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, attributeValue?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction + attribute?: FieldPolicy | FieldReadFunction }; -export type AttributeValueTranslationKeySpecifier = ('id' | 'language' | 'name' | 'plainText' | 'richText' | AttributeValueTranslationKeySpecifier)[]; +export type AttributeValueTranslateKeySpecifier = ('translationErrors' | 'errors' | 'attributeValue' | AttributeValueTranslateKeySpecifier)[]; +export type AttributeValueTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + attributeValue?: FieldPolicy | FieldReadFunction +}; +export type AttributeValueTranslationKeySpecifier = ('id' | 'language' | 'name' | 'richText' | 'plainText' | AttributeValueTranslationKeySpecifier)[]; export type AttributeValueTranslationFieldPolicy = { id?: FieldPolicy | FieldReadFunction, language?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - plainText?: FieldPolicy | FieldReadFunction, - richText?: FieldPolicy | FieldReadFunction + richText?: FieldPolicy | FieldReadFunction, + plainText?: FieldPolicy | FieldReadFunction }; -export type AttributeValueUpdateKeySpecifier = ('attribute' | 'attributeErrors' | 'attributeValue' | 'errors' | AttributeValueUpdateKeySpecifier)[]; +export type AttributeValueUpdateKeySpecifier = ('attribute' | 'attributeErrors' | 'errors' | 'attributeValue' | AttributeValueUpdateKeySpecifier)[]; export type AttributeValueUpdateFieldPolicy = { attribute?: FieldPolicy | FieldReadFunction, attributeErrors?: FieldPolicy | FieldReadFunction, - attributeValue?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + attributeValue?: FieldPolicy | FieldReadFunction }; -export type AttributeValueUpdatedKeySpecifier = ('attributeValue' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | AttributeValueUpdatedKeySpecifier)[]; +export type AttributeValueUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'attributeValue' | AttributeValueUpdatedKeySpecifier)[]; export type AttributeValueUpdatedFieldPolicy = { - attributeValue?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + attributeValue?: FieldPolicy | FieldReadFunction }; -export type BulkProductErrorKeySpecifier = ('attributes' | 'channels' | 'code' | 'field' | 'index' | 'message' | 'values' | 'warehouses' | BulkProductErrorKeySpecifier)[]; +export type BulkProductErrorKeySpecifier = ('field' | 'message' | 'code' | 'attributes' | 'values' | 'index' | 'warehouses' | 'channels' | BulkProductErrorKeySpecifier)[]; export type BulkProductErrorFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - channels?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - index?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, values?: FieldPolicy | FieldReadFunction, - warehouses?: FieldPolicy | FieldReadFunction -}; -export type BulkStockErrorKeySpecifier = ('attributes' | 'code' | 'field' | 'index' | 'message' | 'values' | BulkStockErrorKeySpecifier)[]; -export type BulkStockErrorFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, index?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - values?: FieldPolicy | FieldReadFunction + warehouses?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction }; -export type CalculateTaxesKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'taxBase' | 'version' | CalculateTaxesKeySpecifier)[]; +export type BulkStockErrorKeySpecifier = ('field' | 'message' | 'code' | 'attributes' | 'values' | 'index' | BulkStockErrorKeySpecifier)[]; +export type BulkStockErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, + values?: FieldPolicy | FieldReadFunction, + index?: FieldPolicy | FieldReadFunction +}; +export type CalculateTaxesKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'taxBase' | CalculateTaxesKeySpecifier)[]; export type CalculateTaxesFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - taxBase?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + taxBase?: FieldPolicy | FieldReadFunction }; -export type CategoryKeySpecifier = ('ancestors' | 'backgroundImage' | 'children' | 'description' | 'descriptionJson' | 'id' | 'level' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'parent' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'products' | 'seoDescription' | 'seoTitle' | 'slug' | 'translation' | CategoryKeySpecifier)[]; +export type CategoryKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'slug' | 'parent' | 'level' | 'descriptionJson' | 'ancestors' | 'products' | 'children' | 'backgroundImage' | 'translation' | CategoryKeySpecifier)[]; export type CategoryFieldPolicy = { - ancestors?: FieldPolicy | FieldReadFunction, - backgroundImage?: FieldPolicy | FieldReadFunction, - children?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, - descriptionJson?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - level?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - parent?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - products?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, seoTitle?: FieldPolicy | FieldReadFunction, + seoDescription?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, slug?: FieldPolicy | FieldReadFunction, + parent?: FieldPolicy | FieldReadFunction, + level?: FieldPolicy | FieldReadFunction, + descriptionJson?: FieldPolicy | FieldReadFunction, + ancestors?: FieldPolicy | FieldReadFunction, + products?: FieldPolicy | FieldReadFunction, + children?: FieldPolicy | FieldReadFunction, + backgroundImage?: FieldPolicy | FieldReadFunction, translation?: FieldPolicy | FieldReadFunction }; -export type CategoryBulkDeleteKeySpecifier = ('count' | 'errors' | 'productErrors' | CategoryBulkDeleteKeySpecifier)[]; +export type CategoryBulkDeleteKeySpecifier = ('count' | 'productErrors' | 'errors' | CategoryBulkDeleteKeySpecifier)[]; export type CategoryBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type CategoryCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | CategoryCountableConnectionKeySpecifier)[]; +export type CategoryCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | CategoryCountableConnectionKeySpecifier)[]; export type CategoryCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type CategoryCountableEdgeKeySpecifier = ('cursor' | 'node' | CategoryCountableEdgeKeySpecifier)[]; +export type CategoryCountableEdgeKeySpecifier = ('node' | 'cursor' | CategoryCountableEdgeKeySpecifier)[]; export type CategoryCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type CategoryCreateKeySpecifier = ('category' | 'errors' | 'productErrors' | CategoryCreateKeySpecifier)[]; +export type CategoryCreateKeySpecifier = ('productErrors' | 'errors' | 'category' | CategoryCreateKeySpecifier)[]; export type CategoryCreateFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + category?: FieldPolicy | FieldReadFunction }; -export type CategoryCreatedKeySpecifier = ('category' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CategoryCreatedKeySpecifier)[]; +export type CategoryCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'category' | CategoryCreatedKeySpecifier)[]; export type CategoryCreatedFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + category?: FieldPolicy | FieldReadFunction }; -export type CategoryDeleteKeySpecifier = ('category' | 'errors' | 'productErrors' | CategoryDeleteKeySpecifier)[]; +export type CategoryDeleteKeySpecifier = ('productErrors' | 'errors' | 'category' | CategoryDeleteKeySpecifier)[]; export type CategoryDeleteFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + category?: FieldPolicy | FieldReadFunction }; -export type CategoryDeletedKeySpecifier = ('category' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CategoryDeletedKeySpecifier)[]; +export type CategoryDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'category' | CategoryDeletedKeySpecifier)[]; export type CategoryDeletedFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + category?: FieldPolicy | FieldReadFunction }; -export type CategoryTranslatableContentKeySpecifier = ('category' | 'description' | 'descriptionJson' | 'id' | 'name' | 'seoDescription' | 'seoTitle' | 'translation' | CategoryTranslatableContentKeySpecifier)[]; +export type CategoryTranslatableContentKeySpecifier = ('id' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'descriptionJson' | 'translation' | 'category' | CategoryTranslatableContentKeySpecifier)[]; export type CategoryTranslatableContentFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, - descriptionJson?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, seoTitle?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction -}; -export type CategoryTranslateKeySpecifier = ('category' | 'errors' | 'translationErrors' | CategoryTranslateKeySpecifier)[]; -export type CategoryTranslateFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction -}; -export type CategoryTranslationKeySpecifier = ('description' | 'descriptionJson' | 'id' | 'language' | 'name' | 'seoDescription' | 'seoTitle' | CategoryTranslationKeySpecifier)[]; -export type CategoryTranslationFieldPolicy = { + seoDescription?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, description?: FieldPolicy | FieldReadFunction, descriptionJson?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction +}; +export type CategoryTranslateKeySpecifier = ('translationErrors' | 'errors' | 'category' | CategoryTranslateKeySpecifier)[]; +export type CategoryTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction +}; +export type CategoryTranslationKeySpecifier = ('id' | 'language' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'descriptionJson' | CategoryTranslationKeySpecifier)[]; +export type CategoryTranslationFieldPolicy = { id?: FieldPolicy | FieldReadFunction, language?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, + seoTitle?: FieldPolicy | FieldReadFunction, seoDescription?: FieldPolicy | FieldReadFunction, - seoTitle?: FieldPolicy | FieldReadFunction + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, + descriptionJson?: FieldPolicy | FieldReadFunction }; -export type CategoryUpdateKeySpecifier = ('category' | 'errors' | 'productErrors' | CategoryUpdateKeySpecifier)[]; +export type CategoryUpdateKeySpecifier = ('productErrors' | 'errors' | 'category' | CategoryUpdateKeySpecifier)[]; export type CategoryUpdateFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + category?: FieldPolicy | FieldReadFunction }; -export type CategoryUpdatedKeySpecifier = ('category' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CategoryUpdatedKeySpecifier)[]; +export type CategoryUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'category' | CategoryUpdatedKeySpecifier)[]; export type CategoryUpdatedFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + category?: FieldPolicy | FieldReadFunction }; -export type ChannelKeySpecifier = ('availableShippingMethodsPerCountry' | 'countries' | 'currencyCode' | 'defaultCountry' | 'hasOrders' | 'id' | 'isActive' | 'name' | 'orderSettings' | 'slug' | 'stockSettings' | 'warehouses' | ChannelKeySpecifier)[]; +export type ChannelKeySpecifier = ('id' | 'slug' | 'name' | 'isActive' | 'currencyCode' | 'hasOrders' | 'defaultCountry' | 'warehouses' | 'countries' | 'availableShippingMethodsPerCountry' | 'stockSettings' | 'orderSettings' | ChannelKeySpecifier)[]; export type ChannelFieldPolicy = { - availableShippingMethodsPerCountry?: FieldPolicy | FieldReadFunction, - countries?: FieldPolicy | FieldReadFunction, - currencyCode?: FieldPolicy | FieldReadFunction, - defaultCountry?: FieldPolicy | FieldReadFunction, - hasOrders?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isActive?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - orderSettings?: FieldPolicy | FieldReadFunction, slug?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + isActive?: FieldPolicy | FieldReadFunction, + currencyCode?: FieldPolicy | FieldReadFunction, + hasOrders?: FieldPolicy | FieldReadFunction, + defaultCountry?: FieldPolicy | FieldReadFunction, + warehouses?: FieldPolicy | FieldReadFunction, + countries?: FieldPolicy | FieldReadFunction, + availableShippingMethodsPerCountry?: FieldPolicy | FieldReadFunction, stockSettings?: FieldPolicy | FieldReadFunction, - warehouses?: FieldPolicy | FieldReadFunction + orderSettings?: FieldPolicy | FieldReadFunction }; export type ChannelActivateKeySpecifier = ('channel' | 'channelErrors' | 'errors' | ChannelActivateKeySpecifier)[]; export type ChannelActivateFieldPolicy = { @@ -760,19 +760,19 @@ export type ChannelActivateFieldPolicy = { channelErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type ChannelCreateKeySpecifier = ('channel' | 'channelErrors' | 'errors' | ChannelCreateKeySpecifier)[]; +export type ChannelCreateKeySpecifier = ('channelErrors' | 'errors' | 'channel' | ChannelCreateKeySpecifier)[]; export type ChannelCreateFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, channelErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction }; -export type ChannelCreatedKeySpecifier = ('channel' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | ChannelCreatedKeySpecifier)[]; +export type ChannelCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'channel' | ChannelCreatedKeySpecifier)[]; export type ChannelCreatedFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + channel?: FieldPolicy | FieldReadFunction }; export type ChannelDeactivateKeySpecifier = ('channel' | 'channelErrors' | 'errors' | ChannelDeactivateKeySpecifier)[]; export type ChannelDeactivateFieldPolicy = { @@ -780,25 +780,25 @@ export type ChannelDeactivateFieldPolicy = { channelErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type ChannelDeleteKeySpecifier = ('channel' | 'channelErrors' | 'errors' | ChannelDeleteKeySpecifier)[]; +export type ChannelDeleteKeySpecifier = ('channelErrors' | 'errors' | 'channel' | ChannelDeleteKeySpecifier)[]; export type ChannelDeleteFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, channelErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction }; -export type ChannelDeletedKeySpecifier = ('channel' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | ChannelDeletedKeySpecifier)[]; +export type ChannelDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'channel' | ChannelDeletedKeySpecifier)[]; export type ChannelDeletedFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + channel?: FieldPolicy | FieldReadFunction }; -export type ChannelErrorKeySpecifier = ('code' | 'field' | 'message' | 'shippingZones' | 'warehouses' | ChannelErrorKeySpecifier)[]; +export type ChannelErrorKeySpecifier = ('field' | 'message' | 'code' | 'shippingZones' | 'warehouses' | ChannelErrorKeySpecifier)[]; export type ChannelErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, shippingZones?: FieldPolicy | FieldReadFunction, warehouses?: FieldPolicy | FieldReadFunction }; @@ -807,72 +807,72 @@ export type ChannelReorderWarehousesFieldPolicy = { channel?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type ChannelStatusChangedKeySpecifier = ('channel' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | ChannelStatusChangedKeySpecifier)[]; +export type ChannelStatusChangedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'channel' | ChannelStatusChangedKeySpecifier)[]; export type ChannelStatusChangedFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + channel?: FieldPolicy | FieldReadFunction }; -export type ChannelUpdateKeySpecifier = ('channel' | 'channelErrors' | 'errors' | ChannelUpdateKeySpecifier)[]; +export type ChannelUpdateKeySpecifier = ('channelErrors' | 'errors' | 'channel' | ChannelUpdateKeySpecifier)[]; export type ChannelUpdateFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, channelErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction }; -export type ChannelUpdatedKeySpecifier = ('channel' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | ChannelUpdatedKeySpecifier)[]; +export type ChannelUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'channel' | ChannelUpdatedKeySpecifier)[]; export type ChannelUpdatedFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + channel?: FieldPolicy | FieldReadFunction }; -export type CheckoutKeySpecifier = ('authorizeStatus' | 'availableCollectionPoints' | 'availablePaymentGateways' | 'availableShippingMethods' | 'billingAddress' | 'channel' | 'chargeStatus' | 'created' | 'deliveryMethod' | 'discount' | 'discountName' | 'displayGrossPrices' | 'email' | 'giftCards' | 'id' | 'isShippingRequired' | 'languageCode' | 'lastChange' | 'lines' | 'metadata' | 'metafield' | 'metafields' | 'note' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'quantity' | 'shippingAddress' | 'shippingMethod' | 'shippingMethods' | 'shippingPrice' | 'stockReservationExpires' | 'subtotalPrice' | 'taxExemption' | 'token' | 'totalBalance' | 'totalPrice' | 'transactions' | 'translatedDiscountName' | 'updatedAt' | 'user' | 'voucherCode' | CheckoutKeySpecifier)[]; +export type CheckoutKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'created' | 'updatedAt' | 'lastChange' | 'user' | 'channel' | 'billingAddress' | 'shippingAddress' | 'note' | 'discount' | 'discountName' | 'translatedDiscountName' | 'voucherCode' | 'availableShippingMethods' | 'shippingMethods' | 'availableCollectionPoints' | 'availablePaymentGateways' | 'email' | 'giftCards' | 'isShippingRequired' | 'quantity' | 'stockReservationExpires' | 'lines' | 'shippingPrice' | 'shippingMethod' | 'deliveryMethod' | 'subtotalPrice' | 'taxExemption' | 'token' | 'totalPrice' | 'totalBalance' | 'languageCode' | 'transactions' | 'displayGrossPrices' | 'authorizeStatus' | 'chargeStatus' | CheckoutKeySpecifier)[]; export type CheckoutFieldPolicy = { - authorizeStatus?: FieldPolicy | FieldReadFunction, - availableCollectionPoints?: FieldPolicy | FieldReadFunction, - availablePaymentGateways?: FieldPolicy | FieldReadFunction, - availableShippingMethods?: FieldPolicy | FieldReadFunction, - billingAddress?: FieldPolicy | FieldReadFunction, - channel?: FieldPolicy | FieldReadFunction, - chargeStatus?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, - deliveryMethod?: FieldPolicy | FieldReadFunction, - discount?: FieldPolicy | FieldReadFunction, - discountName?: FieldPolicy | FieldReadFunction, - displayGrossPrices?: FieldPolicy | FieldReadFunction, - email?: FieldPolicy | FieldReadFunction, - giftCards?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isShippingRequired?: FieldPolicy | FieldReadFunction, - languageCode?: FieldPolicy | FieldReadFunction, - lastChange?: FieldPolicy | FieldReadFunction, - lines?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - note?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - quantity?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, + updatedAt?: FieldPolicy | FieldReadFunction, + lastChange?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + billingAddress?: FieldPolicy | FieldReadFunction, shippingAddress?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction, + note?: FieldPolicy | FieldReadFunction, + discount?: FieldPolicy | FieldReadFunction, + discountName?: FieldPolicy | FieldReadFunction, + translatedDiscountName?: FieldPolicy | FieldReadFunction, + voucherCode?: FieldPolicy | FieldReadFunction, + availableShippingMethods?: FieldPolicy | FieldReadFunction, shippingMethods?: FieldPolicy | FieldReadFunction, - shippingPrice?: FieldPolicy | FieldReadFunction, + availableCollectionPoints?: FieldPolicy | FieldReadFunction, + availablePaymentGateways?: FieldPolicy | FieldReadFunction, + email?: FieldPolicy | FieldReadFunction, + giftCards?: FieldPolicy | FieldReadFunction, + isShippingRequired?: FieldPolicy | FieldReadFunction, + quantity?: FieldPolicy | FieldReadFunction, stockReservationExpires?: FieldPolicy | FieldReadFunction, + lines?: FieldPolicy | FieldReadFunction, + shippingPrice?: FieldPolicy | FieldReadFunction, + shippingMethod?: FieldPolicy | FieldReadFunction, + deliveryMethod?: FieldPolicy | FieldReadFunction, subtotalPrice?: FieldPolicy | FieldReadFunction, taxExemption?: FieldPolicy | FieldReadFunction, token?: FieldPolicy | FieldReadFunction, - totalBalance?: FieldPolicy | FieldReadFunction, totalPrice?: FieldPolicy | FieldReadFunction, + totalBalance?: FieldPolicy | FieldReadFunction, + languageCode?: FieldPolicy | FieldReadFunction, transactions?: FieldPolicy | FieldReadFunction, - translatedDiscountName?: FieldPolicy | FieldReadFunction, - updatedAt?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - voucherCode?: FieldPolicy | FieldReadFunction + displayGrossPrices?: FieldPolicy | FieldReadFunction, + authorizeStatus?: FieldPolicy | FieldReadFunction, + chargeStatus?: FieldPolicy | FieldReadFunction }; export type CheckoutAddPromoCodeKeySpecifier = ('checkout' | 'checkoutErrors' | 'errors' | CheckoutAddPromoCodeKeySpecifier)[]; export type CheckoutAddPromoCodeFieldPolicy = { @@ -886,39 +886,39 @@ export type CheckoutBillingAddressUpdateFieldPolicy = { checkoutErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CheckoutCompleteKeySpecifier = ('checkoutErrors' | 'confirmationData' | 'confirmationNeeded' | 'errors' | 'order' | CheckoutCompleteKeySpecifier)[]; +export type CheckoutCompleteKeySpecifier = ('order' | 'confirmationNeeded' | 'confirmationData' | 'checkoutErrors' | 'errors' | CheckoutCompleteKeySpecifier)[]; export type CheckoutCompleteFieldPolicy = { - checkoutErrors?: FieldPolicy | FieldReadFunction, - confirmationData?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, confirmationNeeded?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction -}; -export type CheckoutCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | CheckoutCountableConnectionKeySpecifier)[]; -export type CheckoutCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type CheckoutCountableEdgeKeySpecifier = ('cursor' | 'node' | CheckoutCountableEdgeKeySpecifier)[]; -export type CheckoutCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type CheckoutCreateKeySpecifier = ('checkout' | 'checkoutErrors' | 'created' | 'errors' | CheckoutCreateKeySpecifier)[]; -export type CheckoutCreateFieldPolicy = { - checkout?: FieldPolicy | FieldReadFunction, + confirmationData?: FieldPolicy | FieldReadFunction, checkoutErrors?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CheckoutCreatedKeySpecifier = ('checkout' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CheckoutCreatedKeySpecifier)[]; +export type CheckoutCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | CheckoutCountableConnectionKeySpecifier)[]; +export type CheckoutCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type CheckoutCountableEdgeKeySpecifier = ('node' | 'cursor' | CheckoutCountableEdgeKeySpecifier)[]; +export type CheckoutCountableEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type CheckoutCreateKeySpecifier = ('created' | 'checkoutErrors' | 'errors' | 'checkout' | CheckoutCreateKeySpecifier)[]; +export type CheckoutCreateFieldPolicy = { + created?: FieldPolicy | FieldReadFunction, + checkoutErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + checkout?: FieldPolicy | FieldReadFunction +}; +export type CheckoutCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | CheckoutCreatedKeySpecifier)[]; export type CheckoutCreatedFieldPolicy = { - checkout?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + checkout?: FieldPolicy | FieldReadFunction }; export type CheckoutCustomerAttachKeySpecifier = ('checkout' | 'checkoutErrors' | 'errors' | CheckoutCustomerAttachKeySpecifier)[]; export type CheckoutCustomerAttachFieldPolicy = { @@ -943,31 +943,31 @@ export type CheckoutEmailUpdateFieldPolicy = { checkoutErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CheckoutErrorKeySpecifier = ('addressType' | 'code' | 'field' | 'lines' | 'message' | 'variants' | CheckoutErrorKeySpecifier)[]; +export type CheckoutErrorKeySpecifier = ('field' | 'message' | 'code' | 'variants' | 'lines' | 'addressType' | CheckoutErrorKeySpecifier)[]; export type CheckoutErrorFieldPolicy = { - addressType?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - lines?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, - variants?: FieldPolicy | FieldReadFunction + code?: FieldPolicy | FieldReadFunction, + variants?: FieldPolicy | FieldReadFunction, + lines?: FieldPolicy | FieldReadFunction, + addressType?: FieldPolicy | FieldReadFunction }; -export type CheckoutFilterShippingMethodsKeySpecifier = ('checkout' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingMethods' | 'version' | CheckoutFilterShippingMethodsKeySpecifier)[]; +export type CheckoutFilterShippingMethodsKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | 'shippingMethods' | CheckoutFilterShippingMethodsKeySpecifier)[]; export type CheckoutFilterShippingMethodsFieldPolicy = { - checkout?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - shippingMethods?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + checkout?: FieldPolicy | FieldReadFunction, + shippingMethods?: FieldPolicy | FieldReadFunction }; -export type CheckoutFullyPaidKeySpecifier = ('checkout' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CheckoutFullyPaidKeySpecifier)[]; +export type CheckoutFullyPaidKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | CheckoutFullyPaidKeySpecifier)[]; export type CheckoutFullyPaidFieldPolicy = { - checkout?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + checkout?: FieldPolicy | FieldReadFunction }; export type CheckoutLanguageCodeUpdateKeySpecifier = ('checkout' | 'checkoutErrors' | 'errors' | CheckoutLanguageCodeUpdateKeySpecifier)[]; export type CheckoutLanguageCodeUpdateFieldPolicy = { @@ -975,33 +975,33 @@ export type CheckoutLanguageCodeUpdateFieldPolicy = { checkoutErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CheckoutLineKeySpecifier = ('id' | 'metadata' | 'metafield' | 'metafields' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'quantity' | 'requiresShipping' | 'totalPrice' | 'undiscountedTotalPrice' | 'undiscountedUnitPrice' | 'unitPrice' | 'variant' | CheckoutLineKeySpecifier)[]; +export type CheckoutLineKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'variant' | 'quantity' | 'unitPrice' | 'undiscountedUnitPrice' | 'totalPrice' | 'undiscountedTotalPrice' | 'requiresShipping' | CheckoutLineKeySpecifier)[]; export type CheckoutLineFieldPolicy = { id?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + variant?: FieldPolicy | FieldReadFunction, quantity?: FieldPolicy | FieldReadFunction, - requiresShipping?: FieldPolicy | FieldReadFunction, + unitPrice?: FieldPolicy | FieldReadFunction, + undiscountedUnitPrice?: FieldPolicy | FieldReadFunction, totalPrice?: FieldPolicy | FieldReadFunction, undiscountedTotalPrice?: FieldPolicy | FieldReadFunction, - undiscountedUnitPrice?: FieldPolicy | FieldReadFunction, - unitPrice?: FieldPolicy | FieldReadFunction, - variant?: FieldPolicy | FieldReadFunction + requiresShipping?: FieldPolicy | FieldReadFunction }; -export type CheckoutLineCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | CheckoutLineCountableConnectionKeySpecifier)[]; +export type CheckoutLineCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | CheckoutLineCountableConnectionKeySpecifier)[]; export type CheckoutLineCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type CheckoutLineCountableEdgeKeySpecifier = ('cursor' | 'node' | CheckoutLineCountableEdgeKeySpecifier)[]; +export type CheckoutLineCountableEdgeKeySpecifier = ('node' | 'cursor' | CheckoutLineCountableEdgeKeySpecifier)[]; export type CheckoutLineCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; export type CheckoutLineDeleteKeySpecifier = ('checkout' | 'checkoutErrors' | 'errors' | CheckoutLineDeleteKeySpecifier)[]; export type CheckoutLineDeleteFieldPolicy = { @@ -1026,20 +1026,20 @@ export type CheckoutLinesUpdateFieldPolicy = { checkoutErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CheckoutMetadataUpdatedKeySpecifier = ('checkout' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CheckoutMetadataUpdatedKeySpecifier)[]; +export type CheckoutMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | CheckoutMetadataUpdatedKeySpecifier)[]; export type CheckoutMetadataUpdatedFieldPolicy = { - checkout?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + checkout?: FieldPolicy | FieldReadFunction }; -export type CheckoutPaymentCreateKeySpecifier = ('checkout' | 'errors' | 'payment' | 'paymentErrors' | CheckoutPaymentCreateKeySpecifier)[]; +export type CheckoutPaymentCreateKeySpecifier = ('checkout' | 'payment' | 'paymentErrors' | 'errors' | CheckoutPaymentCreateKeySpecifier)[]; export type CheckoutPaymentCreateFieldPolicy = { checkout?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, payment?: FieldPolicy | FieldReadFunction, - paymentErrors?: FieldPolicy | FieldReadFunction + paymentErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; export type CheckoutRemovePromoCodeKeySpecifier = ('checkout' | 'checkoutErrors' | 'errors' | CheckoutRemovePromoCodeKeySpecifier)[]; export type CheckoutRemovePromoCodeFieldPolicy = { @@ -1059,39 +1059,39 @@ export type CheckoutShippingMethodUpdateFieldPolicy = { checkoutErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CheckoutUpdatedKeySpecifier = ('checkout' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CheckoutUpdatedKeySpecifier)[]; +export type CheckoutUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | CheckoutUpdatedKeySpecifier)[]; export type CheckoutUpdatedFieldPolicy = { - checkout?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + checkout?: FieldPolicy | FieldReadFunction }; export type ChoiceValueKeySpecifier = ('raw' | 'verbose' | ChoiceValueKeySpecifier)[]; export type ChoiceValueFieldPolicy = { raw?: FieldPolicy | FieldReadFunction, verbose?: FieldPolicy | FieldReadFunction }; -export type CollectionKeySpecifier = ('backgroundImage' | 'channel' | 'channelListings' | 'description' | 'descriptionJson' | 'id' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'products' | 'seoDescription' | 'seoTitle' | 'slug' | 'translation' | CollectionKeySpecifier)[]; +export type CollectionKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'slug' | 'channel' | 'descriptionJson' | 'products' | 'backgroundImage' | 'translation' | 'channelListings' | CollectionKeySpecifier)[]; export type CollectionFieldPolicy = { - backgroundImage?: FieldPolicy | FieldReadFunction, - channel?: FieldPolicy | FieldReadFunction, - channelListings?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, - descriptionJson?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - products?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, seoTitle?: FieldPolicy | FieldReadFunction, + seoDescription?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, slug?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction + channel?: FieldPolicy | FieldReadFunction, + descriptionJson?: FieldPolicy | FieldReadFunction, + products?: FieldPolicy | FieldReadFunction, + backgroundImage?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + channelListings?: FieldPolicy | FieldReadFunction }; export type CollectionAddProductsKeySpecifier = ('collection' | 'collectionErrors' | 'errors' | CollectionAddProductsKeySpecifier)[]; export type CollectionAddProductsFieldPolicy = { @@ -1099,28 +1099,28 @@ export type CollectionAddProductsFieldPolicy = { collectionErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CollectionBulkDeleteKeySpecifier = ('collectionErrors' | 'count' | 'errors' | CollectionBulkDeleteKeySpecifier)[]; +export type CollectionBulkDeleteKeySpecifier = ('count' | 'collectionErrors' | 'errors' | CollectionBulkDeleteKeySpecifier)[]; export type CollectionBulkDeleteFieldPolicy = { - collectionErrors?: FieldPolicy | FieldReadFunction, count?: FieldPolicy | FieldReadFunction, + collectionErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CollectionChannelListingKeySpecifier = ('channel' | 'id' | 'isPublished' | 'publicationDate' | 'publishedAt' | CollectionChannelListingKeySpecifier)[]; +export type CollectionChannelListingKeySpecifier = ('id' | 'publicationDate' | 'publishedAt' | 'isPublished' | 'channel' | CollectionChannelListingKeySpecifier)[]; export type CollectionChannelListingFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isPublished?: FieldPolicy | FieldReadFunction, publicationDate?: FieldPolicy | FieldReadFunction, - publishedAt?: FieldPolicy | FieldReadFunction + publishedAt?: FieldPolicy | FieldReadFunction, + isPublished?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction }; -export type CollectionChannelListingErrorKeySpecifier = ('attributes' | 'channels' | 'code' | 'field' | 'message' | 'values' | CollectionChannelListingErrorKeySpecifier)[]; +export type CollectionChannelListingErrorKeySpecifier = ('field' | 'message' | 'code' | 'attributes' | 'values' | 'channels' | CollectionChannelListingErrorKeySpecifier)[]; export type CollectionChannelListingErrorFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - channels?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, - values?: FieldPolicy | FieldReadFunction + code?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, + values?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction }; export type CollectionChannelListingUpdateKeySpecifier = ('collection' | 'collectionChannelListingErrors' | 'errors' | CollectionChannelListingUpdateKeySpecifier)[]; export type CollectionChannelListingUpdateFieldPolicy = { @@ -1128,59 +1128,59 @@ export type CollectionChannelListingUpdateFieldPolicy = { collectionChannelListingErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CollectionCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | CollectionCountableConnectionKeySpecifier)[]; +export type CollectionCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | CollectionCountableConnectionKeySpecifier)[]; export type CollectionCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type CollectionCountableEdgeKeySpecifier = ('cursor' | 'node' | CollectionCountableEdgeKeySpecifier)[]; +export type CollectionCountableEdgeKeySpecifier = ('node' | 'cursor' | CollectionCountableEdgeKeySpecifier)[]; export type CollectionCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type CollectionCreateKeySpecifier = ('collection' | 'collectionErrors' | 'errors' | CollectionCreateKeySpecifier)[]; +export type CollectionCreateKeySpecifier = ('collectionErrors' | 'errors' | 'collection' | CollectionCreateKeySpecifier)[]; export type CollectionCreateFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, collectionErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + collection?: FieldPolicy | FieldReadFunction }; -export type CollectionCreatedKeySpecifier = ('collection' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CollectionCreatedKeySpecifier)[]; +export type CollectionCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'collection' | CollectionCreatedKeySpecifier)[]; export type CollectionCreatedFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + collection?: FieldPolicy | FieldReadFunction }; -export type CollectionDeleteKeySpecifier = ('collection' | 'collectionErrors' | 'errors' | CollectionDeleteKeySpecifier)[]; +export type CollectionDeleteKeySpecifier = ('collectionErrors' | 'errors' | 'collection' | CollectionDeleteKeySpecifier)[]; export type CollectionDeleteFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, collectionErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + collection?: FieldPolicy | FieldReadFunction }; -export type CollectionDeletedKeySpecifier = ('collection' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CollectionDeletedKeySpecifier)[]; +export type CollectionDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'collection' | CollectionDeletedKeySpecifier)[]; export type CollectionDeletedFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + collection?: FieldPolicy | FieldReadFunction }; -export type CollectionErrorKeySpecifier = ('code' | 'field' | 'message' | 'products' | CollectionErrorKeySpecifier)[]; +export type CollectionErrorKeySpecifier = ('field' | 'message' | 'products' | 'code' | CollectionErrorKeySpecifier)[]; export type CollectionErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, - products?: FieldPolicy | FieldReadFunction + products?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type CollectionMetadataUpdatedKeySpecifier = ('collection' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CollectionMetadataUpdatedKeySpecifier)[]; +export type CollectionMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'collection' | CollectionMetadataUpdatedKeySpecifier)[]; export type CollectionMetadataUpdatedFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + collection?: FieldPolicy | FieldReadFunction }; export type CollectionRemoveProductsKeySpecifier = ('collection' | 'collectionErrors' | 'errors' | CollectionRemoveProductsKeySpecifier)[]; export type CollectionRemoveProductsFieldPolicy = { @@ -1194,66 +1194,66 @@ export type CollectionReorderProductsFieldPolicy = { collectionErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CollectionTranslatableContentKeySpecifier = ('collection' | 'description' | 'descriptionJson' | 'id' | 'name' | 'seoDescription' | 'seoTitle' | 'translation' | CollectionTranslatableContentKeySpecifier)[]; +export type CollectionTranslatableContentKeySpecifier = ('id' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'descriptionJson' | 'translation' | 'collection' | CollectionTranslatableContentKeySpecifier)[]; export type CollectionTranslatableContentFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, - descriptionJson?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, seoTitle?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction -}; -export type CollectionTranslateKeySpecifier = ('collection' | 'errors' | 'translationErrors' | CollectionTranslateKeySpecifier)[]; -export type CollectionTranslateFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction -}; -export type CollectionTranslationKeySpecifier = ('description' | 'descriptionJson' | 'id' | 'language' | 'name' | 'seoDescription' | 'seoTitle' | CollectionTranslationKeySpecifier)[]; -export type CollectionTranslationFieldPolicy = { + seoDescription?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, description?: FieldPolicy | FieldReadFunction, descriptionJson?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + collection?: FieldPolicy | FieldReadFunction +}; +export type CollectionTranslateKeySpecifier = ('translationErrors' | 'errors' | 'collection' | CollectionTranslateKeySpecifier)[]; +export type CollectionTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + collection?: FieldPolicy | FieldReadFunction +}; +export type CollectionTranslationKeySpecifier = ('id' | 'language' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'descriptionJson' | CollectionTranslationKeySpecifier)[]; +export type CollectionTranslationFieldPolicy = { id?: FieldPolicy | FieldReadFunction, language?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, + seoTitle?: FieldPolicy | FieldReadFunction, seoDescription?: FieldPolicy | FieldReadFunction, - seoTitle?: FieldPolicy | FieldReadFunction + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, + descriptionJson?: FieldPolicy | FieldReadFunction }; -export type CollectionUpdateKeySpecifier = ('collection' | 'collectionErrors' | 'errors' | CollectionUpdateKeySpecifier)[]; +export type CollectionUpdateKeySpecifier = ('collectionErrors' | 'errors' | 'collection' | CollectionUpdateKeySpecifier)[]; export type CollectionUpdateFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, collectionErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction, + collection?: FieldPolicy | FieldReadFunction }; -export type CollectionUpdatedKeySpecifier = ('collection' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | CollectionUpdatedKeySpecifier)[]; +export type CollectionUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'collection' | CollectionUpdatedKeySpecifier)[]; export type CollectionUpdatedFieldPolicy = { - collection?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + collection?: FieldPolicy | FieldReadFunction }; -export type ConfigurationItemKeySpecifier = ('helpText' | 'label' | 'name' | 'type' | 'value' | ConfigurationItemKeySpecifier)[]; +export type ConfigurationItemKeySpecifier = ('name' | 'value' | 'type' | 'helpText' | 'label' | ConfigurationItemKeySpecifier)[]; export type ConfigurationItemFieldPolicy = { - helpText?: FieldPolicy | FieldReadFunction, - label?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, + value?: FieldPolicy | FieldReadFunction, type?: FieldPolicy | FieldReadFunction, - value?: FieldPolicy | FieldReadFunction + helpText?: FieldPolicy | FieldReadFunction, + label?: FieldPolicy | FieldReadFunction }; -export type ConfirmAccountKeySpecifier = ('accountErrors' | 'errors' | 'user' | ConfirmAccountKeySpecifier)[]; +export type ConfirmAccountKeySpecifier = ('user' | 'accountErrors' | 'errors' | ConfirmAccountKeySpecifier)[]; export type ConfirmAccountFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ConfirmEmailChangeKeySpecifier = ('accountErrors' | 'errors' | 'user' | ConfirmEmailChangeKeySpecifier)[]; +export type ConfirmEmailChangeKeySpecifier = ('user' | 'accountErrors' | 'errors' | ConfirmEmailChangeKeySpecifier)[]; export type ConfirmEmailChangeFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; export type CountryDisplayKeySpecifier = ('code' | 'country' | 'vat' | CountryDisplayKeySpecifier)[]; export type CountryDisplayFieldPolicy = { @@ -1261,27 +1261,27 @@ export type CountryDisplayFieldPolicy = { country?: FieldPolicy | FieldReadFunction, vat?: FieldPolicy | FieldReadFunction }; -export type CreateTokenKeySpecifier = ('accountErrors' | 'csrfToken' | 'errors' | 'refreshToken' | 'token' | 'user' | CreateTokenKeySpecifier)[]; +export type CreateTokenKeySpecifier = ('token' | 'refreshToken' | 'csrfToken' | 'user' | 'accountErrors' | 'errors' | CreateTokenKeySpecifier)[]; export type CreateTokenFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - csrfToken?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - refreshToken?: FieldPolicy | FieldReadFunction, token?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + refreshToken?: FieldPolicy | FieldReadFunction, + csrfToken?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type CreditCardKeySpecifier = ('brand' | 'expMonth' | 'expYear' | 'firstDigits' | 'lastDigits' | CreditCardKeySpecifier)[]; +export type CreditCardKeySpecifier = ('brand' | 'firstDigits' | 'lastDigits' | 'expMonth' | 'expYear' | CreditCardKeySpecifier)[]; export type CreditCardFieldPolicy = { brand?: FieldPolicy | FieldReadFunction, - expMonth?: FieldPolicy | FieldReadFunction, - expYear?: FieldPolicy | FieldReadFunction, firstDigits?: FieldPolicy | FieldReadFunction, - lastDigits?: FieldPolicy | FieldReadFunction + lastDigits?: FieldPolicy | FieldReadFunction, + expMonth?: FieldPolicy | FieldReadFunction, + expYear?: FieldPolicy | FieldReadFunction }; -export type CustomerBulkDeleteKeySpecifier = ('accountErrors' | 'count' | 'errors' | CustomerBulkDeleteKeySpecifier)[]; +export type CustomerBulkDeleteKeySpecifier = ('count' | 'accountErrors' | 'errors' | CustomerBulkDeleteKeySpecifier)[]; export type CustomerBulkDeleteFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, count?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; export type CustomerBulkResultKeySpecifier = ('customer' | 'errors' | CustomerBulkResultKeySpecifier)[]; @@ -1289,17 +1289,17 @@ export type CustomerBulkResultFieldPolicy = { customer?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type CustomerBulkUpdateKeySpecifier = ('count' | 'errors' | 'results' | CustomerBulkUpdateKeySpecifier)[]; +export type CustomerBulkUpdateKeySpecifier = ('count' | 'results' | 'errors' | CustomerBulkUpdateKeySpecifier)[]; export type CustomerBulkUpdateFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - results?: FieldPolicy | FieldReadFunction + results?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type CustomerBulkUpdateErrorKeySpecifier = ('code' | 'message' | 'path' | CustomerBulkUpdateErrorKeySpecifier)[]; +export type CustomerBulkUpdateErrorKeySpecifier = ('path' | 'message' | 'code' | CustomerBulkUpdateErrorKeySpecifier)[]; export type CustomerBulkUpdateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, + path?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, - path?: FieldPolicy | FieldReadFunction + code?: FieldPolicy | FieldReadFunction }; export type CustomerCreateKeySpecifier = ('accountErrors' | 'errors' | 'user' | CustomerCreateKeySpecifier)[]; export type CustomerCreateFieldPolicy = { @@ -1307,13 +1307,13 @@ export type CustomerCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type CustomerCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'user' | 'version' | CustomerCreatedKeySpecifier)[]; +export type CustomerCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | CustomerCreatedKeySpecifier)[]; export type CustomerCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + user?: FieldPolicy | FieldReadFunction }; export type CustomerDeleteKeySpecifier = ('accountErrors' | 'errors' | 'user' | CustomerDeleteKeySpecifier)[]; export type CustomerDeleteFieldPolicy = { @@ -1321,25 +1321,25 @@ export type CustomerDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type CustomerEventKeySpecifier = ('app' | 'count' | 'date' | 'id' | 'message' | 'order' | 'orderLine' | 'type' | 'user' | CustomerEventKeySpecifier)[]; +export type CustomerEventKeySpecifier = ('id' | 'date' | 'type' | 'user' | 'app' | 'message' | 'count' | 'order' | 'orderLine' | CustomerEventKeySpecifier)[]; export type CustomerEventFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - count?: FieldPolicy | FieldReadFunction, - date?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderLine?: FieldPolicy | FieldReadFunction, + date?: FieldPolicy | FieldReadFunction, type?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + user?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + count?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + orderLine?: FieldPolicy | FieldReadFunction }; -export type CustomerMetadataUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'user' | 'version' | CustomerMetadataUpdatedKeySpecifier)[]; +export type CustomerMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | CustomerMetadataUpdatedKeySpecifier)[]; export type CustomerMetadataUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + user?: FieldPolicy | FieldReadFunction }; export type CustomerUpdateKeySpecifier = ('accountErrors' | 'errors' | 'user' | CustomerUpdateKeySpecifier)[]; export type CustomerUpdateFieldPolicy = { @@ -1347,101 +1347,101 @@ export type CustomerUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type CustomerUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'user' | 'version' | CustomerUpdatedKeySpecifier)[]; +export type CustomerUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | CustomerUpdatedKeySpecifier)[]; export type CustomerUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + user?: FieldPolicy | FieldReadFunction }; export type DeactivateAllUserTokensKeySpecifier = ('accountErrors' | 'errors' | DeactivateAllUserTokensKeySpecifier)[]; export type DeactivateAllUserTokensFieldPolicy = { accountErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type DeleteMetadataKeySpecifier = ('errors' | 'item' | 'metadataErrors' | DeleteMetadataKeySpecifier)[]; +export type DeleteMetadataKeySpecifier = ('metadataErrors' | 'errors' | 'item' | DeleteMetadataKeySpecifier)[]; export type DeleteMetadataFieldPolicy = { + metadataErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - item?: FieldPolicy | FieldReadFunction, - metadataErrors?: FieldPolicy | FieldReadFunction + item?: FieldPolicy | FieldReadFunction }; -export type DeletePrivateMetadataKeySpecifier = ('errors' | 'item' | 'metadataErrors' | DeletePrivateMetadataKeySpecifier)[]; +export type DeletePrivateMetadataKeySpecifier = ('metadataErrors' | 'errors' | 'item' | DeletePrivateMetadataKeySpecifier)[]; export type DeletePrivateMetadataFieldPolicy = { + metadataErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - item?: FieldPolicy | FieldReadFunction, - metadataErrors?: FieldPolicy | FieldReadFunction + item?: FieldPolicy | FieldReadFunction }; -export type DigitalContentKeySpecifier = ('automaticFulfillment' | 'contentFile' | 'id' | 'maxDownloads' | 'metadata' | 'metafield' | 'metafields' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'productVariant' | 'urlValidDays' | 'urls' | 'useDefaultSettings' | DigitalContentKeySpecifier)[]; +export type DigitalContentKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'useDefaultSettings' | 'automaticFulfillment' | 'contentFile' | 'maxDownloads' | 'urlValidDays' | 'urls' | 'productVariant' | DigitalContentKeySpecifier)[]; export type DigitalContentFieldPolicy = { - automaticFulfillment?: FieldPolicy | FieldReadFunction, - contentFile?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - maxDownloads?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + useDefaultSettings?: FieldPolicy | FieldReadFunction, + automaticFulfillment?: FieldPolicy | FieldReadFunction, + contentFile?: FieldPolicy | FieldReadFunction, + maxDownloads?: FieldPolicy | FieldReadFunction, urlValidDays?: FieldPolicy | FieldReadFunction, urls?: FieldPolicy | FieldReadFunction, - useDefaultSettings?: FieldPolicy | FieldReadFunction + productVariant?: FieldPolicy | FieldReadFunction }; -export type DigitalContentCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | DigitalContentCountableConnectionKeySpecifier)[]; +export type DigitalContentCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | DigitalContentCountableConnectionKeySpecifier)[]; export type DigitalContentCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type DigitalContentCountableEdgeKeySpecifier = ('cursor' | 'node' | DigitalContentCountableEdgeKeySpecifier)[]; +export type DigitalContentCountableEdgeKeySpecifier = ('node' | 'cursor' | DigitalContentCountableEdgeKeySpecifier)[]; export type DigitalContentCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type DigitalContentCreateKeySpecifier = ('content' | 'errors' | 'productErrors' | 'variant' | DigitalContentCreateKeySpecifier)[]; +export type DigitalContentCreateKeySpecifier = ('variant' | 'content' | 'productErrors' | 'errors' | DigitalContentCreateKeySpecifier)[]; export type DigitalContentCreateFieldPolicy = { + variant?: FieldPolicy | FieldReadFunction, content?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - variant?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type DigitalContentDeleteKeySpecifier = ('errors' | 'productErrors' | 'variant' | DigitalContentDeleteKeySpecifier)[]; +export type DigitalContentDeleteKeySpecifier = ('variant' | 'productErrors' | 'errors' | DigitalContentDeleteKeySpecifier)[]; export type DigitalContentDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + variant?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - variant?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type DigitalContentUpdateKeySpecifier = ('content' | 'errors' | 'productErrors' | 'variant' | DigitalContentUpdateKeySpecifier)[]; +export type DigitalContentUpdateKeySpecifier = ('variant' | 'content' | 'productErrors' | 'errors' | DigitalContentUpdateKeySpecifier)[]; export type DigitalContentUpdateFieldPolicy = { + variant?: FieldPolicy | FieldReadFunction, content?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - variant?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type DigitalContentUrlKeySpecifier = ('content' | 'created' | 'downloadNum' | 'id' | 'token' | 'url' | DigitalContentUrlKeySpecifier)[]; +export type DigitalContentUrlKeySpecifier = ('id' | 'content' | 'created' | 'downloadNum' | 'url' | 'token' | DigitalContentUrlKeySpecifier)[]; export type DigitalContentUrlFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, content?: FieldPolicy | FieldReadFunction, created?: FieldPolicy | FieldReadFunction, downloadNum?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - token?: FieldPolicy | FieldReadFunction, - url?: FieldPolicy | FieldReadFunction + url?: FieldPolicy | FieldReadFunction, + token?: FieldPolicy | FieldReadFunction }; -export type DigitalContentUrlCreateKeySpecifier = ('digitalContentUrl' | 'errors' | 'productErrors' | DigitalContentUrlCreateKeySpecifier)[]; +export type DigitalContentUrlCreateKeySpecifier = ('productErrors' | 'errors' | 'digitalContentUrl' | DigitalContentUrlCreateKeySpecifier)[]; export type DigitalContentUrlCreateFieldPolicy = { - digitalContentUrl?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + digitalContentUrl?: FieldPolicy | FieldReadFunction }; -export type DiscountErrorKeySpecifier = ('channels' | 'code' | 'field' | 'message' | 'products' | DiscountErrorKeySpecifier)[]; +export type DiscountErrorKeySpecifier = ('field' | 'message' | 'products' | 'code' | 'channels' | DiscountErrorKeySpecifier)[]; export type DiscountErrorFieldPolicy = { - channels?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, - products?: FieldPolicy | FieldReadFunction + products?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction }; export type DomainKeySpecifier = ('host' | 'sslEnabled' | 'url' | DomainKeySpecifier)[]; export type DomainFieldPolicy = { @@ -1449,388 +1449,388 @@ export type DomainFieldPolicy = { sslEnabled?: FieldPolicy | FieldReadFunction, url?: FieldPolicy | FieldReadFunction }; -export type DraftOrderBulkDeleteKeySpecifier = ('count' | 'errors' | 'orderErrors' | DraftOrderBulkDeleteKeySpecifier)[]; +export type DraftOrderBulkDeleteKeySpecifier = ('count' | 'orderErrors' | 'errors' | DraftOrderBulkDeleteKeySpecifier)[]; export type DraftOrderBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type DraftOrderCompleteKeySpecifier = ('errors' | 'order' | 'orderErrors' | DraftOrderCompleteKeySpecifier)[]; +export type DraftOrderCompleteKeySpecifier = ('order' | 'orderErrors' | 'errors' | DraftOrderCompleteKeySpecifier)[]; export type DraftOrderCompleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type DraftOrderCreateKeySpecifier = ('errors' | 'order' | 'orderErrors' | DraftOrderCreateKeySpecifier)[]; +export type DraftOrderCreateKeySpecifier = ('orderErrors' | 'errors' | 'order' | DraftOrderCreateKeySpecifier)[]; export type DraftOrderCreateFieldPolicy = { + orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type DraftOrderCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | DraftOrderCreatedKeySpecifier)[]; +export type DraftOrderCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | DraftOrderCreatedKeySpecifier)[]; export type DraftOrderCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type DraftOrderDeleteKeySpecifier = ('errors' | 'order' | 'orderErrors' | DraftOrderDeleteKeySpecifier)[]; +export type DraftOrderDeleteKeySpecifier = ('orderErrors' | 'errors' | 'order' | DraftOrderDeleteKeySpecifier)[]; export type DraftOrderDeleteFieldPolicy = { + orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type DraftOrderDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | DraftOrderDeletedKeySpecifier)[]; +export type DraftOrderDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | DraftOrderDeletedKeySpecifier)[]; export type DraftOrderDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type DraftOrderLinesBulkDeleteKeySpecifier = ('count' | 'errors' | 'orderErrors' | DraftOrderLinesBulkDeleteKeySpecifier)[]; +export type DraftOrderLinesBulkDeleteKeySpecifier = ('count' | 'orderErrors' | 'errors' | DraftOrderLinesBulkDeleteKeySpecifier)[]; export type DraftOrderLinesBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type DraftOrderUpdateKeySpecifier = ('errors' | 'order' | 'orderErrors' | DraftOrderUpdateKeySpecifier)[]; +export type DraftOrderUpdateKeySpecifier = ('orderErrors' | 'errors' | 'order' | DraftOrderUpdateKeySpecifier)[]; export type DraftOrderUpdateFieldPolicy = { + orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type DraftOrderUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | DraftOrderUpdatedKeySpecifier)[]; +export type DraftOrderUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | DraftOrderUpdatedKeySpecifier)[]; export type DraftOrderUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type EventKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | EventKeySpecifier)[]; +export type EventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | EventKeySpecifier)[]; export type EventFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + recipient?: FieldPolicy | FieldReadFunction }; -export type EventDeliveryKeySpecifier = ('attempts' | 'createdAt' | 'eventType' | 'id' | 'payload' | 'status' | EventDeliveryKeySpecifier)[]; +export type EventDeliveryKeySpecifier = ('id' | 'createdAt' | 'status' | 'eventType' | 'attempts' | 'payload' | EventDeliveryKeySpecifier)[]; export type EventDeliveryFieldPolicy = { - attempts?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, createdAt?: FieldPolicy | FieldReadFunction, + status?: FieldPolicy | FieldReadFunction, eventType?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - payload?: FieldPolicy | FieldReadFunction, - status?: FieldPolicy | FieldReadFunction + attempts?: FieldPolicy | FieldReadFunction, + payload?: FieldPolicy | FieldReadFunction }; -export type EventDeliveryAttemptKeySpecifier = ('createdAt' | 'duration' | 'id' | 'requestHeaders' | 'response' | 'responseHeaders' | 'responseStatusCode' | 'status' | 'taskId' | EventDeliveryAttemptKeySpecifier)[]; +export type EventDeliveryAttemptKeySpecifier = ('id' | 'createdAt' | 'taskId' | 'duration' | 'response' | 'responseHeaders' | 'responseStatusCode' | 'requestHeaders' | 'status' | EventDeliveryAttemptKeySpecifier)[]; export type EventDeliveryAttemptFieldPolicy = { - createdAt?: FieldPolicy | FieldReadFunction, - duration?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - requestHeaders?: FieldPolicy | FieldReadFunction, + createdAt?: FieldPolicy | FieldReadFunction, + taskId?: FieldPolicy | FieldReadFunction, + duration?: FieldPolicy | FieldReadFunction, response?: FieldPolicy | FieldReadFunction, responseHeaders?: FieldPolicy | FieldReadFunction, responseStatusCode?: FieldPolicy | FieldReadFunction, - status?: FieldPolicy | FieldReadFunction, - taskId?: FieldPolicy | FieldReadFunction + requestHeaders?: FieldPolicy | FieldReadFunction, + status?: FieldPolicy | FieldReadFunction }; -export type EventDeliveryAttemptCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | EventDeliveryAttemptCountableConnectionKeySpecifier)[]; +export type EventDeliveryAttemptCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | EventDeliveryAttemptCountableConnectionKeySpecifier)[]; export type EventDeliveryAttemptCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type EventDeliveryAttemptCountableEdgeKeySpecifier = ('cursor' | 'node' | EventDeliveryAttemptCountableEdgeKeySpecifier)[]; +export type EventDeliveryAttemptCountableEdgeKeySpecifier = ('node' | 'cursor' | EventDeliveryAttemptCountableEdgeKeySpecifier)[]; export type EventDeliveryAttemptCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type EventDeliveryCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | EventDeliveryCountableConnectionKeySpecifier)[]; +export type EventDeliveryCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | EventDeliveryCountableConnectionKeySpecifier)[]; export type EventDeliveryCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type EventDeliveryCountableEdgeKeySpecifier = ('cursor' | 'node' | EventDeliveryCountableEdgeKeySpecifier)[]; +export type EventDeliveryCountableEdgeKeySpecifier = ('node' | 'cursor' | EventDeliveryCountableEdgeKeySpecifier)[]; export type EventDeliveryCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; export type EventDeliveryRetryKeySpecifier = ('delivery' | 'errors' | EventDeliveryRetryKeySpecifier)[]; export type EventDeliveryRetryFieldPolicy = { delivery?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type ExportErrorKeySpecifier = ('code' | 'field' | 'message' | ExportErrorKeySpecifier)[]; +export type ExportErrorKeySpecifier = ('field' | 'message' | 'code' | ExportErrorKeySpecifier)[]; export type ExportErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type ExportEventKeySpecifier = ('id' | 'date' | 'type' | 'user' | 'app' | 'message' | ExportEventKeySpecifier)[]; +export type ExportEventFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + date?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction }; -export type ExportEventKeySpecifier = ('app' | 'date' | 'id' | 'message' | 'type' | 'user' | ExportEventKeySpecifier)[]; -export type ExportEventFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - date?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type ExportFileKeySpecifier = ('app' | 'createdAt' | 'events' | 'id' | 'message' | 'status' | 'updatedAt' | 'url' | 'user' | ExportFileKeySpecifier)[]; +export type ExportFileKeySpecifier = ('id' | 'status' | 'createdAt' | 'updatedAt' | 'message' | 'url' | 'events' | 'user' | 'app' | ExportFileKeySpecifier)[]; export type ExportFileFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - createdAt?: FieldPolicy | FieldReadFunction, - events?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, status?: FieldPolicy | FieldReadFunction, + createdAt?: FieldPolicy | FieldReadFunction, updatedAt?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, url?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + events?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction }; -export type ExportFileCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | ExportFileCountableConnectionKeySpecifier)[]; +export type ExportFileCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | ExportFileCountableConnectionKeySpecifier)[]; export type ExportFileCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type ExportFileCountableEdgeKeySpecifier = ('cursor' | 'node' | ExportFileCountableEdgeKeySpecifier)[]; +export type ExportFileCountableEdgeKeySpecifier = ('node' | 'cursor' | ExportFileCountableEdgeKeySpecifier)[]; export type ExportFileCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type ExportGiftCardsKeySpecifier = ('errors' | 'exportFile' | ExportGiftCardsKeySpecifier)[]; +export type ExportGiftCardsKeySpecifier = ('exportFile' | 'errors' | ExportGiftCardsKeySpecifier)[]; export type ExportGiftCardsFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - exportFile?: FieldPolicy | FieldReadFunction + exportFile?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ExportProductsKeySpecifier = ('errors' | 'exportErrors' | 'exportFile' | ExportProductsKeySpecifier)[]; +export type ExportProductsKeySpecifier = ('exportFile' | 'exportErrors' | 'errors' | ExportProductsKeySpecifier)[]; export type ExportProductsFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + exportFile?: FieldPolicy | FieldReadFunction, exportErrors?: FieldPolicy | FieldReadFunction, - exportFile?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; export type ExternalAuthenticationKeySpecifier = ('id' | 'name' | ExternalAuthenticationKeySpecifier)[]; export type ExternalAuthenticationFieldPolicy = { id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction }; -export type ExternalAuthenticationUrlKeySpecifier = ('accountErrors' | 'authenticationData' | 'errors' | ExternalAuthenticationUrlKeySpecifier)[]; +export type ExternalAuthenticationUrlKeySpecifier = ('authenticationData' | 'accountErrors' | 'errors' | ExternalAuthenticationUrlKeySpecifier)[]; export type ExternalAuthenticationUrlFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, authenticationData?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type ExternalLogoutKeySpecifier = ('accountErrors' | 'errors' | 'logoutData' | ExternalLogoutKeySpecifier)[]; +export type ExternalLogoutKeySpecifier = ('logoutData' | 'accountErrors' | 'errors' | ExternalLogoutKeySpecifier)[]; export type ExternalLogoutFieldPolicy = { + logoutData?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - logoutData?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ExternalNotificationErrorKeySpecifier = ('code' | 'field' | 'message' | ExternalNotificationErrorKeySpecifier)[]; +export type ExternalNotificationErrorKeySpecifier = ('field' | 'message' | 'code' | ExternalNotificationErrorKeySpecifier)[]; export type ExternalNotificationErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; export type ExternalNotificationTriggerKeySpecifier = ('errors' | ExternalNotificationTriggerKeySpecifier)[]; export type ExternalNotificationTriggerFieldPolicy = { errors?: FieldPolicy | FieldReadFunction }; -export type ExternalObtainAccessTokensKeySpecifier = ('accountErrors' | 'csrfToken' | 'errors' | 'refreshToken' | 'token' | 'user' | ExternalObtainAccessTokensKeySpecifier)[]; +export type ExternalObtainAccessTokensKeySpecifier = ('token' | 'refreshToken' | 'csrfToken' | 'user' | 'accountErrors' | 'errors' | ExternalObtainAccessTokensKeySpecifier)[]; export type ExternalObtainAccessTokensFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - csrfToken?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - refreshToken?: FieldPolicy | FieldReadFunction, token?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type ExternalRefreshKeySpecifier = ('accountErrors' | 'csrfToken' | 'errors' | 'refreshToken' | 'token' | 'user' | ExternalRefreshKeySpecifier)[]; -export type ExternalRefreshFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - csrfToken?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, refreshToken?: FieldPolicy | FieldReadFunction, - token?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type ExternalVerifyKeySpecifier = ('accountErrors' | 'errors' | 'isValid' | 'user' | 'verifyData' | ExternalVerifyKeySpecifier)[]; -export type ExternalVerifyFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - isValid?: FieldPolicy | FieldReadFunction, + csrfToken?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction, - verifyData?: FieldPolicy | FieldReadFunction + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type FileKeySpecifier = ('contentType' | 'url' | FileKeySpecifier)[]; +export type ExternalRefreshKeySpecifier = ('token' | 'refreshToken' | 'csrfToken' | 'user' | 'accountErrors' | 'errors' | ExternalRefreshKeySpecifier)[]; +export type ExternalRefreshFieldPolicy = { + token?: FieldPolicy | FieldReadFunction, + refreshToken?: FieldPolicy | FieldReadFunction, + csrfToken?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ExternalVerifyKeySpecifier = ('user' | 'isValid' | 'verifyData' | 'accountErrors' | 'errors' | ExternalVerifyKeySpecifier)[]; +export type ExternalVerifyFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, + isValid?: FieldPolicy | FieldReadFunction, + verifyData?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type FileKeySpecifier = ('url' | 'contentType' | FileKeySpecifier)[]; export type FileFieldPolicy = { - contentType?: FieldPolicy | FieldReadFunction, - url?: FieldPolicy | FieldReadFunction + url?: FieldPolicy | FieldReadFunction, + contentType?: FieldPolicy | FieldReadFunction }; -export type FileUploadKeySpecifier = ('errors' | 'uploadErrors' | 'uploadedFile' | FileUploadKeySpecifier)[]; +export type FileUploadKeySpecifier = ('uploadedFile' | 'uploadErrors' | 'errors' | FileUploadKeySpecifier)[]; export type FileUploadFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + uploadedFile?: FieldPolicy | FieldReadFunction, uploadErrors?: FieldPolicy | FieldReadFunction, - uploadedFile?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type FulfillmentKeySpecifier = ('created' | 'fulfillmentOrder' | 'id' | 'lines' | 'metadata' | 'metafield' | 'metafields' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'status' | 'statusDisplay' | 'trackingNumber' | 'warehouse' | FulfillmentKeySpecifier)[]; +export type FulfillmentKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'fulfillmentOrder' | 'status' | 'trackingNumber' | 'created' | 'lines' | 'statusDisplay' | 'warehouse' | FulfillmentKeySpecifier)[]; export type FulfillmentFieldPolicy = { - created?: FieldPolicy | FieldReadFunction, - fulfillmentOrder?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - lines?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + fulfillmentOrder?: FieldPolicy | FieldReadFunction, status?: FieldPolicy | FieldReadFunction, - statusDisplay?: FieldPolicy | FieldReadFunction, trackingNumber?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, + lines?: FieldPolicy | FieldReadFunction, + statusDisplay?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type FulfillmentApproveKeySpecifier = ('errors' | 'fulfillment' | 'order' | 'orderErrors' | FulfillmentApproveKeySpecifier)[]; +export type FulfillmentApproveKeySpecifier = ('fulfillment' | 'order' | 'orderErrors' | 'errors' | FulfillmentApproveKeySpecifier)[]; export type FulfillmentApproveFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, fulfillment?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type FulfillmentApprovedKeySpecifier = ('fulfillment' | 'issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | FulfillmentApprovedKeySpecifier)[]; -export type FulfillmentApprovedFieldPolicy = { - fulfillment?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type FulfillmentCancelKeySpecifier = ('errors' | 'fulfillment' | 'order' | 'orderErrors' | FulfillmentCancelKeySpecifier)[]; -export type FulfillmentCancelFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - fulfillment?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type FulfillmentCanceledKeySpecifier = ('fulfillment' | 'issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | FulfillmentCanceledKeySpecifier)[]; -export type FulfillmentCanceledFieldPolicy = { - fulfillment?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type FulfillmentCreatedKeySpecifier = ('fulfillment' | 'issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | FulfillmentCreatedKeySpecifier)[]; -export type FulfillmentCreatedFieldPolicy = { - fulfillment?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type FulfillmentLineKeySpecifier = ('id' | 'orderLine' | 'quantity' | FulfillmentLineKeySpecifier)[]; -export type FulfillmentLineFieldPolicy = { - id?: FieldPolicy | FieldReadFunction, - orderLine?: FieldPolicy | FieldReadFunction, - quantity?: FieldPolicy | FieldReadFunction -}; -export type FulfillmentMetadataUpdatedKeySpecifier = ('fulfillment' | 'issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | FulfillmentMetadataUpdatedKeySpecifier)[]; -export type FulfillmentMetadataUpdatedFieldPolicy = { - fulfillment?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type FulfillmentRefundProductsKeySpecifier = ('errors' | 'fulfillment' | 'order' | 'orderErrors' | FulfillmentRefundProductsKeySpecifier)[]; -export type FulfillmentRefundProductsFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - fulfillment?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type FulfillmentReturnProductsKeySpecifier = ('errors' | 'order' | 'orderErrors' | 'replaceFulfillment' | 'replaceOrder' | 'returnFulfillment' | FulfillmentReturnProductsKeySpecifier)[]; -export type FulfillmentReturnProductsFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, orderErrors?: FieldPolicy | FieldReadFunction, - replaceFulfillment?: FieldPolicy | FieldReadFunction, - replaceOrder?: FieldPolicy | FieldReadFunction, - returnFulfillment?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type FulfillmentUpdateTrackingKeySpecifier = ('errors' | 'fulfillment' | 'order' | 'orderErrors' | FulfillmentUpdateTrackingKeySpecifier)[]; -export type FulfillmentUpdateTrackingFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, +export type FulfillmentApprovedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'fulfillment' | 'order' | FulfillmentApprovedKeySpecifier)[]; +export type FulfillmentApprovedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + fulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type FulfillmentCancelKeySpecifier = ('fulfillment' | 'order' | 'orderErrors' | 'errors' | FulfillmentCancelKeySpecifier)[]; +export type FulfillmentCancelFieldPolicy = { fulfillment?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type FulfillmentCanceledKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'fulfillment' | 'order' | FulfillmentCanceledKeySpecifier)[]; +export type FulfillmentCanceledFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + fulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type FulfillmentCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'fulfillment' | 'order' | FulfillmentCreatedKeySpecifier)[]; +export type FulfillmentCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + fulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type FulfillmentLineKeySpecifier = ('id' | 'quantity' | 'orderLine' | FulfillmentLineKeySpecifier)[]; +export type FulfillmentLineFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + quantity?: FieldPolicy | FieldReadFunction, + orderLine?: FieldPolicy | FieldReadFunction +}; +export type FulfillmentMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'fulfillment' | 'order' | FulfillmentMetadataUpdatedKeySpecifier)[]; +export type FulfillmentMetadataUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + fulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type FulfillmentRefundProductsKeySpecifier = ('fulfillment' | 'order' | 'orderErrors' | 'errors' | FulfillmentRefundProductsKeySpecifier)[]; +export type FulfillmentRefundProductsFieldPolicy = { + fulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type FulfillmentReturnProductsKeySpecifier = ('returnFulfillment' | 'replaceFulfillment' | 'order' | 'replaceOrder' | 'orderErrors' | 'errors' | FulfillmentReturnProductsKeySpecifier)[]; +export type FulfillmentReturnProductsFieldPolicy = { + returnFulfillment?: FieldPolicy | FieldReadFunction, + replaceFulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + replaceOrder?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type FulfillmentUpdateTrackingKeySpecifier = ('fulfillment' | 'order' | 'orderErrors' | 'errors' | FulfillmentUpdateTrackingKeySpecifier)[]; +export type FulfillmentUpdateTrackingFieldPolicy = { + fulfillment?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; export type GatewayConfigLineKeySpecifier = ('field' | 'value' | GatewayConfigLineKeySpecifier)[]; export type GatewayConfigLineFieldPolicy = { field?: FieldPolicy | FieldReadFunction, value?: FieldPolicy | FieldReadFunction }; -export type GiftCardKeySpecifier = ('app' | 'boughtInChannel' | 'code' | 'created' | 'createdBy' | 'createdByEmail' | 'currentBalance' | 'displayCode' | 'endDate' | 'events' | 'expiryDate' | 'id' | 'initialBalance' | 'isActive' | 'last4CodeChars' | 'lastUsedOn' | 'metadata' | 'metafield' | 'metafields' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'product' | 'startDate' | 'tags' | 'usedBy' | 'usedByEmail' | 'user' | GiftCardKeySpecifier)[]; +export type GiftCardKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'displayCode' | 'last4CodeChars' | 'code' | 'created' | 'createdBy' | 'usedBy' | 'createdByEmail' | 'usedByEmail' | 'lastUsedOn' | 'expiryDate' | 'app' | 'product' | 'events' | 'tags' | 'boughtInChannel' | 'isActive' | 'initialBalance' | 'currentBalance' | 'user' | 'endDate' | 'startDate' | GiftCardKeySpecifier)[]; export type GiftCardFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - boughtInChannel?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, - createdBy?: FieldPolicy | FieldReadFunction, - createdByEmail?: FieldPolicy | FieldReadFunction, - currentBalance?: FieldPolicy | FieldReadFunction, - displayCode?: FieldPolicy | FieldReadFunction, - endDate?: FieldPolicy | FieldReadFunction, - events?: FieldPolicy | FieldReadFunction, - expiryDate?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - initialBalance?: FieldPolicy | FieldReadFunction, - isActive?: FieldPolicy | FieldReadFunction, - last4CodeChars?: FieldPolicy | FieldReadFunction, - lastUsedOn?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, - startDate?: FieldPolicy | FieldReadFunction, - tags?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + displayCode?: FieldPolicy | FieldReadFunction, + last4CodeChars?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, + createdBy?: FieldPolicy | FieldReadFunction, usedBy?: FieldPolicy | FieldReadFunction, + createdByEmail?: FieldPolicy | FieldReadFunction, usedByEmail?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + lastUsedOn?: FieldPolicy | FieldReadFunction, + expiryDate?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction, + product?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + tags?: FieldPolicy | FieldReadFunction, + boughtInChannel?: FieldPolicy | FieldReadFunction, + isActive?: FieldPolicy | FieldReadFunction, + initialBalance?: FieldPolicy | FieldReadFunction, + currentBalance?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + endDate?: FieldPolicy | FieldReadFunction, + startDate?: FieldPolicy | FieldReadFunction }; -export type GiftCardActivateKeySpecifier = ('errors' | 'giftCard' | 'giftCardErrors' | GiftCardActivateKeySpecifier)[]; +export type GiftCardActivateKeySpecifier = ('giftCard' | 'giftCardErrors' | 'errors' | GiftCardActivateKeySpecifier)[]; export type GiftCardActivateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction, - giftCardErrors?: FieldPolicy | FieldReadFunction + giftCardErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type GiftCardAddNoteKeySpecifier = ('errors' | 'event' | 'giftCard' | GiftCardAddNoteKeySpecifier)[]; +export type GiftCardAddNoteKeySpecifier = ('giftCard' | 'event' | 'errors' | GiftCardAddNoteKeySpecifier)[]; export type GiftCardAddNoteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + giftCard?: FieldPolicy | FieldReadFunction, event?: FieldPolicy | FieldReadFunction, - giftCard?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; export type GiftCardBulkActivateKeySpecifier = ('count' | 'errors' | GiftCardBulkActivateKeySpecifier)[]; export type GiftCardBulkActivateFieldPolicy = { count?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type GiftCardBulkCreateKeySpecifier = ('count' | 'errors' | 'giftCards' | GiftCardBulkCreateKeySpecifier)[]; +export type GiftCardBulkCreateKeySpecifier = ('count' | 'giftCards' | 'errors' | GiftCardBulkCreateKeySpecifier)[]; export type GiftCardBulkCreateFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - giftCards?: FieldPolicy | FieldReadFunction + giftCards?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; export type GiftCardBulkDeactivateKeySpecifier = ('count' | 'errors' | GiftCardBulkDeactivateKeySpecifier)[]; export type GiftCardBulkDeactivateFieldPolicy = { @@ -1842,287 +1842,287 @@ export type GiftCardBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type GiftCardCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | GiftCardCountableConnectionKeySpecifier)[]; +export type GiftCardCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | GiftCardCountableConnectionKeySpecifier)[]; export type GiftCardCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type GiftCardCountableEdgeKeySpecifier = ('cursor' | 'node' | GiftCardCountableEdgeKeySpecifier)[]; +export type GiftCardCountableEdgeKeySpecifier = ('node' | 'cursor' | GiftCardCountableEdgeKeySpecifier)[]; export type GiftCardCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type GiftCardCreateKeySpecifier = ('errors' | 'giftCard' | 'giftCardErrors' | GiftCardCreateKeySpecifier)[]; +export type GiftCardCreateKeySpecifier = ('giftCardErrors' | 'errors' | 'giftCard' | GiftCardCreateKeySpecifier)[]; export type GiftCardCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - giftCard?: FieldPolicy | FieldReadFunction, - giftCardErrors?: FieldPolicy | FieldReadFunction -}; -export type GiftCardCreatedKeySpecifier = ('giftCard' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | GiftCardCreatedKeySpecifier)[]; -export type GiftCardCreatedFieldPolicy = { - giftCard?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type GiftCardDeactivateKeySpecifier = ('errors' | 'giftCard' | 'giftCardErrors' | GiftCardDeactivateKeySpecifier)[]; -export type GiftCardDeactivateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - giftCard?: FieldPolicy | FieldReadFunction, - giftCardErrors?: FieldPolicy | FieldReadFunction -}; -export type GiftCardDeleteKeySpecifier = ('errors' | 'giftCard' | 'giftCardErrors' | GiftCardDeleteKeySpecifier)[]; -export type GiftCardDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - giftCard?: FieldPolicy | FieldReadFunction, - giftCardErrors?: FieldPolicy | FieldReadFunction -}; -export type GiftCardDeletedKeySpecifier = ('giftCard' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | GiftCardDeletedKeySpecifier)[]; -export type GiftCardDeletedFieldPolicy = { - giftCard?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type GiftCardErrorKeySpecifier = ('code' | 'field' | 'message' | 'tags' | GiftCardErrorKeySpecifier)[]; -export type GiftCardErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - tags?: FieldPolicy | FieldReadFunction -}; -export type GiftCardEventKeySpecifier = ('app' | 'balance' | 'date' | 'email' | 'expiryDate' | 'id' | 'message' | 'oldExpiryDate' | 'oldTags' | 'orderId' | 'orderNumber' | 'tags' | 'type' | 'user' | GiftCardEventKeySpecifier)[]; -export type GiftCardEventFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - balance?: FieldPolicy | FieldReadFunction, - date?: FieldPolicy | FieldReadFunction, - email?: FieldPolicy | FieldReadFunction, - expiryDate?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - oldExpiryDate?: FieldPolicy | FieldReadFunction, - oldTags?: FieldPolicy | FieldReadFunction, - orderId?: FieldPolicy | FieldReadFunction, - orderNumber?: FieldPolicy | FieldReadFunction, - tags?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type GiftCardEventBalanceKeySpecifier = ('currentBalance' | 'initialBalance' | 'oldCurrentBalance' | 'oldInitialBalance' | GiftCardEventBalanceKeySpecifier)[]; -export type GiftCardEventBalanceFieldPolicy = { - currentBalance?: FieldPolicy | FieldReadFunction, - initialBalance?: FieldPolicy | FieldReadFunction, - oldCurrentBalance?: FieldPolicy | FieldReadFunction, - oldInitialBalance?: FieldPolicy | FieldReadFunction -}; -export type GiftCardMetadataUpdatedKeySpecifier = ('giftCard' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | GiftCardMetadataUpdatedKeySpecifier)[]; -export type GiftCardMetadataUpdatedFieldPolicy = { - giftCard?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type GiftCardResendKeySpecifier = ('errors' | 'giftCard' | GiftCardResendKeySpecifier)[]; -export type GiftCardResendFieldPolicy = { + giftCardErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, giftCard?: FieldPolicy | FieldReadFunction }; -export type GiftCardSentKeySpecifier = ('channel' | 'giftCard' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'sentToEmail' | 'version' | GiftCardSentKeySpecifier)[]; -export type GiftCardSentFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, - giftCard?: FieldPolicy | FieldReadFunction, +export type GiftCardCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardCreatedKeySpecifier)[]; +export type GiftCardCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - sentToEmail?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + giftCard?: FieldPolicy | FieldReadFunction }; -export type GiftCardSettingsKeySpecifier = ('expiryPeriod' | 'expiryType' | GiftCardSettingsKeySpecifier)[]; -export type GiftCardSettingsFieldPolicy = { - expiryPeriod?: FieldPolicy | FieldReadFunction, - expiryType?: FieldPolicy | FieldReadFunction +export type GiftCardDeactivateKeySpecifier = ('giftCard' | 'giftCardErrors' | 'errors' | GiftCardDeactivateKeySpecifier)[]; +export type GiftCardDeactivateFieldPolicy = { + giftCard?: FieldPolicy | FieldReadFunction, + giftCardErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type GiftCardSettingsErrorKeySpecifier = ('code' | 'field' | 'message' | GiftCardSettingsErrorKeySpecifier)[]; -export type GiftCardSettingsErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type GiftCardSettingsUpdateKeySpecifier = ('errors' | 'giftCardSettings' | GiftCardSettingsUpdateKeySpecifier)[]; -export type GiftCardSettingsUpdateFieldPolicy = { +export type GiftCardDeleteKeySpecifier = ('giftCardErrors' | 'errors' | 'giftCard' | GiftCardDeleteKeySpecifier)[]; +export type GiftCardDeleteFieldPolicy = { + giftCardErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - giftCardSettings?: FieldPolicy | FieldReadFunction + giftCard?: FieldPolicy | FieldReadFunction }; -export type GiftCardStatusChangedKeySpecifier = ('giftCard' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | GiftCardStatusChangedKeySpecifier)[]; -export type GiftCardStatusChangedFieldPolicy = { - giftCard?: FieldPolicy | FieldReadFunction, +export type GiftCardDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardDeletedKeySpecifier)[]; +export type GiftCardDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + giftCard?: FieldPolicy | FieldReadFunction +}; +export type GiftCardErrorKeySpecifier = ('field' | 'message' | 'code' | 'tags' | GiftCardErrorKeySpecifier)[]; +export type GiftCardErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + tags?: FieldPolicy | FieldReadFunction +}; +export type GiftCardEventKeySpecifier = ('id' | 'date' | 'type' | 'user' | 'app' | 'message' | 'email' | 'orderId' | 'orderNumber' | 'tags' | 'oldTags' | 'balance' | 'expiryDate' | 'oldExpiryDate' | GiftCardEventKeySpecifier)[]; +export type GiftCardEventFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + date?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + email?: FieldPolicy | FieldReadFunction, + orderId?: FieldPolicy | FieldReadFunction, + orderNumber?: FieldPolicy | FieldReadFunction, + tags?: FieldPolicy | FieldReadFunction, + oldTags?: FieldPolicy | FieldReadFunction, + balance?: FieldPolicy | FieldReadFunction, + expiryDate?: FieldPolicy | FieldReadFunction, + oldExpiryDate?: FieldPolicy | FieldReadFunction +}; +export type GiftCardEventBalanceKeySpecifier = ('initialBalance' | 'currentBalance' | 'oldInitialBalance' | 'oldCurrentBalance' | GiftCardEventBalanceKeySpecifier)[]; +export type GiftCardEventBalanceFieldPolicy = { + initialBalance?: FieldPolicy | FieldReadFunction, + currentBalance?: FieldPolicy | FieldReadFunction, + oldInitialBalance?: FieldPolicy | FieldReadFunction, + oldCurrentBalance?: FieldPolicy | FieldReadFunction +}; +export type GiftCardMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardMetadataUpdatedKeySpecifier)[]; +export type GiftCardMetadataUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + giftCard?: FieldPolicy | FieldReadFunction +}; +export type GiftCardResendKeySpecifier = ('giftCard' | 'errors' | GiftCardResendKeySpecifier)[]; +export type GiftCardResendFieldPolicy = { + giftCard?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type GiftCardSentKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | 'channel' | 'sentToEmail' | GiftCardSentKeySpecifier)[]; +export type GiftCardSentFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + giftCard?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + sentToEmail?: FieldPolicy | FieldReadFunction +}; +export type GiftCardSettingsKeySpecifier = ('expiryType' | 'expiryPeriod' | GiftCardSettingsKeySpecifier)[]; +export type GiftCardSettingsFieldPolicy = { + expiryType?: FieldPolicy | FieldReadFunction, + expiryPeriod?: FieldPolicy | FieldReadFunction +}; +export type GiftCardSettingsErrorKeySpecifier = ('field' | 'message' | 'code' | GiftCardSettingsErrorKeySpecifier)[]; +export type GiftCardSettingsErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type GiftCardSettingsUpdateKeySpecifier = ('giftCardSettings' | 'errors' | GiftCardSettingsUpdateKeySpecifier)[]; +export type GiftCardSettingsUpdateFieldPolicy = { + giftCardSettings?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type GiftCardStatusChangedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardStatusChangedKeySpecifier)[]; +export type GiftCardStatusChangedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + giftCard?: FieldPolicy | FieldReadFunction }; export type GiftCardTagKeySpecifier = ('id' | 'name' | GiftCardTagKeySpecifier)[]; export type GiftCardTagFieldPolicy = { id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction }; -export type GiftCardTagCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | GiftCardTagCountableConnectionKeySpecifier)[]; +export type GiftCardTagCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | GiftCardTagCountableConnectionKeySpecifier)[]; export type GiftCardTagCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type GiftCardTagCountableEdgeKeySpecifier = ('cursor' | 'node' | GiftCardTagCountableEdgeKeySpecifier)[]; +export type GiftCardTagCountableEdgeKeySpecifier = ('node' | 'cursor' | GiftCardTagCountableEdgeKeySpecifier)[]; export type GiftCardTagCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type GiftCardUpdateKeySpecifier = ('errors' | 'giftCard' | 'giftCardErrors' | GiftCardUpdateKeySpecifier)[]; +export type GiftCardUpdateKeySpecifier = ('giftCardErrors' | 'errors' | 'giftCard' | GiftCardUpdateKeySpecifier)[]; export type GiftCardUpdateFieldPolicy = { + giftCardErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - giftCard?: FieldPolicy | FieldReadFunction, - giftCardErrors?: FieldPolicy | FieldReadFunction + giftCard?: FieldPolicy | FieldReadFunction }; -export type GiftCardUpdatedKeySpecifier = ('giftCard' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | GiftCardUpdatedKeySpecifier)[]; +export type GiftCardUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'giftCard' | GiftCardUpdatedKeySpecifier)[]; export type GiftCardUpdatedFieldPolicy = { - giftCard?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + giftCard?: FieldPolicy | FieldReadFunction }; -export type GroupKeySpecifier = ('id' | 'name' | 'permissions' | 'userCanManage' | 'users' | GroupKeySpecifier)[]; +export type GroupKeySpecifier = ('id' | 'name' | 'users' | 'permissions' | 'userCanManage' | GroupKeySpecifier)[]; export type GroupFieldPolicy = { id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, + users?: FieldPolicy | FieldReadFunction, permissions?: FieldPolicy | FieldReadFunction, - userCanManage?: FieldPolicy | FieldReadFunction, - users?: FieldPolicy | FieldReadFunction + userCanManage?: FieldPolicy | FieldReadFunction }; -export type GroupCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | GroupCountableConnectionKeySpecifier)[]; +export type GroupCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | GroupCountableConnectionKeySpecifier)[]; export type GroupCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type GroupCountableEdgeKeySpecifier = ('cursor' | 'node' | GroupCountableEdgeKeySpecifier)[]; +export type GroupCountableEdgeKeySpecifier = ('node' | 'cursor' | GroupCountableEdgeKeySpecifier)[]; export type GroupCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type ImageKeySpecifier = ('alt' | 'url' | ImageKeySpecifier)[]; +export type ImageKeySpecifier = ('url' | 'alt' | ImageKeySpecifier)[]; export type ImageFieldPolicy = { - alt?: FieldPolicy | FieldReadFunction, - url?: FieldPolicy | FieldReadFunction + url?: FieldPolicy | FieldReadFunction, + alt?: FieldPolicy | FieldReadFunction }; -export type InvoiceKeySpecifier = ('createdAt' | 'externalUrl' | 'id' | 'message' | 'metadata' | 'metafield' | 'metafields' | 'number' | 'order' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'status' | 'updatedAt' | 'url' | InvoiceKeySpecifier)[]; +export type InvoiceKeySpecifier = ('privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'status' | 'createdAt' | 'updatedAt' | 'message' | 'id' | 'number' | 'externalUrl' | 'url' | 'order' | InvoiceKeySpecifier)[]; export type InvoiceFieldPolicy = { - createdAt?: FieldPolicy | FieldReadFunction, - externalUrl?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - number?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, status?: FieldPolicy | FieldReadFunction, + createdAt?: FieldPolicy | FieldReadFunction, updatedAt?: FieldPolicy | FieldReadFunction, - url?: FieldPolicy | FieldReadFunction -}; -export type InvoiceCreateKeySpecifier = ('errors' | 'invoice' | 'invoiceErrors' | InvoiceCreateKeySpecifier)[]; -export type InvoiceCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - invoice?: FieldPolicy | FieldReadFunction, - invoiceErrors?: FieldPolicy | FieldReadFunction -}; -export type InvoiceDeleteKeySpecifier = ('errors' | 'invoice' | 'invoiceErrors' | InvoiceDeleteKeySpecifier)[]; -export type InvoiceDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - invoice?: FieldPolicy | FieldReadFunction, - invoiceErrors?: FieldPolicy | FieldReadFunction -}; -export type InvoiceDeletedKeySpecifier = ('invoice' | 'issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | InvoiceDeletedKeySpecifier)[]; -export type InvoiceDeletedFieldPolicy = { - invoice?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type InvoiceErrorKeySpecifier = ('code' | 'field' | 'message' | InvoiceErrorKeySpecifier)[]; -export type InvoiceErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type InvoiceRequestKeySpecifier = ('errors' | 'invoice' | 'invoiceErrors' | 'order' | InvoiceRequestKeySpecifier)[]; -export type InvoiceRequestFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - invoice?: FieldPolicy | FieldReadFunction, - invoiceErrors?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + number?: FieldPolicy | FieldReadFunction, + externalUrl?: FieldPolicy | FieldReadFunction, + url?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction }; -export type InvoiceRequestDeleteKeySpecifier = ('errors' | 'invoice' | 'invoiceErrors' | InvoiceRequestDeleteKeySpecifier)[]; -export type InvoiceRequestDeleteFieldPolicy = { +export type InvoiceCreateKeySpecifier = ('invoiceErrors' | 'errors' | 'invoice' | InvoiceCreateKeySpecifier)[]; +export type InvoiceCreateFieldPolicy = { + invoiceErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - invoice?: FieldPolicy | FieldReadFunction, - invoiceErrors?: FieldPolicy | FieldReadFunction + invoice?: FieldPolicy | FieldReadFunction }; -export type InvoiceRequestedKeySpecifier = ('invoice' | 'issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | InvoiceRequestedKeySpecifier)[]; -export type InvoiceRequestedFieldPolicy = { - invoice?: FieldPolicy | FieldReadFunction, +export type InvoiceDeleteKeySpecifier = ('invoiceErrors' | 'errors' | 'invoice' | InvoiceDeleteKeySpecifier)[]; +export type InvoiceDeleteFieldPolicy = { + invoiceErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + invoice?: FieldPolicy | FieldReadFunction +}; +export type InvoiceDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'invoice' | 'order' | InvoiceDeletedKeySpecifier)[]; +export type InvoiceDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type InvoiceSendNotificationKeySpecifier = ('errors' | 'invoice' | 'invoiceErrors' | InvoiceSendNotificationKeySpecifier)[]; -export type InvoiceSendNotificationFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, invoice?: FieldPolicy | FieldReadFunction, - invoiceErrors?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type InvoiceSentKeySpecifier = ('invoice' | 'issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | InvoiceSentKeySpecifier)[]; -export type InvoiceSentFieldPolicy = { - invoice?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type InvoiceUpdateKeySpecifier = ('errors' | 'invoice' | 'invoiceErrors' | InvoiceUpdateKeySpecifier)[]; -export type InvoiceUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - invoice?: FieldPolicy | FieldReadFunction, - invoiceErrors?: FieldPolicy | FieldReadFunction -}; -export type JobKeySpecifier = ('createdAt' | 'message' | 'status' | 'updatedAt' | JobKeySpecifier)[]; -export type JobFieldPolicy = { - createdAt?: FieldPolicy | FieldReadFunction, +export type InvoiceErrorKeySpecifier = ('field' | 'message' | 'code' | InvoiceErrorKeySpecifier)[]; +export type InvoiceErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type InvoiceRequestKeySpecifier = ('order' | 'invoiceErrors' | 'errors' | 'invoice' | InvoiceRequestKeySpecifier)[]; +export type InvoiceRequestFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + invoiceErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + invoice?: FieldPolicy | FieldReadFunction +}; +export type InvoiceRequestDeleteKeySpecifier = ('invoiceErrors' | 'errors' | 'invoice' | InvoiceRequestDeleteKeySpecifier)[]; +export type InvoiceRequestDeleteFieldPolicy = { + invoiceErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + invoice?: FieldPolicy | FieldReadFunction +}; +export type InvoiceRequestedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'invoice' | 'order' | InvoiceRequestedKeySpecifier)[]; +export type InvoiceRequestedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + invoice?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type InvoiceSendNotificationKeySpecifier = ('invoiceErrors' | 'errors' | 'invoice' | InvoiceSendNotificationKeySpecifier)[]; +export type InvoiceSendNotificationFieldPolicy = { + invoiceErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + invoice?: FieldPolicy | FieldReadFunction +}; +export type InvoiceSentKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'invoice' | 'order' | InvoiceSentKeySpecifier)[]; +export type InvoiceSentFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + invoice?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type InvoiceUpdateKeySpecifier = ('invoiceErrors' | 'errors' | 'invoice' | InvoiceUpdateKeySpecifier)[]; +export type InvoiceUpdateFieldPolicy = { + invoiceErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + invoice?: FieldPolicy | FieldReadFunction +}; +export type JobKeySpecifier = ('status' | 'createdAt' | 'updatedAt' | 'message' | JobKeySpecifier)[]; +export type JobFieldPolicy = { status?: FieldPolicy | FieldReadFunction, - updatedAt?: FieldPolicy | FieldReadFunction + createdAt?: FieldPolicy | FieldReadFunction, + updatedAt?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction }; export type LanguageDisplayKeySpecifier = ('code' | 'language' | LanguageDisplayKeySpecifier)[]; export type LanguageDisplayFieldPolicy = { code?: FieldPolicy | FieldReadFunction, language?: FieldPolicy | FieldReadFunction }; -export type LimitInfoKeySpecifier = ('allowedUsage' | 'currentUsage' | LimitInfoKeySpecifier)[]; +export type LimitInfoKeySpecifier = ('currentUsage' | 'allowedUsage' | LimitInfoKeySpecifier)[]; export type LimitInfoFieldPolicy = { - allowedUsage?: FieldPolicy | FieldReadFunction, - currentUsage?: FieldPolicy | FieldReadFunction + currentUsage?: FieldPolicy | FieldReadFunction, + allowedUsage?: FieldPolicy | FieldReadFunction }; export type LimitsKeySpecifier = ('channels' | 'orders' | 'productVariants' | 'staffUsers' | 'warehouses' | LimitsKeySpecifier)[]; export type LimitsFieldPolicy = { @@ -2132,178 +2132,178 @@ export type LimitsFieldPolicy = { staffUsers?: FieldPolicy | FieldReadFunction, warehouses?: FieldPolicy | FieldReadFunction }; -export type ManifestKeySpecifier = ('about' | 'appUrl' | 'audience' | 'author' | 'configurationUrl' | 'dataPrivacy' | 'dataPrivacyUrl' | 'extensions' | 'homepageUrl' | 'identifier' | 'name' | 'permissions' | 'requiredSaleorVersion' | 'supportUrl' | 'tokenTargetUrl' | 'version' | 'webhooks' | ManifestKeySpecifier)[]; +export type ManifestKeySpecifier = ('identifier' | 'version' | 'name' | 'about' | 'permissions' | 'appUrl' | 'configurationUrl' | 'tokenTargetUrl' | 'dataPrivacy' | 'dataPrivacyUrl' | 'homepageUrl' | 'supportUrl' | 'extensions' | 'webhooks' | 'audience' | 'requiredSaleorVersion' | 'author' | ManifestKeySpecifier)[]; export type ManifestFieldPolicy = { + identifier?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, about?: FieldPolicy | FieldReadFunction, + permissions?: FieldPolicy | FieldReadFunction, appUrl?: FieldPolicy | FieldReadFunction, - audience?: FieldPolicy | FieldReadFunction, - author?: FieldPolicy | FieldReadFunction, configurationUrl?: FieldPolicy | FieldReadFunction, + tokenTargetUrl?: FieldPolicy | FieldReadFunction, dataPrivacy?: FieldPolicy | FieldReadFunction, dataPrivacyUrl?: FieldPolicy | FieldReadFunction, - extensions?: FieldPolicy | FieldReadFunction, homepageUrl?: FieldPolicy | FieldReadFunction, - identifier?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - permissions?: FieldPolicy | FieldReadFunction, - requiredSaleorVersion?: FieldPolicy | FieldReadFunction, supportUrl?: FieldPolicy | FieldReadFunction, - tokenTargetUrl?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, - webhooks?: FieldPolicy | FieldReadFunction + extensions?: FieldPolicy | FieldReadFunction, + webhooks?: FieldPolicy | FieldReadFunction, + audience?: FieldPolicy | FieldReadFunction, + requiredSaleorVersion?: FieldPolicy | FieldReadFunction, + author?: FieldPolicy | FieldReadFunction }; export type MarginKeySpecifier = ('start' | 'stop' | MarginKeySpecifier)[]; export type MarginFieldPolicy = { start?: FieldPolicy | FieldReadFunction, stop?: FieldPolicy | FieldReadFunction }; -export type MenuKeySpecifier = ('id' | 'items' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'slug' | MenuKeySpecifier)[]; +export type MenuKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'slug' | 'items' | MenuKeySpecifier)[]; export type MenuFieldPolicy = { id?: FieldPolicy | FieldReadFunction, - items?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, - slug?: FieldPolicy | FieldReadFunction + slug?: FieldPolicy | FieldReadFunction, + items?: FieldPolicy | FieldReadFunction }; -export type MenuBulkDeleteKeySpecifier = ('count' | 'errors' | 'menuErrors' | MenuBulkDeleteKeySpecifier)[]; +export type MenuBulkDeleteKeySpecifier = ('count' | 'menuErrors' | 'errors' | MenuBulkDeleteKeySpecifier)[]; export type MenuBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction + menuErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type MenuCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | MenuCountableConnectionKeySpecifier)[]; +export type MenuCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | MenuCountableConnectionKeySpecifier)[]; export type MenuCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type MenuCountableEdgeKeySpecifier = ('cursor' | 'node' | MenuCountableEdgeKeySpecifier)[]; +export type MenuCountableEdgeKeySpecifier = ('node' | 'cursor' | MenuCountableEdgeKeySpecifier)[]; export type MenuCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type MenuCreateKeySpecifier = ('errors' | 'menu' | 'menuErrors' | MenuCreateKeySpecifier)[]; +export type MenuCreateKeySpecifier = ('menuErrors' | 'errors' | 'menu' | MenuCreateKeySpecifier)[]; export type MenuCreateFieldPolicy = { + menuErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - menu?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction + menu?: FieldPolicy | FieldReadFunction }; -export type MenuCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'menu' | 'recipient' | 'version' | MenuCreatedKeySpecifier)[]; +export type MenuCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menu' | MenuCreatedKeySpecifier)[]; export type MenuCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - menu?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + menu?: FieldPolicy | FieldReadFunction }; -export type MenuDeleteKeySpecifier = ('errors' | 'menu' | 'menuErrors' | MenuDeleteKeySpecifier)[]; +export type MenuDeleteKeySpecifier = ('menuErrors' | 'errors' | 'menu' | MenuDeleteKeySpecifier)[]; export type MenuDeleteFieldPolicy = { + menuErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - menu?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction + menu?: FieldPolicy | FieldReadFunction }; -export type MenuDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'menu' | 'recipient' | 'version' | MenuDeletedKeySpecifier)[]; +export type MenuDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menu' | MenuDeletedKeySpecifier)[]; export type MenuDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - menu?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + menu?: FieldPolicy | FieldReadFunction }; -export type MenuErrorKeySpecifier = ('code' | 'field' | 'message' | MenuErrorKeySpecifier)[]; +export type MenuErrorKeySpecifier = ('field' | 'message' | 'code' | MenuErrorKeySpecifier)[]; export type MenuErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type MenuItemKeySpecifier = ('category' | 'children' | 'collection' | 'id' | 'level' | 'menu' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'page' | 'parent' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'translation' | 'url' | MenuItemKeySpecifier)[]; +export type MenuItemKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'menu' | 'parent' | 'category' | 'collection' | 'page' | 'level' | 'children' | 'url' | 'translation' | MenuItemKeySpecifier)[]; export type MenuItemFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, - children?: FieldPolicy | FieldReadFunction, - collection?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - level?: FieldPolicy | FieldReadFunction, - menu?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, - parent?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, - url?: FieldPolicy | FieldReadFunction -}; -export type MenuItemBulkDeleteKeySpecifier = ('count' | 'errors' | 'menuErrors' | MenuItemBulkDeleteKeySpecifier)[]; -export type MenuItemBulkDeleteFieldPolicy = { - count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction -}; -export type MenuItemCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | MenuItemCountableConnectionKeySpecifier)[]; -export type MenuItemCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type MenuItemCountableEdgeKeySpecifier = ('cursor' | 'node' | MenuItemCountableEdgeKeySpecifier)[]; -export type MenuItemCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type MenuItemCreateKeySpecifier = ('errors' | 'menuErrors' | 'menuItem' | MenuItemCreateKeySpecifier)[]; -export type MenuItemCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction, - menuItem?: FieldPolicy | FieldReadFunction -}; -export type MenuItemCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'menuItem' | 'recipient' | 'version' | MenuItemCreatedKeySpecifier)[]; -export type MenuItemCreatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - menuItem?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type MenuItemDeleteKeySpecifier = ('errors' | 'menuErrors' | 'menuItem' | MenuItemDeleteKeySpecifier)[]; -export type MenuItemDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction, - menuItem?: FieldPolicy | FieldReadFunction -}; -export type MenuItemDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'menuItem' | 'recipient' | 'version' | MenuItemDeletedKeySpecifier)[]; -export type MenuItemDeletedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - menuItem?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type MenuItemMoveKeySpecifier = ('errors' | 'menu' | 'menuErrors' | MenuItemMoveKeySpecifier)[]; -export type MenuItemMoveFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, menu?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction -}; -export type MenuItemTranslatableContentKeySpecifier = ('id' | 'menuItem' | 'name' | 'translation' | MenuItemTranslatableContentKeySpecifier)[]; -export type MenuItemTranslatableContentFieldPolicy = { - id?: FieldPolicy | FieldReadFunction, - menuItem?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, + parent?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction, + collection?: FieldPolicy | FieldReadFunction, + page?: FieldPolicy | FieldReadFunction, + level?: FieldPolicy | FieldReadFunction, + children?: FieldPolicy | FieldReadFunction, + url?: FieldPolicy | FieldReadFunction, translation?: FieldPolicy | FieldReadFunction }; -export type MenuItemTranslateKeySpecifier = ('errors' | 'menuItem' | 'translationErrors' | MenuItemTranslateKeySpecifier)[]; -export type MenuItemTranslateFieldPolicy = { +export type MenuItemBulkDeleteKeySpecifier = ('count' | 'menuErrors' | 'errors' | MenuItemBulkDeleteKeySpecifier)[]; +export type MenuItemBulkDeleteFieldPolicy = { + count?: FieldPolicy | FieldReadFunction, + menuErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type MenuItemCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | MenuItemCountableConnectionKeySpecifier)[]; +export type MenuItemCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type MenuItemCountableEdgeKeySpecifier = ('node' | 'cursor' | MenuItemCountableEdgeKeySpecifier)[]; +export type MenuItemCountableEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type MenuItemCreateKeySpecifier = ('menuErrors' | 'errors' | 'menuItem' | MenuItemCreateKeySpecifier)[]; +export type MenuItemCreateFieldPolicy = { + menuErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - menuItem?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction + menuItem?: FieldPolicy | FieldReadFunction +}; +export type MenuItemCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menuItem' | MenuItemCreatedKeySpecifier)[]; +export type MenuItemCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + menuItem?: FieldPolicy | FieldReadFunction +}; +export type MenuItemDeleteKeySpecifier = ('menuErrors' | 'errors' | 'menuItem' | MenuItemDeleteKeySpecifier)[]; +export type MenuItemDeleteFieldPolicy = { + menuErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + menuItem?: FieldPolicy | FieldReadFunction +}; +export type MenuItemDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menuItem' | MenuItemDeletedKeySpecifier)[]; +export type MenuItemDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + menuItem?: FieldPolicy | FieldReadFunction +}; +export type MenuItemMoveKeySpecifier = ('menu' | 'menuErrors' | 'errors' | MenuItemMoveKeySpecifier)[]; +export type MenuItemMoveFieldPolicy = { + menu?: FieldPolicy | FieldReadFunction, + menuErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type MenuItemTranslatableContentKeySpecifier = ('id' | 'name' | 'translation' | 'menuItem' | MenuItemTranslatableContentKeySpecifier)[]; +export type MenuItemTranslatableContentFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + menuItem?: FieldPolicy | FieldReadFunction +}; +export type MenuItemTranslateKeySpecifier = ('translationErrors' | 'errors' | 'menuItem' | MenuItemTranslateKeySpecifier)[]; +export type MenuItemTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + menuItem?: FieldPolicy | FieldReadFunction }; export type MenuItemTranslationKeySpecifier = ('id' | 'language' | 'name' | MenuItemTranslationKeySpecifier)[]; export type MenuItemTranslationFieldPolicy = { @@ -2311,1318 +2311,1318 @@ export type MenuItemTranslationFieldPolicy = { language?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction }; -export type MenuItemUpdateKeySpecifier = ('errors' | 'menuErrors' | 'menuItem' | MenuItemUpdateKeySpecifier)[]; +export type MenuItemUpdateKeySpecifier = ('menuErrors' | 'errors' | 'menuItem' | MenuItemUpdateKeySpecifier)[]; export type MenuItemUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, menuErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, menuItem?: FieldPolicy | FieldReadFunction }; -export type MenuItemUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'menuItem' | 'recipient' | 'version' | MenuItemUpdatedKeySpecifier)[]; +export type MenuItemUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menuItem' | MenuItemUpdatedKeySpecifier)[]; export type MenuItemUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - menuItem?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + menuItem?: FieldPolicy | FieldReadFunction }; -export type MenuUpdateKeySpecifier = ('errors' | 'menu' | 'menuErrors' | MenuUpdateKeySpecifier)[]; +export type MenuUpdateKeySpecifier = ('menuErrors' | 'errors' | 'menu' | MenuUpdateKeySpecifier)[]; export type MenuUpdateFieldPolicy = { + menuErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - menu?: FieldPolicy | FieldReadFunction, - menuErrors?: FieldPolicy | FieldReadFunction + menu?: FieldPolicy | FieldReadFunction }; -export type MenuUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'menu' | 'recipient' | 'version' | MenuUpdatedKeySpecifier)[]; +export type MenuUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'menu' | MenuUpdatedKeySpecifier)[]; export type MenuUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - menu?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + menu?: FieldPolicy | FieldReadFunction }; -export type MetadataErrorKeySpecifier = ('code' | 'field' | 'message' | MetadataErrorKeySpecifier)[]; +export type MetadataErrorKeySpecifier = ('field' | 'message' | 'code' | MetadataErrorKeySpecifier)[]; export type MetadataErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; export type MetadataItemKeySpecifier = ('key' | 'value' | MetadataItemKeySpecifier)[]; export type MetadataItemFieldPolicy = { key?: FieldPolicy | FieldReadFunction, value?: FieldPolicy | FieldReadFunction }; -export type MoneyKeySpecifier = ('amount' | 'currency' | MoneyKeySpecifier)[]; +export type MoneyKeySpecifier = ('currency' | 'amount' | MoneyKeySpecifier)[]; export type MoneyFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, - currency?: FieldPolicy | FieldReadFunction + currency?: FieldPolicy | FieldReadFunction, + amount?: FieldPolicy | FieldReadFunction }; export type MoneyRangeKeySpecifier = ('start' | 'stop' | MoneyRangeKeySpecifier)[]; export type MoneyRangeFieldPolicy = { start?: FieldPolicy | FieldReadFunction, stop?: FieldPolicy | FieldReadFunction }; -export type MutationKeySpecifier = ('accountAddressCreate' | 'accountAddressDelete' | 'accountAddressUpdate' | 'accountDelete' | 'accountRegister' | 'accountRequestDeletion' | 'accountSetDefaultAddress' | 'accountUpdate' | 'addressCreate' | 'addressDelete' | 'addressSetDefault' | 'addressUpdate' | 'appActivate' | 'appCreate' | 'appDeactivate' | 'appDelete' | 'appDeleteFailedInstallation' | 'appFetchManifest' | 'appInstall' | 'appRetryInstall' | 'appTokenCreate' | 'appTokenDelete' | 'appTokenVerify' | 'appUpdate' | 'assignNavigation' | 'assignWarehouseShippingZone' | 'attributeBulkDelete' | 'attributeCreate' | 'attributeDelete' | 'attributeReorderValues' | 'attributeTranslate' | 'attributeUpdate' | 'attributeValueBulkDelete' | 'attributeValueCreate' | 'attributeValueDelete' | 'attributeValueTranslate' | 'attributeValueUpdate' | 'categoryBulkDelete' | 'categoryCreate' | 'categoryDelete' | 'categoryTranslate' | 'categoryUpdate' | 'channelActivate' | 'channelCreate' | 'channelDeactivate' | 'channelDelete' | 'channelReorderWarehouses' | 'channelUpdate' | 'checkoutAddPromoCode' | 'checkoutBillingAddressUpdate' | 'checkoutComplete' | 'checkoutCreate' | 'checkoutCustomerAttach' | 'checkoutCustomerDetach' | 'checkoutDeliveryMethodUpdate' | 'checkoutEmailUpdate' | 'checkoutLanguageCodeUpdate' | 'checkoutLineDelete' | 'checkoutLinesAdd' | 'checkoutLinesDelete' | 'checkoutLinesUpdate' | 'checkoutPaymentCreate' | 'checkoutRemovePromoCode' | 'checkoutShippingAddressUpdate' | 'checkoutShippingMethodUpdate' | 'collectionAddProducts' | 'collectionBulkDelete' | 'collectionChannelListingUpdate' | 'collectionCreate' | 'collectionDelete' | 'collectionRemoveProducts' | 'collectionReorderProducts' | 'collectionTranslate' | 'collectionUpdate' | 'confirmAccount' | 'confirmEmailChange' | 'createWarehouse' | 'customerBulkDelete' | 'customerBulkUpdate' | 'customerCreate' | 'customerDelete' | 'customerUpdate' | 'deleteMetadata' | 'deletePrivateMetadata' | 'deleteWarehouse' | 'digitalContentCreate' | 'digitalContentDelete' | 'digitalContentUpdate' | 'digitalContentUrlCreate' | 'draftOrderBulkDelete' | 'draftOrderComplete' | 'draftOrderCreate' | 'draftOrderDelete' | 'draftOrderLinesBulkDelete' | 'draftOrderUpdate' | 'eventDeliveryRetry' | 'exportGiftCards' | 'exportProducts' | 'externalAuthenticationUrl' | 'externalLogout' | 'externalNotificationTrigger' | 'externalObtainAccessTokens' | 'externalRefresh' | 'externalVerify' | 'fileUpload' | 'giftCardActivate' | 'giftCardAddNote' | 'giftCardBulkActivate' | 'giftCardBulkCreate' | 'giftCardBulkDeactivate' | 'giftCardBulkDelete' | 'giftCardCreate' | 'giftCardDeactivate' | 'giftCardDelete' | 'giftCardResend' | 'giftCardSettingsUpdate' | 'giftCardUpdate' | 'invoiceCreate' | 'invoiceDelete' | 'invoiceRequest' | 'invoiceRequestDelete' | 'invoiceSendNotification' | 'invoiceUpdate' | 'menuBulkDelete' | 'menuCreate' | 'menuDelete' | 'menuItemBulkDelete' | 'menuItemCreate' | 'menuItemDelete' | 'menuItemMove' | 'menuItemTranslate' | 'menuItemUpdate' | 'menuUpdate' | 'orderAddNote' | 'orderBulkCancel' | 'orderCancel' | 'orderCapture' | 'orderConfirm' | 'orderCreateFromCheckout' | 'orderDiscountAdd' | 'orderDiscountDelete' | 'orderDiscountUpdate' | 'orderFulfill' | 'orderFulfillmentApprove' | 'orderFulfillmentCancel' | 'orderFulfillmentRefundProducts' | 'orderFulfillmentReturnProducts' | 'orderFulfillmentUpdateTracking' | 'orderGrantRefundCreate' | 'orderGrantRefundUpdate' | 'orderLineDelete' | 'orderLineDiscountRemove' | 'orderLineDiscountUpdate' | 'orderLineUpdate' | 'orderLinesCreate' | 'orderMarkAsPaid' | 'orderRefund' | 'orderSettingsUpdate' | 'orderUpdate' | 'orderUpdateShipping' | 'orderVoid' | 'pageAttributeAssign' | 'pageAttributeUnassign' | 'pageBulkDelete' | 'pageBulkPublish' | 'pageCreate' | 'pageDelete' | 'pageReorderAttributeValues' | 'pageTranslate' | 'pageTypeBulkDelete' | 'pageTypeCreate' | 'pageTypeDelete' | 'pageTypeReorderAttributes' | 'pageTypeUpdate' | 'pageUpdate' | 'passwordChange' | 'paymentCapture' | 'paymentCheckBalance' | 'paymentGatewayInitialize' | 'paymentInitialize' | 'paymentRefund' | 'paymentVoid' | 'permissionGroupCreate' | 'permissionGroupDelete' | 'permissionGroupUpdate' | 'pluginUpdate' | 'productAttributeAssign' | 'productAttributeAssignmentUpdate' | 'productAttributeUnassign' | 'productBulkCreate' | 'productBulkDelete' | 'productChannelListingUpdate' | 'productCreate' | 'productDelete' | 'productMediaBulkDelete' | 'productMediaCreate' | 'productMediaDelete' | 'productMediaReorder' | 'productMediaUpdate' | 'productReorderAttributeValues' | 'productTranslate' | 'productTypeBulkDelete' | 'productTypeCreate' | 'productTypeDelete' | 'productTypeReorderAttributes' | 'productTypeUpdate' | 'productUpdate' | 'productVariantBulkCreate' | 'productVariantBulkDelete' | 'productVariantBulkUpdate' | 'productVariantChannelListingUpdate' | 'productVariantCreate' | 'productVariantDelete' | 'productVariantPreorderDeactivate' | 'productVariantReorder' | 'productVariantReorderAttributeValues' | 'productVariantSetDefault' | 'productVariantStocksCreate' | 'productVariantStocksDelete' | 'productVariantStocksUpdate' | 'productVariantTranslate' | 'productVariantUpdate' | 'requestEmailChange' | 'requestPasswordReset' | 'saleBulkDelete' | 'saleCataloguesAdd' | 'saleCataloguesRemove' | 'saleChannelListingUpdate' | 'saleCreate' | 'saleDelete' | 'saleTranslate' | 'saleUpdate' | 'setPassword' | 'shippingMethodChannelListingUpdate' | 'shippingPriceBulkDelete' | 'shippingPriceCreate' | 'shippingPriceDelete' | 'shippingPriceExcludeProducts' | 'shippingPriceRemoveProductFromExclude' | 'shippingPriceTranslate' | 'shippingPriceUpdate' | 'shippingZoneBulkDelete' | 'shippingZoneCreate' | 'shippingZoneDelete' | 'shippingZoneUpdate' | 'shopAddressUpdate' | 'shopDomainUpdate' | 'shopFetchTaxRates' | 'shopSettingsTranslate' | 'shopSettingsUpdate' | 'staffBulkDelete' | 'staffCreate' | 'staffDelete' | 'staffNotificationRecipientCreate' | 'staffNotificationRecipientDelete' | 'staffNotificationRecipientUpdate' | 'staffUpdate' | 'stockBulkUpdate' | 'taxClassCreate' | 'taxClassDelete' | 'taxClassUpdate' | 'taxConfigurationUpdate' | 'taxCountryConfigurationDelete' | 'taxCountryConfigurationUpdate' | 'taxExemptionManage' | 'tokenCreate' | 'tokenRefresh' | 'tokenVerify' | 'tokensDeactivateAll' | 'transactionCreate' | 'transactionEventReport' | 'transactionInitialize' | 'transactionProcess' | 'transactionRequestAction' | 'transactionUpdate' | 'unassignWarehouseShippingZone' | 'updateMetadata' | 'updatePrivateMetadata' | 'updateWarehouse' | 'userAvatarDelete' | 'userAvatarUpdate' | 'userBulkSetActive' | 'variantMediaAssign' | 'variantMediaUnassign' | 'voucherBulkDelete' | 'voucherCataloguesAdd' | 'voucherCataloguesRemove' | 'voucherChannelListingUpdate' | 'voucherCreate' | 'voucherDelete' | 'voucherTranslate' | 'voucherUpdate' | 'webhookCreate' | 'webhookDelete' | 'webhookDryRun' | 'webhookTrigger' | 'webhookUpdate' | MutationKeySpecifier)[]; +export type MutationKeySpecifier = ('webhookCreate' | 'webhookDelete' | 'webhookUpdate' | 'eventDeliveryRetry' | 'webhookDryRun' | 'webhookTrigger' | 'createWarehouse' | 'updateWarehouse' | 'deleteWarehouse' | 'assignWarehouseShippingZone' | 'unassignWarehouseShippingZone' | 'taxClassCreate' | 'taxClassDelete' | 'taxClassUpdate' | 'taxConfigurationUpdate' | 'taxCountryConfigurationUpdate' | 'taxCountryConfigurationDelete' | 'taxExemptionManage' | 'stockBulkUpdate' | 'staffNotificationRecipientCreate' | 'staffNotificationRecipientUpdate' | 'staffNotificationRecipientDelete' | 'shopDomainUpdate' | 'shopSettingsUpdate' | 'shopFetchTaxRates' | 'shopSettingsTranslate' | 'shopAddressUpdate' | 'orderSettingsUpdate' | 'giftCardSettingsUpdate' | 'shippingMethodChannelListingUpdate' | 'shippingPriceCreate' | 'shippingPriceDelete' | 'shippingPriceBulkDelete' | 'shippingPriceUpdate' | 'shippingPriceTranslate' | 'shippingPriceExcludeProducts' | 'shippingPriceRemoveProductFromExclude' | 'shippingZoneCreate' | 'shippingZoneDelete' | 'shippingZoneBulkDelete' | 'shippingZoneUpdate' | 'productAttributeAssign' | 'productAttributeAssignmentUpdate' | 'productAttributeUnassign' | 'categoryCreate' | 'categoryDelete' | 'categoryBulkDelete' | 'categoryUpdate' | 'categoryTranslate' | 'collectionAddProducts' | 'collectionCreate' | 'collectionDelete' | 'collectionReorderProducts' | 'collectionBulkDelete' | 'collectionRemoveProducts' | 'collectionUpdate' | 'collectionTranslate' | 'collectionChannelListingUpdate' | 'productCreate' | 'productDelete' | 'productBulkCreate' | 'productBulkDelete' | 'productUpdate' | 'productTranslate' | 'productChannelListingUpdate' | 'productMediaCreate' | 'productVariantReorder' | 'productMediaDelete' | 'productMediaBulkDelete' | 'productMediaReorder' | 'productMediaUpdate' | 'productTypeCreate' | 'productTypeDelete' | 'productTypeBulkDelete' | 'productTypeUpdate' | 'productTypeReorderAttributes' | 'productReorderAttributeValues' | 'digitalContentCreate' | 'digitalContentDelete' | 'digitalContentUpdate' | 'digitalContentUrlCreate' | 'productVariantCreate' | 'productVariantDelete' | 'productVariantBulkCreate' | 'productVariantBulkUpdate' | 'productVariantBulkDelete' | 'productVariantStocksCreate' | 'productVariantStocksDelete' | 'productVariantStocksUpdate' | 'productVariantUpdate' | 'productVariantSetDefault' | 'productVariantTranslate' | 'productVariantChannelListingUpdate' | 'productVariantReorderAttributeValues' | 'productVariantPreorderDeactivate' | 'variantMediaAssign' | 'variantMediaUnassign' | 'paymentCapture' | 'paymentRefund' | 'paymentVoid' | 'paymentInitialize' | 'paymentCheckBalance' | 'transactionCreate' | 'transactionUpdate' | 'transactionRequestAction' | 'transactionEventReport' | 'paymentGatewayInitialize' | 'transactionInitialize' | 'transactionProcess' | 'pageCreate' | 'pageDelete' | 'pageBulkDelete' | 'pageBulkPublish' | 'pageUpdate' | 'pageTranslate' | 'pageTypeCreate' | 'pageTypeUpdate' | 'pageTypeDelete' | 'pageTypeBulkDelete' | 'pageAttributeAssign' | 'pageAttributeUnassign' | 'pageTypeReorderAttributes' | 'pageReorderAttributeValues' | 'draftOrderComplete' | 'draftOrderCreate' | 'draftOrderDelete' | 'draftOrderBulkDelete' | 'draftOrderLinesBulkDelete' | 'draftOrderUpdate' | 'orderAddNote' | 'orderCancel' | 'orderCapture' | 'orderConfirm' | 'orderFulfill' | 'orderFulfillmentCancel' | 'orderFulfillmentApprove' | 'orderFulfillmentUpdateTracking' | 'orderFulfillmentRefundProducts' | 'orderFulfillmentReturnProducts' | 'orderGrantRefundCreate' | 'orderGrantRefundUpdate' | 'orderLinesCreate' | 'orderLineDelete' | 'orderLineUpdate' | 'orderDiscountAdd' | 'orderDiscountUpdate' | 'orderDiscountDelete' | 'orderLineDiscountUpdate' | 'orderLineDiscountRemove' | 'orderMarkAsPaid' | 'orderRefund' | 'orderUpdate' | 'orderUpdateShipping' | 'orderVoid' | 'orderBulkCancel' | 'deleteMetadata' | 'deletePrivateMetadata' | 'updateMetadata' | 'updatePrivateMetadata' | 'assignNavigation' | 'menuCreate' | 'menuDelete' | 'menuBulkDelete' | 'menuUpdate' | 'menuItemCreate' | 'menuItemDelete' | 'menuItemBulkDelete' | 'menuItemUpdate' | 'menuItemTranslate' | 'menuItemMove' | 'invoiceRequest' | 'invoiceRequestDelete' | 'invoiceCreate' | 'invoiceDelete' | 'invoiceUpdate' | 'invoiceSendNotification' | 'giftCardActivate' | 'giftCardCreate' | 'giftCardDelete' | 'giftCardDeactivate' | 'giftCardUpdate' | 'giftCardResend' | 'giftCardAddNote' | 'giftCardBulkCreate' | 'giftCardBulkDelete' | 'giftCardBulkActivate' | 'giftCardBulkDeactivate' | 'pluginUpdate' | 'externalNotificationTrigger' | 'saleCreate' | 'saleDelete' | 'saleBulkDelete' | 'saleUpdate' | 'saleCataloguesAdd' | 'saleCataloguesRemove' | 'saleTranslate' | 'saleChannelListingUpdate' | 'voucherCreate' | 'voucherDelete' | 'voucherBulkDelete' | 'voucherUpdate' | 'voucherCataloguesAdd' | 'voucherCataloguesRemove' | 'voucherTranslate' | 'voucherChannelListingUpdate' | 'exportProducts' | 'exportGiftCards' | 'fileUpload' | 'checkoutAddPromoCode' | 'checkoutBillingAddressUpdate' | 'checkoutComplete' | 'checkoutCreate' | 'checkoutCustomerAttach' | 'checkoutCustomerDetach' | 'checkoutEmailUpdate' | 'checkoutLineDelete' | 'checkoutLinesDelete' | 'checkoutLinesAdd' | 'checkoutLinesUpdate' | 'checkoutRemovePromoCode' | 'checkoutPaymentCreate' | 'checkoutShippingAddressUpdate' | 'checkoutShippingMethodUpdate' | 'checkoutDeliveryMethodUpdate' | 'checkoutLanguageCodeUpdate' | 'orderCreateFromCheckout' | 'channelCreate' | 'channelUpdate' | 'channelDelete' | 'channelActivate' | 'channelDeactivate' | 'channelReorderWarehouses' | 'attributeCreate' | 'attributeDelete' | 'attributeUpdate' | 'attributeTranslate' | 'attributeBulkDelete' | 'attributeValueBulkDelete' | 'attributeValueCreate' | 'attributeValueDelete' | 'attributeValueUpdate' | 'attributeValueTranslate' | 'attributeReorderValues' | 'appCreate' | 'appUpdate' | 'appDelete' | 'appTokenCreate' | 'appTokenDelete' | 'appTokenVerify' | 'appInstall' | 'appRetryInstall' | 'appDeleteFailedInstallation' | 'appFetchManifest' | 'appActivate' | 'appDeactivate' | 'tokenCreate' | 'tokenRefresh' | 'tokenVerify' | 'tokensDeactivateAll' | 'externalAuthenticationUrl' | 'externalObtainAccessTokens' | 'externalRefresh' | 'externalLogout' | 'externalVerify' | 'requestPasswordReset' | 'confirmAccount' | 'setPassword' | 'passwordChange' | 'requestEmailChange' | 'confirmEmailChange' | 'accountAddressCreate' | 'accountAddressUpdate' | 'accountAddressDelete' | 'accountSetDefaultAddress' | 'accountRegister' | 'accountUpdate' | 'accountRequestDeletion' | 'accountDelete' | 'addressCreate' | 'addressUpdate' | 'addressDelete' | 'addressSetDefault' | 'customerCreate' | 'customerUpdate' | 'customerDelete' | 'customerBulkDelete' | 'customerBulkUpdate' | 'staffCreate' | 'staffUpdate' | 'staffDelete' | 'staffBulkDelete' | 'userAvatarUpdate' | 'userAvatarDelete' | 'userBulkSetActive' | 'permissionGroupCreate' | 'permissionGroupUpdate' | 'permissionGroupDelete' | MutationKeySpecifier)[]; export type MutationFieldPolicy = { - accountAddressCreate?: FieldPolicy | FieldReadFunction, - accountAddressDelete?: FieldPolicy | FieldReadFunction, - accountAddressUpdate?: FieldPolicy | FieldReadFunction, - accountDelete?: FieldPolicy | FieldReadFunction, - accountRegister?: FieldPolicy | FieldReadFunction, - accountRequestDeletion?: FieldPolicy | FieldReadFunction, - accountSetDefaultAddress?: FieldPolicy | FieldReadFunction, - accountUpdate?: FieldPolicy | FieldReadFunction, - addressCreate?: FieldPolicy | FieldReadFunction, - addressDelete?: FieldPolicy | FieldReadFunction, - addressSetDefault?: FieldPolicy | FieldReadFunction, - addressUpdate?: FieldPolicy | FieldReadFunction, - appActivate?: FieldPolicy | FieldReadFunction, - appCreate?: FieldPolicy | FieldReadFunction, - appDeactivate?: FieldPolicy | FieldReadFunction, - appDelete?: FieldPolicy | FieldReadFunction, - appDeleteFailedInstallation?: FieldPolicy | FieldReadFunction, - appFetchManifest?: FieldPolicy | FieldReadFunction, - appInstall?: FieldPolicy | FieldReadFunction, - appRetryInstall?: FieldPolicy | FieldReadFunction, - appTokenCreate?: FieldPolicy | FieldReadFunction, - appTokenDelete?: FieldPolicy | FieldReadFunction, - appTokenVerify?: FieldPolicy | FieldReadFunction, - appUpdate?: FieldPolicy | FieldReadFunction, - assignNavigation?: FieldPolicy | FieldReadFunction, + webhookCreate?: FieldPolicy | FieldReadFunction, + webhookDelete?: FieldPolicy | FieldReadFunction, + webhookUpdate?: FieldPolicy | FieldReadFunction, + eventDeliveryRetry?: FieldPolicy | FieldReadFunction, + webhookDryRun?: FieldPolicy | FieldReadFunction, + webhookTrigger?: FieldPolicy | FieldReadFunction, + createWarehouse?: FieldPolicy | FieldReadFunction, + updateWarehouse?: FieldPolicy | FieldReadFunction, + deleteWarehouse?: FieldPolicy | FieldReadFunction, assignWarehouseShippingZone?: FieldPolicy | FieldReadFunction, - attributeBulkDelete?: FieldPolicy | FieldReadFunction, - attributeCreate?: FieldPolicy | FieldReadFunction, - attributeDelete?: FieldPolicy | FieldReadFunction, - attributeReorderValues?: FieldPolicy | FieldReadFunction, - attributeTranslate?: FieldPolicy | FieldReadFunction, - attributeUpdate?: FieldPolicy | FieldReadFunction, - attributeValueBulkDelete?: FieldPolicy | FieldReadFunction, - attributeValueCreate?: FieldPolicy | FieldReadFunction, - attributeValueDelete?: FieldPolicy | FieldReadFunction, - attributeValueTranslate?: FieldPolicy | FieldReadFunction, - attributeValueUpdate?: FieldPolicy | FieldReadFunction, - categoryBulkDelete?: FieldPolicy | FieldReadFunction, + unassignWarehouseShippingZone?: FieldPolicy | FieldReadFunction, + taxClassCreate?: FieldPolicy | FieldReadFunction, + taxClassDelete?: FieldPolicy | FieldReadFunction, + taxClassUpdate?: FieldPolicy | FieldReadFunction, + taxConfigurationUpdate?: FieldPolicy | FieldReadFunction, + taxCountryConfigurationUpdate?: FieldPolicy | FieldReadFunction, + taxCountryConfigurationDelete?: FieldPolicy | FieldReadFunction, + taxExemptionManage?: FieldPolicy | FieldReadFunction, + stockBulkUpdate?: FieldPolicy | FieldReadFunction, + staffNotificationRecipientCreate?: FieldPolicy | FieldReadFunction, + staffNotificationRecipientUpdate?: FieldPolicy | FieldReadFunction, + staffNotificationRecipientDelete?: FieldPolicy | FieldReadFunction, + shopDomainUpdate?: FieldPolicy | FieldReadFunction, + shopSettingsUpdate?: FieldPolicy | FieldReadFunction, + shopFetchTaxRates?: FieldPolicy | FieldReadFunction, + shopSettingsTranslate?: FieldPolicy | FieldReadFunction, + shopAddressUpdate?: FieldPolicy | FieldReadFunction, + orderSettingsUpdate?: FieldPolicy | FieldReadFunction, + giftCardSettingsUpdate?: FieldPolicy | FieldReadFunction, + shippingMethodChannelListingUpdate?: FieldPolicy | FieldReadFunction, + shippingPriceCreate?: FieldPolicy | FieldReadFunction, + shippingPriceDelete?: FieldPolicy | FieldReadFunction, + shippingPriceBulkDelete?: FieldPolicy | FieldReadFunction, + shippingPriceUpdate?: FieldPolicy | FieldReadFunction, + shippingPriceTranslate?: FieldPolicy | FieldReadFunction, + shippingPriceExcludeProducts?: FieldPolicy | FieldReadFunction, + shippingPriceRemoveProductFromExclude?: FieldPolicy | FieldReadFunction, + shippingZoneCreate?: FieldPolicy | FieldReadFunction, + shippingZoneDelete?: FieldPolicy | FieldReadFunction, + shippingZoneBulkDelete?: FieldPolicy | FieldReadFunction, + shippingZoneUpdate?: FieldPolicy | FieldReadFunction, + productAttributeAssign?: FieldPolicy | FieldReadFunction, + productAttributeAssignmentUpdate?: FieldPolicy | FieldReadFunction, + productAttributeUnassign?: FieldPolicy | FieldReadFunction, categoryCreate?: FieldPolicy | FieldReadFunction, categoryDelete?: FieldPolicy | FieldReadFunction, - categoryTranslate?: FieldPolicy | FieldReadFunction, + categoryBulkDelete?: FieldPolicy | FieldReadFunction, categoryUpdate?: FieldPolicy | FieldReadFunction, - channelActivate?: FieldPolicy | FieldReadFunction, - channelCreate?: FieldPolicy | FieldReadFunction, - channelDeactivate?: FieldPolicy | FieldReadFunction, - channelDelete?: FieldPolicy | FieldReadFunction, - channelReorderWarehouses?: FieldPolicy | FieldReadFunction, - channelUpdate?: FieldPolicy | FieldReadFunction, + categoryTranslate?: FieldPolicy | FieldReadFunction, + collectionAddProducts?: FieldPolicy | FieldReadFunction, + collectionCreate?: FieldPolicy | FieldReadFunction, + collectionDelete?: FieldPolicy | FieldReadFunction, + collectionReorderProducts?: FieldPolicy | FieldReadFunction, + collectionBulkDelete?: FieldPolicy | FieldReadFunction, + collectionRemoveProducts?: FieldPolicy | FieldReadFunction, + collectionUpdate?: FieldPolicy | FieldReadFunction, + collectionTranslate?: FieldPolicy | FieldReadFunction, + collectionChannelListingUpdate?: FieldPolicy | FieldReadFunction, + productCreate?: FieldPolicy | FieldReadFunction, + productDelete?: FieldPolicy | FieldReadFunction, + productBulkCreate?: FieldPolicy | FieldReadFunction, + productBulkDelete?: FieldPolicy | FieldReadFunction, + productUpdate?: FieldPolicy | FieldReadFunction, + productTranslate?: FieldPolicy | FieldReadFunction, + productChannelListingUpdate?: FieldPolicy | FieldReadFunction, + productMediaCreate?: FieldPolicy | FieldReadFunction, + productVariantReorder?: FieldPolicy | FieldReadFunction, + productMediaDelete?: FieldPolicy | FieldReadFunction, + productMediaBulkDelete?: FieldPolicy | FieldReadFunction, + productMediaReorder?: FieldPolicy | FieldReadFunction, + productMediaUpdate?: FieldPolicy | FieldReadFunction, + productTypeCreate?: FieldPolicy | FieldReadFunction, + productTypeDelete?: FieldPolicy | FieldReadFunction, + productTypeBulkDelete?: FieldPolicy | FieldReadFunction, + productTypeUpdate?: FieldPolicy | FieldReadFunction, + productTypeReorderAttributes?: FieldPolicy | FieldReadFunction, + productReorderAttributeValues?: FieldPolicy | FieldReadFunction, + digitalContentCreate?: FieldPolicy | FieldReadFunction, + digitalContentDelete?: FieldPolicy | FieldReadFunction, + digitalContentUpdate?: FieldPolicy | FieldReadFunction, + digitalContentUrlCreate?: FieldPolicy | FieldReadFunction, + productVariantCreate?: FieldPolicy | FieldReadFunction, + productVariantDelete?: FieldPolicy | FieldReadFunction, + productVariantBulkCreate?: FieldPolicy | FieldReadFunction, + productVariantBulkUpdate?: FieldPolicy | FieldReadFunction, + productVariantBulkDelete?: FieldPolicy | FieldReadFunction, + productVariantStocksCreate?: FieldPolicy | FieldReadFunction, + productVariantStocksDelete?: FieldPolicy | FieldReadFunction, + productVariantStocksUpdate?: FieldPolicy | FieldReadFunction, + productVariantUpdate?: FieldPolicy | FieldReadFunction, + productVariantSetDefault?: FieldPolicy | FieldReadFunction, + productVariantTranslate?: FieldPolicy | FieldReadFunction, + productVariantChannelListingUpdate?: FieldPolicy | FieldReadFunction, + productVariantReorderAttributeValues?: FieldPolicy | FieldReadFunction, + productVariantPreorderDeactivate?: FieldPolicy | FieldReadFunction, + variantMediaAssign?: FieldPolicy | FieldReadFunction, + variantMediaUnassign?: FieldPolicy | FieldReadFunction, + paymentCapture?: FieldPolicy | FieldReadFunction, + paymentRefund?: FieldPolicy | FieldReadFunction, + paymentVoid?: FieldPolicy | FieldReadFunction, + paymentInitialize?: FieldPolicy | FieldReadFunction, + paymentCheckBalance?: FieldPolicy | FieldReadFunction, + transactionCreate?: FieldPolicy | FieldReadFunction, + transactionUpdate?: FieldPolicy | FieldReadFunction, + transactionRequestAction?: FieldPolicy | FieldReadFunction, + transactionEventReport?: FieldPolicy | FieldReadFunction, + paymentGatewayInitialize?: FieldPolicy | FieldReadFunction, + transactionInitialize?: FieldPolicy | FieldReadFunction, + transactionProcess?: FieldPolicy | FieldReadFunction, + pageCreate?: FieldPolicy | FieldReadFunction, + pageDelete?: FieldPolicy | FieldReadFunction, + pageBulkDelete?: FieldPolicy | FieldReadFunction, + pageBulkPublish?: FieldPolicy | FieldReadFunction, + pageUpdate?: FieldPolicy | FieldReadFunction, + pageTranslate?: FieldPolicy | FieldReadFunction, + pageTypeCreate?: FieldPolicy | FieldReadFunction, + pageTypeUpdate?: FieldPolicy | FieldReadFunction, + pageTypeDelete?: FieldPolicy | FieldReadFunction, + pageTypeBulkDelete?: FieldPolicy | FieldReadFunction, + pageAttributeAssign?: FieldPolicy | FieldReadFunction, + pageAttributeUnassign?: FieldPolicy | FieldReadFunction, + pageTypeReorderAttributes?: FieldPolicy | FieldReadFunction, + pageReorderAttributeValues?: FieldPolicy | FieldReadFunction, + draftOrderComplete?: FieldPolicy | FieldReadFunction, + draftOrderCreate?: FieldPolicy | FieldReadFunction, + draftOrderDelete?: FieldPolicy | FieldReadFunction, + draftOrderBulkDelete?: FieldPolicy | FieldReadFunction, + draftOrderLinesBulkDelete?: FieldPolicy | FieldReadFunction, + draftOrderUpdate?: FieldPolicy | FieldReadFunction, + orderAddNote?: FieldPolicy | FieldReadFunction, + orderCancel?: FieldPolicy | FieldReadFunction, + orderCapture?: FieldPolicy | FieldReadFunction, + orderConfirm?: FieldPolicy | FieldReadFunction, + orderFulfill?: FieldPolicy | FieldReadFunction, + orderFulfillmentCancel?: FieldPolicy | FieldReadFunction, + orderFulfillmentApprove?: FieldPolicy | FieldReadFunction, + orderFulfillmentUpdateTracking?: FieldPolicy | FieldReadFunction, + orderFulfillmentRefundProducts?: FieldPolicy | FieldReadFunction, + orderFulfillmentReturnProducts?: FieldPolicy | FieldReadFunction, + orderGrantRefundCreate?: FieldPolicy | FieldReadFunction, + orderGrantRefundUpdate?: FieldPolicy | FieldReadFunction, + orderLinesCreate?: FieldPolicy | FieldReadFunction, + orderLineDelete?: FieldPolicy | FieldReadFunction, + orderLineUpdate?: FieldPolicy | FieldReadFunction, + orderDiscountAdd?: FieldPolicy | FieldReadFunction, + orderDiscountUpdate?: FieldPolicy | FieldReadFunction, + orderDiscountDelete?: FieldPolicy | FieldReadFunction, + orderLineDiscountUpdate?: FieldPolicy | FieldReadFunction, + orderLineDiscountRemove?: FieldPolicy | FieldReadFunction, + orderMarkAsPaid?: FieldPolicy | FieldReadFunction, + orderRefund?: FieldPolicy | FieldReadFunction, + orderUpdate?: FieldPolicy | FieldReadFunction, + orderUpdateShipping?: FieldPolicy | FieldReadFunction, + orderVoid?: FieldPolicy | FieldReadFunction, + orderBulkCancel?: FieldPolicy | FieldReadFunction, + deleteMetadata?: FieldPolicy | FieldReadFunction, + deletePrivateMetadata?: FieldPolicy | FieldReadFunction, + updateMetadata?: FieldPolicy | FieldReadFunction, + updatePrivateMetadata?: FieldPolicy | FieldReadFunction, + assignNavigation?: FieldPolicy | FieldReadFunction, + menuCreate?: FieldPolicy | FieldReadFunction, + menuDelete?: FieldPolicy | FieldReadFunction, + menuBulkDelete?: FieldPolicy | FieldReadFunction, + menuUpdate?: FieldPolicy | FieldReadFunction, + menuItemCreate?: FieldPolicy | FieldReadFunction, + menuItemDelete?: FieldPolicy | FieldReadFunction, + menuItemBulkDelete?: FieldPolicy | FieldReadFunction, + menuItemUpdate?: FieldPolicy | FieldReadFunction, + menuItemTranslate?: FieldPolicy | FieldReadFunction, + menuItemMove?: FieldPolicy | FieldReadFunction, + invoiceRequest?: FieldPolicy | FieldReadFunction, + invoiceRequestDelete?: FieldPolicy | FieldReadFunction, + invoiceCreate?: FieldPolicy | FieldReadFunction, + invoiceDelete?: FieldPolicy | FieldReadFunction, + invoiceUpdate?: FieldPolicy | FieldReadFunction, + invoiceSendNotification?: FieldPolicy | FieldReadFunction, + giftCardActivate?: FieldPolicy | FieldReadFunction, + giftCardCreate?: FieldPolicy | FieldReadFunction, + giftCardDelete?: FieldPolicy | FieldReadFunction, + giftCardDeactivate?: FieldPolicy | FieldReadFunction, + giftCardUpdate?: FieldPolicy | FieldReadFunction, + giftCardResend?: FieldPolicy | FieldReadFunction, + giftCardAddNote?: FieldPolicy | FieldReadFunction, + giftCardBulkCreate?: FieldPolicy | FieldReadFunction, + giftCardBulkDelete?: FieldPolicy | FieldReadFunction, + giftCardBulkActivate?: FieldPolicy | FieldReadFunction, + giftCardBulkDeactivate?: FieldPolicy | FieldReadFunction, + pluginUpdate?: FieldPolicy | FieldReadFunction, + externalNotificationTrigger?: FieldPolicy | FieldReadFunction, + saleCreate?: FieldPolicy | FieldReadFunction, + saleDelete?: FieldPolicy | FieldReadFunction, + saleBulkDelete?: FieldPolicy | FieldReadFunction, + saleUpdate?: FieldPolicy | FieldReadFunction, + saleCataloguesAdd?: FieldPolicy | FieldReadFunction, + saleCataloguesRemove?: FieldPolicy | FieldReadFunction, + saleTranslate?: FieldPolicy | FieldReadFunction, + saleChannelListingUpdate?: FieldPolicy | FieldReadFunction, + voucherCreate?: FieldPolicy | FieldReadFunction, + voucherDelete?: FieldPolicy | FieldReadFunction, + voucherBulkDelete?: FieldPolicy | FieldReadFunction, + voucherUpdate?: FieldPolicy | FieldReadFunction, + voucherCataloguesAdd?: FieldPolicy | FieldReadFunction, + voucherCataloguesRemove?: FieldPolicy | FieldReadFunction, + voucherTranslate?: FieldPolicy | FieldReadFunction, + voucherChannelListingUpdate?: FieldPolicy | FieldReadFunction, + exportProducts?: FieldPolicy | FieldReadFunction, + exportGiftCards?: FieldPolicy | FieldReadFunction, + fileUpload?: FieldPolicy | FieldReadFunction, checkoutAddPromoCode?: FieldPolicy | FieldReadFunction, checkoutBillingAddressUpdate?: FieldPolicy | FieldReadFunction, checkoutComplete?: FieldPolicy | FieldReadFunction, checkoutCreate?: FieldPolicy | FieldReadFunction, checkoutCustomerAttach?: FieldPolicy | FieldReadFunction, checkoutCustomerDetach?: FieldPolicy | FieldReadFunction, - checkoutDeliveryMethodUpdate?: FieldPolicy | FieldReadFunction, checkoutEmailUpdate?: FieldPolicy | FieldReadFunction, - checkoutLanguageCodeUpdate?: FieldPolicy | FieldReadFunction, checkoutLineDelete?: FieldPolicy | FieldReadFunction, - checkoutLinesAdd?: FieldPolicy | FieldReadFunction, checkoutLinesDelete?: FieldPolicy | FieldReadFunction, + checkoutLinesAdd?: FieldPolicy | FieldReadFunction, checkoutLinesUpdate?: FieldPolicy | FieldReadFunction, - checkoutPaymentCreate?: FieldPolicy | FieldReadFunction, checkoutRemovePromoCode?: FieldPolicy | FieldReadFunction, + checkoutPaymentCreate?: FieldPolicy | FieldReadFunction, checkoutShippingAddressUpdate?: FieldPolicy | FieldReadFunction, checkoutShippingMethodUpdate?: FieldPolicy | FieldReadFunction, - collectionAddProducts?: FieldPolicy | FieldReadFunction, - collectionBulkDelete?: FieldPolicy | FieldReadFunction, - collectionChannelListingUpdate?: FieldPolicy | FieldReadFunction, - collectionCreate?: FieldPolicy | FieldReadFunction, - collectionDelete?: FieldPolicy | FieldReadFunction, - collectionRemoveProducts?: FieldPolicy | FieldReadFunction, - collectionReorderProducts?: FieldPolicy | FieldReadFunction, - collectionTranslate?: FieldPolicy | FieldReadFunction, - collectionUpdate?: FieldPolicy | FieldReadFunction, - confirmAccount?: FieldPolicy | FieldReadFunction, - confirmEmailChange?: FieldPolicy | FieldReadFunction, - createWarehouse?: FieldPolicy | FieldReadFunction, - customerBulkDelete?: FieldPolicy | FieldReadFunction, - customerBulkUpdate?: FieldPolicy | FieldReadFunction, - customerCreate?: FieldPolicy | FieldReadFunction, - customerDelete?: FieldPolicy | FieldReadFunction, - customerUpdate?: FieldPolicy | FieldReadFunction, - deleteMetadata?: FieldPolicy | FieldReadFunction, - deletePrivateMetadata?: FieldPolicy | FieldReadFunction, - deleteWarehouse?: FieldPolicy | FieldReadFunction, - digitalContentCreate?: FieldPolicy | FieldReadFunction, - digitalContentDelete?: FieldPolicy | FieldReadFunction, - digitalContentUpdate?: FieldPolicy | FieldReadFunction, - digitalContentUrlCreate?: FieldPolicy | FieldReadFunction, - draftOrderBulkDelete?: FieldPolicy | FieldReadFunction, - draftOrderComplete?: FieldPolicy | FieldReadFunction, - draftOrderCreate?: FieldPolicy | FieldReadFunction, - draftOrderDelete?: FieldPolicy | FieldReadFunction, - draftOrderLinesBulkDelete?: FieldPolicy | FieldReadFunction, - draftOrderUpdate?: FieldPolicy | FieldReadFunction, - eventDeliveryRetry?: FieldPolicy | FieldReadFunction, - exportGiftCards?: FieldPolicy | FieldReadFunction, - exportProducts?: FieldPolicy | FieldReadFunction, - externalAuthenticationUrl?: FieldPolicy | FieldReadFunction, - externalLogout?: FieldPolicy | FieldReadFunction, - externalNotificationTrigger?: FieldPolicy | FieldReadFunction, - externalObtainAccessTokens?: FieldPolicy | FieldReadFunction, - externalRefresh?: FieldPolicy | FieldReadFunction, - externalVerify?: FieldPolicy | FieldReadFunction, - fileUpload?: FieldPolicy | FieldReadFunction, - giftCardActivate?: FieldPolicy | FieldReadFunction, - giftCardAddNote?: FieldPolicy | FieldReadFunction, - giftCardBulkActivate?: FieldPolicy | FieldReadFunction, - giftCardBulkCreate?: FieldPolicy | FieldReadFunction, - giftCardBulkDeactivate?: FieldPolicy | FieldReadFunction, - giftCardBulkDelete?: FieldPolicy | FieldReadFunction, - giftCardCreate?: FieldPolicy | FieldReadFunction, - giftCardDeactivate?: FieldPolicy | FieldReadFunction, - giftCardDelete?: FieldPolicy | FieldReadFunction, - giftCardResend?: FieldPolicy | FieldReadFunction, - giftCardSettingsUpdate?: FieldPolicy | FieldReadFunction, - giftCardUpdate?: FieldPolicy | FieldReadFunction, - invoiceCreate?: FieldPolicy | FieldReadFunction, - invoiceDelete?: FieldPolicy | FieldReadFunction, - invoiceRequest?: FieldPolicy | FieldReadFunction, - invoiceRequestDelete?: FieldPolicy | FieldReadFunction, - invoiceSendNotification?: FieldPolicy | FieldReadFunction, - invoiceUpdate?: FieldPolicy | FieldReadFunction, - menuBulkDelete?: FieldPolicy | FieldReadFunction, - menuCreate?: FieldPolicy | FieldReadFunction, - menuDelete?: FieldPolicy | FieldReadFunction, - menuItemBulkDelete?: FieldPolicy | FieldReadFunction, - menuItemCreate?: FieldPolicy | FieldReadFunction, - menuItemDelete?: FieldPolicy | FieldReadFunction, - menuItemMove?: FieldPolicy | FieldReadFunction, - menuItemTranslate?: FieldPolicy | FieldReadFunction, - menuItemUpdate?: FieldPolicy | FieldReadFunction, - menuUpdate?: FieldPolicy | FieldReadFunction, - orderAddNote?: FieldPolicy | FieldReadFunction, - orderBulkCancel?: FieldPolicy | FieldReadFunction, - orderCancel?: FieldPolicy | FieldReadFunction, - orderCapture?: FieldPolicy | FieldReadFunction, - orderConfirm?: FieldPolicy | FieldReadFunction, + checkoutDeliveryMethodUpdate?: FieldPolicy | FieldReadFunction, + checkoutLanguageCodeUpdate?: FieldPolicy | FieldReadFunction, orderCreateFromCheckout?: FieldPolicy | FieldReadFunction, - orderDiscountAdd?: FieldPolicy | FieldReadFunction, - orderDiscountDelete?: FieldPolicy | FieldReadFunction, - orderDiscountUpdate?: FieldPolicy | FieldReadFunction, - orderFulfill?: FieldPolicy | FieldReadFunction, - orderFulfillmentApprove?: FieldPolicy | FieldReadFunction, - orderFulfillmentCancel?: FieldPolicy | FieldReadFunction, - orderFulfillmentRefundProducts?: FieldPolicy | FieldReadFunction, - orderFulfillmentReturnProducts?: FieldPolicy | FieldReadFunction, - orderFulfillmentUpdateTracking?: FieldPolicy | FieldReadFunction, - orderGrantRefundCreate?: FieldPolicy | FieldReadFunction, - orderGrantRefundUpdate?: FieldPolicy | FieldReadFunction, - orderLineDelete?: FieldPolicy | FieldReadFunction, - orderLineDiscountRemove?: FieldPolicy | FieldReadFunction, - orderLineDiscountUpdate?: FieldPolicy | FieldReadFunction, - orderLineUpdate?: FieldPolicy | FieldReadFunction, - orderLinesCreate?: FieldPolicy | FieldReadFunction, - orderMarkAsPaid?: FieldPolicy | FieldReadFunction, - orderRefund?: FieldPolicy | FieldReadFunction, - orderSettingsUpdate?: FieldPolicy | FieldReadFunction, - orderUpdate?: FieldPolicy | FieldReadFunction, - orderUpdateShipping?: FieldPolicy | FieldReadFunction, - orderVoid?: FieldPolicy | FieldReadFunction, - pageAttributeAssign?: FieldPolicy | FieldReadFunction, - pageAttributeUnassign?: FieldPolicy | FieldReadFunction, - pageBulkDelete?: FieldPolicy | FieldReadFunction, - pageBulkPublish?: FieldPolicy | FieldReadFunction, - pageCreate?: FieldPolicy | FieldReadFunction, - pageDelete?: FieldPolicy | FieldReadFunction, - pageReorderAttributeValues?: FieldPolicy | FieldReadFunction, - pageTranslate?: FieldPolicy | FieldReadFunction, - pageTypeBulkDelete?: FieldPolicy | FieldReadFunction, - pageTypeCreate?: FieldPolicy | FieldReadFunction, - pageTypeDelete?: FieldPolicy | FieldReadFunction, - pageTypeReorderAttributes?: FieldPolicy | FieldReadFunction, - pageTypeUpdate?: FieldPolicy | FieldReadFunction, - pageUpdate?: FieldPolicy | FieldReadFunction, - passwordChange?: FieldPolicy | FieldReadFunction, - paymentCapture?: FieldPolicy | FieldReadFunction, - paymentCheckBalance?: FieldPolicy | FieldReadFunction, - paymentGatewayInitialize?: FieldPolicy | FieldReadFunction, - paymentInitialize?: FieldPolicy | FieldReadFunction, - paymentRefund?: FieldPolicy | FieldReadFunction, - paymentVoid?: FieldPolicy | FieldReadFunction, - permissionGroupCreate?: FieldPolicy | FieldReadFunction, - permissionGroupDelete?: FieldPolicy | FieldReadFunction, - permissionGroupUpdate?: FieldPolicy | FieldReadFunction, - pluginUpdate?: FieldPolicy | FieldReadFunction, - productAttributeAssign?: FieldPolicy | FieldReadFunction, - productAttributeAssignmentUpdate?: FieldPolicy | FieldReadFunction, - productAttributeUnassign?: FieldPolicy | FieldReadFunction, - productBulkCreate?: FieldPolicy | FieldReadFunction, - productBulkDelete?: FieldPolicy | FieldReadFunction, - productChannelListingUpdate?: FieldPolicy | FieldReadFunction, - productCreate?: FieldPolicy | FieldReadFunction, - productDelete?: FieldPolicy | FieldReadFunction, - productMediaBulkDelete?: FieldPolicy | FieldReadFunction, - productMediaCreate?: FieldPolicy | FieldReadFunction, - productMediaDelete?: FieldPolicy | FieldReadFunction, - productMediaReorder?: FieldPolicy | FieldReadFunction, - productMediaUpdate?: FieldPolicy | FieldReadFunction, - productReorderAttributeValues?: FieldPolicy | FieldReadFunction, - productTranslate?: FieldPolicy | FieldReadFunction, - productTypeBulkDelete?: FieldPolicy | FieldReadFunction, - productTypeCreate?: FieldPolicy | FieldReadFunction, - productTypeDelete?: FieldPolicy | FieldReadFunction, - productTypeReorderAttributes?: FieldPolicy | FieldReadFunction, - productTypeUpdate?: FieldPolicy | FieldReadFunction, - productUpdate?: FieldPolicy | FieldReadFunction, - productVariantBulkCreate?: FieldPolicy | FieldReadFunction, - productVariantBulkDelete?: FieldPolicy | FieldReadFunction, - productVariantBulkUpdate?: FieldPolicy | FieldReadFunction, - productVariantChannelListingUpdate?: FieldPolicy | FieldReadFunction, - productVariantCreate?: FieldPolicy | FieldReadFunction, - productVariantDelete?: FieldPolicy | FieldReadFunction, - productVariantPreorderDeactivate?: FieldPolicy | FieldReadFunction, - productVariantReorder?: FieldPolicy | FieldReadFunction, - productVariantReorderAttributeValues?: FieldPolicy | FieldReadFunction, - productVariantSetDefault?: FieldPolicy | FieldReadFunction, - productVariantStocksCreate?: FieldPolicy | FieldReadFunction, - productVariantStocksDelete?: FieldPolicy | FieldReadFunction, - productVariantStocksUpdate?: FieldPolicy | FieldReadFunction, - productVariantTranslate?: FieldPolicy | FieldReadFunction, - productVariantUpdate?: FieldPolicy | FieldReadFunction, - requestEmailChange?: FieldPolicy | FieldReadFunction, - requestPasswordReset?: FieldPolicy | FieldReadFunction, - saleBulkDelete?: FieldPolicy | FieldReadFunction, - saleCataloguesAdd?: FieldPolicy | FieldReadFunction, - saleCataloguesRemove?: FieldPolicy | FieldReadFunction, - saleChannelListingUpdate?: FieldPolicy | FieldReadFunction, - saleCreate?: FieldPolicy | FieldReadFunction, - saleDelete?: FieldPolicy | FieldReadFunction, - saleTranslate?: FieldPolicy | FieldReadFunction, - saleUpdate?: FieldPolicy | FieldReadFunction, - setPassword?: FieldPolicy | FieldReadFunction, - shippingMethodChannelListingUpdate?: FieldPolicy | FieldReadFunction, - shippingPriceBulkDelete?: FieldPolicy | FieldReadFunction, - shippingPriceCreate?: FieldPolicy | FieldReadFunction, - shippingPriceDelete?: FieldPolicy | FieldReadFunction, - shippingPriceExcludeProducts?: FieldPolicy | FieldReadFunction, - shippingPriceRemoveProductFromExclude?: FieldPolicy | FieldReadFunction, - shippingPriceTranslate?: FieldPolicy | FieldReadFunction, - shippingPriceUpdate?: FieldPolicy | FieldReadFunction, - shippingZoneBulkDelete?: FieldPolicy | FieldReadFunction, - shippingZoneCreate?: FieldPolicy | FieldReadFunction, - shippingZoneDelete?: FieldPolicy | FieldReadFunction, - shippingZoneUpdate?: FieldPolicy | FieldReadFunction, - shopAddressUpdate?: FieldPolicy | FieldReadFunction, - shopDomainUpdate?: FieldPolicy | FieldReadFunction, - shopFetchTaxRates?: FieldPolicy | FieldReadFunction, - shopSettingsTranslate?: FieldPolicy | FieldReadFunction, - shopSettingsUpdate?: FieldPolicy | FieldReadFunction, - staffBulkDelete?: FieldPolicy | FieldReadFunction, - staffCreate?: FieldPolicy | FieldReadFunction, - staffDelete?: FieldPolicy | FieldReadFunction, - staffNotificationRecipientCreate?: FieldPolicy | FieldReadFunction, - staffNotificationRecipientDelete?: FieldPolicy | FieldReadFunction, - staffNotificationRecipientUpdate?: FieldPolicy | FieldReadFunction, - staffUpdate?: FieldPolicy | FieldReadFunction, - stockBulkUpdate?: FieldPolicy | FieldReadFunction, - taxClassCreate?: FieldPolicy | FieldReadFunction, - taxClassDelete?: FieldPolicy | FieldReadFunction, - taxClassUpdate?: FieldPolicy | FieldReadFunction, - taxConfigurationUpdate?: FieldPolicy | FieldReadFunction, - taxCountryConfigurationDelete?: FieldPolicy | FieldReadFunction, - taxCountryConfigurationUpdate?: FieldPolicy | FieldReadFunction, - taxExemptionManage?: FieldPolicy | FieldReadFunction, + channelCreate?: FieldPolicy | FieldReadFunction, + channelUpdate?: FieldPolicy | FieldReadFunction, + channelDelete?: FieldPolicy | FieldReadFunction, + channelActivate?: FieldPolicy | FieldReadFunction, + channelDeactivate?: FieldPolicy | FieldReadFunction, + channelReorderWarehouses?: FieldPolicy | FieldReadFunction, + attributeCreate?: FieldPolicy | FieldReadFunction, + attributeDelete?: FieldPolicy | FieldReadFunction, + attributeUpdate?: FieldPolicy | FieldReadFunction, + attributeTranslate?: FieldPolicy | FieldReadFunction, + attributeBulkDelete?: FieldPolicy | FieldReadFunction, + attributeValueBulkDelete?: FieldPolicy | FieldReadFunction, + attributeValueCreate?: FieldPolicy | FieldReadFunction, + attributeValueDelete?: FieldPolicy | FieldReadFunction, + attributeValueUpdate?: FieldPolicy | FieldReadFunction, + attributeValueTranslate?: FieldPolicy | FieldReadFunction, + attributeReorderValues?: FieldPolicy | FieldReadFunction, + appCreate?: FieldPolicy | FieldReadFunction, + appUpdate?: FieldPolicy | FieldReadFunction, + appDelete?: FieldPolicy | FieldReadFunction, + appTokenCreate?: FieldPolicy | FieldReadFunction, + appTokenDelete?: FieldPolicy | FieldReadFunction, + appTokenVerify?: FieldPolicy | FieldReadFunction, + appInstall?: FieldPolicy | FieldReadFunction, + appRetryInstall?: FieldPolicy | FieldReadFunction, + appDeleteFailedInstallation?: FieldPolicy | FieldReadFunction, + appFetchManifest?: FieldPolicy | FieldReadFunction, + appActivate?: FieldPolicy | FieldReadFunction, + appDeactivate?: FieldPolicy | FieldReadFunction, tokenCreate?: FieldPolicy | FieldReadFunction, tokenRefresh?: FieldPolicy | FieldReadFunction, tokenVerify?: FieldPolicy | FieldReadFunction, tokensDeactivateAll?: FieldPolicy | FieldReadFunction, - transactionCreate?: FieldPolicy | FieldReadFunction, - transactionEventReport?: FieldPolicy | FieldReadFunction, - transactionInitialize?: FieldPolicy | FieldReadFunction, - transactionProcess?: FieldPolicy | FieldReadFunction, - transactionRequestAction?: FieldPolicy | FieldReadFunction, - transactionUpdate?: FieldPolicy | FieldReadFunction, - unassignWarehouseShippingZone?: FieldPolicy | FieldReadFunction, - updateMetadata?: FieldPolicy | FieldReadFunction, - updatePrivateMetadata?: FieldPolicy | FieldReadFunction, - updateWarehouse?: FieldPolicy | FieldReadFunction, - userAvatarDelete?: FieldPolicy | FieldReadFunction, + externalAuthenticationUrl?: FieldPolicy | FieldReadFunction, + externalObtainAccessTokens?: FieldPolicy | FieldReadFunction, + externalRefresh?: FieldPolicy | FieldReadFunction, + externalLogout?: FieldPolicy | FieldReadFunction, + externalVerify?: FieldPolicy | FieldReadFunction, + requestPasswordReset?: FieldPolicy | FieldReadFunction, + confirmAccount?: FieldPolicy | FieldReadFunction, + setPassword?: FieldPolicy | FieldReadFunction, + passwordChange?: FieldPolicy | FieldReadFunction, + requestEmailChange?: FieldPolicy | FieldReadFunction, + confirmEmailChange?: FieldPolicy | FieldReadFunction, + accountAddressCreate?: FieldPolicy | FieldReadFunction, + accountAddressUpdate?: FieldPolicy | FieldReadFunction, + accountAddressDelete?: FieldPolicy | FieldReadFunction, + accountSetDefaultAddress?: FieldPolicy | FieldReadFunction, + accountRegister?: FieldPolicy | FieldReadFunction, + accountUpdate?: FieldPolicy | FieldReadFunction, + accountRequestDeletion?: FieldPolicy | FieldReadFunction, + accountDelete?: FieldPolicy | FieldReadFunction, + addressCreate?: FieldPolicy | FieldReadFunction, + addressUpdate?: FieldPolicy | FieldReadFunction, + addressDelete?: FieldPolicy | FieldReadFunction, + addressSetDefault?: FieldPolicy | FieldReadFunction, + customerCreate?: FieldPolicy | FieldReadFunction, + customerUpdate?: FieldPolicy | FieldReadFunction, + customerDelete?: FieldPolicy | FieldReadFunction, + customerBulkDelete?: FieldPolicy | FieldReadFunction, + customerBulkUpdate?: FieldPolicy | FieldReadFunction, + staffCreate?: FieldPolicy | FieldReadFunction, + staffUpdate?: FieldPolicy | FieldReadFunction, + staffDelete?: FieldPolicy | FieldReadFunction, + staffBulkDelete?: FieldPolicy | FieldReadFunction, userAvatarUpdate?: FieldPolicy | FieldReadFunction, + userAvatarDelete?: FieldPolicy | FieldReadFunction, userBulkSetActive?: FieldPolicy | FieldReadFunction, - variantMediaAssign?: FieldPolicy | FieldReadFunction, - variantMediaUnassign?: FieldPolicy | FieldReadFunction, - voucherBulkDelete?: FieldPolicy | FieldReadFunction, - voucherCataloguesAdd?: FieldPolicy | FieldReadFunction, - voucherCataloguesRemove?: FieldPolicy | FieldReadFunction, - voucherChannelListingUpdate?: FieldPolicy | FieldReadFunction, - voucherCreate?: FieldPolicy | FieldReadFunction, - voucherDelete?: FieldPolicy | FieldReadFunction, - voucherTranslate?: FieldPolicy | FieldReadFunction, - voucherUpdate?: FieldPolicy | FieldReadFunction, - webhookCreate?: FieldPolicy | FieldReadFunction, - webhookDelete?: FieldPolicy | FieldReadFunction, - webhookDryRun?: FieldPolicy | FieldReadFunction, - webhookTrigger?: FieldPolicy | FieldReadFunction, - webhookUpdate?: FieldPolicy | FieldReadFunction + permissionGroupCreate?: FieldPolicy | FieldReadFunction, + permissionGroupUpdate?: FieldPolicy | FieldReadFunction, + permissionGroupDelete?: FieldPolicy | FieldReadFunction }; export type NodeKeySpecifier = ('id' | NodeKeySpecifier)[]; export type NodeFieldPolicy = { id?: FieldPolicy | FieldReadFunction }; -export type ObjectWithMetadataKeySpecifier = ('metadata' | 'metafield' | 'metafields' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | ObjectWithMetadataKeySpecifier)[]; +export type ObjectWithMetadataKeySpecifier = ('privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | ObjectWithMetadataKeySpecifier)[]; export type ObjectWithMetadataFieldPolicy = { - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction + privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction }; -export type OrderKeySpecifier = ('actions' | 'authorizeStatus' | 'availableCollectionPoints' | 'availableShippingMethods' | 'billingAddress' | 'canFinalize' | 'channel' | 'chargeStatus' | 'checkoutId' | 'collectionPointName' | 'created' | 'customerNote' | 'deliveryMethod' | 'discount' | 'discountName' | 'discounts' | 'displayGrossPrices' | 'errors' | 'events' | 'externalReference' | 'fulfillments' | 'giftCards' | 'grantedRefunds' | 'id' | 'invoices' | 'isPaid' | 'isShippingRequired' | 'languageCode' | 'languageCodeEnum' | 'lines' | 'metadata' | 'metafield' | 'metafields' | 'number' | 'origin' | 'original' | 'paymentStatus' | 'paymentStatusDisplay' | 'payments' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'redirectUrl' | 'shippingAddress' | 'shippingMethod' | 'shippingMethodName' | 'shippingMethods' | 'shippingPrice' | 'shippingTaxClass' | 'shippingTaxClassMetadata' | 'shippingTaxClassName' | 'shippingTaxClassPrivateMetadata' | 'shippingTaxRate' | 'status' | 'statusDisplay' | 'subtotal' | 'taxExemption' | 'token' | 'total' | 'totalAuthorizePending' | 'totalAuthorized' | 'totalBalance' | 'totalCancelPending' | 'totalCanceled' | 'totalCaptured' | 'totalChargePending' | 'totalCharged' | 'totalGrantedRefund' | 'totalRefundPending' | 'totalRefunded' | 'totalRemainingGrant' | 'trackingClientId' | 'transactions' | 'translatedDiscountName' | 'undiscountedTotal' | 'updatedAt' | 'user' | 'userEmail' | 'voucher' | 'weight' | OrderKeySpecifier)[]; +export type OrderKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'created' | 'updatedAt' | 'status' | 'user' | 'trackingClientId' | 'billingAddress' | 'shippingAddress' | 'shippingMethodName' | 'collectionPointName' | 'channel' | 'fulfillments' | 'lines' | 'actions' | 'availableShippingMethods' | 'shippingMethods' | 'availableCollectionPoints' | 'invoices' | 'number' | 'original' | 'origin' | 'isPaid' | 'paymentStatus' | 'paymentStatusDisplay' | 'authorizeStatus' | 'chargeStatus' | 'taxExemption' | 'transactions' | 'payments' | 'total' | 'undiscountedTotal' | 'shippingMethod' | 'shippingPrice' | 'shippingTaxRate' | 'shippingTaxClass' | 'shippingTaxClassName' | 'shippingTaxClassMetadata' | 'shippingTaxClassPrivateMetadata' | 'token' | 'voucher' | 'giftCards' | 'customerNote' | 'weight' | 'redirectUrl' | 'subtotal' | 'statusDisplay' | 'canFinalize' | 'totalAuthorized' | 'totalCaptured' | 'totalCharged' | 'totalCanceled' | 'events' | 'totalBalance' | 'userEmail' | 'isShippingRequired' | 'deliveryMethod' | 'languageCode' | 'languageCodeEnum' | 'discount' | 'discountName' | 'translatedDiscountName' | 'discounts' | 'errors' | 'displayGrossPrices' | 'externalReference' | 'checkoutId' | 'grantedRefunds' | 'totalGrantedRefund' | 'totalRefunded' | 'totalRefundPending' | 'totalAuthorizePending' | 'totalChargePending' | 'totalCancelPending' | 'totalRemainingGrant' | OrderKeySpecifier)[]; export type OrderFieldPolicy = { - actions?: FieldPolicy | FieldReadFunction, - authorizeStatus?: FieldPolicy | FieldReadFunction, - availableCollectionPoints?: FieldPolicy | FieldReadFunction, - availableShippingMethods?: FieldPolicy | FieldReadFunction, - billingAddress?: FieldPolicy | FieldReadFunction, - canFinalize?: FieldPolicy | FieldReadFunction, - channel?: FieldPolicy | FieldReadFunction, - chargeStatus?: FieldPolicy | FieldReadFunction, - checkoutId?: FieldPolicy | FieldReadFunction, - collectionPointName?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, - customerNote?: FieldPolicy | FieldReadFunction, - deliveryMethod?: FieldPolicy | FieldReadFunction, - discount?: FieldPolicy | FieldReadFunction, - discountName?: FieldPolicy | FieldReadFunction, - discounts?: FieldPolicy | FieldReadFunction, - displayGrossPrices?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - events?: FieldPolicy | FieldReadFunction, - externalReference?: FieldPolicy | FieldReadFunction, - fulfillments?: FieldPolicy | FieldReadFunction, - giftCards?: FieldPolicy | FieldReadFunction, - grantedRefunds?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - invoices?: FieldPolicy | FieldReadFunction, - isPaid?: FieldPolicy | FieldReadFunction, - isShippingRequired?: FieldPolicy | FieldReadFunction, - languageCode?: FieldPolicy | FieldReadFunction, - languageCodeEnum?: FieldPolicy | FieldReadFunction, - lines?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, + updatedAt?: FieldPolicy | FieldReadFunction, + status?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + trackingClientId?: FieldPolicy | FieldReadFunction, + billingAddress?: FieldPolicy | FieldReadFunction, + shippingAddress?: FieldPolicy | FieldReadFunction, + shippingMethodName?: FieldPolicy | FieldReadFunction, + collectionPointName?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + fulfillments?: FieldPolicy | FieldReadFunction, + lines?: FieldPolicy | FieldReadFunction, + actions?: FieldPolicy | FieldReadFunction, + availableShippingMethods?: FieldPolicy | FieldReadFunction, + shippingMethods?: FieldPolicy | FieldReadFunction, + availableCollectionPoints?: FieldPolicy | FieldReadFunction, + invoices?: FieldPolicy | FieldReadFunction, number?: FieldPolicy | FieldReadFunction, - origin?: FieldPolicy | FieldReadFunction, original?: FieldPolicy | FieldReadFunction, + origin?: FieldPolicy | FieldReadFunction, + isPaid?: FieldPolicy | FieldReadFunction, paymentStatus?: FieldPolicy | FieldReadFunction, paymentStatusDisplay?: FieldPolicy | FieldReadFunction, + authorizeStatus?: FieldPolicy | FieldReadFunction, + chargeStatus?: FieldPolicy | FieldReadFunction, + taxExemption?: FieldPolicy | FieldReadFunction, + transactions?: FieldPolicy | FieldReadFunction, payments?: FieldPolicy | FieldReadFunction, + total?: FieldPolicy | FieldReadFunction, + undiscountedTotal?: FieldPolicy | FieldReadFunction, + shippingMethod?: FieldPolicy | FieldReadFunction, + shippingPrice?: FieldPolicy | FieldReadFunction, + shippingTaxRate?: FieldPolicy | FieldReadFunction, + shippingTaxClass?: FieldPolicy | FieldReadFunction, + shippingTaxClassName?: FieldPolicy | FieldReadFunction, + shippingTaxClassMetadata?: FieldPolicy | FieldReadFunction, + shippingTaxClassPrivateMetadata?: FieldPolicy | FieldReadFunction, + token?: FieldPolicy | FieldReadFunction, + voucher?: FieldPolicy | FieldReadFunction, + giftCards?: FieldPolicy | FieldReadFunction, + customerNote?: FieldPolicy | FieldReadFunction, + weight?: FieldPolicy | FieldReadFunction, + redirectUrl?: FieldPolicy | FieldReadFunction, + subtotal?: FieldPolicy | FieldReadFunction, + statusDisplay?: FieldPolicy | FieldReadFunction, + canFinalize?: FieldPolicy | FieldReadFunction, + totalAuthorized?: FieldPolicy | FieldReadFunction, + totalCaptured?: FieldPolicy | FieldReadFunction, + totalCharged?: FieldPolicy | FieldReadFunction, + totalCanceled?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + totalBalance?: FieldPolicy | FieldReadFunction, + userEmail?: FieldPolicy | FieldReadFunction, + isShippingRequired?: FieldPolicy | FieldReadFunction, + deliveryMethod?: FieldPolicy | FieldReadFunction, + languageCode?: FieldPolicy | FieldReadFunction, + languageCodeEnum?: FieldPolicy | FieldReadFunction, + discount?: FieldPolicy | FieldReadFunction, + discountName?: FieldPolicy | FieldReadFunction, + translatedDiscountName?: FieldPolicy | FieldReadFunction, + discounts?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + displayGrossPrices?: FieldPolicy | FieldReadFunction, + externalReference?: FieldPolicy | FieldReadFunction, + checkoutId?: FieldPolicy | FieldReadFunction, + grantedRefunds?: FieldPolicy | FieldReadFunction, + totalGrantedRefund?: FieldPolicy | FieldReadFunction, + totalRefunded?: FieldPolicy | FieldReadFunction, + totalRefundPending?: FieldPolicy | FieldReadFunction, + totalAuthorizePending?: FieldPolicy | FieldReadFunction, + totalChargePending?: FieldPolicy | FieldReadFunction, + totalCancelPending?: FieldPolicy | FieldReadFunction, + totalRemainingGrant?: FieldPolicy | FieldReadFunction +}; +export type OrderAddNoteKeySpecifier = ('order' | 'event' | 'orderErrors' | 'errors' | OrderAddNoteKeySpecifier)[]; +export type OrderAddNoteFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + event?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderBulkCancelKeySpecifier = ('count' | 'orderErrors' | 'errors' | OrderBulkCancelKeySpecifier)[]; +export type OrderBulkCancelFieldPolicy = { + count?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderCancelKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderCancelKeySpecifier)[]; +export type OrderCancelFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderCancelledKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderCancelledKeySpecifier)[]; +export type OrderCancelledFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type OrderCaptureKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderCaptureKeySpecifier)[]; +export type OrderCaptureFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderConfirmKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderConfirmKeySpecifier)[]; +export type OrderConfirmFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderConfirmedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderConfirmedKeySpecifier)[]; +export type OrderConfirmedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type OrderCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | OrderCountableConnectionKeySpecifier)[]; +export type OrderCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type OrderCountableEdgeKeySpecifier = ('node' | 'cursor' | OrderCountableEdgeKeySpecifier)[]; +export type OrderCountableEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type OrderCreateFromCheckoutKeySpecifier = ('order' | 'errors' | OrderCreateFromCheckoutKeySpecifier)[]; +export type OrderCreateFromCheckoutFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderCreateFromCheckoutErrorKeySpecifier = ('field' | 'message' | 'code' | 'variants' | 'lines' | OrderCreateFromCheckoutErrorKeySpecifier)[]; +export type OrderCreateFromCheckoutErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + variants?: FieldPolicy | FieldReadFunction, + lines?: FieldPolicy | FieldReadFunction +}; +export type OrderCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderCreatedKeySpecifier)[]; +export type OrderCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type OrderDiscountKeySpecifier = ('id' | 'type' | 'name' | 'translatedName' | 'valueType' | 'value' | 'reason' | 'amount' | OrderDiscountKeySpecifier)[]; +export type OrderDiscountFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + translatedName?: FieldPolicy | FieldReadFunction, + valueType?: FieldPolicy | FieldReadFunction, + value?: FieldPolicy | FieldReadFunction, + reason?: FieldPolicy | FieldReadFunction, + amount?: FieldPolicy | FieldReadFunction +}; +export type OrderDiscountAddKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderDiscountAddKeySpecifier)[]; +export type OrderDiscountAddFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderDiscountDeleteKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderDiscountDeleteKeySpecifier)[]; +export type OrderDiscountDeleteFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderDiscountUpdateKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderDiscountUpdateKeySpecifier)[]; +export type OrderDiscountUpdateFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderErrorKeySpecifier = ('field' | 'message' | 'code' | 'warehouse' | 'orderLines' | 'variants' | 'addressType' | OrderErrorKeySpecifier)[]; +export type OrderErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + warehouse?: FieldPolicy | FieldReadFunction, + orderLines?: FieldPolicy | FieldReadFunction, + variants?: FieldPolicy | FieldReadFunction, + addressType?: FieldPolicy | FieldReadFunction +}; +export type OrderEventKeySpecifier = ('id' | 'date' | 'type' | 'user' | 'app' | 'message' | 'email' | 'emailType' | 'amount' | 'paymentId' | 'paymentGateway' | 'quantity' | 'composedId' | 'orderNumber' | 'invoiceNumber' | 'oversoldItems' | 'lines' | 'fulfilledItems' | 'warehouse' | 'transactionReference' | 'shippingCostsIncluded' | 'relatedOrder' | 'discount' | 'status' | 'reference' | OrderEventKeySpecifier)[]; +export type OrderEventFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + date?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + email?: FieldPolicy | FieldReadFunction, + emailType?: FieldPolicy | FieldReadFunction, + amount?: FieldPolicy | FieldReadFunction, + paymentId?: FieldPolicy | FieldReadFunction, + paymentGateway?: FieldPolicy | FieldReadFunction, + quantity?: FieldPolicy | FieldReadFunction, + composedId?: FieldPolicy | FieldReadFunction, + orderNumber?: FieldPolicy | FieldReadFunction, + invoiceNumber?: FieldPolicy | FieldReadFunction, + oversoldItems?: FieldPolicy | FieldReadFunction, + lines?: FieldPolicy | FieldReadFunction, + fulfilledItems?: FieldPolicy | FieldReadFunction, + warehouse?: FieldPolicy | FieldReadFunction, + transactionReference?: FieldPolicy | FieldReadFunction, + shippingCostsIncluded?: FieldPolicy | FieldReadFunction, + relatedOrder?: FieldPolicy | FieldReadFunction, + discount?: FieldPolicy | FieldReadFunction, + status?: FieldPolicy | FieldReadFunction, + reference?: FieldPolicy | FieldReadFunction +}; +export type OrderEventCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | OrderEventCountableConnectionKeySpecifier)[]; +export type OrderEventCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type OrderEventCountableEdgeKeySpecifier = ('node' | 'cursor' | OrderEventCountableEdgeKeySpecifier)[]; +export type OrderEventCountableEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type OrderEventDiscountObjectKeySpecifier = ('valueType' | 'value' | 'reason' | 'amount' | 'oldValueType' | 'oldValue' | 'oldAmount' | OrderEventDiscountObjectKeySpecifier)[]; +export type OrderEventDiscountObjectFieldPolicy = { + valueType?: FieldPolicy | FieldReadFunction, + value?: FieldPolicy | FieldReadFunction, + reason?: FieldPolicy | FieldReadFunction, + amount?: FieldPolicy | FieldReadFunction, + oldValueType?: FieldPolicy | FieldReadFunction, + oldValue?: FieldPolicy | FieldReadFunction, + oldAmount?: FieldPolicy | FieldReadFunction +}; +export type OrderEventOrderLineObjectKeySpecifier = ('quantity' | 'orderLine' | 'itemName' | 'discount' | OrderEventOrderLineObjectKeySpecifier)[]; +export type OrderEventOrderLineObjectFieldPolicy = { + quantity?: FieldPolicy | FieldReadFunction, + orderLine?: FieldPolicy | FieldReadFunction, + itemName?: FieldPolicy | FieldReadFunction, + discount?: FieldPolicy | FieldReadFunction +}; +export type OrderExpiredKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderExpiredKeySpecifier)[]; +export type OrderExpiredFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type OrderFilterShippingMethodsKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | 'shippingMethods' | OrderFilterShippingMethodsKeySpecifier)[]; +export type OrderFilterShippingMethodsFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + shippingMethods?: FieldPolicy | FieldReadFunction +}; +export type OrderFulfillKeySpecifier = ('fulfillments' | 'order' | 'orderErrors' | 'errors' | OrderFulfillKeySpecifier)[]; +export type OrderFulfillFieldPolicy = { + fulfillments?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderFulfilledKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderFulfilledKeySpecifier)[]; +export type OrderFulfilledFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type OrderFullyPaidKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderFullyPaidKeySpecifier)[]; +export type OrderFullyPaidFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction +}; +export type OrderGrantRefundCreateKeySpecifier = ('order' | 'grantedRefund' | 'errors' | OrderGrantRefundCreateKeySpecifier)[]; +export type OrderGrantRefundCreateFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + grantedRefund?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderGrantRefundCreateErrorKeySpecifier = ('field' | 'message' | 'code' | OrderGrantRefundCreateErrorKeySpecifier)[]; +export type OrderGrantRefundCreateErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type OrderGrantRefundUpdateKeySpecifier = ('order' | 'grantedRefund' | 'errors' | 'orderGrantedRefund' | OrderGrantRefundUpdateKeySpecifier)[]; +export type OrderGrantRefundUpdateFieldPolicy = { + order?: FieldPolicy | FieldReadFunction, + grantedRefund?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + orderGrantedRefund?: FieldPolicy | FieldReadFunction +}; +export type OrderGrantRefundUpdateErrorKeySpecifier = ('field' | 'message' | 'code' | OrderGrantRefundUpdateErrorKeySpecifier)[]; +export type OrderGrantRefundUpdateErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type OrderGrantedRefundKeySpecifier = ('id' | 'createdAt' | 'updatedAt' | 'amount' | 'reason' | 'user' | 'app' | OrderGrantedRefundKeySpecifier)[]; +export type OrderGrantedRefundFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + createdAt?: FieldPolicy | FieldReadFunction, + updatedAt?: FieldPolicy | FieldReadFunction, + amount?: FieldPolicy | FieldReadFunction, + reason?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction +}; +export type OrderLineKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'productName' | 'variantName' | 'productSku' | 'productVariantId' | 'isShippingRequired' | 'quantity' | 'quantityFulfilled' | 'unitDiscountReason' | 'taxRate' | 'digitalContentUrl' | 'thumbnail' | 'unitPrice' | 'undiscountedUnitPrice' | 'unitDiscount' | 'unitDiscountValue' | 'totalPrice' | 'variant' | 'translatedProductName' | 'translatedVariantName' | 'allocations' | 'quantityToFulfill' | 'unitDiscountType' | 'taxClass' | 'taxClassName' | 'taxClassMetadata' | 'taxClassPrivateMetadata' | OrderLineKeySpecifier)[]; +export type OrderLineFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - redirectUrl?: FieldPolicy | FieldReadFunction, - shippingAddress?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction, - shippingMethodName?: FieldPolicy | FieldReadFunction, - shippingMethods?: FieldPolicy | FieldReadFunction, - shippingPrice?: FieldPolicy | FieldReadFunction, - shippingTaxClass?: FieldPolicy | FieldReadFunction, - shippingTaxClassMetadata?: FieldPolicy | FieldReadFunction, - shippingTaxClassName?: FieldPolicy | FieldReadFunction, - shippingTaxClassPrivateMetadata?: FieldPolicy | FieldReadFunction, - shippingTaxRate?: FieldPolicy | FieldReadFunction, - status?: FieldPolicy | FieldReadFunction, - statusDisplay?: FieldPolicy | FieldReadFunction, - subtotal?: FieldPolicy | FieldReadFunction, - taxExemption?: FieldPolicy | FieldReadFunction, - token?: FieldPolicy | FieldReadFunction, - total?: FieldPolicy | FieldReadFunction, - totalAuthorizePending?: FieldPolicy | FieldReadFunction, - totalAuthorized?: FieldPolicy | FieldReadFunction, - totalBalance?: FieldPolicy | FieldReadFunction, - totalCancelPending?: FieldPolicy | FieldReadFunction, - totalCanceled?: FieldPolicy | FieldReadFunction, - totalCaptured?: FieldPolicy | FieldReadFunction, - totalChargePending?: FieldPolicy | FieldReadFunction, - totalCharged?: FieldPolicy | FieldReadFunction, - totalGrantedRefund?: FieldPolicy | FieldReadFunction, - totalRefundPending?: FieldPolicy | FieldReadFunction, - totalRefunded?: FieldPolicy | FieldReadFunction, - totalRemainingGrant?: FieldPolicy | FieldReadFunction, - trackingClientId?: FieldPolicy | FieldReadFunction, - transactions?: FieldPolicy | FieldReadFunction, - translatedDiscountName?: FieldPolicy | FieldReadFunction, - undiscountedTotal?: FieldPolicy | FieldReadFunction, - updatedAt?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - userEmail?: FieldPolicy | FieldReadFunction, - voucher?: FieldPolicy | FieldReadFunction, - weight?: FieldPolicy | FieldReadFunction -}; -export type OrderAddNoteKeySpecifier = ('errors' | 'event' | 'order' | 'orderErrors' | OrderAddNoteKeySpecifier)[]; -export type OrderAddNoteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - event?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderBulkCancelKeySpecifier = ('count' | 'errors' | 'orderErrors' | OrderBulkCancelKeySpecifier)[]; -export type OrderBulkCancelFieldPolicy = { - count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderCancelKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderCancelKeySpecifier)[]; -export type OrderCancelFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderCancelledKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | OrderCancelledKeySpecifier)[]; -export type OrderCancelledFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type OrderCaptureKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderCaptureKeySpecifier)[]; -export type OrderCaptureFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderConfirmKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderConfirmKeySpecifier)[]; -export type OrderConfirmFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderConfirmedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | OrderConfirmedKeySpecifier)[]; -export type OrderConfirmedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type OrderCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | OrderCountableConnectionKeySpecifier)[]; -export type OrderCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type OrderCountableEdgeKeySpecifier = ('cursor' | 'node' | OrderCountableEdgeKeySpecifier)[]; -export type OrderCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type OrderCreateFromCheckoutKeySpecifier = ('errors' | 'order' | OrderCreateFromCheckoutKeySpecifier)[]; -export type OrderCreateFromCheckoutFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction -}; -export type OrderCreateFromCheckoutErrorKeySpecifier = ('code' | 'field' | 'lines' | 'message' | 'variants' | OrderCreateFromCheckoutErrorKeySpecifier)[]; -export type OrderCreateFromCheckoutErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - lines?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - variants?: FieldPolicy | FieldReadFunction -}; -export type OrderCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | OrderCreatedKeySpecifier)[]; -export type OrderCreatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type OrderDiscountKeySpecifier = ('amount' | 'id' | 'name' | 'reason' | 'translatedName' | 'type' | 'value' | 'valueType' | OrderDiscountKeySpecifier)[]; -export type OrderDiscountFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - reason?: FieldPolicy | FieldReadFunction, - translatedName?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction, - value?: FieldPolicy | FieldReadFunction, - valueType?: FieldPolicy | FieldReadFunction -}; -export type OrderDiscountAddKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderDiscountAddKeySpecifier)[]; -export type OrderDiscountAddFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderDiscountDeleteKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderDiscountDeleteKeySpecifier)[]; -export type OrderDiscountDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderDiscountUpdateKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderDiscountUpdateKeySpecifier)[]; -export type OrderDiscountUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderErrorKeySpecifier = ('addressType' | 'code' | 'field' | 'message' | 'orderLines' | 'variants' | 'warehouse' | OrderErrorKeySpecifier)[]; -export type OrderErrorFieldPolicy = { - addressType?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - orderLines?: FieldPolicy | FieldReadFunction, - variants?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction -}; -export type OrderEventKeySpecifier = ('amount' | 'app' | 'composedId' | 'date' | 'discount' | 'email' | 'emailType' | 'fulfilledItems' | 'id' | 'invoiceNumber' | 'lines' | 'message' | 'orderNumber' | 'oversoldItems' | 'paymentGateway' | 'paymentId' | 'quantity' | 'reference' | 'relatedOrder' | 'shippingCostsIncluded' | 'status' | 'transactionReference' | 'type' | 'user' | 'warehouse' | OrderEventKeySpecifier)[]; -export type OrderEventFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, - app?: FieldPolicy | FieldReadFunction, - composedId?: FieldPolicy | FieldReadFunction, - date?: FieldPolicy | FieldReadFunction, - discount?: FieldPolicy | FieldReadFunction, - email?: FieldPolicy | FieldReadFunction, - emailType?: FieldPolicy | FieldReadFunction, - fulfilledItems?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - invoiceNumber?: FieldPolicy | FieldReadFunction, - lines?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - orderNumber?: FieldPolicy | FieldReadFunction, - oversoldItems?: FieldPolicy | FieldReadFunction, - paymentGateway?: FieldPolicy | FieldReadFunction, - paymentId?: FieldPolicy | FieldReadFunction, - quantity?: FieldPolicy | FieldReadFunction, - reference?: FieldPolicy | FieldReadFunction, - relatedOrder?: FieldPolicy | FieldReadFunction, - shippingCostsIncluded?: FieldPolicy | FieldReadFunction, - status?: FieldPolicy | FieldReadFunction, - transactionReference?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction -}; -export type OrderEventCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | OrderEventCountableConnectionKeySpecifier)[]; -export type OrderEventCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type OrderEventCountableEdgeKeySpecifier = ('cursor' | 'node' | OrderEventCountableEdgeKeySpecifier)[]; -export type OrderEventCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type OrderEventDiscountObjectKeySpecifier = ('amount' | 'oldAmount' | 'oldValue' | 'oldValueType' | 'reason' | 'value' | 'valueType' | OrderEventDiscountObjectKeySpecifier)[]; -export type OrderEventDiscountObjectFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, - oldAmount?: FieldPolicy | FieldReadFunction, - oldValue?: FieldPolicy | FieldReadFunction, - oldValueType?: FieldPolicy | FieldReadFunction, - reason?: FieldPolicy | FieldReadFunction, - value?: FieldPolicy | FieldReadFunction, - valueType?: FieldPolicy | FieldReadFunction -}; -export type OrderEventOrderLineObjectKeySpecifier = ('discount' | 'itemName' | 'orderLine' | 'quantity' | OrderEventOrderLineObjectKeySpecifier)[]; -export type OrderEventOrderLineObjectFieldPolicy = { - discount?: FieldPolicy | FieldReadFunction, - itemName?: FieldPolicy | FieldReadFunction, - orderLine?: FieldPolicy | FieldReadFunction, - quantity?: FieldPolicy | FieldReadFunction -}; -export type OrderExpiredKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | OrderExpiredKeySpecifier)[]; -export type OrderExpiredFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type OrderFilterShippingMethodsKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'shippingMethods' | 'version' | OrderFilterShippingMethodsKeySpecifier)[]; -export type OrderFilterShippingMethodsFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - shippingMethods?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type OrderFulfillKeySpecifier = ('errors' | 'fulfillments' | 'order' | 'orderErrors' | OrderFulfillKeySpecifier)[]; -export type OrderFulfillFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - fulfillments?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderFulfilledKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | OrderFulfilledKeySpecifier)[]; -export type OrderFulfilledFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type OrderFullyPaidKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | OrderFullyPaidKeySpecifier)[]; -export type OrderFullyPaidFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type OrderGrantRefundCreateKeySpecifier = ('errors' | 'grantedRefund' | 'order' | OrderGrantRefundCreateKeySpecifier)[]; -export type OrderGrantRefundCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - grantedRefund?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction -}; -export type OrderGrantRefundCreateErrorKeySpecifier = ('code' | 'field' | 'message' | OrderGrantRefundCreateErrorKeySpecifier)[]; -export type OrderGrantRefundCreateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type OrderGrantRefundUpdateKeySpecifier = ('errors' | 'grantedRefund' | 'order' | 'orderGrantedRefund' | OrderGrantRefundUpdateKeySpecifier)[]; -export type OrderGrantRefundUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - grantedRefund?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderGrantedRefund?: FieldPolicy | FieldReadFunction -}; -export type OrderGrantRefundUpdateErrorKeySpecifier = ('code' | 'field' | 'message' | OrderGrantRefundUpdateErrorKeySpecifier)[]; -export type OrderGrantRefundUpdateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type OrderGrantedRefundKeySpecifier = ('amount' | 'app' | 'createdAt' | 'id' | 'reason' | 'updatedAt' | 'user' | OrderGrantedRefundKeySpecifier)[]; -export type OrderGrantedRefundFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, - app?: FieldPolicy | FieldReadFunction, - createdAt?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - reason?: FieldPolicy | FieldReadFunction, - updatedAt?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type OrderLineKeySpecifier = ('allocations' | 'digitalContentUrl' | 'id' | 'isShippingRequired' | 'metadata' | 'metafield' | 'metafields' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'productName' | 'productSku' | 'productVariantId' | 'quantity' | 'quantityFulfilled' | 'quantityToFulfill' | 'taxClass' | 'taxClassMetadata' | 'taxClassName' | 'taxClassPrivateMetadata' | 'taxRate' | 'thumbnail' | 'totalPrice' | 'translatedProductName' | 'translatedVariantName' | 'undiscountedUnitPrice' | 'unitDiscount' | 'unitDiscountReason' | 'unitDiscountType' | 'unitDiscountValue' | 'unitPrice' | 'variant' | 'variantName' | OrderLineKeySpecifier)[]; -export type OrderLineFieldPolicy = { - allocations?: FieldPolicy | FieldReadFunction, - digitalContentUrl?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - isShippingRequired?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, productName?: FieldPolicy | FieldReadFunction, + variantName?: FieldPolicy | FieldReadFunction, productSku?: FieldPolicy | FieldReadFunction, productVariantId?: FieldPolicy | FieldReadFunction, + isShippingRequired?: FieldPolicy | FieldReadFunction, quantity?: FieldPolicy | FieldReadFunction, quantityFulfilled?: FieldPolicy | FieldReadFunction, - quantityToFulfill?: FieldPolicy | FieldReadFunction, - taxClass?: FieldPolicy | FieldReadFunction, - taxClassMetadata?: FieldPolicy | FieldReadFunction, - taxClassName?: FieldPolicy | FieldReadFunction, - taxClassPrivateMetadata?: FieldPolicy | FieldReadFunction, + unitDiscountReason?: FieldPolicy | FieldReadFunction, taxRate?: FieldPolicy | FieldReadFunction, + digitalContentUrl?: FieldPolicy | FieldReadFunction, thumbnail?: FieldPolicy | FieldReadFunction, - totalPrice?: FieldPolicy | FieldReadFunction, - translatedProductName?: FieldPolicy | FieldReadFunction, - translatedVariantName?: FieldPolicy | FieldReadFunction, + unitPrice?: FieldPolicy | FieldReadFunction, undiscountedUnitPrice?: FieldPolicy | FieldReadFunction, unitDiscount?: FieldPolicy | FieldReadFunction, - unitDiscountReason?: FieldPolicy | FieldReadFunction, - unitDiscountType?: FieldPolicy | FieldReadFunction, unitDiscountValue?: FieldPolicy | FieldReadFunction, - unitPrice?: FieldPolicy | FieldReadFunction, + totalPrice?: FieldPolicy | FieldReadFunction, variant?: FieldPolicy | FieldReadFunction, - variantName?: FieldPolicy | FieldReadFunction + translatedProductName?: FieldPolicy | FieldReadFunction, + translatedVariantName?: FieldPolicy | FieldReadFunction, + allocations?: FieldPolicy | FieldReadFunction, + quantityToFulfill?: FieldPolicy | FieldReadFunction, + unitDiscountType?: FieldPolicy | FieldReadFunction, + taxClass?: FieldPolicy | FieldReadFunction, + taxClassName?: FieldPolicy | FieldReadFunction, + taxClassMetadata?: FieldPolicy | FieldReadFunction, + taxClassPrivateMetadata?: FieldPolicy | FieldReadFunction }; -export type OrderLineDeleteKeySpecifier = ('errors' | 'order' | 'orderErrors' | 'orderLine' | OrderLineDeleteKeySpecifier)[]; +export type OrderLineDeleteKeySpecifier = ('order' | 'orderLine' | 'orderErrors' | 'errors' | OrderLineDeleteKeySpecifier)[]; export type OrderLineDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, + orderLine?: FieldPolicy | FieldReadFunction, orderErrors?: FieldPolicy | FieldReadFunction, - orderLine?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type OrderLineDiscountRemoveKeySpecifier = ('errors' | 'order' | 'orderErrors' | 'orderLine' | OrderLineDiscountRemoveKeySpecifier)[]; +export type OrderLineDiscountRemoveKeySpecifier = ('orderLine' | 'order' | 'orderErrors' | 'errors' | OrderLineDiscountRemoveKeySpecifier)[]; export type OrderLineDiscountRemoveFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + orderLine?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, orderErrors?: FieldPolicy | FieldReadFunction, - orderLine?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type OrderLineDiscountUpdateKeySpecifier = ('errors' | 'order' | 'orderErrors' | 'orderLine' | OrderLineDiscountUpdateKeySpecifier)[]; +export type OrderLineDiscountUpdateKeySpecifier = ('orderLine' | 'order' | 'orderErrors' | 'errors' | OrderLineDiscountUpdateKeySpecifier)[]; export type OrderLineDiscountUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + orderLine?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, orderErrors?: FieldPolicy | FieldReadFunction, - orderLine?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type OrderLineUpdateKeySpecifier = ('errors' | 'order' | 'orderErrors' | 'orderLine' | OrderLineUpdateKeySpecifier)[]; +export type OrderLineUpdateKeySpecifier = ('order' | 'orderErrors' | 'errors' | 'orderLine' | OrderLineUpdateKeySpecifier)[]; export type OrderLineUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, orderLine?: FieldPolicy | FieldReadFunction }; -export type OrderLinesCreateKeySpecifier = ('errors' | 'order' | 'orderErrors' | 'orderLines' | OrderLinesCreateKeySpecifier)[]; +export type OrderLinesCreateKeySpecifier = ('order' | 'orderLines' | 'orderErrors' | 'errors' | OrderLinesCreateKeySpecifier)[]; export type OrderLinesCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + orderLines?: FieldPolicy | FieldReadFunction, + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type OrderMarkAsPaidKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderMarkAsPaidKeySpecifier)[]; +export type OrderMarkAsPaidFieldPolicy = { order?: FieldPolicy | FieldReadFunction, orderErrors?: FieldPolicy | FieldReadFunction, - orderLines?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type OrderMarkAsPaidKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderMarkAsPaidKeySpecifier)[]; -export type OrderMarkAsPaidFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction -}; -export type OrderMetadataUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | OrderMetadataUpdatedKeySpecifier)[]; +export type OrderMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderMetadataUpdatedKeySpecifier)[]; export type OrderMetadataUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type OrderRefundKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderRefundKeySpecifier)[]; +export type OrderRefundKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderRefundKeySpecifier)[]; export type OrderRefundFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type OrderSettingsKeySpecifier = ('automaticallyConfirmAllNewOrders' | 'automaticallyFulfillNonShippableGiftCard' | 'defaultTransactionFlowStrategy' | 'expireOrdersAfter' | 'markAsPaidStrategy' | OrderSettingsKeySpecifier)[]; +export type OrderSettingsKeySpecifier = ('automaticallyConfirmAllNewOrders' | 'automaticallyFulfillNonShippableGiftCard' | 'expireOrdersAfter' | 'markAsPaidStrategy' | 'defaultTransactionFlowStrategy' | OrderSettingsKeySpecifier)[]; export type OrderSettingsFieldPolicy = { automaticallyConfirmAllNewOrders?: FieldPolicy | FieldReadFunction, automaticallyFulfillNonShippableGiftCard?: FieldPolicy | FieldReadFunction, - defaultTransactionFlowStrategy?: FieldPolicy | FieldReadFunction, expireOrdersAfter?: FieldPolicy | FieldReadFunction, - markAsPaidStrategy?: FieldPolicy | FieldReadFunction + markAsPaidStrategy?: FieldPolicy | FieldReadFunction, + defaultTransactionFlowStrategy?: FieldPolicy | FieldReadFunction }; -export type OrderSettingsErrorKeySpecifier = ('code' | 'field' | 'message' | OrderSettingsErrorKeySpecifier)[]; +export type OrderSettingsErrorKeySpecifier = ('field' | 'message' | 'code' | OrderSettingsErrorKeySpecifier)[]; export type OrderSettingsErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type OrderSettingsUpdateKeySpecifier = ('errors' | 'orderSettings' | 'orderSettingsErrors' | OrderSettingsUpdateKeySpecifier)[]; +export type OrderSettingsUpdateKeySpecifier = ('orderSettings' | 'orderSettingsErrors' | 'errors' | OrderSettingsUpdateKeySpecifier)[]; export type OrderSettingsUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, orderSettings?: FieldPolicy | FieldReadFunction, - orderSettingsErrors?: FieldPolicy | FieldReadFunction + orderSettingsErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type OrderUpdateKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderUpdateKeySpecifier)[]; +export type OrderUpdateKeySpecifier = ('orderErrors' | 'errors' | 'order' | OrderUpdateKeySpecifier)[]; export type OrderUpdateFieldPolicy = { + orderErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type OrderUpdateShippingKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderUpdateShippingKeySpecifier)[]; +export type OrderUpdateShippingKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderUpdateShippingKeySpecifier)[]; export type OrderUpdateShippingFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type OrderUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'order' | 'recipient' | 'version' | OrderUpdatedKeySpecifier)[]; +export type OrderUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'order' | OrderUpdatedKeySpecifier)[]; export type OrderUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + order?: FieldPolicy | FieldReadFunction }; -export type OrderVoidKeySpecifier = ('errors' | 'order' | 'orderErrors' | OrderVoidKeySpecifier)[]; +export type OrderVoidKeySpecifier = ('order' | 'orderErrors' | 'errors' | OrderVoidKeySpecifier)[]; export type OrderVoidFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, - orderErrors?: FieldPolicy | FieldReadFunction + orderErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PageKeySpecifier = ('attributes' | 'content' | 'contentJson' | 'created' | 'id' | 'isPublished' | 'metadata' | 'metafield' | 'metafields' | 'pageType' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'publicationDate' | 'publishedAt' | 'seoDescription' | 'seoTitle' | 'slug' | 'title' | 'translation' | PageKeySpecifier)[]; +export type PageKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'seoTitle' | 'seoDescription' | 'title' | 'content' | 'publicationDate' | 'publishedAt' | 'isPublished' | 'slug' | 'pageType' | 'created' | 'contentJson' | 'translation' | 'attributes' | PageKeySpecifier)[]; export type PageFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - content?: FieldPolicy | FieldReadFunction, - contentJson?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isPublished?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + seoTitle?: FieldPolicy | FieldReadFunction, + seoDescription?: FieldPolicy | FieldReadFunction, + title?: FieldPolicy | FieldReadFunction, + content?: FieldPolicy | FieldReadFunction, publicationDate?: FieldPolicy | FieldReadFunction, publishedAt?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, - seoTitle?: FieldPolicy | FieldReadFunction, + isPublished?: FieldPolicy | FieldReadFunction, slug?: FieldPolicy | FieldReadFunction, - title?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction + pageType?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, + contentJson?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction }; -export type PageAttributeAssignKeySpecifier = ('errors' | 'pageErrors' | 'pageType' | PageAttributeAssignKeySpecifier)[]; +export type PageAttributeAssignKeySpecifier = ('pageType' | 'pageErrors' | 'errors' | PageAttributeAssignKeySpecifier)[]; export type PageAttributeAssignFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction, pageErrors?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type PageAttributeUnassignKeySpecifier = ('errors' | 'pageErrors' | 'pageType' | PageAttributeUnassignKeySpecifier)[]; +export type PageAttributeUnassignKeySpecifier = ('pageType' | 'pageErrors' | 'errors' | PageAttributeUnassignKeySpecifier)[]; export type PageAttributeUnassignFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction, pageErrors?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type PageBulkDeleteKeySpecifier = ('count' | 'errors' | 'pageErrors' | PageBulkDeleteKeySpecifier)[]; +export type PageBulkDeleteKeySpecifier = ('count' | 'pageErrors' | 'errors' | PageBulkDeleteKeySpecifier)[]; export type PageBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PageBulkPublishKeySpecifier = ('count' | 'errors' | 'pageErrors' | PageBulkPublishKeySpecifier)[]; +export type PageBulkPublishKeySpecifier = ('count' | 'pageErrors' | 'errors' | PageBulkPublishKeySpecifier)[]; export type PageBulkPublishFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PageCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | PageCountableConnectionKeySpecifier)[]; +export type PageCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | PageCountableConnectionKeySpecifier)[]; export type PageCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type PageCountableEdgeKeySpecifier = ('cursor' | 'node' | PageCountableEdgeKeySpecifier)[]; +export type PageCountableEdgeKeySpecifier = ('node' | 'cursor' | PageCountableEdgeKeySpecifier)[]; export type PageCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type PageCreateKeySpecifier = ('errors' | 'page' | 'pageErrors' | PageCreateKeySpecifier)[]; +export type PageCreateKeySpecifier = ('pageErrors' | 'errors' | 'page' | PageCreateKeySpecifier)[]; export type PageCreateFieldPolicy = { + pageErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction + page?: FieldPolicy | FieldReadFunction }; -export type PageCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'page' | 'recipient' | 'version' | PageCreatedKeySpecifier)[]; +export type PageCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'page' | PageCreatedKeySpecifier)[]; export type PageCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + page?: FieldPolicy | FieldReadFunction }; -export type PageDeleteKeySpecifier = ('errors' | 'page' | 'pageErrors' | PageDeleteKeySpecifier)[]; +export type PageDeleteKeySpecifier = ('pageErrors' | 'errors' | 'page' | PageDeleteKeySpecifier)[]; export type PageDeleteFieldPolicy = { + pageErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction + page?: FieldPolicy | FieldReadFunction }; -export type PageDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'page' | 'recipient' | 'version' | PageDeletedKeySpecifier)[]; +export type PageDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'page' | PageDeletedKeySpecifier)[]; export type PageDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + page?: FieldPolicy | FieldReadFunction }; -export type PageErrorKeySpecifier = ('attributes' | 'code' | 'field' | 'message' | 'values' | PageErrorKeySpecifier)[]; +export type PageErrorKeySpecifier = ('field' | 'message' | 'code' | 'attributes' | 'values' | PageErrorKeySpecifier)[]; export type PageErrorFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, values?: FieldPolicy | FieldReadFunction }; -export type PageInfoKeySpecifier = ('endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | PageInfoKeySpecifier)[]; +export type PageInfoKeySpecifier = ('hasNextPage' | 'hasPreviousPage' | 'startCursor' | 'endCursor' | PageInfoKeySpecifier)[]; export type PageInfoFieldPolicy = { - endCursor?: FieldPolicy | FieldReadFunction, hasNextPage?: FieldPolicy | FieldReadFunction, hasPreviousPage?: FieldPolicy | FieldReadFunction, - startCursor?: FieldPolicy | FieldReadFunction + startCursor?: FieldPolicy | FieldReadFunction, + endCursor?: FieldPolicy | FieldReadFunction }; -export type PageReorderAttributeValuesKeySpecifier = ('errors' | 'page' | 'pageErrors' | PageReorderAttributeValuesKeySpecifier)[]; +export type PageReorderAttributeValuesKeySpecifier = ('page' | 'pageErrors' | 'errors' | PageReorderAttributeValuesKeySpecifier)[]; export type PageReorderAttributeValuesFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, page?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PageTranslatableContentKeySpecifier = ('attributeValues' | 'content' | 'contentJson' | 'id' | 'page' | 'seoDescription' | 'seoTitle' | 'title' | 'translation' | PageTranslatableContentKeySpecifier)[]; +export type PageTranslatableContentKeySpecifier = ('id' | 'seoTitle' | 'seoDescription' | 'title' | 'content' | 'contentJson' | 'translation' | 'page' | 'attributeValues' | PageTranslatableContentKeySpecifier)[]; export type PageTranslatableContentFieldPolicy = { - attributeValues?: FieldPolicy | FieldReadFunction, - content?: FieldPolicy | FieldReadFunction, - contentJson?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, seoTitle?: FieldPolicy | FieldReadFunction, + seoDescription?: FieldPolicy | FieldReadFunction, title?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction -}; -export type PageTranslateKeySpecifier = ('errors' | 'page' | 'translationErrors' | PageTranslateKeySpecifier)[]; -export type PageTranslateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction -}; -export type PageTranslationKeySpecifier = ('content' | 'contentJson' | 'id' | 'language' | 'seoDescription' | 'seoTitle' | 'title' | PageTranslationKeySpecifier)[]; -export type PageTranslationFieldPolicy = { content?: FieldPolicy | FieldReadFunction, contentJson?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + page?: FieldPolicy | FieldReadFunction, + attributeValues?: FieldPolicy | FieldReadFunction +}; +export type PageTranslateKeySpecifier = ('translationErrors' | 'errors' | 'page' | PageTranslateKeySpecifier)[]; +export type PageTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + page?: FieldPolicy | FieldReadFunction +}; +export type PageTranslationKeySpecifier = ('id' | 'language' | 'seoTitle' | 'seoDescription' | 'title' | 'content' | 'contentJson' | PageTranslationKeySpecifier)[]; +export type PageTranslationFieldPolicy = { id?: FieldPolicy | FieldReadFunction, language?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, seoTitle?: FieldPolicy | FieldReadFunction, - title?: FieldPolicy | FieldReadFunction + seoDescription?: FieldPolicy | FieldReadFunction, + title?: FieldPolicy | FieldReadFunction, + content?: FieldPolicy | FieldReadFunction, + contentJson?: FieldPolicy | FieldReadFunction }; -export type PageTypeKeySpecifier = ('attributes' | 'availableAttributes' | 'hasPages' | 'id' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'slug' | PageTypeKeySpecifier)[]; +export type PageTypeKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'slug' | 'attributes' | 'availableAttributes' | 'hasPages' | PageTypeKeySpecifier)[]; export type PageTypeFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - availableAttributes?: FieldPolicy | FieldReadFunction, - hasPages?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, + slug?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, + availableAttributes?: FieldPolicy | FieldReadFunction, + hasPages?: FieldPolicy | FieldReadFunction +}; +export type PageTypeBulkDeleteKeySpecifier = ('count' | 'pageErrors' | 'errors' | PageTypeBulkDeleteKeySpecifier)[]; +export type PageTypeBulkDeleteFieldPolicy = { + count?: FieldPolicy | FieldReadFunction, + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type PageTypeCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | PageTypeCountableConnectionKeySpecifier)[]; +export type PageTypeCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type PageTypeCountableEdgeKeySpecifier = ('node' | 'cursor' | PageTypeCountableEdgeKeySpecifier)[]; +export type PageTypeCountableEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type PageTypeCreateKeySpecifier = ('pageErrors' | 'errors' | 'pageType' | PageTypeCreateKeySpecifier)[]; +export type PageTypeCreateFieldPolicy = { + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; +export type PageTypeCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'pageType' | PageTypeCreatedKeySpecifier)[]; +export type PageTypeCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; +export type PageTypeDeleteKeySpecifier = ('pageErrors' | 'errors' | 'pageType' | PageTypeDeleteKeySpecifier)[]; +export type PageTypeDeleteFieldPolicy = { + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; +export type PageTypeDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'pageType' | PageTypeDeletedKeySpecifier)[]; +export type PageTypeDeletedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; +export type PageTypeReorderAttributesKeySpecifier = ('pageType' | 'pageErrors' | 'errors' | PageTypeReorderAttributesKeySpecifier)[]; +export type PageTypeReorderAttributesFieldPolicy = { + pageType?: FieldPolicy | FieldReadFunction, + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type PageTypeUpdateKeySpecifier = ('pageErrors' | 'errors' | 'pageType' | PageTypeUpdateKeySpecifier)[]; +export type PageTypeUpdateFieldPolicy = { + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; +export type PageTypeUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'pageType' | PageTypeUpdatedKeySpecifier)[]; +export type PageTypeUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction +}; +export type PageUpdateKeySpecifier = ('pageErrors' | 'errors' | 'page' | PageUpdateKeySpecifier)[]; +export type PageUpdateFieldPolicy = { + pageErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + page?: FieldPolicy | FieldReadFunction +}; +export type PageUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'page' | PageUpdatedKeySpecifier)[]; +export type PageUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + page?: FieldPolicy | FieldReadFunction +}; +export type PasswordChangeKeySpecifier = ('user' | 'accountErrors' | 'errors' | PasswordChangeKeySpecifier)[]; +export type PasswordChangeFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type PaymentKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'gateway' | 'isActive' | 'created' | 'modified' | 'token' | 'checkout' | 'order' | 'paymentMethodType' | 'customerIpAddress' | 'chargeStatus' | 'actions' | 'total' | 'capturedAmount' | 'transactions' | 'availableCaptureAmount' | 'availableRefundAmount' | 'creditCard' | PaymentKeySpecifier)[]; +export type PaymentFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - slug?: FieldPolicy | FieldReadFunction -}; -export type PageTypeBulkDeleteKeySpecifier = ('count' | 'errors' | 'pageErrors' | PageTypeBulkDeleteKeySpecifier)[]; -export type PageTypeBulkDeleteFieldPolicy = { - count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction -}; -export type PageTypeCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | PageTypeCountableConnectionKeySpecifier)[]; -export type PageTypeCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type PageTypeCountableEdgeKeySpecifier = ('cursor' | 'node' | PageTypeCountableEdgeKeySpecifier)[]; -export type PageTypeCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type PageTypeCreateKeySpecifier = ('errors' | 'pageErrors' | 'pageType' | PageTypeCreateKeySpecifier)[]; -export type PageTypeCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction -}; -export type PageTypeCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'pageType' | 'recipient' | 'version' | PageTypeCreatedKeySpecifier)[]; -export type PageTypeCreatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type PageTypeDeleteKeySpecifier = ('errors' | 'pageErrors' | 'pageType' | PageTypeDeleteKeySpecifier)[]; -export type PageTypeDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction -}; -export type PageTypeDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'pageType' | 'recipient' | 'version' | PageTypeDeletedKeySpecifier)[]; -export type PageTypeDeletedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type PageTypeReorderAttributesKeySpecifier = ('errors' | 'pageErrors' | 'pageType' | PageTypeReorderAttributesKeySpecifier)[]; -export type PageTypeReorderAttributesFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction -}; -export type PageTypeUpdateKeySpecifier = ('errors' | 'pageErrors' | 'pageType' | PageTypeUpdateKeySpecifier)[]; -export type PageTypeUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction -}; -export type PageTypeUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'pageType' | 'recipient' | 'version' | PageTypeUpdatedKeySpecifier)[]; -export type PageTypeUpdatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type PageUpdateKeySpecifier = ('errors' | 'page' | 'pageErrors' | PageUpdateKeySpecifier)[]; -export type PageUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, - pageErrors?: FieldPolicy | FieldReadFunction -}; -export type PageUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'page' | 'recipient' | 'version' | PageUpdatedKeySpecifier)[]; -export type PageUpdatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type PasswordChangeKeySpecifier = ('accountErrors' | 'errors' | 'user' | PasswordChangeKeySpecifier)[]; -export type PasswordChangeFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type PaymentKeySpecifier = ('actions' | 'availableCaptureAmount' | 'availableRefundAmount' | 'capturedAmount' | 'chargeStatus' | 'checkout' | 'created' | 'creditCard' | 'customerIpAddress' | 'gateway' | 'id' | 'isActive' | 'metadata' | 'metafield' | 'metafields' | 'modified' | 'order' | 'paymentMethodType' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'token' | 'total' | 'transactions' | PaymentKeySpecifier)[]; -export type PaymentFieldPolicy = { - actions?: FieldPolicy | FieldReadFunction, - availableCaptureAmount?: FieldPolicy | FieldReadFunction, - availableRefundAmount?: FieldPolicy | FieldReadFunction, - capturedAmount?: FieldPolicy | FieldReadFunction, - chargeStatus?: FieldPolicy | FieldReadFunction, - checkout?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, - creditCard?: FieldPolicy | FieldReadFunction, - customerIpAddress?: FieldPolicy | FieldReadFunction, - gateway?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - isActive?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, + gateway?: FieldPolicy | FieldReadFunction, + isActive?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, modified?: FieldPolicy | FieldReadFunction, + token?: FieldPolicy | FieldReadFunction, + checkout?: FieldPolicy | FieldReadFunction, order?: FieldPolicy | FieldReadFunction, paymentMethodType?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, - token?: FieldPolicy | FieldReadFunction, + customerIpAddress?: FieldPolicy | FieldReadFunction, + chargeStatus?: FieldPolicy | FieldReadFunction, + actions?: FieldPolicy | FieldReadFunction, total?: FieldPolicy | FieldReadFunction, - transactions?: FieldPolicy | FieldReadFunction + capturedAmount?: FieldPolicy | FieldReadFunction, + transactions?: FieldPolicy | FieldReadFunction, + availableCaptureAmount?: FieldPolicy | FieldReadFunction, + availableRefundAmount?: FieldPolicy | FieldReadFunction, + creditCard?: FieldPolicy | FieldReadFunction }; -export type PaymentAuthorizeKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'payment' | 'recipient' | 'version' | PaymentAuthorizeKeySpecifier)[]; +export type PaymentAuthorizeKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentAuthorizeKeySpecifier)[]; export type PaymentAuthorizeFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - payment?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + payment?: FieldPolicy | FieldReadFunction }; -export type PaymentCaptureKeySpecifier = ('errors' | 'payment' | 'paymentErrors' | PaymentCaptureKeySpecifier)[]; +export type PaymentCaptureKeySpecifier = ('payment' | 'paymentErrors' | 'errors' | PaymentCaptureKeySpecifier)[]; export type PaymentCaptureFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, payment?: FieldPolicy | FieldReadFunction, - paymentErrors?: FieldPolicy | FieldReadFunction + paymentErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PaymentCaptureEventKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'payment' | 'recipient' | 'version' | PaymentCaptureEventKeySpecifier)[]; +export type PaymentCaptureEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentCaptureEventKeySpecifier)[]; export type PaymentCaptureEventFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - payment?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + payment?: FieldPolicy | FieldReadFunction }; -export type PaymentCheckBalanceKeySpecifier = ('data' | 'errors' | 'paymentErrors' | PaymentCheckBalanceKeySpecifier)[]; +export type PaymentCheckBalanceKeySpecifier = ('data' | 'paymentErrors' | 'errors' | PaymentCheckBalanceKeySpecifier)[]; export type PaymentCheckBalanceFieldPolicy = { data?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - paymentErrors?: FieldPolicy | FieldReadFunction + paymentErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PaymentConfirmEventKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'payment' | 'recipient' | 'version' | PaymentConfirmEventKeySpecifier)[]; +export type PaymentConfirmEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentConfirmEventKeySpecifier)[]; export type PaymentConfirmEventFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - payment?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + payment?: FieldPolicy | FieldReadFunction }; -export type PaymentCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | PaymentCountableConnectionKeySpecifier)[]; +export type PaymentCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | PaymentCountableConnectionKeySpecifier)[]; export type PaymentCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type PaymentCountableEdgeKeySpecifier = ('cursor' | 'node' | PaymentCountableEdgeKeySpecifier)[]; +export type PaymentCountableEdgeKeySpecifier = ('node' | 'cursor' | PaymentCountableEdgeKeySpecifier)[]; export type PaymentCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type PaymentErrorKeySpecifier = ('code' | 'field' | 'message' | 'variants' | PaymentErrorKeySpecifier)[]; +export type PaymentErrorKeySpecifier = ('field' | 'message' | 'code' | 'variants' | PaymentErrorKeySpecifier)[]; export type PaymentErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, variants?: FieldPolicy | FieldReadFunction }; -export type PaymentGatewayKeySpecifier = ('config' | 'currencies' | 'id' | 'name' | PaymentGatewayKeySpecifier)[]; +export type PaymentGatewayKeySpecifier = ('name' | 'id' | 'config' | 'currencies' | PaymentGatewayKeySpecifier)[]; export type PaymentGatewayFieldPolicy = { - config?: FieldPolicy | FieldReadFunction, - currencies?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction + config?: FieldPolicy | FieldReadFunction, + currencies?: FieldPolicy | FieldReadFunction }; -export type PaymentGatewayConfigKeySpecifier = ('data' | 'errors' | 'id' | PaymentGatewayConfigKeySpecifier)[]; +export type PaymentGatewayConfigKeySpecifier = ('id' | 'data' | 'errors' | PaymentGatewayConfigKeySpecifier)[]; export type PaymentGatewayConfigFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, data?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type PaymentGatewayConfigErrorKeySpecifier = ('code' | 'field' | 'message' | PaymentGatewayConfigErrorKeySpecifier)[]; +export type PaymentGatewayConfigErrorKeySpecifier = ('field' | 'message' | 'code' | PaymentGatewayConfigErrorKeySpecifier)[]; export type PaymentGatewayConfigErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type PaymentGatewayInitializeKeySpecifier = ('errors' | 'gatewayConfigs' | PaymentGatewayInitializeKeySpecifier)[]; +export type PaymentGatewayInitializeKeySpecifier = ('gatewayConfigs' | 'errors' | PaymentGatewayInitializeKeySpecifier)[]; export type PaymentGatewayInitializeFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - gatewayConfigs?: FieldPolicy | FieldReadFunction + gatewayConfigs?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PaymentGatewayInitializeErrorKeySpecifier = ('code' | 'field' | 'message' | PaymentGatewayInitializeErrorKeySpecifier)[]; +export type PaymentGatewayInitializeErrorKeySpecifier = ('field' | 'message' | 'code' | PaymentGatewayInitializeErrorKeySpecifier)[]; export type PaymentGatewayInitializeErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type PaymentGatewayInitializeSessionKeySpecifier = ('amount' | 'data' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'sourceObject' | 'version' | PaymentGatewayInitializeSessionKeySpecifier)[]; +export type PaymentGatewayInitializeSessionKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'sourceObject' | 'data' | 'amount' | PaymentGatewayInitializeSessionKeySpecifier)[]; export type PaymentGatewayInitializeSessionFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, - data?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, sourceObject?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type PaymentInitializeKeySpecifier = ('errors' | 'initializedPayment' | 'paymentErrors' | PaymentInitializeKeySpecifier)[]; -export type PaymentInitializeFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - initializedPayment?: FieldPolicy | FieldReadFunction, - paymentErrors?: FieldPolicy | FieldReadFunction -}; -export type PaymentInitializedKeySpecifier = ('data' | 'gateway' | 'name' | PaymentInitializedKeySpecifier)[]; -export type PaymentInitializedFieldPolicy = { data?: FieldPolicy | FieldReadFunction, - gateway?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction + amount?: FieldPolicy | FieldReadFunction }; -export type PaymentListGatewaysKeySpecifier = ('checkout' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | PaymentListGatewaysKeySpecifier)[]; +export type PaymentInitializeKeySpecifier = ('initializedPayment' | 'paymentErrors' | 'errors' | PaymentInitializeKeySpecifier)[]; +export type PaymentInitializeFieldPolicy = { + initializedPayment?: FieldPolicy | FieldReadFunction, + paymentErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type PaymentInitializedKeySpecifier = ('gateway' | 'name' | 'data' | PaymentInitializedKeySpecifier)[]; +export type PaymentInitializedFieldPolicy = { + gateway?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + data?: FieldPolicy | FieldReadFunction +}; +export type PaymentListGatewaysKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | PaymentListGatewaysKeySpecifier)[]; export type PaymentListGatewaysFieldPolicy = { - checkout?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + checkout?: FieldPolicy | FieldReadFunction }; -export type PaymentProcessEventKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'payment' | 'recipient' | 'version' | PaymentProcessEventKeySpecifier)[]; +export type PaymentProcessEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentProcessEventKeySpecifier)[]; export type PaymentProcessEventFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - payment?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + payment?: FieldPolicy | FieldReadFunction }; -export type PaymentRefundKeySpecifier = ('errors' | 'payment' | 'paymentErrors' | PaymentRefundKeySpecifier)[]; +export type PaymentRefundKeySpecifier = ('payment' | 'paymentErrors' | 'errors' | PaymentRefundKeySpecifier)[]; export type PaymentRefundFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, payment?: FieldPolicy | FieldReadFunction, - paymentErrors?: FieldPolicy | FieldReadFunction + paymentErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PaymentRefundEventKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'payment' | 'recipient' | 'version' | PaymentRefundEventKeySpecifier)[]; +export type PaymentRefundEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentRefundEventKeySpecifier)[]; export type PaymentRefundEventFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - payment?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + payment?: FieldPolicy | FieldReadFunction }; -export type PaymentSourceKeySpecifier = ('creditCardInfo' | 'gateway' | 'metadata' | 'paymentMethodId' | PaymentSourceKeySpecifier)[]; +export type PaymentSourceKeySpecifier = ('gateway' | 'paymentMethodId' | 'creditCardInfo' | 'metadata' | PaymentSourceKeySpecifier)[]; export type PaymentSourceFieldPolicy = { - creditCardInfo?: FieldPolicy | FieldReadFunction, gateway?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - paymentMethodId?: FieldPolicy | FieldReadFunction + paymentMethodId?: FieldPolicy | FieldReadFunction, + creditCardInfo?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction }; -export type PaymentVoidKeySpecifier = ('errors' | 'payment' | 'paymentErrors' | PaymentVoidKeySpecifier)[]; +export type PaymentVoidKeySpecifier = ('payment' | 'paymentErrors' | 'errors' | PaymentVoidKeySpecifier)[]; export type PaymentVoidFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, payment?: FieldPolicy | FieldReadFunction, - paymentErrors?: FieldPolicy | FieldReadFunction + paymentErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PaymentVoidEventKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'payment' | 'recipient' | 'version' | PaymentVoidEventKeySpecifier)[]; +export type PaymentVoidEventKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'payment' | PaymentVoidEventKeySpecifier)[]; export type PaymentVoidEventFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - payment?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + payment?: FieldPolicy | FieldReadFunction }; export type PermissionKeySpecifier = ('code' | 'name' | PermissionKeySpecifier)[]; export type PermissionFieldPolicy = { code?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction }; -export type PermissionGroupCreateKeySpecifier = ('errors' | 'group' | 'permissionGroupErrors' | PermissionGroupCreateKeySpecifier)[]; +export type PermissionGroupCreateKeySpecifier = ('permissionGroupErrors' | 'errors' | 'group' | PermissionGroupCreateKeySpecifier)[]; export type PermissionGroupCreateFieldPolicy = { + permissionGroupErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - group?: FieldPolicy | FieldReadFunction, - permissionGroupErrors?: FieldPolicy | FieldReadFunction + group?: FieldPolicy | FieldReadFunction }; -export type PermissionGroupCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'permissionGroup' | 'recipient' | 'version' | PermissionGroupCreatedKeySpecifier)[]; +export type PermissionGroupCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'permissionGroup' | PermissionGroupCreatedKeySpecifier)[]; export type PermissionGroupCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - permissionGroup?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + permissionGroup?: FieldPolicy | FieldReadFunction }; -export type PermissionGroupDeleteKeySpecifier = ('errors' | 'group' | 'permissionGroupErrors' | PermissionGroupDeleteKeySpecifier)[]; +export type PermissionGroupDeleteKeySpecifier = ('permissionGroupErrors' | 'errors' | 'group' | PermissionGroupDeleteKeySpecifier)[]; export type PermissionGroupDeleteFieldPolicy = { + permissionGroupErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - group?: FieldPolicy | FieldReadFunction, - permissionGroupErrors?: FieldPolicy | FieldReadFunction + group?: FieldPolicy | FieldReadFunction }; -export type PermissionGroupDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'permissionGroup' | 'recipient' | 'version' | PermissionGroupDeletedKeySpecifier)[]; +export type PermissionGroupDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'permissionGroup' | PermissionGroupDeletedKeySpecifier)[]; export type PermissionGroupDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - permissionGroup?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + permissionGroup?: FieldPolicy | FieldReadFunction }; -export type PermissionGroupErrorKeySpecifier = ('code' | 'field' | 'message' | 'permissions' | 'users' | PermissionGroupErrorKeySpecifier)[]; +export type PermissionGroupErrorKeySpecifier = ('field' | 'message' | 'code' | 'permissions' | 'users' | PermissionGroupErrorKeySpecifier)[]; export type PermissionGroupErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, permissions?: FieldPolicy | FieldReadFunction, users?: FieldPolicy | FieldReadFunction }; -export type PermissionGroupUpdateKeySpecifier = ('errors' | 'group' | 'permissionGroupErrors' | PermissionGroupUpdateKeySpecifier)[]; +export type PermissionGroupUpdateKeySpecifier = ('permissionGroupErrors' | 'errors' | 'group' | PermissionGroupUpdateKeySpecifier)[]; export type PermissionGroupUpdateFieldPolicy = { + permissionGroupErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - group?: FieldPolicy | FieldReadFunction, - permissionGroupErrors?: FieldPolicy | FieldReadFunction + group?: FieldPolicy | FieldReadFunction }; -export type PermissionGroupUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'permissionGroup' | 'recipient' | 'version' | PermissionGroupUpdatedKeySpecifier)[]; +export type PermissionGroupUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'permissionGroup' | PermissionGroupUpdatedKeySpecifier)[]; export type PermissionGroupUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - permissionGroup?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + permissionGroup?: FieldPolicy | FieldReadFunction }; -export type PluginKeySpecifier = ('channelConfigurations' | 'description' | 'globalConfiguration' | 'id' | 'name' | PluginKeySpecifier)[]; +export type PluginKeySpecifier = ('id' | 'name' | 'description' | 'globalConfiguration' | 'channelConfigurations' | PluginKeySpecifier)[]; export type PluginFieldPolicy = { - channelConfigurations?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, description?: FieldPolicy | FieldReadFunction, globalConfiguration?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction + channelConfigurations?: FieldPolicy | FieldReadFunction }; export type PluginConfigurationKeySpecifier = ('active' | 'channel' | 'configuration' | PluginConfigurationKeySpecifier)[]; export type PluginConfigurationFieldPolicy = { @@ -3630,638 +3630,638 @@ export type PluginConfigurationFieldPolicy = { channel?: FieldPolicy | FieldReadFunction, configuration?: FieldPolicy | FieldReadFunction }; -export type PluginCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | PluginCountableConnectionKeySpecifier)[]; +export type PluginCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | PluginCountableConnectionKeySpecifier)[]; export type PluginCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type PluginCountableEdgeKeySpecifier = ('cursor' | 'node' | PluginCountableEdgeKeySpecifier)[]; +export type PluginCountableEdgeKeySpecifier = ('node' | 'cursor' | PluginCountableEdgeKeySpecifier)[]; export type PluginCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type PluginErrorKeySpecifier = ('code' | 'field' | 'message' | PluginErrorKeySpecifier)[]; +export type PluginErrorKeySpecifier = ('field' | 'message' | 'code' | PluginErrorKeySpecifier)[]; export type PluginErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type PluginUpdateKeySpecifier = ('errors' | 'plugin' | 'pluginsErrors' | PluginUpdateKeySpecifier)[]; +export type PluginUpdateKeySpecifier = ('plugin' | 'pluginsErrors' | 'errors' | PluginUpdateKeySpecifier)[]; export type PluginUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, plugin?: FieldPolicy | FieldReadFunction, - pluginsErrors?: FieldPolicy | FieldReadFunction + pluginsErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type PreorderDataKeySpecifier = ('endDate' | 'globalSoldUnits' | 'globalThreshold' | PreorderDataKeySpecifier)[]; +export type PreorderDataKeySpecifier = ('globalThreshold' | 'globalSoldUnits' | 'endDate' | PreorderDataKeySpecifier)[]; export type PreorderDataFieldPolicy = { - endDate?: FieldPolicy | FieldReadFunction, + globalThreshold?: FieldPolicy | FieldReadFunction, globalSoldUnits?: FieldPolicy | FieldReadFunction, - globalThreshold?: FieldPolicy | FieldReadFunction + endDate?: FieldPolicy | FieldReadFunction }; export type PreorderThresholdKeySpecifier = ('quantity' | 'soldUnits' | PreorderThresholdKeySpecifier)[]; export type PreorderThresholdFieldPolicy = { quantity?: FieldPolicy | FieldReadFunction, soldUnits?: FieldPolicy | FieldReadFunction }; -export type ProductKeySpecifier = ('attribute' | 'attributes' | 'availableForPurchase' | 'availableForPurchaseAt' | 'category' | 'channel' | 'channelListings' | 'chargeTaxes' | 'collections' | 'created' | 'defaultVariant' | 'description' | 'descriptionJson' | 'externalReference' | 'id' | 'imageById' | 'images' | 'isAvailable' | 'isAvailableForPurchase' | 'media' | 'mediaById' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'pricing' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'productType' | 'rating' | 'seoDescription' | 'seoTitle' | 'slug' | 'taxClass' | 'taxType' | 'thumbnail' | 'translation' | 'updatedAt' | 'variant' | 'variants' | 'weight' | ProductKeySpecifier)[]; +export type ProductKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'productType' | 'slug' | 'category' | 'created' | 'updatedAt' | 'chargeTaxes' | 'weight' | 'defaultVariant' | 'rating' | 'channel' | 'descriptionJson' | 'thumbnail' | 'pricing' | 'isAvailable' | 'taxType' | 'attribute' | 'attributes' | 'channelListings' | 'mediaById' | 'imageById' | 'variant' | 'variants' | 'media' | 'images' | 'collections' | 'translation' | 'availableForPurchase' | 'availableForPurchaseAt' | 'isAvailableForPurchase' | 'taxClass' | 'externalReference' | ProductKeySpecifier)[]; export type ProductFieldPolicy = { - attribute?: FieldPolicy | FieldReadFunction, - attributes?: FieldPolicy | FieldReadFunction, - availableForPurchase?: FieldPolicy | FieldReadFunction, - availableForPurchaseAt?: FieldPolicy | FieldReadFunction, - category?: FieldPolicy | FieldReadFunction, - channel?: FieldPolicy | FieldReadFunction, - channelListings?: FieldPolicy | FieldReadFunction, - chargeTaxes?: FieldPolicy | FieldReadFunction, - collections?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, - defaultVariant?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, - descriptionJson?: FieldPolicy | FieldReadFunction, - externalReference?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - imageById?: FieldPolicy | FieldReadFunction, - images?: FieldPolicy | FieldReadFunction, - isAvailable?: FieldPolicy | FieldReadFunction, - isAvailableForPurchase?: FieldPolicy | FieldReadFunction, - media?: FieldPolicy | FieldReadFunction, - mediaById?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - pricing?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - productType?: FieldPolicy | FieldReadFunction, - rating?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, seoTitle?: FieldPolicy | FieldReadFunction, + seoDescription?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, + productType?: FieldPolicy | FieldReadFunction, slug?: FieldPolicy | FieldReadFunction, - taxClass?: FieldPolicy | FieldReadFunction, - taxType?: FieldPolicy | FieldReadFunction, - thumbnail?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, updatedAt?: FieldPolicy | FieldReadFunction, + chargeTaxes?: FieldPolicy | FieldReadFunction, + weight?: FieldPolicy | FieldReadFunction, + defaultVariant?: FieldPolicy | FieldReadFunction, + rating?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + descriptionJson?: FieldPolicy | FieldReadFunction, + thumbnail?: FieldPolicy | FieldReadFunction, + pricing?: FieldPolicy | FieldReadFunction, + isAvailable?: FieldPolicy | FieldReadFunction, + taxType?: FieldPolicy | FieldReadFunction, + attribute?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, + channelListings?: FieldPolicy | FieldReadFunction, + mediaById?: FieldPolicy | FieldReadFunction, + imageById?: FieldPolicy | FieldReadFunction, variant?: FieldPolicy | FieldReadFunction, variants?: FieldPolicy | FieldReadFunction, - weight?: FieldPolicy | FieldReadFunction + media?: FieldPolicy | FieldReadFunction, + images?: FieldPolicy | FieldReadFunction, + collections?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + availableForPurchase?: FieldPolicy | FieldReadFunction, + availableForPurchaseAt?: FieldPolicy | FieldReadFunction, + isAvailableForPurchase?: FieldPolicy | FieldReadFunction, + taxClass?: FieldPolicy | FieldReadFunction, + externalReference?: FieldPolicy | FieldReadFunction }; -export type ProductAttributeAssignKeySpecifier = ('errors' | 'productErrors' | 'productType' | ProductAttributeAssignKeySpecifier)[]; +export type ProductAttributeAssignKeySpecifier = ('productType' | 'productErrors' | 'errors' | ProductAttributeAssignKeySpecifier)[]; export type ProductAttributeAssignFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + productType?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - productType?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ProductAttributeAssignmentUpdateKeySpecifier = ('errors' | 'productErrors' | 'productType' | ProductAttributeAssignmentUpdateKeySpecifier)[]; +export type ProductAttributeAssignmentUpdateKeySpecifier = ('productType' | 'productErrors' | 'errors' | ProductAttributeAssignmentUpdateKeySpecifier)[]; export type ProductAttributeAssignmentUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + productType?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - productType?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ProductAttributeUnassignKeySpecifier = ('errors' | 'productErrors' | 'productType' | ProductAttributeUnassignKeySpecifier)[]; +export type ProductAttributeUnassignKeySpecifier = ('productType' | 'productErrors' | 'errors' | ProductAttributeUnassignKeySpecifier)[]; export type ProductAttributeUnassignFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + productType?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - productType?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ProductBulkCreateKeySpecifier = ('count' | 'errors' | 'results' | ProductBulkCreateKeySpecifier)[]; +export type ProductBulkCreateKeySpecifier = ('count' | 'results' | 'errors' | ProductBulkCreateKeySpecifier)[]; export type ProductBulkCreateFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - results?: FieldPolicy | FieldReadFunction + results?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductBulkCreateErrorKeySpecifier = ('attributes' | 'channels' | 'code' | 'message' | 'path' | 'values' | 'warehouses' | ProductBulkCreateErrorKeySpecifier)[]; +export type ProductBulkCreateErrorKeySpecifier = ('path' | 'message' | 'code' | 'attributes' | 'values' | 'warehouses' | 'channels' | ProductBulkCreateErrorKeySpecifier)[]; export type ProductBulkCreateErrorFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - channels?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, path?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, values?: FieldPolicy | FieldReadFunction, - warehouses?: FieldPolicy | FieldReadFunction + warehouses?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction }; -export type ProductBulkDeleteKeySpecifier = ('count' | 'errors' | 'productErrors' | ProductBulkDeleteKeySpecifier)[]; +export type ProductBulkDeleteKeySpecifier = ('count' | 'productErrors' | 'errors' | ProductBulkDeleteKeySpecifier)[]; export type ProductBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductBulkResultKeySpecifier = ('errors' | 'product' | ProductBulkResultKeySpecifier)[]; +export type ProductBulkResultKeySpecifier = ('product' | 'errors' | ProductBulkResultKeySpecifier)[]; export type ProductBulkResultFieldPolicy = { + product?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ProductChannelListingKeySpecifier = ('id' | 'publicationDate' | 'publishedAt' | 'isPublished' | 'channel' | 'visibleInListings' | 'availableForPurchase' | 'availableForPurchaseAt' | 'discountedPrice' | 'purchaseCost' | 'margin' | 'isAvailableForPurchase' | 'pricing' | ProductChannelListingKeySpecifier)[]; +export type ProductChannelListingFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + publicationDate?: FieldPolicy | FieldReadFunction, + publishedAt?: FieldPolicy | FieldReadFunction, + isPublished?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + visibleInListings?: FieldPolicy | FieldReadFunction, + availableForPurchase?: FieldPolicy | FieldReadFunction, + availableForPurchaseAt?: FieldPolicy | FieldReadFunction, + discountedPrice?: FieldPolicy | FieldReadFunction, + purchaseCost?: FieldPolicy | FieldReadFunction, + margin?: FieldPolicy | FieldReadFunction, + isAvailableForPurchase?: FieldPolicy | FieldReadFunction, + pricing?: FieldPolicy | FieldReadFunction +}; +export type ProductChannelListingErrorKeySpecifier = ('field' | 'message' | 'code' | 'attributes' | 'values' | 'channels' | 'variants' | ProductChannelListingErrorKeySpecifier)[]; +export type ProductChannelListingErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, + values?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction, + variants?: FieldPolicy | FieldReadFunction +}; +export type ProductChannelListingUpdateKeySpecifier = ('product' | 'productChannelListingErrors' | 'errors' | ProductChannelListingUpdateKeySpecifier)[]; +export type ProductChannelListingUpdateFieldPolicy = { + product?: FieldPolicy | FieldReadFunction, + productChannelListingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ProductCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | ProductCountableConnectionKeySpecifier)[]; +export type ProductCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type ProductCountableEdgeKeySpecifier = ('node' | 'cursor' | ProductCountableEdgeKeySpecifier)[]; +export type ProductCountableEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type ProductCreateKeySpecifier = ('productErrors' | 'errors' | 'product' | ProductCreateKeySpecifier)[]; +export type ProductCreateFieldPolicy = { + productErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction }; -export type ProductChannelListingKeySpecifier = ('availableForPurchase' | 'availableForPurchaseAt' | 'channel' | 'discountedPrice' | 'id' | 'isAvailableForPurchase' | 'isPublished' | 'margin' | 'pricing' | 'publicationDate' | 'publishedAt' | 'purchaseCost' | 'visibleInListings' | ProductChannelListingKeySpecifier)[]; -export type ProductChannelListingFieldPolicy = { - availableForPurchase?: FieldPolicy | FieldReadFunction, - availableForPurchaseAt?: FieldPolicy | FieldReadFunction, - channel?: FieldPolicy | FieldReadFunction, - discountedPrice?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - isAvailableForPurchase?: FieldPolicy | FieldReadFunction, - isPublished?: FieldPolicy | FieldReadFunction, - margin?: FieldPolicy | FieldReadFunction, - pricing?: FieldPolicy | FieldReadFunction, - publicationDate?: FieldPolicy | FieldReadFunction, - publishedAt?: FieldPolicy | FieldReadFunction, - purchaseCost?: FieldPolicy | FieldReadFunction, - visibleInListings?: FieldPolicy | FieldReadFunction -}; -export type ProductChannelListingErrorKeySpecifier = ('attributes' | 'channels' | 'code' | 'field' | 'message' | 'values' | 'variants' | ProductChannelListingErrorKeySpecifier)[]; -export type ProductChannelListingErrorFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - channels?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - values?: FieldPolicy | FieldReadFunction, - variants?: FieldPolicy | FieldReadFunction -}; -export type ProductChannelListingUpdateKeySpecifier = ('errors' | 'product' | 'productChannelListingErrors' | ProductChannelListingUpdateKeySpecifier)[]; -export type ProductChannelListingUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, - productChannelListingErrors?: FieldPolicy | FieldReadFunction -}; -export type ProductCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | ProductCountableConnectionKeySpecifier)[]; -export type ProductCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type ProductCountableEdgeKeySpecifier = ('cursor' | 'node' | ProductCountableEdgeKeySpecifier)[]; -export type ProductCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type ProductCreateKeySpecifier = ('errors' | 'product' | 'productErrors' | ProductCreateKeySpecifier)[]; -export type ProductCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction -}; -export type ProductCreatedKeySpecifier = ('category' | 'issuedAt' | 'issuingPrincipal' | 'product' | 'recipient' | 'version' | ProductCreatedKeySpecifier)[]; +export type ProductCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'product' | 'category' | ProductCreatedKeySpecifier)[]; export type ProductCreatedFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + product?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction }; -export type ProductDeleteKeySpecifier = ('errors' | 'product' | 'productErrors' | ProductDeleteKeySpecifier)[]; +export type ProductDeleteKeySpecifier = ('productErrors' | 'errors' | 'product' | ProductDeleteKeySpecifier)[]; export type ProductDeleteFieldPolicy = { + productErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + product?: FieldPolicy | FieldReadFunction }; -export type ProductDeletedKeySpecifier = ('category' | 'issuedAt' | 'issuingPrincipal' | 'product' | 'recipient' | 'version' | ProductDeletedKeySpecifier)[]; +export type ProductDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'product' | 'category' | ProductDeletedKeySpecifier)[]; export type ProductDeletedFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + product?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction }; -export type ProductErrorKeySpecifier = ('attributes' | 'code' | 'field' | 'message' | 'values' | ProductErrorKeySpecifier)[]; +export type ProductErrorKeySpecifier = ('field' | 'message' | 'code' | 'attributes' | 'values' | ProductErrorKeySpecifier)[]; export type ProductErrorFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, values?: FieldPolicy | FieldReadFunction }; -export type ProductImageKeySpecifier = ('alt' | 'id' | 'sortOrder' | 'url' | ProductImageKeySpecifier)[]; +export type ProductImageKeySpecifier = ('id' | 'alt' | 'sortOrder' | 'url' | ProductImageKeySpecifier)[]; export type ProductImageFieldPolicy = { - alt?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, + alt?: FieldPolicy | FieldReadFunction, sortOrder?: FieldPolicy | FieldReadFunction, url?: FieldPolicy | FieldReadFunction }; -export type ProductMediaKeySpecifier = ('alt' | 'id' | 'metadata' | 'metafield' | 'metafields' | 'oembedData' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'productId' | 'sortOrder' | 'type' | 'url' | ProductMediaKeySpecifier)[]; +export type ProductMediaKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'sortOrder' | 'alt' | 'type' | 'oembedData' | 'url' | 'productId' | ProductMediaKeySpecifier)[]; export type ProductMediaFieldPolicy = { - alt?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - oembedData?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - productId?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, sortOrder?: FieldPolicy | FieldReadFunction, + alt?: FieldPolicy | FieldReadFunction, type?: FieldPolicy | FieldReadFunction, - url?: FieldPolicy | FieldReadFunction + oembedData?: FieldPolicy | FieldReadFunction, + url?: FieldPolicy | FieldReadFunction, + productId?: FieldPolicy | FieldReadFunction }; -export type ProductMediaBulkDeleteKeySpecifier = ('count' | 'errors' | 'productErrors' | ProductMediaBulkDeleteKeySpecifier)[]; +export type ProductMediaBulkDeleteKeySpecifier = ('count' | 'productErrors' | 'errors' | ProductMediaBulkDeleteKeySpecifier)[]; export type ProductMediaBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductMediaCreateKeySpecifier = ('errors' | 'media' | 'product' | 'productErrors' | ProductMediaCreateKeySpecifier)[]; +export type ProductMediaCreateKeySpecifier = ('product' | 'media' | 'productErrors' | 'errors' | ProductMediaCreateKeySpecifier)[]; export type ProductMediaCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - media?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + media?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductMediaCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productMedia' | 'recipient' | 'version' | ProductMediaCreatedKeySpecifier)[]; +export type ProductMediaCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productMedia' | ProductMediaCreatedKeySpecifier)[]; export type ProductMediaCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - productMedia?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + productMedia?: FieldPolicy | FieldReadFunction }; -export type ProductMediaDeleteKeySpecifier = ('errors' | 'media' | 'product' | 'productErrors' | ProductMediaDeleteKeySpecifier)[]; +export type ProductMediaDeleteKeySpecifier = ('product' | 'media' | 'productErrors' | 'errors' | ProductMediaDeleteKeySpecifier)[]; export type ProductMediaDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - media?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + media?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductMediaDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productMedia' | 'recipient' | 'version' | ProductMediaDeletedKeySpecifier)[]; +export type ProductMediaDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productMedia' | ProductMediaDeletedKeySpecifier)[]; export type ProductMediaDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - productMedia?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + productMedia?: FieldPolicy | FieldReadFunction }; -export type ProductMediaReorderKeySpecifier = ('errors' | 'media' | 'product' | 'productErrors' | ProductMediaReorderKeySpecifier)[]; +export type ProductMediaReorderKeySpecifier = ('product' | 'media' | 'productErrors' | 'errors' | ProductMediaReorderKeySpecifier)[]; export type ProductMediaReorderFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - media?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + media?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductMediaUpdateKeySpecifier = ('errors' | 'media' | 'product' | 'productErrors' | ProductMediaUpdateKeySpecifier)[]; +export type ProductMediaUpdateKeySpecifier = ('product' | 'media' | 'productErrors' | 'errors' | ProductMediaUpdateKeySpecifier)[]; export type ProductMediaUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - media?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + media?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductMediaUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productMedia' | 'recipient' | 'version' | ProductMediaUpdatedKeySpecifier)[]; +export type ProductMediaUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productMedia' | ProductMediaUpdatedKeySpecifier)[]; export type ProductMediaUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - productMedia?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + productMedia?: FieldPolicy | FieldReadFunction }; -export type ProductMetadataUpdatedKeySpecifier = ('category' | 'issuedAt' | 'issuingPrincipal' | 'product' | 'recipient' | 'version' | ProductMetadataUpdatedKeySpecifier)[]; +export type ProductMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'product' | 'category' | ProductMetadataUpdatedKeySpecifier)[]; export type ProductMetadataUpdatedFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + product?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction }; -export type ProductPricingInfoKeySpecifier = ('discount' | 'discountLocalCurrency' | 'displayGrossPrices' | 'onSale' | 'priceRange' | 'priceRangeLocalCurrency' | 'priceRangeUndiscounted' | ProductPricingInfoKeySpecifier)[]; +export type ProductPricingInfoKeySpecifier = ('onSale' | 'discount' | 'discountLocalCurrency' | 'priceRange' | 'priceRangeUndiscounted' | 'priceRangeLocalCurrency' | 'displayGrossPrices' | ProductPricingInfoKeySpecifier)[]; export type ProductPricingInfoFieldPolicy = { + onSale?: FieldPolicy | FieldReadFunction, discount?: FieldPolicy | FieldReadFunction, discountLocalCurrency?: FieldPolicy | FieldReadFunction, - displayGrossPrices?: FieldPolicy | FieldReadFunction, - onSale?: FieldPolicy | FieldReadFunction, priceRange?: FieldPolicy | FieldReadFunction, + priceRangeUndiscounted?: FieldPolicy | FieldReadFunction, priceRangeLocalCurrency?: FieldPolicy | FieldReadFunction, - priceRangeUndiscounted?: FieldPolicy | FieldReadFunction + displayGrossPrices?: FieldPolicy | FieldReadFunction }; -export type ProductReorderAttributeValuesKeySpecifier = ('errors' | 'product' | 'productErrors' | ProductReorderAttributeValuesKeySpecifier)[]; +export type ProductReorderAttributeValuesKeySpecifier = ('product' | 'productErrors' | 'errors' | ProductReorderAttributeValuesKeySpecifier)[]; export type ProductReorderAttributeValuesFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductTranslatableContentKeySpecifier = ('attributeValues' | 'description' | 'descriptionJson' | 'id' | 'name' | 'product' | 'seoDescription' | 'seoTitle' | 'translation' | ProductTranslatableContentKeySpecifier)[]; +export type ProductTranslatableContentKeySpecifier = ('id' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'descriptionJson' | 'translation' | 'product' | 'attributeValues' | ProductTranslatableContentKeySpecifier)[]; export type ProductTranslatableContentFieldPolicy = { - attributeValues?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, - descriptionJson?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, - seoDescription?: FieldPolicy | FieldReadFunction, seoTitle?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction -}; -export type ProductTranslateKeySpecifier = ('errors' | 'product' | 'translationErrors' | ProductTranslateKeySpecifier)[]; -export type ProductTranslateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction -}; -export type ProductTranslationKeySpecifier = ('description' | 'descriptionJson' | 'id' | 'language' | 'name' | 'seoDescription' | 'seoTitle' | ProductTranslationKeySpecifier)[]; -export type ProductTranslationFieldPolicy = { + seoDescription?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, description?: FieldPolicy | FieldReadFunction, descriptionJson?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + product?: FieldPolicy | FieldReadFunction, + attributeValues?: FieldPolicy | FieldReadFunction +}; +export type ProductTranslateKeySpecifier = ('translationErrors' | 'errors' | 'product' | ProductTranslateKeySpecifier)[]; +export type ProductTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + product?: FieldPolicy | FieldReadFunction +}; +export type ProductTranslationKeySpecifier = ('id' | 'language' | 'seoTitle' | 'seoDescription' | 'name' | 'description' | 'descriptionJson' | ProductTranslationKeySpecifier)[]; +export type ProductTranslationFieldPolicy = { id?: FieldPolicy | FieldReadFunction, language?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, + seoTitle?: FieldPolicy | FieldReadFunction, seoDescription?: FieldPolicy | FieldReadFunction, - seoTitle?: FieldPolicy | FieldReadFunction + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, + descriptionJson?: FieldPolicy | FieldReadFunction }; -export type ProductTypeKeySpecifier = ('assignedVariantAttributes' | 'availableAttributes' | 'hasVariants' | 'id' | 'isDigital' | 'isShippingRequired' | 'kind' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'productAttributes' | 'products' | 'slug' | 'taxClass' | 'taxType' | 'variantAttributes' | 'weight' | ProductTypeKeySpecifier)[]; +export type ProductTypeKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'slug' | 'hasVariants' | 'isShippingRequired' | 'isDigital' | 'weight' | 'kind' | 'products' | 'taxType' | 'taxClass' | 'variantAttributes' | 'assignedVariantAttributes' | 'productAttributes' | 'availableAttributes' | ProductTypeKeySpecifier)[]; export type ProductTypeFieldPolicy = { - assignedVariantAttributes?: FieldPolicy | FieldReadFunction, - availableAttributes?: FieldPolicy | FieldReadFunction, - hasVariants?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isDigital?: FieldPolicy | FieldReadFunction, - isShippingRequired?: FieldPolicy | FieldReadFunction, - kind?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, - productAttributes?: FieldPolicy | FieldReadFunction, - products?: FieldPolicy | FieldReadFunction, slug?: FieldPolicy | FieldReadFunction, - taxClass?: FieldPolicy | FieldReadFunction, + hasVariants?: FieldPolicy | FieldReadFunction, + isShippingRequired?: FieldPolicy | FieldReadFunction, + isDigital?: FieldPolicy | FieldReadFunction, + weight?: FieldPolicy | FieldReadFunction, + kind?: FieldPolicy | FieldReadFunction, + products?: FieldPolicy | FieldReadFunction, taxType?: FieldPolicy | FieldReadFunction, + taxClass?: FieldPolicy | FieldReadFunction, variantAttributes?: FieldPolicy | FieldReadFunction, - weight?: FieldPolicy | FieldReadFunction + assignedVariantAttributes?: FieldPolicy | FieldReadFunction, + productAttributes?: FieldPolicy | FieldReadFunction, + availableAttributes?: FieldPolicy | FieldReadFunction }; -export type ProductTypeBulkDeleteKeySpecifier = ('count' | 'errors' | 'productErrors' | ProductTypeBulkDeleteKeySpecifier)[]; +export type ProductTypeBulkDeleteKeySpecifier = ('count' | 'productErrors' | 'errors' | ProductTypeBulkDeleteKeySpecifier)[]; export type ProductTypeBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductTypeCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | ProductTypeCountableConnectionKeySpecifier)[]; +export type ProductTypeCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | ProductTypeCountableConnectionKeySpecifier)[]; export type ProductTypeCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type ProductTypeCountableEdgeKeySpecifier = ('cursor' | 'node' | ProductTypeCountableEdgeKeySpecifier)[]; +export type ProductTypeCountableEdgeKeySpecifier = ('node' | 'cursor' | ProductTypeCountableEdgeKeySpecifier)[]; export type ProductTypeCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type ProductTypeCreateKeySpecifier = ('errors' | 'productErrors' | 'productType' | ProductTypeCreateKeySpecifier)[]; +export type ProductTypeCreateKeySpecifier = ('productErrors' | 'errors' | 'productType' | ProductTypeCreateKeySpecifier)[]; export type ProductTypeCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, productType?: FieldPolicy | FieldReadFunction }; -export type ProductTypeDeleteKeySpecifier = ('errors' | 'productErrors' | 'productType' | ProductTypeDeleteKeySpecifier)[]; +export type ProductTypeDeleteKeySpecifier = ('productErrors' | 'errors' | 'productType' | ProductTypeDeleteKeySpecifier)[]; export type ProductTypeDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, productType?: FieldPolicy | FieldReadFunction }; -export type ProductTypeReorderAttributesKeySpecifier = ('errors' | 'productErrors' | 'productType' | ProductTypeReorderAttributesKeySpecifier)[]; +export type ProductTypeReorderAttributesKeySpecifier = ('productType' | 'productErrors' | 'errors' | ProductTypeReorderAttributesKeySpecifier)[]; export type ProductTypeReorderAttributesFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + productType?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - productType?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ProductTypeUpdateKeySpecifier = ('errors' | 'productErrors' | 'productType' | ProductTypeUpdateKeySpecifier)[]; +export type ProductTypeUpdateKeySpecifier = ('productErrors' | 'errors' | 'productType' | ProductTypeUpdateKeySpecifier)[]; export type ProductTypeUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, productType?: FieldPolicy | FieldReadFunction }; -export type ProductUpdateKeySpecifier = ('errors' | 'product' | 'productErrors' | ProductUpdateKeySpecifier)[]; +export type ProductUpdateKeySpecifier = ('productErrors' | 'errors' | 'product' | ProductUpdateKeySpecifier)[]; export type ProductUpdateFieldPolicy = { + productErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + product?: FieldPolicy | FieldReadFunction }; -export type ProductUpdatedKeySpecifier = ('category' | 'issuedAt' | 'issuingPrincipal' | 'product' | 'recipient' | 'version' | ProductUpdatedKeySpecifier)[]; +export type ProductUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'product' | 'category' | ProductUpdatedKeySpecifier)[]; export type ProductUpdatedFieldPolicy = { - category?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - product?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + product?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction }; -export type ProductVariantKeySpecifier = ('attributes' | 'channel' | 'channelListings' | 'created' | 'digitalContent' | 'externalReference' | 'id' | 'images' | 'margin' | 'media' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'preorder' | 'pricing' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'product' | 'quantityAvailable' | 'quantityLimitPerCustomer' | 'quantityOrdered' | 'revenue' | 'sku' | 'stocks' | 'trackInventory' | 'translation' | 'updatedAt' | 'weight' | ProductVariantKeySpecifier)[]; +export type ProductVariantKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'sku' | 'product' | 'trackInventory' | 'quantityLimitPerCustomer' | 'weight' | 'channel' | 'channelListings' | 'pricing' | 'attributes' | 'margin' | 'quantityOrdered' | 'revenue' | 'images' | 'media' | 'translation' | 'digitalContent' | 'stocks' | 'quantityAvailable' | 'preorder' | 'created' | 'updatedAt' | 'externalReference' | ProductVariantKeySpecifier)[]; export type ProductVariantFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - channel?: FieldPolicy | FieldReadFunction, - channelListings?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, - digitalContent?: FieldPolicy | FieldReadFunction, - externalReference?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - images?: FieldPolicy | FieldReadFunction, - margin?: FieldPolicy | FieldReadFunction, - media?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - preorder?: FieldPolicy | FieldReadFunction, - pricing?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, + sku?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, - quantityAvailable?: FieldPolicy | FieldReadFunction, + trackInventory?: FieldPolicy | FieldReadFunction, quantityLimitPerCustomer?: FieldPolicy | FieldReadFunction, + weight?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + channelListings?: FieldPolicy | FieldReadFunction, + pricing?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, + margin?: FieldPolicy | FieldReadFunction, quantityOrdered?: FieldPolicy | FieldReadFunction, revenue?: FieldPolicy | FieldReadFunction, - sku?: FieldPolicy | FieldReadFunction, - stocks?: FieldPolicy | FieldReadFunction, - trackInventory?: FieldPolicy | FieldReadFunction, + images?: FieldPolicy | FieldReadFunction, + media?: FieldPolicy | FieldReadFunction, translation?: FieldPolicy | FieldReadFunction, + digitalContent?: FieldPolicy | FieldReadFunction, + stocks?: FieldPolicy | FieldReadFunction, + quantityAvailable?: FieldPolicy | FieldReadFunction, + preorder?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, updatedAt?: FieldPolicy | FieldReadFunction, - weight?: FieldPolicy | FieldReadFunction + externalReference?: FieldPolicy | FieldReadFunction }; -export type ProductVariantBackInStockKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productVariant' | 'recipient' | 'version' | 'warehouse' | ProductVariantBackInStockKeySpecifier)[]; +export type ProductVariantBackInStockKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | 'warehouse' | ProductVariantBackInStockKeySpecifier)[]; export type ProductVariantBackInStockFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + productVariant?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type ProductVariantBulkCreateKeySpecifier = ('bulkProductErrors' | 'count' | 'errors' | 'productVariants' | 'results' | ProductVariantBulkCreateKeySpecifier)[]; +export type ProductVariantBulkCreateKeySpecifier = ('count' | 'productVariants' | 'results' | 'bulkProductErrors' | 'errors' | ProductVariantBulkCreateKeySpecifier)[]; export type ProductVariantBulkCreateFieldPolicy = { - bulkProductErrors?: FieldPolicy | FieldReadFunction, count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, productVariants?: FieldPolicy | FieldReadFunction, - results?: FieldPolicy | FieldReadFunction + results?: FieldPolicy | FieldReadFunction, + bulkProductErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantBulkDeleteKeySpecifier = ('count' | 'errors' | 'productErrors' | ProductVariantBulkDeleteKeySpecifier)[]; +export type ProductVariantBulkDeleteKeySpecifier = ('count' | 'productErrors' | 'errors' | ProductVariantBulkDeleteKeySpecifier)[]; export type ProductVariantBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantBulkErrorKeySpecifier = ('attributes' | 'channelListings' | 'channels' | 'code' | 'field' | 'message' | 'stocks' | 'values' | 'warehouses' | ProductVariantBulkErrorKeySpecifier)[]; +export type ProductVariantBulkErrorKeySpecifier = ('field' | 'message' | 'code' | 'attributes' | 'values' | 'warehouses' | 'stocks' | 'channels' | 'channelListings' | ProductVariantBulkErrorKeySpecifier)[]; export type ProductVariantBulkErrorFieldPolicy = { - attributes?: FieldPolicy | FieldReadFunction, - channelListings?: FieldPolicy | FieldReadFunction, - channels?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, - stocks?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, values?: FieldPolicy | FieldReadFunction, - warehouses?: FieldPolicy | FieldReadFunction + warehouses?: FieldPolicy | FieldReadFunction, + stocks?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction, + channelListings?: FieldPolicy | FieldReadFunction }; -export type ProductVariantBulkResultKeySpecifier = ('errors' | 'productVariant' | ProductVariantBulkResultKeySpecifier)[]; +export type ProductVariantBulkResultKeySpecifier = ('productVariant' | 'errors' | ProductVariantBulkResultKeySpecifier)[]; export type ProductVariantBulkResultFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction + productVariant?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantBulkUpdateKeySpecifier = ('count' | 'errors' | 'results' | ProductVariantBulkUpdateKeySpecifier)[]; +export type ProductVariantBulkUpdateKeySpecifier = ('count' | 'results' | 'errors' | ProductVariantBulkUpdateKeySpecifier)[]; export type ProductVariantBulkUpdateFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - results?: FieldPolicy | FieldReadFunction + results?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantChannelListingKeySpecifier = ('channel' | 'costPrice' | 'id' | 'margin' | 'preorderThreshold' | 'price' | ProductVariantChannelListingKeySpecifier)[]; +export type ProductVariantChannelListingKeySpecifier = ('id' | 'channel' | 'price' | 'costPrice' | 'margin' | 'preorderThreshold' | ProductVariantChannelListingKeySpecifier)[]; export type ProductVariantChannelListingFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, - costPrice?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + price?: FieldPolicy | FieldReadFunction, + costPrice?: FieldPolicy | FieldReadFunction, margin?: FieldPolicy | FieldReadFunction, - preorderThreshold?: FieldPolicy | FieldReadFunction, - price?: FieldPolicy | FieldReadFunction + preorderThreshold?: FieldPolicy | FieldReadFunction }; -export type ProductVariantChannelListingUpdateKeySpecifier = ('errors' | 'productChannelListingErrors' | 'variant' | ProductVariantChannelListingUpdateKeySpecifier)[]; +export type ProductVariantChannelListingUpdateKeySpecifier = ('variant' | 'productChannelListingErrors' | 'errors' | ProductVariantChannelListingUpdateKeySpecifier)[]; export type ProductVariantChannelListingUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + variant?: FieldPolicy | FieldReadFunction, productChannelListingErrors?: FieldPolicy | FieldReadFunction, - variant?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | ProductVariantCountableConnectionKeySpecifier)[]; +export type ProductVariantCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | ProductVariantCountableConnectionKeySpecifier)[]; export type ProductVariantCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type ProductVariantCountableEdgeKeySpecifier = ('cursor' | 'node' | ProductVariantCountableEdgeKeySpecifier)[]; +export type ProductVariantCountableEdgeKeySpecifier = ('node' | 'cursor' | ProductVariantCountableEdgeKeySpecifier)[]; export type ProductVariantCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type ProductVariantCreateKeySpecifier = ('errors' | 'productErrors' | 'productVariant' | ProductVariantCreateKeySpecifier)[]; +export type ProductVariantCreateKeySpecifier = ('productErrors' | 'errors' | 'productVariant' | ProductVariantCreateKeySpecifier)[]; export type ProductVariantCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productVariant' | 'recipient' | 'version' | ProductVariantCreatedKeySpecifier)[]; +export type ProductVariantCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | ProductVariantCreatedKeySpecifier)[]; export type ProductVariantCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type ProductVariantDeleteKeySpecifier = ('errors' | 'productErrors' | 'productVariant' | ProductVariantDeleteKeySpecifier)[]; -export type ProductVariantDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productVariant' | 'recipient' | 'version' | ProductVariantDeletedKeySpecifier)[]; +export type ProductVariantDeleteKeySpecifier = ('productErrors' | 'errors' | 'productVariant' | ProductVariantDeleteKeySpecifier)[]; +export type ProductVariantDeleteFieldPolicy = { + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + productVariant?: FieldPolicy | FieldReadFunction +}; +export type ProductVariantDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | ProductVariantDeletedKeySpecifier)[]; export type ProductVariantDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantMetadataUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productVariant' | 'recipient' | 'version' | ProductVariantMetadataUpdatedKeySpecifier)[]; +export type ProductVariantMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | ProductVariantMetadataUpdatedKeySpecifier)[]; export type ProductVariantMetadataUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantOutOfStockKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productVariant' | 'recipient' | 'version' | 'warehouse' | ProductVariantOutOfStockKeySpecifier)[]; +export type ProductVariantOutOfStockKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | 'warehouse' | ProductVariantOutOfStockKeySpecifier)[]; export type ProductVariantOutOfStockFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + productVariant?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type ProductVariantPreorderDeactivateKeySpecifier = ('errors' | 'productVariant' | ProductVariantPreorderDeactivateKeySpecifier)[]; +export type ProductVariantPreorderDeactivateKeySpecifier = ('productVariant' | 'errors' | ProductVariantPreorderDeactivateKeySpecifier)[]; export type ProductVariantPreorderDeactivateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction + productVariant?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantReorderKeySpecifier = ('errors' | 'product' | 'productErrors' | ProductVariantReorderKeySpecifier)[]; +export type ProductVariantReorderKeySpecifier = ('product' | 'productErrors' | 'errors' | ProductVariantReorderKeySpecifier)[]; export type ProductVariantReorderFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction -}; -export type ProductVariantReorderAttributeValuesKeySpecifier = ('errors' | 'productErrors' | 'productVariant' | ProductVariantReorderAttributeValuesKeySpecifier)[]; -export type ProductVariantReorderAttributeValuesFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantSetDefaultKeySpecifier = ('errors' | 'product' | 'productErrors' | ProductVariantSetDefaultKeySpecifier)[]; +export type ProductVariantReorderAttributeValuesKeySpecifier = ('productVariant' | 'productErrors' | 'errors' | ProductVariantReorderAttributeValuesKeySpecifier)[]; +export type ProductVariantReorderAttributeValuesFieldPolicy = { + productVariant?: FieldPolicy | FieldReadFunction, + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ProductVariantSetDefaultKeySpecifier = ('product' | 'productErrors' | 'errors' | ProductVariantSetDefaultKeySpecifier)[]; export type ProductVariantSetDefaultFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, - productErrors?: FieldPolicy | FieldReadFunction + productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantStockUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productVariant' | 'recipient' | 'version' | 'warehouse' | ProductVariantStockUpdatedKeySpecifier)[]; +export type ProductVariantStockUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | 'warehouse' | ProductVariantStockUpdatedKeySpecifier)[]; export type ProductVariantStockUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + productVariant?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type ProductVariantStocksCreateKeySpecifier = ('bulkStockErrors' | 'errors' | 'productVariant' | ProductVariantStocksCreateKeySpecifier)[]; +export type ProductVariantStocksCreateKeySpecifier = ('productVariant' | 'bulkStockErrors' | 'errors' | ProductVariantStocksCreateKeySpecifier)[]; export type ProductVariantStocksCreateFieldPolicy = { - bulkStockErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction -}; -export type ProductVariantStocksDeleteKeySpecifier = ('errors' | 'productVariant' | 'stockErrors' | ProductVariantStocksDeleteKeySpecifier)[]; -export type ProductVariantStocksDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction, - stockErrors?: FieldPolicy | FieldReadFunction -}; -export type ProductVariantStocksUpdateKeySpecifier = ('bulkStockErrors' | 'errors' | 'productVariant' | ProductVariantStocksUpdateKeySpecifier)[]; -export type ProductVariantStocksUpdateFieldPolicy = { bulkStockErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ProductVariantTranslatableContentKeySpecifier = ('attributeValues' | 'id' | 'name' | 'productVariant' | 'translation' | ProductVariantTranslatableContentKeySpecifier)[]; +export type ProductVariantStocksDeleteKeySpecifier = ('productVariant' | 'stockErrors' | 'errors' | ProductVariantStocksDeleteKeySpecifier)[]; +export type ProductVariantStocksDeleteFieldPolicy = { + productVariant?: FieldPolicy | FieldReadFunction, + stockErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ProductVariantStocksUpdateKeySpecifier = ('productVariant' | 'bulkStockErrors' | 'errors' | ProductVariantStocksUpdateKeySpecifier)[]; +export type ProductVariantStocksUpdateFieldPolicy = { + productVariant?: FieldPolicy | FieldReadFunction, + bulkStockErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ProductVariantTranslatableContentKeySpecifier = ('id' | 'name' | 'translation' | 'productVariant' | 'attributeValues' | ProductVariantTranslatableContentKeySpecifier)[]; export type ProductVariantTranslatableContentFieldPolicy = { - attributeValues?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction + attributeValues?: FieldPolicy | FieldReadFunction }; -export type ProductVariantTranslateKeySpecifier = ('errors' | 'productVariant' | 'translationErrors' | ProductVariantTranslateKeySpecifier)[]; +export type ProductVariantTranslateKeySpecifier = ('translationErrors' | 'errors' | 'productVariant' | ProductVariantTranslateKeySpecifier)[]; export type ProductVariantTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction + productVariant?: FieldPolicy | FieldReadFunction }; export type ProductVariantTranslationKeySpecifier = ('id' | 'language' | 'name' | ProductVariantTranslationKeySpecifier)[]; export type ProductVariantTranslationFieldPolicy = { @@ -4269,160 +4269,160 @@ export type ProductVariantTranslationFieldPolicy = { language?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction }; -export type ProductVariantUpdateKeySpecifier = ('errors' | 'productErrors' | 'productVariant' | ProductVariantUpdateKeySpecifier)[]; +export type ProductVariantUpdateKeySpecifier = ('productErrors' | 'errors' | 'productVariant' | ProductVariantUpdateKeySpecifier)[]; export type ProductVariantUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction }; -export type ProductVariantUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'productVariant' | 'recipient' | 'version' | ProductVariantUpdatedKeySpecifier)[]; +export type ProductVariantUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'productVariant' | ProductVariantUpdatedKeySpecifier)[]; export type ProductVariantUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + productVariant?: FieldPolicy | FieldReadFunction }; -export type QueryKeySpecifier = ('_entities' | '_service' | 'address' | 'addressValidationRules' | 'app' | 'appExtension' | 'appExtensions' | 'apps' | 'appsInstallations' | 'attribute' | 'attributes' | 'categories' | 'category' | 'channel' | 'channels' | 'checkout' | 'checkoutLines' | 'checkouts' | 'collection' | 'collections' | 'customers' | 'digitalContent' | 'digitalContents' | 'draftOrders' | 'exportFile' | 'exportFiles' | 'giftCard' | 'giftCardCurrencies' | 'giftCardSettings' | 'giftCardTags' | 'giftCards' | 'homepageEvents' | 'me' | 'menu' | 'menuItem' | 'menuItems' | 'menus' | 'order' | 'orderByToken' | 'orderSettings' | 'orders' | 'ordersTotal' | 'page' | 'pageType' | 'pageTypes' | 'pages' | 'payment' | 'payments' | 'permissionGroup' | 'permissionGroups' | 'plugin' | 'plugins' | 'product' | 'productType' | 'productTypes' | 'productVariant' | 'productVariants' | 'products' | 'reportProductSales' | 'sale' | 'sales' | 'shippingZone' | 'shippingZones' | 'shop' | 'staffUsers' | 'stock' | 'stocks' | 'taxClass' | 'taxClasses' | 'taxConfiguration' | 'taxConfigurations' | 'taxCountryConfiguration' | 'taxCountryConfigurations' | 'taxTypes' | 'transaction' | 'translation' | 'translations' | 'user' | 'voucher' | 'vouchers' | 'warehouse' | 'warehouses' | 'webhook' | 'webhookEvents' | 'webhookSamplePayload' | QueryKeySpecifier)[]; +export type QueryKeySpecifier = ('webhook' | 'webhookEvents' | 'webhookSamplePayload' | 'warehouse' | 'warehouses' | 'translations' | 'translation' | 'taxConfiguration' | 'taxConfigurations' | 'taxClass' | 'taxClasses' | 'taxCountryConfiguration' | 'taxCountryConfigurations' | 'stock' | 'stocks' | 'shop' | 'orderSettings' | 'giftCardSettings' | 'shippingZone' | 'shippingZones' | 'digitalContent' | 'digitalContents' | 'categories' | 'category' | 'collection' | 'collections' | 'product' | 'products' | 'productType' | 'productTypes' | 'productVariant' | 'productVariants' | 'reportProductSales' | 'payment' | 'payments' | 'transaction' | 'page' | 'pages' | 'pageType' | 'pageTypes' | 'homepageEvents' | 'order' | 'orders' | 'draftOrders' | 'ordersTotal' | 'orderByToken' | 'menu' | 'menus' | 'menuItem' | 'menuItems' | 'giftCard' | 'giftCards' | 'giftCardCurrencies' | 'giftCardTags' | 'plugin' | 'plugins' | 'sale' | 'sales' | 'voucher' | 'vouchers' | 'exportFile' | 'exportFiles' | 'taxTypes' | 'checkout' | 'checkouts' | 'checkoutLines' | 'channel' | 'channels' | 'attributes' | 'attribute' | 'appsInstallations' | 'apps' | 'app' | 'appExtensions' | 'appExtension' | 'addressValidationRules' | 'address' | 'customers' | 'permissionGroups' | 'permissionGroup' | 'me' | 'staffUsers' | 'user' | '_entities' | '_service' | QueryKeySpecifier)[]; export type QueryFieldPolicy = { - _entities?: FieldPolicy | FieldReadFunction, - _service?: FieldPolicy | FieldReadFunction, - address?: FieldPolicy | FieldReadFunction, - addressValidationRules?: FieldPolicy | FieldReadFunction, - app?: FieldPolicy | FieldReadFunction, - appExtension?: FieldPolicy | FieldReadFunction, - appExtensions?: FieldPolicy | FieldReadFunction, - apps?: FieldPolicy | FieldReadFunction, - appsInstallations?: FieldPolicy | FieldReadFunction, - attribute?: FieldPolicy | FieldReadFunction, - attributes?: FieldPolicy | FieldReadFunction, - categories?: FieldPolicy | FieldReadFunction, - category?: FieldPolicy | FieldReadFunction, - channel?: FieldPolicy | FieldReadFunction, - channels?: FieldPolicy | FieldReadFunction, - checkout?: FieldPolicy | FieldReadFunction, - checkoutLines?: FieldPolicy | FieldReadFunction, - checkouts?: FieldPolicy | FieldReadFunction, - collection?: FieldPolicy | FieldReadFunction, - collections?: FieldPolicy | FieldReadFunction, - customers?: FieldPolicy | FieldReadFunction, + webhook?: FieldPolicy | FieldReadFunction, + webhookEvents?: FieldPolicy | FieldReadFunction, + webhookSamplePayload?: FieldPolicy | FieldReadFunction, + warehouse?: FieldPolicy | FieldReadFunction, + warehouses?: FieldPolicy | FieldReadFunction, + translations?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + taxConfiguration?: FieldPolicy | FieldReadFunction, + taxConfigurations?: FieldPolicy | FieldReadFunction, + taxClass?: FieldPolicy | FieldReadFunction, + taxClasses?: FieldPolicy | FieldReadFunction, + taxCountryConfiguration?: FieldPolicy | FieldReadFunction, + taxCountryConfigurations?: FieldPolicy | FieldReadFunction, + stock?: FieldPolicy | FieldReadFunction, + stocks?: FieldPolicy | FieldReadFunction, + shop?: FieldPolicy | FieldReadFunction, + orderSettings?: FieldPolicy | FieldReadFunction, + giftCardSettings?: FieldPolicy | FieldReadFunction, + shippingZone?: FieldPolicy | FieldReadFunction, + shippingZones?: FieldPolicy | FieldReadFunction, digitalContent?: FieldPolicy | FieldReadFunction, digitalContents?: FieldPolicy | FieldReadFunction, - draftOrders?: FieldPolicy | FieldReadFunction, - exportFile?: FieldPolicy | FieldReadFunction, - exportFiles?: FieldPolicy | FieldReadFunction, - giftCard?: FieldPolicy | FieldReadFunction, - giftCardCurrencies?: FieldPolicy | FieldReadFunction, - giftCardSettings?: FieldPolicy | FieldReadFunction, - giftCardTags?: FieldPolicy | FieldReadFunction, - giftCards?: FieldPolicy | FieldReadFunction, - homepageEvents?: FieldPolicy | FieldReadFunction, - me?: FieldPolicy | FieldReadFunction, - menu?: FieldPolicy | FieldReadFunction, - menuItem?: FieldPolicy | FieldReadFunction, - menuItems?: FieldPolicy | FieldReadFunction, - menus?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - orderByToken?: FieldPolicy | FieldReadFunction, - orderSettings?: FieldPolicy | FieldReadFunction, - orders?: FieldPolicy | FieldReadFunction, - ordersTotal?: FieldPolicy | FieldReadFunction, - page?: FieldPolicy | FieldReadFunction, - pageType?: FieldPolicy | FieldReadFunction, - pageTypes?: FieldPolicy | FieldReadFunction, - pages?: FieldPolicy | FieldReadFunction, - payment?: FieldPolicy | FieldReadFunction, - payments?: FieldPolicy | FieldReadFunction, - permissionGroup?: FieldPolicy | FieldReadFunction, - permissionGroups?: FieldPolicy | FieldReadFunction, - plugin?: FieldPolicy | FieldReadFunction, - plugins?: FieldPolicy | FieldReadFunction, + categories?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction, + collection?: FieldPolicy | FieldReadFunction, + collections?: FieldPolicy | FieldReadFunction, product?: FieldPolicy | FieldReadFunction, + products?: FieldPolicy | FieldReadFunction, productType?: FieldPolicy | FieldReadFunction, productTypes?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction, productVariants?: FieldPolicy | FieldReadFunction, - products?: FieldPolicy | FieldReadFunction, reportProductSales?: FieldPolicy | FieldReadFunction, + payment?: FieldPolicy | FieldReadFunction, + payments?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + page?: FieldPolicy | FieldReadFunction, + pages?: FieldPolicy | FieldReadFunction, + pageType?: FieldPolicy | FieldReadFunction, + pageTypes?: FieldPolicy | FieldReadFunction, + homepageEvents?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + orders?: FieldPolicy | FieldReadFunction, + draftOrders?: FieldPolicy | FieldReadFunction, + ordersTotal?: FieldPolicy | FieldReadFunction, + orderByToken?: FieldPolicy | FieldReadFunction, + menu?: FieldPolicy | FieldReadFunction, + menus?: FieldPolicy | FieldReadFunction, + menuItem?: FieldPolicy | FieldReadFunction, + menuItems?: FieldPolicy | FieldReadFunction, + giftCard?: FieldPolicy | FieldReadFunction, + giftCards?: FieldPolicy | FieldReadFunction, + giftCardCurrencies?: FieldPolicy | FieldReadFunction, + giftCardTags?: FieldPolicy | FieldReadFunction, + plugin?: FieldPolicy | FieldReadFunction, + plugins?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction, sales?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction, - shippingZones?: FieldPolicy | FieldReadFunction, - shop?: FieldPolicy | FieldReadFunction, - staffUsers?: FieldPolicy | FieldReadFunction, - stock?: FieldPolicy | FieldReadFunction, - stocks?: FieldPolicy | FieldReadFunction, - taxClass?: FieldPolicy | FieldReadFunction, - taxClasses?: FieldPolicy | FieldReadFunction, - taxConfiguration?: FieldPolicy | FieldReadFunction, - taxConfigurations?: FieldPolicy | FieldReadFunction, - taxCountryConfiguration?: FieldPolicy | FieldReadFunction, - taxCountryConfigurations?: FieldPolicy | FieldReadFunction, - taxTypes?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, - translations?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction, vouchers?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction, - warehouses?: FieldPolicy | FieldReadFunction, - webhook?: FieldPolicy | FieldReadFunction, - webhookEvents?: FieldPolicy | FieldReadFunction, - webhookSamplePayload?: FieldPolicy | FieldReadFunction + exportFile?: FieldPolicy | FieldReadFunction, + exportFiles?: FieldPolicy | FieldReadFunction, + taxTypes?: FieldPolicy | FieldReadFunction, + checkout?: FieldPolicy | FieldReadFunction, + checkouts?: FieldPolicy | FieldReadFunction, + checkoutLines?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction, + attributes?: FieldPolicy | FieldReadFunction, + attribute?: FieldPolicy | FieldReadFunction, + appsInstallations?: FieldPolicy | FieldReadFunction, + apps?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction, + appExtensions?: FieldPolicy | FieldReadFunction, + appExtension?: FieldPolicy | FieldReadFunction, + addressValidationRules?: FieldPolicy | FieldReadFunction, + address?: FieldPolicy | FieldReadFunction, + customers?: FieldPolicy | FieldReadFunction, + permissionGroups?: FieldPolicy | FieldReadFunction, + permissionGroup?: FieldPolicy | FieldReadFunction, + me?: FieldPolicy | FieldReadFunction, + staffUsers?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + _entities?: FieldPolicy | FieldReadFunction, + _service?: FieldPolicy | FieldReadFunction }; export type ReducedRateKeySpecifier = ('rate' | 'rateType' | ReducedRateKeySpecifier)[]; export type ReducedRateFieldPolicy = { rate?: FieldPolicy | FieldReadFunction, rateType?: FieldPolicy | FieldReadFunction }; -export type RefreshTokenKeySpecifier = ('accountErrors' | 'errors' | 'token' | 'user' | RefreshTokenKeySpecifier)[]; +export type RefreshTokenKeySpecifier = ('token' | 'user' | 'accountErrors' | 'errors' | RefreshTokenKeySpecifier)[]; export type RefreshTokenFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, token?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type RequestEmailChangeKeySpecifier = ('accountErrors' | 'errors' | 'user' | RequestEmailChangeKeySpecifier)[]; -export type RequestEmailChangeFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction +}; +export type RequestEmailChangeKeySpecifier = ('user' | 'accountErrors' | 'errors' | RequestEmailChangeKeySpecifier)[]; +export type RequestEmailChangeFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; export type RequestPasswordResetKeySpecifier = ('accountErrors' | 'errors' | RequestPasswordResetKeySpecifier)[]; export type RequestPasswordResetFieldPolicy = { accountErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type SaleKeySpecifier = ('categories' | 'channelListings' | 'collections' | 'created' | 'currency' | 'discountValue' | 'endDate' | 'id' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'products' | 'startDate' | 'translation' | 'type' | 'updatedAt' | 'variants' | SaleKeySpecifier)[]; +export type SaleKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'type' | 'startDate' | 'endDate' | 'created' | 'updatedAt' | 'categories' | 'collections' | 'products' | 'variants' | 'translation' | 'channelListings' | 'discountValue' | 'currency' | SaleKeySpecifier)[]; export type SaleFieldPolicy = { - categories?: FieldPolicy | FieldReadFunction, - channelListings?: FieldPolicy | FieldReadFunction, - collections?: FieldPolicy | FieldReadFunction, - created?: FieldPolicy | FieldReadFunction, - currency?: FieldPolicy | FieldReadFunction, - discountValue?: FieldPolicy | FieldReadFunction, - endDate?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, - products?: FieldPolicy | FieldReadFunction, - startDate?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, type?: FieldPolicy | FieldReadFunction, + startDate?: FieldPolicy | FieldReadFunction, + endDate?: FieldPolicy | FieldReadFunction, + created?: FieldPolicy | FieldReadFunction, updatedAt?: FieldPolicy | FieldReadFunction, - variants?: FieldPolicy | FieldReadFunction + categories?: FieldPolicy | FieldReadFunction, + collections?: FieldPolicy | FieldReadFunction, + products?: FieldPolicy | FieldReadFunction, + variants?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + channelListings?: FieldPolicy | FieldReadFunction, + discountValue?: FieldPolicy | FieldReadFunction, + currency?: FieldPolicy | FieldReadFunction }; -export type SaleAddCataloguesKeySpecifier = ('discountErrors' | 'errors' | 'sale' | SaleAddCataloguesKeySpecifier)[]; +export type SaleAddCataloguesKeySpecifier = ('sale' | 'discountErrors' | 'errors' | SaleAddCataloguesKeySpecifier)[]; export type SaleAddCataloguesFieldPolicy = { + sale?: FieldPolicy | FieldReadFunction, discountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - sale?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; export type SaleBulkDeleteKeySpecifier = ('count' | 'discountErrors' | 'errors' | SaleBulkDeleteKeySpecifier)[]; export type SaleBulkDeleteFieldPolicy = { @@ -4430,29 +4430,29 @@ export type SaleBulkDeleteFieldPolicy = { discountErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type SaleChannelListingKeySpecifier = ('channel' | 'currency' | 'discountValue' | 'id' | SaleChannelListingKeySpecifier)[]; +export type SaleChannelListingKeySpecifier = ('id' | 'channel' | 'discountValue' | 'currency' | SaleChannelListingKeySpecifier)[]; export type SaleChannelListingFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, channel?: FieldPolicy | FieldReadFunction, - currency?: FieldPolicy | FieldReadFunction, discountValue?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction + currency?: FieldPolicy | FieldReadFunction }; -export type SaleChannelListingUpdateKeySpecifier = ('discountErrors' | 'errors' | 'sale' | SaleChannelListingUpdateKeySpecifier)[]; +export type SaleChannelListingUpdateKeySpecifier = ('sale' | 'discountErrors' | 'errors' | SaleChannelListingUpdateKeySpecifier)[]; export type SaleChannelListingUpdateFieldPolicy = { + sale?: FieldPolicy | FieldReadFunction, discountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - sale?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type SaleCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | SaleCountableConnectionKeySpecifier)[]; +export type SaleCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | SaleCountableConnectionKeySpecifier)[]; export type SaleCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type SaleCountableEdgeKeySpecifier = ('cursor' | 'node' | SaleCountableEdgeKeySpecifier)[]; +export type SaleCountableEdgeKeySpecifier = ('node' | 'cursor' | SaleCountableEdgeKeySpecifier)[]; export type SaleCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; export type SaleCreateKeySpecifier = ('discountErrors' | 'errors' | 'sale' | SaleCreateKeySpecifier)[]; export type SaleCreateFieldPolicy = { @@ -4460,13 +4460,13 @@ export type SaleCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; -export type SaleCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'sale' | 'version' | SaleCreatedKeySpecifier)[]; +export type SaleCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'sale' | SaleCreatedKeySpecifier)[]; export type SaleCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - sale?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + sale?: FieldPolicy | FieldReadFunction }; export type SaleDeleteKeySpecifier = ('discountErrors' | 'errors' | 'sale' | SaleDeleteKeySpecifier)[]; export type SaleDeleteFieldPolicy = { @@ -4474,40 +4474,40 @@ export type SaleDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; -export type SaleDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'sale' | 'version' | SaleDeletedKeySpecifier)[]; +export type SaleDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'sale' | SaleDeletedKeySpecifier)[]; export type SaleDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - sale?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type SaleRemoveCataloguesKeySpecifier = ('discountErrors' | 'errors' | 'sale' | SaleRemoveCataloguesKeySpecifier)[]; -export type SaleRemoveCataloguesFieldPolicy = { - discountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; -export type SaleToggleKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'sale' | 'version' | SaleToggleKeySpecifier)[]; +export type SaleRemoveCataloguesKeySpecifier = ('sale' | 'discountErrors' | 'errors' | SaleRemoveCataloguesKeySpecifier)[]; +export type SaleRemoveCataloguesFieldPolicy = { + sale?: FieldPolicy | FieldReadFunction, + discountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type SaleToggleKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'sale' | SaleToggleKeySpecifier)[]; export type SaleToggleFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - sale?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + sale?: FieldPolicy | FieldReadFunction }; -export type SaleTranslatableContentKeySpecifier = ('id' | 'name' | 'sale' | 'translation' | SaleTranslatableContentKeySpecifier)[]; +export type SaleTranslatableContentKeySpecifier = ('id' | 'name' | 'translation' | 'sale' | SaleTranslatableContentKeySpecifier)[]; export type SaleTranslatableContentFieldPolicy = { id?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - sale?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction + translation?: FieldPolicy | FieldReadFunction, + sale?: FieldPolicy | FieldReadFunction }; -export type SaleTranslateKeySpecifier = ('errors' | 'sale' | 'translationErrors' | SaleTranslateKeySpecifier)[]; +export type SaleTranslateKeySpecifier = ('translationErrors' | 'errors' | 'sale' | SaleTranslateKeySpecifier)[]; export type SaleTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - sale?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction + sale?: FieldPolicy | FieldReadFunction }; export type SaleTranslationKeySpecifier = ('id' | 'language' | 'name' | SaleTranslationKeySpecifier)[]; export type SaleTranslationFieldPolicy = { @@ -4521,496 +4521,496 @@ export type SaleUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, sale?: FieldPolicy | FieldReadFunction }; -export type SaleUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'sale' | 'version' | SaleUpdatedKeySpecifier)[]; +export type SaleUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'sale' | SaleUpdatedKeySpecifier)[]; export type SaleUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - sale?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + sale?: FieldPolicy | FieldReadFunction }; export type SelectedAttributeKeySpecifier = ('attribute' | 'values' | SelectedAttributeKeySpecifier)[]; export type SelectedAttributeFieldPolicy = { attribute?: FieldPolicy | FieldReadFunction, values?: FieldPolicy | FieldReadFunction }; -export type SetPasswordKeySpecifier = ('accountErrors' | 'csrfToken' | 'errors' | 'refreshToken' | 'token' | 'user' | SetPasswordKeySpecifier)[]; +export type SetPasswordKeySpecifier = ('token' | 'refreshToken' | 'csrfToken' | 'user' | 'accountErrors' | 'errors' | SetPasswordKeySpecifier)[]; export type SetPasswordFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - csrfToken?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - refreshToken?: FieldPolicy | FieldReadFunction, token?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + refreshToken?: FieldPolicy | FieldReadFunction, + csrfToken?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ShippingErrorKeySpecifier = ('channels' | 'code' | 'field' | 'message' | 'warehouses' | ShippingErrorKeySpecifier)[]; +export type ShippingErrorKeySpecifier = ('field' | 'message' | 'code' | 'warehouses' | 'channels' | ShippingErrorKeySpecifier)[]; export type ShippingErrorFieldPolicy = { - channels?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, - warehouses?: FieldPolicy | FieldReadFunction + code?: FieldPolicy | FieldReadFunction, + warehouses?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction }; -export type ShippingListMethodsForCheckoutKeySpecifier = ('checkout' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingMethods' | 'version' | ShippingListMethodsForCheckoutKeySpecifier)[]; +export type ShippingListMethodsForCheckoutKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'checkout' | 'shippingMethods' | ShippingListMethodsForCheckoutKeySpecifier)[]; export type ShippingListMethodsForCheckoutFieldPolicy = { - checkout?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - shippingMethods?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + checkout?: FieldPolicy | FieldReadFunction, + shippingMethods?: FieldPolicy | FieldReadFunction }; -export type ShippingMethodKeySpecifier = ('active' | 'description' | 'id' | 'maximumDeliveryDays' | 'maximumOrderPrice' | 'maximumOrderWeight' | 'message' | 'metadata' | 'metafield' | 'metafields' | 'minimumDeliveryDays' | 'minimumOrderPrice' | 'minimumOrderWeight' | 'name' | 'price' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'translation' | 'type' | ShippingMethodKeySpecifier)[]; +export type ShippingMethodKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'type' | 'name' | 'description' | 'maximumDeliveryDays' | 'minimumDeliveryDays' | 'maximumOrderWeight' | 'minimumOrderWeight' | 'translation' | 'price' | 'maximumOrderPrice' | 'minimumOrderPrice' | 'active' | 'message' | ShippingMethodKeySpecifier)[]; export type ShippingMethodFieldPolicy = { - active?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - maximumDeliveryDays?: FieldPolicy | FieldReadFunction, - maximumOrderPrice?: FieldPolicy | FieldReadFunction, - maximumOrderWeight?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - minimumDeliveryDays?: FieldPolicy | FieldReadFunction, - minimumOrderPrice?: FieldPolicy | FieldReadFunction, - minimumOrderWeight?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - price?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, + maximumDeliveryDays?: FieldPolicy | FieldReadFunction, + minimumDeliveryDays?: FieldPolicy | FieldReadFunction, + maximumOrderWeight?: FieldPolicy | FieldReadFunction, + minimumOrderWeight?: FieldPolicy | FieldReadFunction, translation?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction + price?: FieldPolicy | FieldReadFunction, + maximumOrderPrice?: FieldPolicy | FieldReadFunction, + minimumOrderPrice?: FieldPolicy | FieldReadFunction, + active?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction }; -export type ShippingMethodChannelListingKeySpecifier = ('channel' | 'id' | 'maximumOrderPrice' | 'minimumOrderPrice' | 'price' | ShippingMethodChannelListingKeySpecifier)[]; +export type ShippingMethodChannelListingKeySpecifier = ('id' | 'channel' | 'maximumOrderPrice' | 'minimumOrderPrice' | 'price' | ShippingMethodChannelListingKeySpecifier)[]; export type ShippingMethodChannelListingFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, maximumOrderPrice?: FieldPolicy | FieldReadFunction, minimumOrderPrice?: FieldPolicy | FieldReadFunction, price?: FieldPolicy | FieldReadFunction }; -export type ShippingMethodChannelListingUpdateKeySpecifier = ('errors' | 'shippingErrors' | 'shippingMethod' | ShippingMethodChannelListingUpdateKeySpecifier)[]; +export type ShippingMethodChannelListingUpdateKeySpecifier = ('shippingMethod' | 'shippingErrors' | 'errors' | ShippingMethodChannelListingUpdateKeySpecifier)[]; export type ShippingMethodChannelListingUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + shippingMethod?: FieldPolicy | FieldReadFunction, shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ShippingMethodPostalCodeRuleKeySpecifier = ('id' | 'start' | 'end' | 'inclusionType' | ShippingMethodPostalCodeRuleKeySpecifier)[]; +export type ShippingMethodPostalCodeRuleFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + start?: FieldPolicy | FieldReadFunction, + end?: FieldPolicy | FieldReadFunction, + inclusionType?: FieldPolicy | FieldReadFunction +}; +export type ShippingMethodTranslatableContentKeySpecifier = ('id' | 'name' | 'description' | 'translation' | 'shippingMethod' | ShippingMethodTranslatableContentKeySpecifier)[]; +export type ShippingMethodTranslatableContentFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, shippingMethod?: FieldPolicy | FieldReadFunction }; -export type ShippingMethodPostalCodeRuleKeySpecifier = ('end' | 'id' | 'inclusionType' | 'start' | ShippingMethodPostalCodeRuleKeySpecifier)[]; -export type ShippingMethodPostalCodeRuleFieldPolicy = { - end?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - inclusionType?: FieldPolicy | FieldReadFunction, - start?: FieldPolicy | FieldReadFunction -}; -export type ShippingMethodTranslatableContentKeySpecifier = ('description' | 'id' | 'name' | 'shippingMethod' | 'translation' | ShippingMethodTranslatableContentKeySpecifier)[]; -export type ShippingMethodTranslatableContentFieldPolicy = { - description?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction -}; -export type ShippingMethodTranslationKeySpecifier = ('description' | 'id' | 'language' | 'name' | ShippingMethodTranslationKeySpecifier)[]; +export type ShippingMethodTranslationKeySpecifier = ('id' | 'language' | 'name' | 'description' | ShippingMethodTranslationKeySpecifier)[]; export type ShippingMethodTranslationFieldPolicy = { - description?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, language?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction -}; -export type ShippingMethodTypeKeySpecifier = ('channelListings' | 'description' | 'excludedProducts' | 'id' | 'maximumDeliveryDays' | 'maximumOrderPrice' | 'maximumOrderWeight' | 'metadata' | 'metafield' | 'metafields' | 'minimumDeliveryDays' | 'minimumOrderPrice' | 'minimumOrderWeight' | 'name' | 'postalCodeRules' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'taxClass' | 'translation' | 'type' | ShippingMethodTypeKeySpecifier)[]; -export type ShippingMethodTypeFieldPolicy = { - channelListings?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, - excludedProducts?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - maximumDeliveryDays?: FieldPolicy | FieldReadFunction, - maximumOrderPrice?: FieldPolicy | FieldReadFunction, - maximumOrderWeight?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - minimumDeliveryDays?: FieldPolicy | FieldReadFunction, - minimumOrderPrice?: FieldPolicy | FieldReadFunction, - minimumOrderWeight?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - postalCodeRules?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction +}; +export type ShippingMethodTypeKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'description' | 'type' | 'translation' | 'channelListings' | 'maximumOrderPrice' | 'minimumOrderPrice' | 'postalCodeRules' | 'excludedProducts' | 'minimumOrderWeight' | 'maximumOrderWeight' | 'maximumDeliveryDays' | 'minimumDeliveryDays' | 'taxClass' | ShippingMethodTypeKeySpecifier)[]; +export type ShippingMethodTypeFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - taxClass?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, translation?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction + channelListings?: FieldPolicy | FieldReadFunction, + maximumOrderPrice?: FieldPolicy | FieldReadFunction, + minimumOrderPrice?: FieldPolicy | FieldReadFunction, + postalCodeRules?: FieldPolicy | FieldReadFunction, + excludedProducts?: FieldPolicy | FieldReadFunction, + minimumOrderWeight?: FieldPolicy | FieldReadFunction, + maximumOrderWeight?: FieldPolicy | FieldReadFunction, + maximumDeliveryDays?: FieldPolicy | FieldReadFunction, + minimumDeliveryDays?: FieldPolicy | FieldReadFunction, + taxClass?: FieldPolicy | FieldReadFunction }; export type ShippingMethodsPerCountryKeySpecifier = ('countryCode' | 'shippingMethods' | ShippingMethodsPerCountryKeySpecifier)[]; export type ShippingMethodsPerCountryFieldPolicy = { countryCode?: FieldPolicy | FieldReadFunction, shippingMethods?: FieldPolicy | FieldReadFunction }; -export type ShippingPriceBulkDeleteKeySpecifier = ('count' | 'errors' | 'shippingErrors' | ShippingPriceBulkDeleteKeySpecifier)[]; +export type ShippingPriceBulkDeleteKeySpecifier = ('count' | 'shippingErrors' | 'errors' | ShippingPriceBulkDeleteKeySpecifier)[]; export type ShippingPriceBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - shippingErrors?: FieldPolicy | FieldReadFunction -}; -export type ShippingPriceCreateKeySpecifier = ('errors' | 'shippingErrors' | 'shippingMethod' | 'shippingZone' | ShippingPriceCreateKeySpecifier)[]; -export type ShippingPriceCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shippingErrors?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type ShippingPriceCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | 'version' | ShippingPriceCreatedKeySpecifier)[]; +export type ShippingPriceCreateKeySpecifier = ('shippingZone' | 'shippingMethod' | 'shippingErrors' | 'errors' | ShippingPriceCreateKeySpecifier)[]; +export type ShippingPriceCreateFieldPolicy = { + shippingZone?: FieldPolicy | FieldReadFunction, + shippingMethod?: FieldPolicy | FieldReadFunction, + shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ShippingPriceCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | ShippingPriceCreatedKeySpecifier)[]; export type ShippingPriceCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, shippingMethod?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type ShippingPriceDeleteKeySpecifier = ('errors' | 'shippingErrors' | 'shippingMethod' | 'shippingZone' | ShippingPriceDeleteKeySpecifier)[]; -export type ShippingPriceDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - shippingErrors?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingPriceDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | 'version' | ShippingPriceDeletedKeySpecifier)[]; +export type ShippingPriceDeleteKeySpecifier = ('shippingMethod' | 'shippingZone' | 'shippingErrors' | 'errors' | ShippingPriceDeleteKeySpecifier)[]; +export type ShippingPriceDeleteFieldPolicy = { + shippingMethod?: FieldPolicy | FieldReadFunction, + shippingZone?: FieldPolicy | FieldReadFunction, + shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ShippingPriceDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | ShippingPriceDeletedKeySpecifier)[]; export type ShippingPriceDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, shippingMethod?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type ShippingPriceExcludeProductsKeySpecifier = ('errors' | 'shippingErrors' | 'shippingMethod' | ShippingPriceExcludeProductsKeySpecifier)[]; -export type ShippingPriceExcludeProductsFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - shippingErrors?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction -}; -export type ShippingPriceRemoveProductFromExcludeKeySpecifier = ('errors' | 'shippingErrors' | 'shippingMethod' | ShippingPriceRemoveProductFromExcludeKeySpecifier)[]; -export type ShippingPriceRemoveProductFromExcludeFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - shippingErrors?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction -}; -export type ShippingPriceTranslateKeySpecifier = ('errors' | 'shippingMethod' | 'translationErrors' | ShippingPriceTranslateKeySpecifier)[]; -export type ShippingPriceTranslateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction -}; -export type ShippingPriceUpdateKeySpecifier = ('errors' | 'shippingErrors' | 'shippingMethod' | 'shippingZone' | ShippingPriceUpdateKeySpecifier)[]; -export type ShippingPriceUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - shippingErrors?: FieldPolicy | FieldReadFunction, - shippingMethod?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingPriceUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | 'version' | ShippingPriceUpdatedKeySpecifier)[]; +export type ShippingPriceExcludeProductsKeySpecifier = ('shippingMethod' | 'shippingErrors' | 'errors' | ShippingPriceExcludeProductsKeySpecifier)[]; +export type ShippingPriceExcludeProductsFieldPolicy = { + shippingMethod?: FieldPolicy | FieldReadFunction, + shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ShippingPriceRemoveProductFromExcludeKeySpecifier = ('shippingMethod' | 'shippingErrors' | 'errors' | ShippingPriceRemoveProductFromExcludeKeySpecifier)[]; +export type ShippingPriceRemoveProductFromExcludeFieldPolicy = { + shippingMethod?: FieldPolicy | FieldReadFunction, + shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ShippingPriceTranslateKeySpecifier = ('translationErrors' | 'errors' | 'shippingMethod' | ShippingPriceTranslateKeySpecifier)[]; +export type ShippingPriceTranslateFieldPolicy = { + translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + shippingMethod?: FieldPolicy | FieldReadFunction +}; +export type ShippingPriceUpdateKeySpecifier = ('shippingZone' | 'shippingMethod' | 'shippingErrors' | 'errors' | ShippingPriceUpdateKeySpecifier)[]; +export type ShippingPriceUpdateFieldPolicy = { + shippingZone?: FieldPolicy | FieldReadFunction, + shippingMethod?: FieldPolicy | FieldReadFunction, + shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type ShippingPriceUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingMethod' | 'shippingZone' | ShippingPriceUpdatedKeySpecifier)[]; export type ShippingPriceUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, shippingMethod?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneKeySpecifier = ('channels' | 'countries' | 'default' | 'description' | 'id' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'priceRange' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'shippingMethods' | 'warehouses' | ShippingZoneKeySpecifier)[]; +export type ShippingZoneKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'default' | 'priceRange' | 'countries' | 'shippingMethods' | 'warehouses' | 'channels' | 'description' | ShippingZoneKeySpecifier)[]; export type ShippingZoneFieldPolicy = { - channels?: FieldPolicy | FieldReadFunction, - countries?: FieldPolicy | FieldReadFunction, - default?: FieldPolicy | FieldReadFunction, - description?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, + default?: FieldPolicy | FieldReadFunction, priceRange?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, + countries?: FieldPolicy | FieldReadFunction, shippingMethods?: FieldPolicy | FieldReadFunction, - warehouses?: FieldPolicy | FieldReadFunction + warehouses?: FieldPolicy | FieldReadFunction, + channels?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneBulkDeleteKeySpecifier = ('count' | 'errors' | 'shippingErrors' | ShippingZoneBulkDeleteKeySpecifier)[]; +export type ShippingZoneBulkDeleteKeySpecifier = ('count' | 'shippingErrors' | 'errors' | ShippingZoneBulkDeleteKeySpecifier)[]; export type ShippingZoneBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - shippingErrors?: FieldPolicy | FieldReadFunction + shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | ShippingZoneCountableConnectionKeySpecifier)[]; +export type ShippingZoneCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | ShippingZoneCountableConnectionKeySpecifier)[]; export type ShippingZoneCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneCountableEdgeKeySpecifier = ('cursor' | 'node' | ShippingZoneCountableEdgeKeySpecifier)[]; +export type ShippingZoneCountableEdgeKeySpecifier = ('node' | 'cursor' | ShippingZoneCountableEdgeKeySpecifier)[]; export type ShippingZoneCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneCreateKeySpecifier = ('errors' | 'shippingErrors' | 'shippingZone' | ShippingZoneCreateKeySpecifier)[]; +export type ShippingZoneCreateKeySpecifier = ('shippingErrors' | 'errors' | 'shippingZone' | ShippingZoneCreateKeySpecifier)[]; export type ShippingZoneCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | 'version' | ShippingZoneCreatedKeySpecifier)[]; +export type ShippingZoneCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | ShippingZoneCreatedKeySpecifier)[]; export type ShippingZoneCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type ShippingZoneDeleteKeySpecifier = ('errors' | 'shippingErrors' | 'shippingZone' | ShippingZoneDeleteKeySpecifier)[]; -export type ShippingZoneDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - shippingErrors?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | 'version' | ShippingZoneDeletedKeySpecifier)[]; +export type ShippingZoneDeleteKeySpecifier = ('shippingErrors' | 'errors' | 'shippingZone' | ShippingZoneDeleteKeySpecifier)[]; +export type ShippingZoneDeleteFieldPolicy = { + shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + shippingZone?: FieldPolicy | FieldReadFunction +}; +export type ShippingZoneDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | ShippingZoneDeletedKeySpecifier)[]; export type ShippingZoneDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type ShippingZoneMetadataUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | 'version' | ShippingZoneMetadataUpdatedKeySpecifier)[]; -export type ShippingZoneMetadataUpdatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type ShippingZoneUpdateKeySpecifier = ('errors' | 'shippingErrors' | 'shippingZone' | ShippingZoneUpdateKeySpecifier)[]; -export type ShippingZoneUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - shippingErrors?: FieldPolicy | FieldReadFunction, shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShippingZoneUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | 'version' | ShippingZoneUpdatedKeySpecifier)[]; -export type ShippingZoneUpdatedFieldPolicy = { +export type ShippingZoneMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | ShippingZoneMetadataUpdatedKeySpecifier)[]; +export type ShippingZoneMetadataUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - shippingZone?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + shippingZone?: FieldPolicy | FieldReadFunction }; -export type ShopKeySpecifier = ('automaticFulfillmentDigitalProducts' | 'availableExternalAuthentications' | 'availablePaymentGateways' | 'availableShippingMethods' | 'channelCurrencies' | 'chargeTaxesOnShipping' | 'companyAddress' | 'countries' | 'customerSetPasswordUrl' | 'defaultCountry' | 'defaultDigitalMaxDownloads' | 'defaultDigitalUrlValidDays' | 'defaultMailSenderAddress' | 'defaultMailSenderName' | 'defaultWeightUnit' | 'description' | 'displayGrossPrices' | 'domain' | 'fulfillmentAllowUnpaid' | 'fulfillmentAutoApprove' | 'headerText' | 'includeTaxesInPrices' | 'languages' | 'limitQuantityPerCheckout' | 'limits' | 'name' | 'permissions' | 'phonePrefixes' | 'reserveStockDurationAnonymousUser' | 'reserveStockDurationAuthenticatedUser' | 'schemaVersion' | 'staffNotificationRecipients' | 'trackInventoryByDefault' | 'translation' | 'version' | ShopKeySpecifier)[]; +export type ShippingZoneUpdateKeySpecifier = ('shippingErrors' | 'errors' | 'shippingZone' | ShippingZoneUpdateKeySpecifier)[]; +export type ShippingZoneUpdateFieldPolicy = { + shippingErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + shippingZone?: FieldPolicy | FieldReadFunction +}; +export type ShippingZoneUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'shippingZone' | ShippingZoneUpdatedKeySpecifier)[]; +export type ShippingZoneUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + shippingZone?: FieldPolicy | FieldReadFunction +}; +export type ShopKeySpecifier = ('availablePaymentGateways' | 'availableExternalAuthentications' | 'availableShippingMethods' | 'channelCurrencies' | 'countries' | 'defaultCountry' | 'defaultMailSenderName' | 'defaultMailSenderAddress' | 'description' | 'domain' | 'languages' | 'name' | 'permissions' | 'phonePrefixes' | 'headerText' | 'fulfillmentAutoApprove' | 'fulfillmentAllowUnpaid' | 'trackInventoryByDefault' | 'defaultWeightUnit' | 'translation' | 'automaticFulfillmentDigitalProducts' | 'reserveStockDurationAnonymousUser' | 'reserveStockDurationAuthenticatedUser' | 'limitQuantityPerCheckout' | 'defaultDigitalMaxDownloads' | 'defaultDigitalUrlValidDays' | 'companyAddress' | 'customerSetPasswordUrl' | 'staffNotificationRecipients' | 'limits' | 'version' | 'schemaVersion' | 'includeTaxesInPrices' | 'displayGrossPrices' | 'chargeTaxesOnShipping' | ShopKeySpecifier)[]; export type ShopFieldPolicy = { - automaticFulfillmentDigitalProducts?: FieldPolicy | FieldReadFunction, - availableExternalAuthentications?: FieldPolicy | FieldReadFunction, availablePaymentGateways?: FieldPolicy | FieldReadFunction, + availableExternalAuthentications?: FieldPolicy | FieldReadFunction, availableShippingMethods?: FieldPolicy | FieldReadFunction, channelCurrencies?: FieldPolicy | FieldReadFunction, - chargeTaxesOnShipping?: FieldPolicy | FieldReadFunction, - companyAddress?: FieldPolicy | FieldReadFunction, countries?: FieldPolicy | FieldReadFunction, - customerSetPasswordUrl?: FieldPolicy | FieldReadFunction, defaultCountry?: FieldPolicy | FieldReadFunction, - defaultDigitalMaxDownloads?: FieldPolicy | FieldReadFunction, - defaultDigitalUrlValidDays?: FieldPolicy | FieldReadFunction, - defaultMailSenderAddress?: FieldPolicy | FieldReadFunction, defaultMailSenderName?: FieldPolicy | FieldReadFunction, - defaultWeightUnit?: FieldPolicy | FieldReadFunction, + defaultMailSenderAddress?: FieldPolicy | FieldReadFunction, description?: FieldPolicy | FieldReadFunction, - displayGrossPrices?: FieldPolicy | FieldReadFunction, domain?: FieldPolicy | FieldReadFunction, - fulfillmentAllowUnpaid?: FieldPolicy | FieldReadFunction, - fulfillmentAutoApprove?: FieldPolicy | FieldReadFunction, - headerText?: FieldPolicy | FieldReadFunction, - includeTaxesInPrices?: FieldPolicy | FieldReadFunction, languages?: FieldPolicy | FieldReadFunction, - limitQuantityPerCheckout?: FieldPolicy | FieldReadFunction, - limits?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, permissions?: FieldPolicy | FieldReadFunction, phonePrefixes?: FieldPolicy | FieldReadFunction, + headerText?: FieldPolicy | FieldReadFunction, + fulfillmentAutoApprove?: FieldPolicy | FieldReadFunction, + fulfillmentAllowUnpaid?: FieldPolicy | FieldReadFunction, + trackInventoryByDefault?: FieldPolicy | FieldReadFunction, + defaultWeightUnit?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + automaticFulfillmentDigitalProducts?: FieldPolicy | FieldReadFunction, reserveStockDurationAnonymousUser?: FieldPolicy | FieldReadFunction, reserveStockDurationAuthenticatedUser?: FieldPolicy | FieldReadFunction, - schemaVersion?: FieldPolicy | FieldReadFunction, + limitQuantityPerCheckout?: FieldPolicy | FieldReadFunction, + defaultDigitalMaxDownloads?: FieldPolicy | FieldReadFunction, + defaultDigitalUrlValidDays?: FieldPolicy | FieldReadFunction, + companyAddress?: FieldPolicy | FieldReadFunction, + customerSetPasswordUrl?: FieldPolicy | FieldReadFunction, staffNotificationRecipients?: FieldPolicy | FieldReadFunction, - trackInventoryByDefault?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + limits?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + schemaVersion?: FieldPolicy | FieldReadFunction, + includeTaxesInPrices?: FieldPolicy | FieldReadFunction, + displayGrossPrices?: FieldPolicy | FieldReadFunction, + chargeTaxesOnShipping?: FieldPolicy | FieldReadFunction }; -export type ShopAddressUpdateKeySpecifier = ('errors' | 'shop' | 'shopErrors' | ShopAddressUpdateKeySpecifier)[]; +export type ShopAddressUpdateKeySpecifier = ('shop' | 'shopErrors' | 'errors' | ShopAddressUpdateKeySpecifier)[]; export type ShopAddressUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shop?: FieldPolicy | FieldReadFunction, - shopErrors?: FieldPolicy | FieldReadFunction + shopErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ShopDomainUpdateKeySpecifier = ('errors' | 'shop' | 'shopErrors' | ShopDomainUpdateKeySpecifier)[]; +export type ShopDomainUpdateKeySpecifier = ('shop' | 'shopErrors' | 'errors' | ShopDomainUpdateKeySpecifier)[]; export type ShopDomainUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shop?: FieldPolicy | FieldReadFunction, - shopErrors?: FieldPolicy | FieldReadFunction + shopErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ShopErrorKeySpecifier = ('code' | 'field' | 'message' | ShopErrorKeySpecifier)[]; +export type ShopErrorKeySpecifier = ('field' | 'message' | 'code' | ShopErrorKeySpecifier)[]; export type ShopErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type ShopFetchTaxRatesKeySpecifier = ('errors' | 'shop' | 'shopErrors' | ShopFetchTaxRatesKeySpecifier)[]; +export type ShopFetchTaxRatesKeySpecifier = ('shop' | 'shopErrors' | 'errors' | ShopFetchTaxRatesKeySpecifier)[]; export type ShopFetchTaxRatesFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shop?: FieldPolicy | FieldReadFunction, - shopErrors?: FieldPolicy | FieldReadFunction + shopErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ShopSettingsTranslateKeySpecifier = ('errors' | 'shop' | 'translationErrors' | ShopSettingsTranslateKeySpecifier)[]; +export type ShopSettingsTranslateKeySpecifier = ('shop' | 'translationErrors' | 'errors' | ShopSettingsTranslateKeySpecifier)[]; export type ShopSettingsTranslateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shop?: FieldPolicy | FieldReadFunction, - translationErrors?: FieldPolicy | FieldReadFunction + translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ShopSettingsUpdateKeySpecifier = ('errors' | 'shop' | 'shopErrors' | ShopSettingsUpdateKeySpecifier)[]; +export type ShopSettingsUpdateKeySpecifier = ('shop' | 'shopErrors' | 'errors' | ShopSettingsUpdateKeySpecifier)[]; export type ShopSettingsUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shop?: FieldPolicy | FieldReadFunction, - shopErrors?: FieldPolicy | FieldReadFunction + shopErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type ShopTranslationKeySpecifier = ('description' | 'headerText' | 'id' | 'language' | ShopTranslationKeySpecifier)[]; +export type ShopTranslationKeySpecifier = ('id' | 'language' | 'headerText' | 'description' | ShopTranslationKeySpecifier)[]; export type ShopTranslationFieldPolicy = { - description?: FieldPolicy | FieldReadFunction, - headerText?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - language?: FieldPolicy | FieldReadFunction + language?: FieldPolicy | FieldReadFunction, + headerText?: FieldPolicy | FieldReadFunction, + description?: FieldPolicy | FieldReadFunction }; -export type StaffBulkDeleteKeySpecifier = ('count' | 'errors' | 'staffErrors' | StaffBulkDeleteKeySpecifier)[]; +export type StaffBulkDeleteKeySpecifier = ('count' | 'staffErrors' | 'errors' | StaffBulkDeleteKeySpecifier)[]; export type StaffBulkDeleteFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - staffErrors?: FieldPolicy | FieldReadFunction -}; -export type StaffCreateKeySpecifier = ('errors' | 'staffErrors' | 'user' | StaffCreateKeySpecifier)[]; -export type StaffCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, staffErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type StaffCreateKeySpecifier = ('staffErrors' | 'errors' | 'user' | StaffCreateKeySpecifier)[]; +export type StaffCreateFieldPolicy = { + staffErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type StaffCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'user' | 'version' | StaffCreatedKeySpecifier)[]; +export type StaffCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | StaffCreatedKeySpecifier)[]; export type StaffCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type StaffDeleteKeySpecifier = ('errors' | 'staffErrors' | 'user' | StaffDeleteKeySpecifier)[]; -export type StaffDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - staffErrors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type StaffDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'user' | 'version' | StaffDeletedKeySpecifier)[]; +export type StaffDeleteKeySpecifier = ('staffErrors' | 'errors' | 'user' | StaffDeleteKeySpecifier)[]; +export type StaffDeleteFieldPolicy = { + staffErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction +}; +export type StaffDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | StaffDeletedKeySpecifier)[]; export type StaffDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + user?: FieldPolicy | FieldReadFunction }; -export type StaffErrorKeySpecifier = ('addressType' | 'code' | 'field' | 'groups' | 'message' | 'permissions' | 'users' | StaffErrorKeySpecifier)[]; +export type StaffErrorKeySpecifier = ('field' | 'message' | 'code' | 'addressType' | 'permissions' | 'groups' | 'users' | StaffErrorKeySpecifier)[]; export type StaffErrorFieldPolicy = { - addressType?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - groups?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + addressType?: FieldPolicy | FieldReadFunction, permissions?: FieldPolicy | FieldReadFunction, + groups?: FieldPolicy | FieldReadFunction, users?: FieldPolicy | FieldReadFunction }; -export type StaffNotificationRecipientKeySpecifier = ('active' | 'email' | 'id' | 'user' | StaffNotificationRecipientKeySpecifier)[]; +export type StaffNotificationRecipientKeySpecifier = ('id' | 'user' | 'email' | 'active' | StaffNotificationRecipientKeySpecifier)[]; export type StaffNotificationRecipientFieldPolicy = { - active?: FieldPolicy | FieldReadFunction, - email?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + user?: FieldPolicy | FieldReadFunction, + email?: FieldPolicy | FieldReadFunction, + active?: FieldPolicy | FieldReadFunction }; -export type StaffNotificationRecipientCreateKeySpecifier = ('errors' | 'shopErrors' | 'staffNotificationRecipient' | StaffNotificationRecipientCreateKeySpecifier)[]; +export type StaffNotificationRecipientCreateKeySpecifier = ('shopErrors' | 'errors' | 'staffNotificationRecipient' | StaffNotificationRecipientCreateKeySpecifier)[]; export type StaffNotificationRecipientCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shopErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, staffNotificationRecipient?: FieldPolicy | FieldReadFunction }; -export type StaffNotificationRecipientDeleteKeySpecifier = ('errors' | 'shopErrors' | 'staffNotificationRecipient' | StaffNotificationRecipientDeleteKeySpecifier)[]; +export type StaffNotificationRecipientDeleteKeySpecifier = ('shopErrors' | 'errors' | 'staffNotificationRecipient' | StaffNotificationRecipientDeleteKeySpecifier)[]; export type StaffNotificationRecipientDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shopErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, staffNotificationRecipient?: FieldPolicy | FieldReadFunction }; -export type StaffNotificationRecipientUpdateKeySpecifier = ('errors' | 'shopErrors' | 'staffNotificationRecipient' | StaffNotificationRecipientUpdateKeySpecifier)[]; +export type StaffNotificationRecipientUpdateKeySpecifier = ('shopErrors' | 'errors' | 'staffNotificationRecipient' | StaffNotificationRecipientUpdateKeySpecifier)[]; export type StaffNotificationRecipientUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, shopErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, staffNotificationRecipient?: FieldPolicy | FieldReadFunction }; -export type StaffUpdateKeySpecifier = ('errors' | 'staffErrors' | 'user' | StaffUpdateKeySpecifier)[]; +export type StaffUpdateKeySpecifier = ('staffErrors' | 'errors' | 'user' | StaffUpdateKeySpecifier)[]; export type StaffUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, staffErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, user?: FieldPolicy | FieldReadFunction }; -export type StaffUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'user' | 'version' | StaffUpdatedKeySpecifier)[]; +export type StaffUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'user' | StaffUpdatedKeySpecifier)[]; export type StaffUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + user?: FieldPolicy | FieldReadFunction }; -export type StockKeySpecifier = ('id' | 'productVariant' | 'quantity' | 'quantityAllocated' | 'quantityReserved' | 'warehouse' | StockKeySpecifier)[]; +export type StockKeySpecifier = ('id' | 'warehouse' | 'productVariant' | 'quantity' | 'quantityAllocated' | 'quantityReserved' | StockKeySpecifier)[]; export type StockFieldPolicy = { id?: FieldPolicy | FieldReadFunction, + warehouse?: FieldPolicy | FieldReadFunction, productVariant?: FieldPolicy | FieldReadFunction, quantity?: FieldPolicy | FieldReadFunction, quantityAllocated?: FieldPolicy | FieldReadFunction, - quantityReserved?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction + quantityReserved?: FieldPolicy | FieldReadFunction }; -export type StockBulkResultKeySpecifier = ('errors' | 'stock' | StockBulkResultKeySpecifier)[]; +export type StockBulkResultKeySpecifier = ('stock' | 'errors' | StockBulkResultKeySpecifier)[]; export type StockBulkResultFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - stock?: FieldPolicy | FieldReadFunction + stock?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type StockBulkUpdateKeySpecifier = ('count' | 'errors' | 'results' | StockBulkUpdateKeySpecifier)[]; +export type StockBulkUpdateKeySpecifier = ('count' | 'results' | 'errors' | StockBulkUpdateKeySpecifier)[]; export type StockBulkUpdateFieldPolicy = { count?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - results?: FieldPolicy | FieldReadFunction + results?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type StockBulkUpdateErrorKeySpecifier = ('code' | 'field' | 'message' | StockBulkUpdateErrorKeySpecifier)[]; +export type StockBulkUpdateErrorKeySpecifier = ('field' | 'message' | 'code' | StockBulkUpdateErrorKeySpecifier)[]; export type StockBulkUpdateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type StockCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | StockCountableConnectionKeySpecifier)[]; +export type StockCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | StockCountableConnectionKeySpecifier)[]; export type StockCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type StockCountableEdgeKeySpecifier = ('cursor' | 'node' | StockCountableEdgeKeySpecifier)[]; +export type StockCountableEdgeKeySpecifier = ('node' | 'cursor' | StockCountableEdgeKeySpecifier)[]; export type StockCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type StockErrorKeySpecifier = ('code' | 'field' | 'message' | StockErrorKeySpecifier)[]; +export type StockErrorKeySpecifier = ('field' | 'message' | 'code' | StockErrorKeySpecifier)[]; export type StockErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; export type StockSettingsKeySpecifier = ('allocationStrategy' | StockSettingsKeySpecifier)[]; export type StockSettingsFieldPolicy = { @@ -5020,28 +5020,28 @@ export type SubscriptionKeySpecifier = ('event' | SubscriptionKeySpecifier)[]; export type SubscriptionFieldPolicy = { event?: FieldPolicy | FieldReadFunction }; -export type TaxClassKeySpecifier = ('countries' | 'id' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | TaxClassKeySpecifier)[]; +export type TaxClassKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'countries' | TaxClassKeySpecifier)[]; export type TaxClassFieldPolicy = { - countries?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction + countries?: FieldPolicy | FieldReadFunction }; -export type TaxClassCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | TaxClassCountableConnectionKeySpecifier)[]; +export type TaxClassCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | TaxClassCountableConnectionKeySpecifier)[]; export type TaxClassCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type TaxClassCountableEdgeKeySpecifier = ('cursor' | 'node' | TaxClassCountableEdgeKeySpecifier)[]; +export type TaxClassCountableEdgeKeySpecifier = ('node' | 'cursor' | TaxClassCountableEdgeKeySpecifier)[]; export type TaxClassCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; export type TaxClassCountryRateKeySpecifier = ('country' | 'rate' | 'taxClass' | TaxClassCountryRateKeySpecifier)[]; export type TaxClassCountryRateFieldPolicy = { @@ -5054,152 +5054,152 @@ export type TaxClassCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, taxClass?: FieldPolicy | FieldReadFunction }; -export type TaxClassCreateErrorKeySpecifier = ('code' | 'countryCodes' | 'field' | 'message' | TaxClassCreateErrorKeySpecifier)[]; +export type TaxClassCreateErrorKeySpecifier = ('field' | 'message' | 'code' | 'countryCodes' | TaxClassCreateErrorKeySpecifier)[]; export type TaxClassCreateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - countryCodes?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + countryCodes?: FieldPolicy | FieldReadFunction }; export type TaxClassDeleteKeySpecifier = ('errors' | 'taxClass' | TaxClassDeleteKeySpecifier)[]; export type TaxClassDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, taxClass?: FieldPolicy | FieldReadFunction }; -export type TaxClassDeleteErrorKeySpecifier = ('code' | 'field' | 'message' | TaxClassDeleteErrorKeySpecifier)[]; +export type TaxClassDeleteErrorKeySpecifier = ('field' | 'message' | 'code' | TaxClassDeleteErrorKeySpecifier)[]; export type TaxClassDeleteErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; export type TaxClassUpdateKeySpecifier = ('errors' | 'taxClass' | TaxClassUpdateKeySpecifier)[]; export type TaxClassUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, taxClass?: FieldPolicy | FieldReadFunction }; -export type TaxClassUpdateErrorKeySpecifier = ('code' | 'countryCodes' | 'field' | 'message' | TaxClassUpdateErrorKeySpecifier)[]; +export type TaxClassUpdateErrorKeySpecifier = ('field' | 'message' | 'code' | 'countryCodes' | TaxClassUpdateErrorKeySpecifier)[]; export type TaxClassUpdateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - countryCodes?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + countryCodes?: FieldPolicy | FieldReadFunction }; -export type TaxConfigurationKeySpecifier = ('channel' | 'chargeTaxes' | 'countries' | 'displayGrossPrices' | 'id' | 'metadata' | 'metafield' | 'metafields' | 'pricesEnteredWithTax' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'taxCalculationStrategy' | TaxConfigurationKeySpecifier)[]; +export type TaxConfigurationKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'channel' | 'chargeTaxes' | 'taxCalculationStrategy' | 'displayGrossPrices' | 'pricesEnteredWithTax' | 'countries' | TaxConfigurationKeySpecifier)[]; export type TaxConfigurationFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, - chargeTaxes?: FieldPolicy | FieldReadFunction, - countries?: FieldPolicy | FieldReadFunction, - displayGrossPrices?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - pricesEnteredWithTax?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - taxCalculationStrategy?: FieldPolicy | FieldReadFunction + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + chargeTaxes?: FieldPolicy | FieldReadFunction, + taxCalculationStrategy?: FieldPolicy | FieldReadFunction, + displayGrossPrices?: FieldPolicy | FieldReadFunction, + pricesEnteredWithTax?: FieldPolicy | FieldReadFunction, + countries?: FieldPolicy | FieldReadFunction }; -export type TaxConfigurationCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | TaxConfigurationCountableConnectionKeySpecifier)[]; +export type TaxConfigurationCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | TaxConfigurationCountableConnectionKeySpecifier)[]; export type TaxConfigurationCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type TaxConfigurationCountableEdgeKeySpecifier = ('cursor' | 'node' | TaxConfigurationCountableEdgeKeySpecifier)[]; +export type TaxConfigurationCountableEdgeKeySpecifier = ('node' | 'cursor' | TaxConfigurationCountableEdgeKeySpecifier)[]; export type TaxConfigurationCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type TaxConfigurationPerCountryKeySpecifier = ('chargeTaxes' | 'country' | 'displayGrossPrices' | 'taxCalculationStrategy' | TaxConfigurationPerCountryKeySpecifier)[]; +export type TaxConfigurationPerCountryKeySpecifier = ('country' | 'chargeTaxes' | 'taxCalculationStrategy' | 'displayGrossPrices' | TaxConfigurationPerCountryKeySpecifier)[]; export type TaxConfigurationPerCountryFieldPolicy = { - chargeTaxes?: FieldPolicy | FieldReadFunction, country?: FieldPolicy | FieldReadFunction, - displayGrossPrices?: FieldPolicy | FieldReadFunction, - taxCalculationStrategy?: FieldPolicy | FieldReadFunction + chargeTaxes?: FieldPolicy | FieldReadFunction, + taxCalculationStrategy?: FieldPolicy | FieldReadFunction, + displayGrossPrices?: FieldPolicy | FieldReadFunction }; export type TaxConfigurationUpdateKeySpecifier = ('errors' | 'taxConfiguration' | TaxConfigurationUpdateKeySpecifier)[]; export type TaxConfigurationUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, taxConfiguration?: FieldPolicy | FieldReadFunction }; -export type TaxConfigurationUpdateErrorKeySpecifier = ('code' | 'countryCodes' | 'field' | 'message' | TaxConfigurationUpdateErrorKeySpecifier)[]; +export type TaxConfigurationUpdateErrorKeySpecifier = ('field' | 'message' | 'code' | 'countryCodes' | TaxConfigurationUpdateErrorKeySpecifier)[]; export type TaxConfigurationUpdateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - countryCodes?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, + countryCodes?: FieldPolicy | FieldReadFunction }; export type TaxCountryConfigurationKeySpecifier = ('country' | 'taxClassCountryRates' | TaxCountryConfigurationKeySpecifier)[]; export type TaxCountryConfigurationFieldPolicy = { country?: FieldPolicy | FieldReadFunction, taxClassCountryRates?: FieldPolicy | FieldReadFunction }; -export type TaxCountryConfigurationDeleteKeySpecifier = ('errors' | 'taxCountryConfiguration' | TaxCountryConfigurationDeleteKeySpecifier)[]; +export type TaxCountryConfigurationDeleteKeySpecifier = ('taxCountryConfiguration' | 'errors' | TaxCountryConfigurationDeleteKeySpecifier)[]; export type TaxCountryConfigurationDeleteFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - taxCountryConfiguration?: FieldPolicy | FieldReadFunction + taxCountryConfiguration?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type TaxCountryConfigurationDeleteErrorKeySpecifier = ('code' | 'field' | 'message' | TaxCountryConfigurationDeleteErrorKeySpecifier)[]; +export type TaxCountryConfigurationDeleteErrorKeySpecifier = ('field' | 'message' | 'code' | TaxCountryConfigurationDeleteErrorKeySpecifier)[]; export type TaxCountryConfigurationDeleteErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type TaxCountryConfigurationUpdateKeySpecifier = ('errors' | 'taxCountryConfiguration' | TaxCountryConfigurationUpdateKeySpecifier)[]; -export type TaxCountryConfigurationUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - taxCountryConfiguration?: FieldPolicy | FieldReadFunction -}; -export type TaxCountryConfigurationUpdateErrorKeySpecifier = ('code' | 'field' | 'message' | 'taxClassIds' | TaxCountryConfigurationUpdateErrorKeySpecifier)[]; -export type TaxCountryConfigurationUpdateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type TaxCountryConfigurationUpdateKeySpecifier = ('taxCountryConfiguration' | 'errors' | TaxCountryConfigurationUpdateKeySpecifier)[]; +export type TaxCountryConfigurationUpdateFieldPolicy = { + taxCountryConfiguration?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type TaxCountryConfigurationUpdateErrorKeySpecifier = ('field' | 'message' | 'code' | 'taxClassIds' | TaxCountryConfigurationUpdateErrorKeySpecifier)[]; +export type TaxCountryConfigurationUpdateErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, taxClassIds?: FieldPolicy | FieldReadFunction }; -export type TaxExemptionManageKeySpecifier = ('errors' | 'taxableObject' | TaxExemptionManageKeySpecifier)[]; +export type TaxExemptionManageKeySpecifier = ('taxableObject' | 'errors' | TaxExemptionManageKeySpecifier)[]; export type TaxExemptionManageFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - taxableObject?: FieldPolicy | FieldReadFunction + taxableObject?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type TaxExemptionManageErrorKeySpecifier = ('code' | 'field' | 'message' | TaxExemptionManageErrorKeySpecifier)[]; +export type TaxExemptionManageErrorKeySpecifier = ('field' | 'message' | 'code' | TaxExemptionManageErrorKeySpecifier)[]; export type TaxExemptionManageErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; export type TaxTypeKeySpecifier = ('description' | 'taxCode' | TaxTypeKeySpecifier)[]; export type TaxTypeFieldPolicy = { description?: FieldPolicy | FieldReadFunction, taxCode?: FieldPolicy | FieldReadFunction }; -export type TaxableObjectKeySpecifier = ('address' | 'channel' | 'currency' | 'discounts' | 'lines' | 'pricesEnteredWithTax' | 'shippingPrice' | 'sourceObject' | TaxableObjectKeySpecifier)[]; +export type TaxableObjectKeySpecifier = ('sourceObject' | 'pricesEnteredWithTax' | 'currency' | 'shippingPrice' | 'address' | 'discounts' | 'lines' | 'channel' | TaxableObjectKeySpecifier)[]; export type TaxableObjectFieldPolicy = { - address?: FieldPolicy | FieldReadFunction, - channel?: FieldPolicy | FieldReadFunction, + sourceObject?: FieldPolicy | FieldReadFunction, + pricesEnteredWithTax?: FieldPolicy | FieldReadFunction, currency?: FieldPolicy | FieldReadFunction, + shippingPrice?: FieldPolicy | FieldReadFunction, + address?: FieldPolicy | FieldReadFunction, discounts?: FieldPolicy | FieldReadFunction, lines?: FieldPolicy | FieldReadFunction, - pricesEnteredWithTax?: FieldPolicy | FieldReadFunction, - shippingPrice?: FieldPolicy | FieldReadFunction, - sourceObject?: FieldPolicy | FieldReadFunction + channel?: FieldPolicy | FieldReadFunction }; -export type TaxableObjectDiscountKeySpecifier = ('amount' | 'name' | TaxableObjectDiscountKeySpecifier)[]; +export type TaxableObjectDiscountKeySpecifier = ('name' | 'amount' | TaxableObjectDiscountKeySpecifier)[]; export type TaxableObjectDiscountFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction + name?: FieldPolicy | FieldReadFunction, + amount?: FieldPolicy | FieldReadFunction }; -export type TaxableObjectLineKeySpecifier = ('chargeTaxes' | 'productName' | 'productSku' | 'quantity' | 'sourceLine' | 'totalPrice' | 'unitPrice' | 'variantName' | TaxableObjectLineKeySpecifier)[]; +export type TaxableObjectLineKeySpecifier = ('sourceLine' | 'quantity' | 'chargeTaxes' | 'productName' | 'variantName' | 'productSku' | 'unitPrice' | 'totalPrice' | TaxableObjectLineKeySpecifier)[]; export type TaxableObjectLineFieldPolicy = { + sourceLine?: FieldPolicy | FieldReadFunction, + quantity?: FieldPolicy | FieldReadFunction, chargeTaxes?: FieldPolicy | FieldReadFunction, productName?: FieldPolicy | FieldReadFunction, + variantName?: FieldPolicy | FieldReadFunction, productSku?: FieldPolicy | FieldReadFunction, - quantity?: FieldPolicy | FieldReadFunction, - sourceLine?: FieldPolicy | FieldReadFunction, - totalPrice?: FieldPolicy | FieldReadFunction, unitPrice?: FieldPolicy | FieldReadFunction, - variantName?: FieldPolicy | FieldReadFunction + totalPrice?: FieldPolicy | FieldReadFunction }; export type TaxedMoneyKeySpecifier = ('currency' | 'gross' | 'net' | 'tax' | TaxedMoneyKeySpecifier)[]; export type TaxedMoneyFieldPolicy = { @@ -5213,346 +5213,346 @@ export type TaxedMoneyRangeFieldPolicy = { start?: FieldPolicy | FieldReadFunction, stop?: FieldPolicy | FieldReadFunction }; -export type ThumbnailCreatedKeySpecifier = ('id' | 'issuedAt' | 'issuingPrincipal' | 'mediaUrl' | 'objectId' | 'recipient' | 'url' | 'version' | ThumbnailCreatedKeySpecifier)[]; +export type ThumbnailCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'id' | 'url' | 'objectId' | 'mediaUrl' | ThumbnailCreatedKeySpecifier)[]; export type ThumbnailCreatedFieldPolicy = { - id?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, - mediaUrl?: FieldPolicy | FieldReadFunction, - objectId?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, url?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + objectId?: FieldPolicy | FieldReadFunction, + mediaUrl?: FieldPolicy | FieldReadFunction }; export type TimePeriodKeySpecifier = ('amount' | 'type' | TimePeriodKeySpecifier)[]; export type TimePeriodFieldPolicy = { amount?: FieldPolicy | FieldReadFunction, type?: FieldPolicy | FieldReadFunction }; -export type TransactionKeySpecifier = ('amount' | 'created' | 'error' | 'gatewayResponse' | 'id' | 'isSuccess' | 'kind' | 'payment' | 'token' | TransactionKeySpecifier)[]; +export type TransactionKeySpecifier = ('id' | 'created' | 'payment' | 'token' | 'kind' | 'isSuccess' | 'error' | 'gatewayResponse' | 'amount' | TransactionKeySpecifier)[]; export type TransactionFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, created?: FieldPolicy | FieldReadFunction, + payment?: FieldPolicy | FieldReadFunction, + token?: FieldPolicy | FieldReadFunction, + kind?: FieldPolicy | FieldReadFunction, + isSuccess?: FieldPolicy | FieldReadFunction, error?: FieldPolicy | FieldReadFunction, gatewayResponse?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - isSuccess?: FieldPolicy | FieldReadFunction, - kind?: FieldPolicy | FieldReadFunction, - payment?: FieldPolicy | FieldReadFunction, - token?: FieldPolicy | FieldReadFunction + amount?: FieldPolicy | FieldReadFunction }; export type TransactionActionKeySpecifier = ('actionType' | 'amount' | TransactionActionKeySpecifier)[]; export type TransactionActionFieldPolicy = { actionType?: FieldPolicy | FieldReadFunction, amount?: FieldPolicy | FieldReadFunction }; -export type TransactionActionRequestKeySpecifier = ('action' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'version' | TransactionActionRequestKeySpecifier)[]; +export type TransactionActionRequestKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'action' | TransactionActionRequestKeySpecifier)[]; export type TransactionActionRequestFieldPolicy = { - action?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, transaction?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + action?: FieldPolicy | FieldReadFunction }; -export type TransactionCancelationRequestedKeySpecifier = ('action' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'version' | TransactionCancelationRequestedKeySpecifier)[]; +export type TransactionCancelationRequestedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'action' | TransactionCancelationRequestedKeySpecifier)[]; export type TransactionCancelationRequestedFieldPolicy = { - action?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, transaction?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + action?: FieldPolicy | FieldReadFunction }; -export type TransactionChargeRequestedKeySpecifier = ('action' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'version' | TransactionChargeRequestedKeySpecifier)[]; +export type TransactionChargeRequestedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'action' | TransactionChargeRequestedKeySpecifier)[]; export type TransactionChargeRequestedFieldPolicy = { - action?: FieldPolicy | FieldReadFunction, issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, transaction?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction + action?: FieldPolicy | FieldReadFunction }; -export type TransactionCreateKeySpecifier = ('errors' | 'transaction' | TransactionCreateKeySpecifier)[]; +export type TransactionCreateKeySpecifier = ('transaction' | 'errors' | TransactionCreateKeySpecifier)[]; export type TransactionCreateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction -}; -export type TransactionCreateErrorKeySpecifier = ('code' | 'field' | 'message' | TransactionCreateErrorKeySpecifier)[]; -export type TransactionCreateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type TransactionEventKeySpecifier = ('amount' | 'createdAt' | 'createdBy' | 'externalUrl' | 'id' | 'message' | 'name' | 'pspReference' | 'reference' | 'status' | 'type' | TransactionEventKeySpecifier)[]; -export type TransactionEventFieldPolicy = { - amount?: FieldPolicy | FieldReadFunction, - createdAt?: FieldPolicy | FieldReadFunction, - createdBy?: FieldPolicy | FieldReadFunction, - externalUrl?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - pspReference?: FieldPolicy | FieldReadFunction, - reference?: FieldPolicy | FieldReadFunction, - status?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction -}; -export type TransactionEventReportKeySpecifier = ('alreadyProcessed' | 'errors' | 'transaction' | 'transactionEvent' | TransactionEventReportKeySpecifier)[]; -export type TransactionEventReportFieldPolicy = { - alreadyProcessed?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, transaction?: FieldPolicy | FieldReadFunction, - transactionEvent?: FieldPolicy | FieldReadFunction -}; -export type TransactionEventReportErrorKeySpecifier = ('code' | 'field' | 'message' | TransactionEventReportErrorKeySpecifier)[]; -export type TransactionEventReportErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type TransactionInitializeKeySpecifier = ('data' | 'errors' | 'transaction' | 'transactionEvent' | TransactionInitializeKeySpecifier)[]; -export type TransactionInitializeFieldPolicy = { - data?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction, - transactionEvent?: FieldPolicy | FieldReadFunction -}; -export type TransactionInitializeErrorKeySpecifier = ('code' | 'field' | 'message' | TransactionInitializeErrorKeySpecifier)[]; -export type TransactionInitializeErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type TransactionInitializeSessionKeySpecifier = ('action' | 'data' | 'issuedAt' | 'issuingPrincipal' | 'merchantReference' | 'recipient' | 'sourceObject' | 'transaction' | 'version' | TransactionInitializeSessionKeySpecifier)[]; -export type TransactionInitializeSessionFieldPolicy = { - action?: FieldPolicy | FieldReadFunction, - data?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - merchantReference?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - sourceObject?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type TransactionItemKeySpecifier = ('actions' | 'authorizePendingAmount' | 'authorizedAmount' | 'cancelPendingAmount' | 'canceledAmount' | 'chargePendingAmount' | 'chargedAmount' | 'createdAt' | 'createdBy' | 'events' | 'externalUrl' | 'id' | 'message' | 'metadata' | 'metafield' | 'metafields' | 'modifiedAt' | 'name' | 'order' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'pspReference' | 'reference' | 'refundPendingAmount' | 'refundedAmount' | 'status' | 'type' | 'voidedAmount' | TransactionItemKeySpecifier)[]; -export type TransactionItemFieldPolicy = { - actions?: FieldPolicy | FieldReadFunction, - authorizePendingAmount?: FieldPolicy | FieldReadFunction, - authorizedAmount?: FieldPolicy | FieldReadFunction, - cancelPendingAmount?: FieldPolicy | FieldReadFunction, - canceledAmount?: FieldPolicy | FieldReadFunction, - chargePendingAmount?: FieldPolicy | FieldReadFunction, - chargedAmount?: FieldPolicy | FieldReadFunction, - createdAt?: FieldPolicy | FieldReadFunction, - createdBy?: FieldPolicy | FieldReadFunction, - events?: FieldPolicy | FieldReadFunction, - externalUrl?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - modifiedAt?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - order?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, - pspReference?: FieldPolicy | FieldReadFunction, - reference?: FieldPolicy | FieldReadFunction, - refundPendingAmount?: FieldPolicy | FieldReadFunction, - refundedAmount?: FieldPolicy | FieldReadFunction, - status?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction, - voidedAmount?: FieldPolicy | FieldReadFunction -}; -export type TransactionItemMetadataUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'version' | TransactionItemMetadataUpdatedKeySpecifier)[]; -export type TransactionItemMetadataUpdatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type TransactionProcessKeySpecifier = ('data' | 'errors' | 'transaction' | 'transactionEvent' | TransactionProcessKeySpecifier)[]; -export type TransactionProcessFieldPolicy = { - data?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction, - transactionEvent?: FieldPolicy | FieldReadFunction -}; -export type TransactionProcessActionKeySpecifier = ('actionType' | 'amount' | 'currency' | TransactionProcessActionKeySpecifier)[]; -export type TransactionProcessActionFieldPolicy = { - actionType?: FieldPolicy | FieldReadFunction, - amount?: FieldPolicy | FieldReadFunction, - currency?: FieldPolicy | FieldReadFunction -}; -export type TransactionProcessErrorKeySpecifier = ('code' | 'field' | 'message' | TransactionProcessErrorKeySpecifier)[]; -export type TransactionProcessErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type TransactionProcessSessionKeySpecifier = ('action' | 'data' | 'issuedAt' | 'issuingPrincipal' | 'merchantReference' | 'recipient' | 'sourceObject' | 'transaction' | 'version' | TransactionProcessSessionKeySpecifier)[]; -export type TransactionProcessSessionFieldPolicy = { - action?: FieldPolicy | FieldReadFunction, - data?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - merchantReference?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - sourceObject?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type TransactionRefundRequestedKeySpecifier = ('action' | 'issuedAt' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'version' | TransactionRefundRequestedKeySpecifier)[]; -export type TransactionRefundRequestedFieldPolicy = { - action?: FieldPolicy | FieldReadFunction, - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type TransactionRequestActionKeySpecifier = ('errors' | 'transaction' | TransactionRequestActionKeySpecifier)[]; -export type TransactionRequestActionFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction -}; -export type TransactionRequestActionErrorKeySpecifier = ('code' | 'field' | 'message' | TransactionRequestActionErrorKeySpecifier)[]; -export type TransactionRequestActionErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type TransactionUpdateKeySpecifier = ('errors' | 'transaction' | TransactionUpdateKeySpecifier)[]; -export type TransactionUpdateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - transaction?: FieldPolicy | FieldReadFunction -}; -export type TransactionUpdateErrorKeySpecifier = ('code' | 'field' | 'message' | TransactionUpdateErrorKeySpecifier)[]; -export type TransactionUpdateErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type TranslatableItemConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | TranslatableItemConnectionKeySpecifier)[]; -export type TranslatableItemConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type TranslatableItemEdgeKeySpecifier = ('cursor' | 'node' | TranslatableItemEdgeKeySpecifier)[]; -export type TranslatableItemEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; -export type TranslationCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'translation' | 'version' | TranslationCreatedKeySpecifier)[]; -export type TranslationCreatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type TranslationErrorKeySpecifier = ('code' | 'field' | 'message' | TranslationErrorKeySpecifier)[]; -export type TranslationErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type TranslationUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'translation' | 'version' | TranslationUpdatedKeySpecifier)[]; -export type TranslationUpdatedFieldPolicy = { - issuedAt?: FieldPolicy | FieldReadFunction, - issuingPrincipal?: FieldPolicy | FieldReadFunction, - recipient?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction -}; -export type UpdateMetadataKeySpecifier = ('errors' | 'item' | 'metadataErrors' | UpdateMetadataKeySpecifier)[]; -export type UpdateMetadataFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - item?: FieldPolicy | FieldReadFunction, - metadataErrors?: FieldPolicy | FieldReadFunction -}; -export type UpdatePrivateMetadataKeySpecifier = ('errors' | 'item' | 'metadataErrors' | UpdatePrivateMetadataKeySpecifier)[]; -export type UpdatePrivateMetadataFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - item?: FieldPolicy | FieldReadFunction, - metadataErrors?: FieldPolicy | FieldReadFunction -}; -export type UploadErrorKeySpecifier = ('code' | 'field' | 'message' | UploadErrorKeySpecifier)[]; -export type UploadErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, - field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction -}; -export type UserKeySpecifier = ('addresses' | 'avatar' | 'checkout' | 'checkoutIds' | 'checkoutTokens' | 'checkouts' | 'dateJoined' | 'defaultBillingAddress' | 'defaultShippingAddress' | 'editableGroups' | 'email' | 'events' | 'externalReference' | 'firstName' | 'giftCards' | 'id' | 'isActive' | 'isStaff' | 'languageCode' | 'lastLogin' | 'lastName' | 'metadata' | 'metafield' | 'metafields' | 'note' | 'orders' | 'permissionGroups' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'storedPaymentSources' | 'updatedAt' | 'userPermissions' | UserKeySpecifier)[]; -export type UserFieldPolicy = { - addresses?: FieldPolicy | FieldReadFunction, - avatar?: FieldPolicy | FieldReadFunction, - checkout?: FieldPolicy | FieldReadFunction, - checkoutIds?: FieldPolicy | FieldReadFunction, - checkoutTokens?: FieldPolicy | FieldReadFunction, - checkouts?: FieldPolicy | FieldReadFunction, - dateJoined?: FieldPolicy | FieldReadFunction, - defaultBillingAddress?: FieldPolicy | FieldReadFunction, - defaultShippingAddress?: FieldPolicy | FieldReadFunction, - editableGroups?: FieldPolicy | FieldReadFunction, - email?: FieldPolicy | FieldReadFunction, - events?: FieldPolicy | FieldReadFunction, - externalReference?: FieldPolicy | FieldReadFunction, - firstName?: FieldPolicy | FieldReadFunction, - giftCards?: FieldPolicy | FieldReadFunction, - id?: FieldPolicy | FieldReadFunction, - isActive?: FieldPolicy | FieldReadFunction, - isStaff?: FieldPolicy | FieldReadFunction, - languageCode?: FieldPolicy | FieldReadFunction, - lastLogin?: FieldPolicy | FieldReadFunction, - lastName?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - note?: FieldPolicy | FieldReadFunction, - orders?: FieldPolicy | FieldReadFunction, - permissionGroups?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, - storedPaymentSources?: FieldPolicy | FieldReadFunction, - updatedAt?: FieldPolicy | FieldReadFunction, - userPermissions?: FieldPolicy | FieldReadFunction -}; -export type UserAvatarDeleteKeySpecifier = ('accountErrors' | 'errors' | 'user' | UserAvatarDeleteKeySpecifier)[]; -export type UserAvatarDeleteFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type UserAvatarUpdateKeySpecifier = ('accountErrors' | 'errors' | 'user' | UserAvatarUpdateKeySpecifier)[]; -export type UserAvatarUpdateFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction -}; -export type UserBulkSetActiveKeySpecifier = ('accountErrors' | 'count' | 'errors' | UserBulkSetActiveKeySpecifier)[]; -export type UserBulkSetActiveFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - count?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type UserCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | UserCountableConnectionKeySpecifier)[]; -export type UserCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, +export type TransactionCreateErrorKeySpecifier = ('field' | 'message' | 'code' | TransactionCreateErrorKeySpecifier)[]; +export type TransactionCreateErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type TransactionEventKeySpecifier = ('id' | 'createdAt' | 'status' | 'reference' | 'pspReference' | 'name' | 'message' | 'externalUrl' | 'amount' | 'type' | 'createdBy' | TransactionEventKeySpecifier)[]; +export type TransactionEventFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + createdAt?: FieldPolicy | FieldReadFunction, + status?: FieldPolicy | FieldReadFunction, + reference?: FieldPolicy | FieldReadFunction, + pspReference?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + externalUrl?: FieldPolicy | FieldReadFunction, + amount?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + createdBy?: FieldPolicy | FieldReadFunction +}; +export type TransactionEventReportKeySpecifier = ('alreadyProcessed' | 'transaction' | 'transactionEvent' | 'errors' | TransactionEventReportKeySpecifier)[]; +export type TransactionEventReportFieldPolicy = { + alreadyProcessed?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + transactionEvent?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type TransactionEventReportErrorKeySpecifier = ('field' | 'message' | 'code' | TransactionEventReportErrorKeySpecifier)[]; +export type TransactionEventReportErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type TransactionInitializeKeySpecifier = ('transaction' | 'transactionEvent' | 'data' | 'errors' | TransactionInitializeKeySpecifier)[]; +export type TransactionInitializeFieldPolicy = { + transaction?: FieldPolicy | FieldReadFunction, + transactionEvent?: FieldPolicy | FieldReadFunction, + data?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type TransactionInitializeErrorKeySpecifier = ('field' | 'message' | 'code' | TransactionInitializeErrorKeySpecifier)[]; +export type TransactionInitializeErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type TransactionInitializeSessionKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'sourceObject' | 'data' | 'merchantReference' | 'action' | TransactionInitializeSessionKeySpecifier)[]; +export type TransactionInitializeSessionFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + sourceObject?: FieldPolicy | FieldReadFunction, + data?: FieldPolicy | FieldReadFunction, + merchantReference?: FieldPolicy | FieldReadFunction, + action?: FieldPolicy | FieldReadFunction +}; +export type TransactionItemKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'createdAt' | 'modifiedAt' | 'actions' | 'authorizedAmount' | 'authorizePendingAmount' | 'refundedAmount' | 'refundPendingAmount' | 'voidedAmount' | 'canceledAmount' | 'cancelPendingAmount' | 'chargedAmount' | 'chargePendingAmount' | 'status' | 'type' | 'name' | 'message' | 'reference' | 'pspReference' | 'order' | 'events' | 'createdBy' | 'externalUrl' | TransactionItemKeySpecifier)[]; +export type TransactionItemFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + createdAt?: FieldPolicy | FieldReadFunction, + modifiedAt?: FieldPolicy | FieldReadFunction, + actions?: FieldPolicy | FieldReadFunction, + authorizedAmount?: FieldPolicy | FieldReadFunction, + authorizePendingAmount?: FieldPolicy | FieldReadFunction, + refundedAmount?: FieldPolicy | FieldReadFunction, + refundPendingAmount?: FieldPolicy | FieldReadFunction, + voidedAmount?: FieldPolicy | FieldReadFunction, + canceledAmount?: FieldPolicy | FieldReadFunction, + cancelPendingAmount?: FieldPolicy | FieldReadFunction, + chargedAmount?: FieldPolicy | FieldReadFunction, + chargePendingAmount?: FieldPolicy | FieldReadFunction, + status?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + reference?: FieldPolicy | FieldReadFunction, + pspReference?: FieldPolicy | FieldReadFunction, + order?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + createdBy?: FieldPolicy | FieldReadFunction, + externalUrl?: FieldPolicy | FieldReadFunction +}; +export type TransactionItemMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | TransactionItemMetadataUpdatedKeySpecifier)[]; +export type TransactionItemMetadataUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction +}; +export type TransactionProcessKeySpecifier = ('transaction' | 'transactionEvent' | 'data' | 'errors' | TransactionProcessKeySpecifier)[]; +export type TransactionProcessFieldPolicy = { + transaction?: FieldPolicy | FieldReadFunction, + transactionEvent?: FieldPolicy | FieldReadFunction, + data?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type TransactionProcessActionKeySpecifier = ('amount' | 'currency' | 'actionType' | TransactionProcessActionKeySpecifier)[]; +export type TransactionProcessActionFieldPolicy = { + amount?: FieldPolicy | FieldReadFunction, + currency?: FieldPolicy | FieldReadFunction, + actionType?: FieldPolicy | FieldReadFunction +}; +export type TransactionProcessErrorKeySpecifier = ('field' | 'message' | 'code' | TransactionProcessErrorKeySpecifier)[]; +export type TransactionProcessErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type TransactionProcessSessionKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'sourceObject' | 'data' | 'merchantReference' | 'action' | TransactionProcessSessionKeySpecifier)[]; +export type TransactionProcessSessionFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + sourceObject?: FieldPolicy | FieldReadFunction, + data?: FieldPolicy | FieldReadFunction, + merchantReference?: FieldPolicy | FieldReadFunction, + action?: FieldPolicy | FieldReadFunction +}; +export type TransactionRefundRequestedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'transaction' | 'action' | TransactionRefundRequestedKeySpecifier)[]; +export type TransactionRefundRequestedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + transaction?: FieldPolicy | FieldReadFunction, + action?: FieldPolicy | FieldReadFunction +}; +export type TransactionRequestActionKeySpecifier = ('transaction' | 'errors' | TransactionRequestActionKeySpecifier)[]; +export type TransactionRequestActionFieldPolicy = { + transaction?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type TransactionRequestActionErrorKeySpecifier = ('field' | 'message' | 'code' | TransactionRequestActionErrorKeySpecifier)[]; +export type TransactionRequestActionErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type TransactionUpdateKeySpecifier = ('transaction' | 'errors' | TransactionUpdateKeySpecifier)[]; +export type TransactionUpdateFieldPolicy = { + transaction?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type TransactionUpdateErrorKeySpecifier = ('field' | 'message' | 'code' | TransactionUpdateErrorKeySpecifier)[]; +export type TransactionUpdateErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type TranslatableItemConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | TranslatableItemConnectionKeySpecifier)[]; +export type TranslatableItemConnectionFieldPolicy = { pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type UserCountableEdgeKeySpecifier = ('cursor' | 'node' | UserCountableEdgeKeySpecifier)[]; +export type TranslatableItemEdgeKeySpecifier = ('node' | 'cursor' | TranslatableItemEdgeKeySpecifier)[]; +export type TranslatableItemEdgeFieldPolicy = { + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction +}; +export type TranslationCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'translation' | TranslationCreatedKeySpecifier)[]; +export type TranslationCreatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction +}; +export type TranslationErrorKeySpecifier = ('field' | 'message' | 'code' | TranslationErrorKeySpecifier)[]; +export type TranslationErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type TranslationUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'translation' | TranslationUpdatedKeySpecifier)[]; +export type TranslationUpdatedFieldPolicy = { + issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, + issuingPrincipal?: FieldPolicy | FieldReadFunction, + recipient?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction +}; +export type UpdateMetadataKeySpecifier = ('metadataErrors' | 'errors' | 'item' | UpdateMetadataKeySpecifier)[]; +export type UpdateMetadataFieldPolicy = { + metadataErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + item?: FieldPolicy | FieldReadFunction +}; +export type UpdatePrivateMetadataKeySpecifier = ('metadataErrors' | 'errors' | 'item' | UpdatePrivateMetadataKeySpecifier)[]; +export type UpdatePrivateMetadataFieldPolicy = { + metadataErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, + item?: FieldPolicy | FieldReadFunction +}; +export type UploadErrorKeySpecifier = ('field' | 'message' | 'code' | UploadErrorKeySpecifier)[]; +export type UploadErrorFieldPolicy = { + field?: FieldPolicy | FieldReadFunction, + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction +}; +export type UserKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'email' | 'firstName' | 'lastName' | 'isStaff' | 'isActive' | 'addresses' | 'checkout' | 'checkoutTokens' | 'checkoutIds' | 'checkouts' | 'giftCards' | 'note' | 'orders' | 'userPermissions' | 'permissionGroups' | 'editableGroups' | 'avatar' | 'events' | 'storedPaymentSources' | 'languageCode' | 'defaultShippingAddress' | 'defaultBillingAddress' | 'externalReference' | 'lastLogin' | 'dateJoined' | 'updatedAt' | UserKeySpecifier)[]; +export type UserFieldPolicy = { + id?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + email?: FieldPolicy | FieldReadFunction, + firstName?: FieldPolicy | FieldReadFunction, + lastName?: FieldPolicy | FieldReadFunction, + isStaff?: FieldPolicy | FieldReadFunction, + isActive?: FieldPolicy | FieldReadFunction, + addresses?: FieldPolicy | FieldReadFunction, + checkout?: FieldPolicy | FieldReadFunction, + checkoutTokens?: FieldPolicy | FieldReadFunction, + checkoutIds?: FieldPolicy | FieldReadFunction, + checkouts?: FieldPolicy | FieldReadFunction, + giftCards?: FieldPolicy | FieldReadFunction, + note?: FieldPolicy | FieldReadFunction, + orders?: FieldPolicy | FieldReadFunction, + userPermissions?: FieldPolicy | FieldReadFunction, + permissionGroups?: FieldPolicy | FieldReadFunction, + editableGroups?: FieldPolicy | FieldReadFunction, + avatar?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + storedPaymentSources?: FieldPolicy | FieldReadFunction, + languageCode?: FieldPolicy | FieldReadFunction, + defaultShippingAddress?: FieldPolicy | FieldReadFunction, + defaultBillingAddress?: FieldPolicy | FieldReadFunction, + externalReference?: FieldPolicy | FieldReadFunction, + lastLogin?: FieldPolicy | FieldReadFunction, + dateJoined?: FieldPolicy | FieldReadFunction, + updatedAt?: FieldPolicy | FieldReadFunction +}; +export type UserAvatarDeleteKeySpecifier = ('user' | 'accountErrors' | 'errors' | UserAvatarDeleteKeySpecifier)[]; +export type UserAvatarDeleteFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type UserAvatarUpdateKeySpecifier = ('user' | 'accountErrors' | 'errors' | UserAvatarUpdateKeySpecifier)[]; +export type UserAvatarUpdateFieldPolicy = { + user?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type UserBulkSetActiveKeySpecifier = ('count' | 'accountErrors' | 'errors' | UserBulkSetActiveKeySpecifier)[]; +export type UserBulkSetActiveFieldPolicy = { + count?: FieldPolicy | FieldReadFunction, + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction +}; +export type UserCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | UserCountableConnectionKeySpecifier)[]; +export type UserCountableConnectionFieldPolicy = { + pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type UserCountableEdgeKeySpecifier = ('node' | 'cursor' | UserCountableEdgeKeySpecifier)[]; export type UserCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; export type UserPermissionKeySpecifier = ('code' | 'name' | 'sourcePermissionGroups' | UserPermissionKeySpecifier)[]; export type UserPermissionFieldPolicy = { @@ -5560,80 +5560,80 @@ export type UserPermissionFieldPolicy = { name?: FieldPolicy | FieldReadFunction, sourcePermissionGroups?: FieldPolicy | FieldReadFunction }; -export type VATKeySpecifier = ('countryCode' | 'reducedRates' | 'standardRate' | VATKeySpecifier)[]; +export type VATKeySpecifier = ('countryCode' | 'standardRate' | 'reducedRates' | VATKeySpecifier)[]; export type VATFieldPolicy = { countryCode?: FieldPolicy | FieldReadFunction, - reducedRates?: FieldPolicy | FieldReadFunction, - standardRate?: FieldPolicy | FieldReadFunction + standardRate?: FieldPolicy | FieldReadFunction, + reducedRates?: FieldPolicy | FieldReadFunction }; -export type VariantMediaAssignKeySpecifier = ('errors' | 'media' | 'productErrors' | 'productVariant' | VariantMediaAssignKeySpecifier)[]; +export type VariantMediaAssignKeySpecifier = ('productVariant' | 'media' | 'productErrors' | 'errors' | VariantMediaAssignKeySpecifier)[]; export type VariantMediaAssignFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + productVariant?: FieldPolicy | FieldReadFunction, media?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type VariantMediaUnassignKeySpecifier = ('errors' | 'media' | 'productErrors' | 'productVariant' | VariantMediaUnassignKeySpecifier)[]; +export type VariantMediaUnassignKeySpecifier = ('productVariant' | 'media' | 'productErrors' | 'errors' | VariantMediaUnassignKeySpecifier)[]; export type VariantMediaUnassignFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, + productVariant?: FieldPolicy | FieldReadFunction, media?: FieldPolicy | FieldReadFunction, productErrors?: FieldPolicy | FieldReadFunction, - productVariant?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type VariantPricingInfoKeySpecifier = ('discount' | 'discountLocalCurrency' | 'onSale' | 'price' | 'priceLocalCurrency' | 'priceUndiscounted' | VariantPricingInfoKeySpecifier)[]; +export type VariantPricingInfoKeySpecifier = ('onSale' | 'discount' | 'discountLocalCurrency' | 'price' | 'priceUndiscounted' | 'priceLocalCurrency' | VariantPricingInfoKeySpecifier)[]; export type VariantPricingInfoFieldPolicy = { + onSale?: FieldPolicy | FieldReadFunction, discount?: FieldPolicy | FieldReadFunction, discountLocalCurrency?: FieldPolicy | FieldReadFunction, - onSale?: FieldPolicy | FieldReadFunction, price?: FieldPolicy | FieldReadFunction, - priceLocalCurrency?: FieldPolicy | FieldReadFunction, - priceUndiscounted?: FieldPolicy | FieldReadFunction + priceUndiscounted?: FieldPolicy | FieldReadFunction, + priceLocalCurrency?: FieldPolicy | FieldReadFunction }; -export type VerifyTokenKeySpecifier = ('accountErrors' | 'errors' | 'isValid' | 'payload' | 'user' | VerifyTokenKeySpecifier)[]; +export type VerifyTokenKeySpecifier = ('user' | 'isValid' | 'payload' | 'accountErrors' | 'errors' | VerifyTokenKeySpecifier)[]; export type VerifyTokenFieldPolicy = { - accountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, + user?: FieldPolicy | FieldReadFunction, isValid?: FieldPolicy | FieldReadFunction, payload?: FieldPolicy | FieldReadFunction, - user?: FieldPolicy | FieldReadFunction + accountErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type VoucherKeySpecifier = ('applyOncePerCustomer' | 'applyOncePerOrder' | 'categories' | 'channelListings' | 'code' | 'collections' | 'countries' | 'currency' | 'discountValue' | 'discountValueType' | 'endDate' | 'id' | 'metadata' | 'metafield' | 'metafields' | 'minCheckoutItemsQuantity' | 'minSpent' | 'name' | 'onlyForStaff' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'products' | 'startDate' | 'translation' | 'type' | 'usageLimit' | 'used' | 'variants' | VoucherKeySpecifier)[]; +export type VoucherKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'code' | 'usageLimit' | 'used' | 'startDate' | 'endDate' | 'applyOncePerOrder' | 'applyOncePerCustomer' | 'onlyForStaff' | 'minCheckoutItemsQuantity' | 'categories' | 'collections' | 'products' | 'variants' | 'countries' | 'translation' | 'discountValueType' | 'discountValue' | 'currency' | 'minSpent' | 'type' | 'channelListings' | VoucherKeySpecifier)[]; export type VoucherFieldPolicy = { - applyOncePerCustomer?: FieldPolicy | FieldReadFunction, - applyOncePerOrder?: FieldPolicy | FieldReadFunction, - categories?: FieldPolicy | FieldReadFunction, - channelListings?: FieldPolicy | FieldReadFunction, - code?: FieldPolicy | FieldReadFunction, - collections?: FieldPolicy | FieldReadFunction, - countries?: FieldPolicy | FieldReadFunction, - currency?: FieldPolicy | FieldReadFunction, - discountValue?: FieldPolicy | FieldReadFunction, - discountValueType?: FieldPolicy | FieldReadFunction, - endDate?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - metadata?: FieldPolicy | FieldReadFunction, - metafield?: FieldPolicy | FieldReadFunction, - metafields?: FieldPolicy | FieldReadFunction, - minCheckoutItemsQuantity?: FieldPolicy | FieldReadFunction, - minSpent?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction, - onlyForStaff?: FieldPolicy | FieldReadFunction, privateMetadata?: FieldPolicy | FieldReadFunction, privateMetafield?: FieldPolicy | FieldReadFunction, privateMetafields?: FieldPolicy | FieldReadFunction, - products?: FieldPolicy | FieldReadFunction, - startDate?: FieldPolicy | FieldReadFunction, - translation?: FieldPolicy | FieldReadFunction, - type?: FieldPolicy | FieldReadFunction, + metadata?: FieldPolicy | FieldReadFunction, + metafield?: FieldPolicy | FieldReadFunction, + metafields?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, usageLimit?: FieldPolicy | FieldReadFunction, used?: FieldPolicy | FieldReadFunction, - variants?: FieldPolicy | FieldReadFunction + startDate?: FieldPolicy | FieldReadFunction, + endDate?: FieldPolicy | FieldReadFunction, + applyOncePerOrder?: FieldPolicy | FieldReadFunction, + applyOncePerCustomer?: FieldPolicy | FieldReadFunction, + onlyForStaff?: FieldPolicy | FieldReadFunction, + minCheckoutItemsQuantity?: FieldPolicy | FieldReadFunction, + categories?: FieldPolicy | FieldReadFunction, + collections?: FieldPolicy | FieldReadFunction, + products?: FieldPolicy | FieldReadFunction, + variants?: FieldPolicy | FieldReadFunction, + countries?: FieldPolicy | FieldReadFunction, + translation?: FieldPolicy | FieldReadFunction, + discountValueType?: FieldPolicy | FieldReadFunction, + discountValue?: FieldPolicy | FieldReadFunction, + currency?: FieldPolicy | FieldReadFunction, + minSpent?: FieldPolicy | FieldReadFunction, + type?: FieldPolicy | FieldReadFunction, + channelListings?: FieldPolicy | FieldReadFunction }; -export type VoucherAddCataloguesKeySpecifier = ('discountErrors' | 'errors' | 'voucher' | VoucherAddCataloguesKeySpecifier)[]; +export type VoucherAddCataloguesKeySpecifier = ('voucher' | 'discountErrors' | 'errors' | VoucherAddCataloguesKeySpecifier)[]; export type VoucherAddCataloguesFieldPolicy = { + voucher?: FieldPolicy | FieldReadFunction, discountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - voucher?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; export type VoucherBulkDeleteKeySpecifier = ('count' | 'discountErrors' | 'errors' | VoucherBulkDeleteKeySpecifier)[]; export type VoucherBulkDeleteFieldPolicy = { @@ -5641,30 +5641,30 @@ export type VoucherBulkDeleteFieldPolicy = { discountErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type VoucherChannelListingKeySpecifier = ('channel' | 'currency' | 'discountValue' | 'id' | 'minSpent' | VoucherChannelListingKeySpecifier)[]; +export type VoucherChannelListingKeySpecifier = ('id' | 'channel' | 'discountValue' | 'currency' | 'minSpent' | VoucherChannelListingKeySpecifier)[]; export type VoucherChannelListingFieldPolicy = { - channel?: FieldPolicy | FieldReadFunction, - currency?: FieldPolicy | FieldReadFunction, - discountValue?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, + channel?: FieldPolicy | FieldReadFunction, + discountValue?: FieldPolicy | FieldReadFunction, + currency?: FieldPolicy | FieldReadFunction, minSpent?: FieldPolicy | FieldReadFunction }; -export type VoucherChannelListingUpdateKeySpecifier = ('discountErrors' | 'errors' | 'voucher' | VoucherChannelListingUpdateKeySpecifier)[]; +export type VoucherChannelListingUpdateKeySpecifier = ('voucher' | 'discountErrors' | 'errors' | VoucherChannelListingUpdateKeySpecifier)[]; export type VoucherChannelListingUpdateFieldPolicy = { + voucher?: FieldPolicy | FieldReadFunction, discountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - voucher?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; -export type VoucherCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | VoucherCountableConnectionKeySpecifier)[]; +export type VoucherCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | VoucherCountableConnectionKeySpecifier)[]; export type VoucherCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type VoucherCountableEdgeKeySpecifier = ('cursor' | 'node' | VoucherCountableEdgeKeySpecifier)[]; +export type VoucherCountableEdgeKeySpecifier = ('node' | 'cursor' | VoucherCountableEdgeKeySpecifier)[]; export type VoucherCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; export type VoucherCreateKeySpecifier = ('discountErrors' | 'errors' | 'voucher' | VoucherCreateKeySpecifier)[]; export type VoucherCreateFieldPolicy = { @@ -5672,12 +5672,12 @@ export type VoucherCreateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | 'voucher' | VoucherCreatedKeySpecifier)[]; +export type VoucherCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'voucher' | VoucherCreatedKeySpecifier)[]; export type VoucherCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; export type VoucherDeleteKeySpecifier = ('discountErrors' | 'errors' | 'voucher' | VoucherDeleteKeySpecifier)[]; @@ -5686,27 +5686,27 @@ export type VoucherDeleteFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | 'voucher' | VoucherDeletedKeySpecifier)[]; +export type VoucherDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'voucher' | VoucherDeletedKeySpecifier)[]; export type VoucherDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherMetadataUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | 'voucher' | VoucherMetadataUpdatedKeySpecifier)[]; +export type VoucherMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'voucher' | VoucherMetadataUpdatedKeySpecifier)[]; export type VoucherMetadataUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherRemoveCataloguesKeySpecifier = ('discountErrors' | 'errors' | 'voucher' | VoucherRemoveCataloguesKeySpecifier)[]; +export type VoucherRemoveCataloguesKeySpecifier = ('voucher' | 'discountErrors' | 'errors' | VoucherRemoveCataloguesKeySpecifier)[]; export type VoucherRemoveCataloguesFieldPolicy = { + voucher?: FieldPolicy | FieldReadFunction, discountErrors?: FieldPolicy | FieldReadFunction, - errors?: FieldPolicy | FieldReadFunction, - voucher?: FieldPolicy | FieldReadFunction + errors?: FieldPolicy | FieldReadFunction }; export type VoucherTranslatableContentKeySpecifier = ('id' | 'name' | 'translation' | 'voucher' | VoucherTranslatableContentKeySpecifier)[]; export type VoucherTranslatableContentFieldPolicy = { @@ -5715,10 +5715,10 @@ export type VoucherTranslatableContentFieldPolicy = { translation?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherTranslateKeySpecifier = ('errors' | 'translationErrors' | 'voucher' | VoucherTranslateKeySpecifier)[]; +export type VoucherTranslateKeySpecifier = ('translationErrors' | 'errors' | 'voucher' | VoucherTranslateKeySpecifier)[]; export type VoucherTranslateFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, translationErrors?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; export type VoucherTranslationKeySpecifier = ('id' | 'language' | 'name' | VoucherTranslationKeySpecifier)[]; @@ -5733,188 +5733,188 @@ export type VoucherUpdateFieldPolicy = { errors?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type VoucherUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | 'voucher' | VoucherUpdatedKeySpecifier)[]; +export type VoucherUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'voucher' | VoucherUpdatedKeySpecifier)[]; export type VoucherUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, voucher?: FieldPolicy | FieldReadFunction }; -export type WarehouseKeySpecifier = ('address' | 'clickAndCollectOption' | 'companyName' | 'email' | 'externalReference' | 'id' | 'isPrivate' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'shippingZones' | 'slug' | WarehouseKeySpecifier)[]; +export type WarehouseKeySpecifier = ('id' | 'privateMetadata' | 'privateMetafield' | 'privateMetafields' | 'metadata' | 'metafield' | 'metafields' | 'name' | 'slug' | 'email' | 'isPrivate' | 'address' | 'companyName' | 'clickAndCollectOption' | 'shippingZones' | 'externalReference' | WarehouseKeySpecifier)[]; export type WarehouseFieldPolicy = { - address?: FieldPolicy | FieldReadFunction, - clickAndCollectOption?: FieldPolicy | FieldReadFunction, - companyName?: FieldPolicy | FieldReadFunction, - email?: FieldPolicy | FieldReadFunction, - externalReference?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isPrivate?: FieldPolicy | FieldReadFunction, + privateMetadata?: FieldPolicy | FieldReadFunction, + privateMetafield?: FieldPolicy | FieldReadFunction, + privateMetafields?: FieldPolicy | FieldReadFunction, metadata?: FieldPolicy | FieldReadFunction, metafield?: FieldPolicy | FieldReadFunction, metafields?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - privateMetadata?: FieldPolicy | FieldReadFunction, - privateMetafield?: FieldPolicy | FieldReadFunction, - privateMetafields?: FieldPolicy | FieldReadFunction, + slug?: FieldPolicy | FieldReadFunction, + email?: FieldPolicy | FieldReadFunction, + isPrivate?: FieldPolicy | FieldReadFunction, + address?: FieldPolicy | FieldReadFunction, + companyName?: FieldPolicy | FieldReadFunction, + clickAndCollectOption?: FieldPolicy | FieldReadFunction, shippingZones?: FieldPolicy | FieldReadFunction, - slug?: FieldPolicy | FieldReadFunction + externalReference?: FieldPolicy | FieldReadFunction }; -export type WarehouseCountableConnectionKeySpecifier = ('edges' | 'pageInfo' | 'totalCount' | WarehouseCountableConnectionKeySpecifier)[]; +export type WarehouseCountableConnectionKeySpecifier = ('pageInfo' | 'edges' | 'totalCount' | WarehouseCountableConnectionKeySpecifier)[]; export type WarehouseCountableConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, + edges?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction }; -export type WarehouseCountableEdgeKeySpecifier = ('cursor' | 'node' | WarehouseCountableEdgeKeySpecifier)[]; +export type WarehouseCountableEdgeKeySpecifier = ('node' | 'cursor' | WarehouseCountableEdgeKeySpecifier)[]; export type WarehouseCountableEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction + node?: FieldPolicy | FieldReadFunction, + cursor?: FieldPolicy | FieldReadFunction }; -export type WarehouseCreateKeySpecifier = ('errors' | 'warehouse' | 'warehouseErrors' | WarehouseCreateKeySpecifier)[]; +export type WarehouseCreateKeySpecifier = ('warehouseErrors' | 'errors' | 'warehouse' | WarehouseCreateKeySpecifier)[]; export type WarehouseCreateFieldPolicy = { + warehouseErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction, - warehouseErrors?: FieldPolicy | FieldReadFunction + warehouse?: FieldPolicy | FieldReadFunction }; -export type WarehouseCreatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | 'warehouse' | WarehouseCreatedKeySpecifier)[]; +export type WarehouseCreatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'warehouse' | WarehouseCreatedKeySpecifier)[]; export type WarehouseCreatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type WarehouseDeleteKeySpecifier = ('errors' | 'warehouse' | 'warehouseErrors' | WarehouseDeleteKeySpecifier)[]; +export type WarehouseDeleteKeySpecifier = ('warehouseErrors' | 'errors' | 'warehouse' | WarehouseDeleteKeySpecifier)[]; export type WarehouseDeleteFieldPolicy = { + warehouseErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction, - warehouseErrors?: FieldPolicy | FieldReadFunction + warehouse?: FieldPolicy | FieldReadFunction }; -export type WarehouseDeletedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | 'warehouse' | WarehouseDeletedKeySpecifier)[]; +export type WarehouseDeletedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'warehouse' | WarehouseDeletedKeySpecifier)[]; export type WarehouseDeletedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type WarehouseErrorKeySpecifier = ('code' | 'field' | 'message' | 'shippingZones' | WarehouseErrorKeySpecifier)[]; +export type WarehouseErrorKeySpecifier = ('field' | 'message' | 'code' | 'shippingZones' | WarehouseErrorKeySpecifier)[]; export type WarehouseErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction, shippingZones?: FieldPolicy | FieldReadFunction }; -export type WarehouseMetadataUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | 'warehouse' | WarehouseMetadataUpdatedKeySpecifier)[]; +export type WarehouseMetadataUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'warehouse' | WarehouseMetadataUpdatedKeySpecifier)[]; export type WarehouseMetadataUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type WarehouseShippingZoneAssignKeySpecifier = ('errors' | 'warehouse' | 'warehouseErrors' | WarehouseShippingZoneAssignKeySpecifier)[]; +export type WarehouseShippingZoneAssignKeySpecifier = ('warehouseErrors' | 'errors' | 'warehouse' | WarehouseShippingZoneAssignKeySpecifier)[]; export type WarehouseShippingZoneAssignFieldPolicy = { + warehouseErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction, - warehouseErrors?: FieldPolicy | FieldReadFunction + warehouse?: FieldPolicy | FieldReadFunction }; -export type WarehouseShippingZoneUnassignKeySpecifier = ('errors' | 'warehouse' | 'warehouseErrors' | WarehouseShippingZoneUnassignKeySpecifier)[]; +export type WarehouseShippingZoneUnassignKeySpecifier = ('warehouseErrors' | 'errors' | 'warehouse' | WarehouseShippingZoneUnassignKeySpecifier)[]; export type WarehouseShippingZoneUnassignFieldPolicy = { + warehouseErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction, - warehouseErrors?: FieldPolicy | FieldReadFunction + warehouse?: FieldPolicy | FieldReadFunction }; -export type WarehouseUpdateKeySpecifier = ('errors' | 'warehouse' | 'warehouseErrors' | WarehouseUpdateKeySpecifier)[]; +export type WarehouseUpdateKeySpecifier = ('warehouseErrors' | 'errors' | 'warehouse' | WarehouseUpdateKeySpecifier)[]; export type WarehouseUpdateFieldPolicy = { + warehouseErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - warehouse?: FieldPolicy | FieldReadFunction, - warehouseErrors?: FieldPolicy | FieldReadFunction + warehouse?: FieldPolicy | FieldReadFunction }; -export type WarehouseUpdatedKeySpecifier = ('issuedAt' | 'issuingPrincipal' | 'recipient' | 'version' | 'warehouse' | WarehouseUpdatedKeySpecifier)[]; +export type WarehouseUpdatedKeySpecifier = ('issuedAt' | 'version' | 'issuingPrincipal' | 'recipient' | 'warehouse' | WarehouseUpdatedKeySpecifier)[]; export type WarehouseUpdatedFieldPolicy = { issuedAt?: FieldPolicy | FieldReadFunction, + version?: FieldPolicy | FieldReadFunction, issuingPrincipal?: FieldPolicy | FieldReadFunction, recipient?: FieldPolicy | FieldReadFunction, - version?: FieldPolicy | FieldReadFunction, warehouse?: FieldPolicy | FieldReadFunction }; -export type WebhookKeySpecifier = ('app' | 'asyncEvents' | 'customHeaders' | 'eventDeliveries' | 'events' | 'id' | 'isActive' | 'name' | 'secretKey' | 'subscriptionQuery' | 'syncEvents' | 'targetUrl' | WebhookKeySpecifier)[]; +export type WebhookKeySpecifier = ('id' | 'name' | 'events' | 'syncEvents' | 'asyncEvents' | 'app' | 'eventDeliveries' | 'targetUrl' | 'isActive' | 'secretKey' | 'subscriptionQuery' | 'customHeaders' | WebhookKeySpecifier)[]; export type WebhookFieldPolicy = { - app?: FieldPolicy | FieldReadFunction, - asyncEvents?: FieldPolicy | FieldReadFunction, - customHeaders?: FieldPolicy | FieldReadFunction, - eventDeliveries?: FieldPolicy | FieldReadFunction, - events?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, - isActive?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + syncEvents?: FieldPolicy | FieldReadFunction, + asyncEvents?: FieldPolicy | FieldReadFunction, + app?: FieldPolicy | FieldReadFunction, + eventDeliveries?: FieldPolicy | FieldReadFunction, + targetUrl?: FieldPolicy | FieldReadFunction, + isActive?: FieldPolicy | FieldReadFunction, secretKey?: FieldPolicy | FieldReadFunction, subscriptionQuery?: FieldPolicy | FieldReadFunction, - syncEvents?: FieldPolicy | FieldReadFunction, - targetUrl?: FieldPolicy | FieldReadFunction + customHeaders?: FieldPolicy | FieldReadFunction }; -export type WebhookCreateKeySpecifier = ('errors' | 'webhook' | 'webhookErrors' | WebhookCreateKeySpecifier)[]; +export type WebhookCreateKeySpecifier = ('webhookErrors' | 'errors' | 'webhook' | WebhookCreateKeySpecifier)[]; export type WebhookCreateFieldPolicy = { + webhookErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - webhook?: FieldPolicy | FieldReadFunction, - webhookErrors?: FieldPolicy | FieldReadFunction + webhook?: FieldPolicy | FieldReadFunction }; -export type WebhookDeleteKeySpecifier = ('errors' | 'webhook' | 'webhookErrors' | WebhookDeleteKeySpecifier)[]; +export type WebhookDeleteKeySpecifier = ('webhookErrors' | 'errors' | 'webhook' | WebhookDeleteKeySpecifier)[]; export type WebhookDeleteFieldPolicy = { + webhookErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - webhook?: FieldPolicy | FieldReadFunction, - webhookErrors?: FieldPolicy | FieldReadFunction + webhook?: FieldPolicy | FieldReadFunction }; -export type WebhookDryRunKeySpecifier = ('errors' | 'payload' | WebhookDryRunKeySpecifier)[]; +export type WebhookDryRunKeySpecifier = ('payload' | 'errors' | WebhookDryRunKeySpecifier)[]; export type WebhookDryRunFieldPolicy = { - errors?: FieldPolicy | FieldReadFunction, - payload?: FieldPolicy | FieldReadFunction + payload?: FieldPolicy | FieldReadFunction, + errors?: FieldPolicy | FieldReadFunction }; -export type WebhookDryRunErrorKeySpecifier = ('code' | 'field' | 'message' | WebhookDryRunErrorKeySpecifier)[]; +export type WebhookDryRunErrorKeySpecifier = ('field' | 'message' | 'code' | WebhookDryRunErrorKeySpecifier)[]; export type WebhookDryRunErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type WebhookErrorKeySpecifier = ('code' | 'field' | 'message' | WebhookErrorKeySpecifier)[]; +export type WebhookErrorKeySpecifier = ('field' | 'message' | 'code' | WebhookErrorKeySpecifier)[]; export type WebhookErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type WebhookEventKeySpecifier = ('eventType' | 'name' | WebhookEventKeySpecifier)[]; +export type WebhookEventKeySpecifier = ('name' | 'eventType' | WebhookEventKeySpecifier)[]; export type WebhookEventFieldPolicy = { - eventType?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction + name?: FieldPolicy | FieldReadFunction, + eventType?: FieldPolicy | FieldReadFunction }; -export type WebhookEventAsyncKeySpecifier = ('eventType' | 'name' | WebhookEventAsyncKeySpecifier)[]; +export type WebhookEventAsyncKeySpecifier = ('name' | 'eventType' | WebhookEventAsyncKeySpecifier)[]; export type WebhookEventAsyncFieldPolicy = { - eventType?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction + name?: FieldPolicy | FieldReadFunction, + eventType?: FieldPolicy | FieldReadFunction }; -export type WebhookEventSyncKeySpecifier = ('eventType' | 'name' | WebhookEventSyncKeySpecifier)[]; +export type WebhookEventSyncKeySpecifier = ('name' | 'eventType' | WebhookEventSyncKeySpecifier)[]; export type WebhookEventSyncFieldPolicy = { - eventType?: FieldPolicy | FieldReadFunction, - name?: FieldPolicy | FieldReadFunction + name?: FieldPolicy | FieldReadFunction, + eventType?: FieldPolicy | FieldReadFunction }; export type WebhookTriggerKeySpecifier = ('delivery' | 'errors' | WebhookTriggerKeySpecifier)[]; export type WebhookTriggerFieldPolicy = { delivery?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction }; -export type WebhookTriggerErrorKeySpecifier = ('code' | 'field' | 'message' | WebhookTriggerErrorKeySpecifier)[]; +export type WebhookTriggerErrorKeySpecifier = ('field' | 'message' | 'code' | WebhookTriggerErrorKeySpecifier)[]; export type WebhookTriggerErrorFieldPolicy = { - code?: FieldPolicy | FieldReadFunction, field?: FieldPolicy | FieldReadFunction, - message?: FieldPolicy | FieldReadFunction + message?: FieldPolicy | FieldReadFunction, + code?: FieldPolicy | FieldReadFunction }; -export type WebhookUpdateKeySpecifier = ('errors' | 'webhook' | 'webhookErrors' | WebhookUpdateKeySpecifier)[]; +export type WebhookUpdateKeySpecifier = ('webhookErrors' | 'errors' | 'webhook' | WebhookUpdateKeySpecifier)[]; export type WebhookUpdateFieldPolicy = { + webhookErrors?: FieldPolicy | FieldReadFunction, errors?: FieldPolicy | FieldReadFunction, - webhook?: FieldPolicy | FieldReadFunction, - webhookErrors?: FieldPolicy | FieldReadFunction + webhook?: FieldPolicy | FieldReadFunction }; export type WeightKeySpecifier = ('unit' | 'value' | WeightKeySpecifier)[]; export type WeightFieldPolicy = { diff --git a/src/graphql/types.generated.ts b/src/graphql/types.generated.ts index 85535451f..9315fd8dd 100644 --- a/src/graphql/types.generated.ts +++ b/src/graphql/types.generated.ts @@ -11,116 +11,156 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; + /** + * The `Date` scalar type represents a Date + * value as specified by + * [iso8601](https://en.wikipedia.org/wiki/ISO_8601). + */ Date: any; + /** + * The `DateTime` scalar type represents a DateTime + * value as specified by + * [iso8601](https://en.wikipedia.org/wiki/ISO_8601). + */ DateTime: any; + /** + * Custom Decimal implementation. + * + * Returns Decimal as a float in the API, + * parses float to the Decimal on the way back. + */ Decimal: any; + /** + * The `GenericScalar` scalar type represents a generic + * GraphQL scalar value that could be: + * String, Boolean, Int, Float, List or Object. + */ GenericScalar: any; JSON: any; JSONString: any; + /** + * Metadata is a map of key-value pairs, both keys and values are `String`. + * + * Example: + * ``` + * { + * "key1": "value1", + * "key2": "value2" + * } + * ``` + */ Metadata: any; + /** The `Minute` scalar type represents number of minutes by integer value. */ Minute: any; + /** + * Nonnegative Decimal scalar implementation. + * + * Should be used in places where value must be nonnegative (0 or greater). + */ PositiveDecimal: any; UUID: any; + /** Variables of this type must be set to null in mutations. They will be replaced with a filename from a following multipart part containing a binary file. See: https://github.com/jaydenseric/graphql-multipart-request-spec. */ Upload: any; WeightScalar: any; + /** _Any value scalar as defined by Federation spec. */ _Any: any; }; /** An enumeration. */ export enum AccountErrorCode { - ACCOUNT_NOT_CONFIRMED = 'ACCOUNT_NOT_CONFIRMED', ACTIVATE_OWN_ACCOUNT = 'ACTIVATE_OWN_ACCOUNT', ACTIVATE_SUPERUSER_ACCOUNT = 'ACTIVATE_SUPERUSER_ACCOUNT', - CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', + DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', DEACTIVATE_OWN_ACCOUNT = 'DEACTIVATE_OWN_ACCOUNT', DEACTIVATE_SUPERUSER_ACCOUNT = 'DEACTIVATE_SUPERUSER_ACCOUNT', DELETE_NON_STAFF_USER = 'DELETE_NON_STAFF_USER', DELETE_OWN_ACCOUNT = 'DELETE_OWN_ACCOUNT', DELETE_STAFF_ACCOUNT = 'DELETE_STAFF_ACCOUNT', DELETE_SUPERUSER_ACCOUNT = 'DELETE_SUPERUSER_ACCOUNT', - DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INACTIVE = 'INACTIVE', INVALID = 'INVALID', - INVALID_CREDENTIALS = 'INVALID_CREDENTIALS', INVALID_PASSWORD = 'INVALID_PASSWORD', - JWT_DECODE_ERROR = 'JWT_DECODE_ERROR', - JWT_INVALID_CSRF_TOKEN = 'JWT_INVALID_CSRF_TOKEN', - JWT_INVALID_TOKEN = 'JWT_INVALID_TOKEN', - JWT_MISSING_TOKEN = 'JWT_MISSING_TOKEN', - JWT_SIGNATURE_EXPIRED = 'JWT_SIGNATURE_EXPIRED', LEFT_NOT_MANAGEABLE_PERMISSION = 'LEFT_NOT_MANAGEABLE_PERMISSION', - MISSING_CHANNEL_SLUG = 'MISSING_CHANNEL_SLUG', + INVALID_CREDENTIALS = 'INVALID_CREDENTIALS', NOT_FOUND = 'NOT_FOUND', + OUT_OF_SCOPE_USER = 'OUT_OF_SCOPE_USER', OUT_OF_SCOPE_GROUP = 'OUT_OF_SCOPE_GROUP', OUT_OF_SCOPE_PERMISSION = 'OUT_OF_SCOPE_PERMISSION', - OUT_OF_SCOPE_USER = 'OUT_OF_SCOPE_USER', PASSWORD_ENTIRELY_NUMERIC = 'PASSWORD_ENTIRELY_NUMERIC', - PASSWORD_RESET_ALREADY_REQUESTED = 'PASSWORD_RESET_ALREADY_REQUESTED', PASSWORD_TOO_COMMON = 'PASSWORD_TOO_COMMON', PASSWORD_TOO_SHORT = 'PASSWORD_TOO_SHORT', PASSWORD_TOO_SIMILAR = 'PASSWORD_TOO_SIMILAR', + PASSWORD_RESET_ALREADY_REQUESTED = 'PASSWORD_RESET_ALREADY_REQUESTED', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + JWT_SIGNATURE_EXPIRED = 'JWT_SIGNATURE_EXPIRED', + JWT_INVALID_TOKEN = 'JWT_INVALID_TOKEN', + JWT_DECODE_ERROR = 'JWT_DECODE_ERROR', + JWT_MISSING_TOKEN = 'JWT_MISSING_TOKEN', + JWT_INVALID_CSRF_TOKEN = 'JWT_INVALID_CSRF_TOKEN', + CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', + MISSING_CHANNEL_SLUG = 'MISSING_CHANNEL_SLUG', + ACCOUNT_NOT_CONFIRMED = 'ACCOUNT_NOT_CONFIRMED' } /** Fields required to update the user. */ export type AccountInput = { + /** Given name. */ + firstName?: InputMaybe; + /** Family name. */ + lastName?: InputMaybe; + /** User language code. */ + languageCode?: InputMaybe; /** Billing address of the customer. */ defaultBillingAddress?: InputMaybe; /** Shipping address of the customer. */ defaultShippingAddress?: InputMaybe; - /** Given name. */ - firstName?: InputMaybe; - /** User language code. */ - languageCode?: InputMaybe; - /** Family name. */ - lastName?: InputMaybe; }; /** Fields required to create a user. */ export type AccountRegisterInput = { - /** Slug of a channel which will be used to notify users. Optional when only one channel exists. */ - channel?: InputMaybe; - /** The email address of the user. */ - email: Scalars['String']; /** Given name. */ firstName?: InputMaybe; - /** User language code. */ - languageCode?: InputMaybe; /** Family name. */ lastName?: InputMaybe; - /** User public metadata. */ - metadata?: InputMaybe>; + /** User language code. */ + languageCode?: InputMaybe; + /** The email address of the user. */ + email: Scalars['String']; /** Password. */ password: Scalars['String']; /** Base of frontend URL that will be needed to create confirmation URL. */ redirectUrl?: InputMaybe; + /** User public metadata. */ + metadata?: InputMaybe>; + /** Slug of a channel which will be used to notify users. Optional when only one channel exists. */ + channel?: InputMaybe; }; export type AddressInput = { - /** City. */ - city?: InputMaybe; - /** District. */ - cityArea?: InputMaybe; - /** Company or organization. */ - companyName?: InputMaybe; - /** Country. */ - country?: InputMaybe; - /** State or province. */ - countryArea?: InputMaybe; /** Given name. */ firstName?: InputMaybe; /** Family name. */ lastName?: InputMaybe; - /** Phone number. */ - phone?: InputMaybe; - /** Postal code. */ - postalCode?: InputMaybe; + /** Company or organization. */ + companyName?: InputMaybe; /** Address. */ streetAddress1?: InputMaybe; /** Address. */ streetAddress2?: InputMaybe; + /** City. */ + city?: InputMaybe; + /** District. */ + cityArea?: InputMaybe; + /** Postal code. */ + postalCode?: InputMaybe; + /** Country. */ + country?: InputMaybe; + /** State or province. */ + countryArea?: InputMaybe; + /** Phone number. */ + phone?: InputMaybe; }; /** An enumeration. */ @@ -139,8 +179,8 @@ export enum AddressTypeEnum { * */ export enum AllocationStrategyEnum { - PRIORITIZE_HIGH_STOCK = 'PRIORITIZE_HIGH_STOCK', - PRIORITIZE_SORTING_ORDER = 'PRIORITIZE_SORTING_ORDER' + PRIORITIZE_SORTING_ORDER = 'PRIORITIZE_SORTING_ORDER', + PRIORITIZE_HIGH_STOCK = 'PRIORITIZE_HIGH_STOCK' } /** An enumeration. */ @@ -148,17 +188,17 @@ export enum AppErrorCode { FORBIDDEN = 'FORBIDDEN', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - INVALID_CUSTOM_HEADERS = 'INVALID_CUSTOM_HEADERS', - INVALID_MANIFEST_FORMAT = 'INVALID_MANIFEST_FORMAT', - INVALID_PERMISSION = 'INVALID_PERMISSION', INVALID_STATUS = 'INVALID_STATUS', + INVALID_PERMISSION = 'INVALID_PERMISSION', INVALID_URL_FORMAT = 'INVALID_URL_FORMAT', + INVALID_MANIFEST_FORMAT = 'INVALID_MANIFEST_FORMAT', + INVALID_CUSTOM_HEADERS = 'INVALID_CUSTOM_HEADERS', MANIFEST_URL_CANT_CONNECT = 'MANIFEST_URL_CANT_CONNECT', NOT_FOUND = 'NOT_FOUND', - OUT_OF_SCOPE_APP = 'OUT_OF_SCOPE_APP', - OUT_OF_SCOPE_PERMISSION = 'OUT_OF_SCOPE_PERMISSION', REQUIRED = 'REQUIRED', UNIQUE = 'UNIQUE', + OUT_OF_SCOPE_APP = 'OUT_OF_SCOPE_APP', + OUT_OF_SCOPE_PERMISSION = 'OUT_OF_SCOPE_PERMISSION', UNSUPPORTED_SALEOR_VERSION = 'UNSUPPORTED_SALEOR_VERSION' } @@ -169,21 +209,21 @@ export type AppExtensionFilterInput = { /** All places where app extension can be mounted. */ export enum AppExtensionMountEnum { - CUSTOMER_DETAILS_MORE_ACTIONS = 'CUSTOMER_DETAILS_MORE_ACTIONS', CUSTOMER_OVERVIEW_CREATE = 'CUSTOMER_OVERVIEW_CREATE', CUSTOMER_OVERVIEW_MORE_ACTIONS = 'CUSTOMER_OVERVIEW_MORE_ACTIONS', + CUSTOMER_DETAILS_MORE_ACTIONS = 'CUSTOMER_DETAILS_MORE_ACTIONS', + PRODUCT_OVERVIEW_CREATE = 'PRODUCT_OVERVIEW_CREATE', + PRODUCT_OVERVIEW_MORE_ACTIONS = 'PRODUCT_OVERVIEW_MORE_ACTIONS', + PRODUCT_DETAILS_MORE_ACTIONS = 'PRODUCT_DETAILS_MORE_ACTIONS', NAVIGATION_CATALOG = 'NAVIGATION_CATALOG', + NAVIGATION_ORDERS = 'NAVIGATION_ORDERS', NAVIGATION_CUSTOMERS = 'NAVIGATION_CUSTOMERS', NAVIGATION_DISCOUNTS = 'NAVIGATION_DISCOUNTS', - NAVIGATION_ORDERS = 'NAVIGATION_ORDERS', - NAVIGATION_PAGES = 'NAVIGATION_PAGES', NAVIGATION_TRANSLATIONS = 'NAVIGATION_TRANSLATIONS', + NAVIGATION_PAGES = 'NAVIGATION_PAGES', ORDER_DETAILS_MORE_ACTIONS = 'ORDER_DETAILS_MORE_ACTIONS', ORDER_OVERVIEW_CREATE = 'ORDER_OVERVIEW_CREATE', - ORDER_OVERVIEW_MORE_ACTIONS = 'ORDER_OVERVIEW_MORE_ACTIONS', - PRODUCT_DETAILS_MORE_ACTIONS = 'PRODUCT_DETAILS_MORE_ACTIONS', - PRODUCT_OVERVIEW_CREATE = 'PRODUCT_OVERVIEW_CREATE', - PRODUCT_OVERVIEW_MORE_ACTIONS = 'PRODUCT_OVERVIEW_MORE_ACTIONS' + ORDER_OVERVIEW_MORE_ACTIONS = 'ORDER_OVERVIEW_MORE_ACTIONS' } /** @@ -194,13 +234,13 @@ export enum AppExtensionMountEnum { * */ export enum AppExtensionTargetEnum { - APP_PAGE = 'APP_PAGE', - POPUP = 'POPUP' + POPUP = 'POPUP', + APP_PAGE = 'APP_PAGE' } export type AppFilterInput = { - isActive?: InputMaybe; search?: InputMaybe; + isActive?: InputMaybe; type?: InputMaybe; }; @@ -212,21 +252,21 @@ export type AppInput = { }; export type AppInstallInput = { - /** Determine if app will be set active or not. */ - activateAfterInstallation?: InputMaybe; /** Name of the app to install. */ appName?: InputMaybe; /** Url to app's manifest in JSON format. */ manifestUrl?: InputMaybe; + /** Determine if app will be set active or not. */ + activateAfterInstallation?: InputMaybe; /** List of permission code names to assign to this app. */ permissions?: InputMaybe>; }; export enum AppSortField { - /** Sort apps by creation date. */ - CREATION_DATE = 'CREATION_DATE', /** Sort apps by name. */ - NAME = 'NAME' + NAME = 'NAME', + /** Sort apps by creation date. */ + CREATION_DATE = 'CREATION_DATE' } export type AppSortingInput = { @@ -237,10 +277,10 @@ export type AppSortingInput = { }; export type AppTokenInput = { - /** ID of app. */ - app: Scalars['ID']; /** Name of the token. */ name?: InputMaybe; + /** ID of app. */ + app: Scalars['ID']; }; /** Enum determining type of your App. */ @@ -254,11 +294,11 @@ export enum AppTypeEnum { /** An enumeration. */ export enum AreaUnitsEnum { SQ_CM = 'SQ_CM', - SQ_FT = 'SQ_FT', - SQ_INCH = 'SQ_INCH', - SQ_KM = 'SQ_KM', SQ_M = 'SQ_M', - SQ_YD = 'SQ_YD' + SQ_KM = 'SQ_KM', + SQ_FT = 'SQ_FT', + SQ_YD = 'SQ_YD', + SQ_INCH = 'SQ_INCH' } export enum AttributeChoicesSortField { @@ -276,52 +316,52 @@ export type AttributeChoicesSortingInput = { }; export type AttributeCreateInput = { - /** - * Whether the attribute can be displayed in the admin product list. - * - * DEPRECATED: this field will be removed in Saleor 4.0. - */ - availableInGrid?: InputMaybe; + /** The input type to use for entering attribute values in the dashboard. */ + inputType?: InputMaybe; /** The entity type which can be used as a reference. */ entityType?: InputMaybe; - /** - * External ID of this attribute. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** Whether the attribute can be filtered in dashboard. */ - filterableInDashboard?: InputMaybe; + /** Name of an attribute displayed in the interface. */ + name: Scalars['String']; + /** Internal representation of an attribute name. */ + slug?: InputMaybe; + /** The attribute type. */ + type: AttributeTypeEnum; + /** The unit of attribute values. */ + unit?: InputMaybe; + /** List of attribute's values. */ + values?: InputMaybe>; + /** Whether the attribute requires values to be passed or not. */ + valueRequired?: InputMaybe; + /** Whether the attribute is for variants only. */ + isVariantOnly?: InputMaybe; + /** Whether the attribute should be visible or not in storefront. */ + visibleInStorefront?: InputMaybe; /** * Whether the attribute can be filtered in storefront. * * DEPRECATED: this field will be removed in Saleor 4.0. */ filterableInStorefront?: InputMaybe; - /** The input type to use for entering attribute values in the dashboard. */ - inputType?: InputMaybe; - /** Whether the attribute is for variants only. */ - isVariantOnly?: InputMaybe; - /** Name of an attribute displayed in the interface. */ - name: Scalars['String']; - /** Internal representation of an attribute name. */ - slug?: InputMaybe; + /** Whether the attribute can be filtered in dashboard. */ + filterableInDashboard?: InputMaybe; /** * The position of the attribute in the storefront navigation (0 by default). * * DEPRECATED: this field will be removed in Saleor 4.0. */ storefrontSearchPosition?: InputMaybe; - /** The attribute type. */ - type: AttributeTypeEnum; - /** The unit of attribute values. */ - unit?: InputMaybe; - /** Whether the attribute requires values to be passed or not. */ - valueRequired?: InputMaybe; - /** List of attribute's values. */ - values?: InputMaybe>; - /** Whether the attribute should be visible or not in storefront. */ - visibleInStorefront?: InputMaybe; + /** + * Whether the attribute can be displayed in the admin product list. + * + * DEPRECATED: this field will be removed in Saleor 4.0. + */ + availableInGrid?: InputMaybe; + /** + * External ID of this attribute. + * + * Added in Saleor 3.10. + */ + externalReference?: InputMaybe; }; /** An enumeration. */ @@ -349,55 +389,55 @@ export enum AttributeErrorCode { } export type AttributeFilterInput = { + valueRequired?: InputMaybe; + isVariantOnly?: InputMaybe; + visibleInStorefront?: InputMaybe; + filterableInStorefront?: InputMaybe; + filterableInDashboard?: InputMaybe; availableInGrid?: InputMaybe; + metadata?: InputMaybe>; + search?: InputMaybe; + ids?: InputMaybe>; + type?: InputMaybe; + inCollection?: InputMaybe; + inCategory?: InputMaybe; + slugs?: InputMaybe>; /** * Specifies the channel by which the data should be filtered. * * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. */ channel?: InputMaybe; - filterableInDashboard?: InputMaybe; - filterableInStorefront?: InputMaybe; - ids?: InputMaybe>; - inCategory?: InputMaybe; - inCollection?: InputMaybe; - isVariantOnly?: InputMaybe; - metadata?: InputMaybe>; - search?: InputMaybe; - slugs?: InputMaybe>; - type?: InputMaybe; - valueRequired?: InputMaybe; - visibleInStorefront?: InputMaybe; }; export type AttributeInput = { - /** The boolean value of the attribute. */ - boolean?: InputMaybe; - /** The date range that the returned values should be in. In case of date/time attributes, the UTC midnight of the given date is used. */ - date?: InputMaybe; - /** The date/time range that the returned values should be in. */ - dateTime?: InputMaybe; /** Internal representation of an attribute name. */ slug: Scalars['String']; /** Internal representation of a value (unique per attribute). */ values?: InputMaybe>; /** The range that the returned values should be in. */ valuesRange?: InputMaybe; + /** The date/time range that the returned values should be in. */ + dateTime?: InputMaybe; + /** The date range that the returned values should be in. In case of date/time attributes, the UTC midnight of the given date is used. */ + date?: InputMaybe; + /** The boolean value of the attribute. */ + boolean?: InputMaybe; }; /** An enumeration. */ export enum AttributeInputTypeEnum { + DROPDOWN = 'DROPDOWN', + MULTISELECT = 'MULTISELECT', + FILE = 'FILE', + REFERENCE = 'REFERENCE', + NUMERIC = 'NUMERIC', + RICH_TEXT = 'RICH_TEXT', + PLAIN_TEXT = 'PLAIN_TEXT', + SWATCH = 'SWATCH', BOOLEAN = 'BOOLEAN', DATE = 'DATE', - DATE_TIME = 'DATE_TIME', - DROPDOWN = 'DROPDOWN', - FILE = 'FILE', - MULTISELECT = 'MULTISELECT', - NUMERIC = 'NUMERIC', - PLAIN_TEXT = 'PLAIN_TEXT', - REFERENCE = 'REFERENCE', - RICH_TEXT = 'RICH_TEXT', - SWATCH = 'SWATCH' + DATE_TIME = 'DATE_TIME' } export type AttributeInputTypeEnumFilterInput = { @@ -408,24 +448,24 @@ export type AttributeInputTypeEnumFilterInput = { }; export enum AttributeSortField { - /** Sort attributes based on whether they can be displayed or not in a product grid. */ - AVAILABLE_IN_GRID = 'AVAILABLE_IN_GRID', - /** Sort attributes by the filterable in dashboard flag */ - FILTERABLE_IN_DASHBOARD = 'FILTERABLE_IN_DASHBOARD', - /** Sort attributes by the filterable in storefront flag */ - FILTERABLE_IN_STOREFRONT = 'FILTERABLE_IN_STOREFRONT', - /** Sort attributes by the variant only flag */ - IS_VARIANT_ONLY = 'IS_VARIANT_ONLY', /** Sort attributes by name */ NAME = 'NAME', /** Sort attributes by slug */ SLUG = 'SLUG', - /** Sort attributes by their position in storefront */ - STOREFRONT_SEARCH_POSITION = 'STOREFRONT_SEARCH_POSITION', /** Sort attributes by the value required flag */ VALUE_REQUIRED = 'VALUE_REQUIRED', + /** Sort attributes by the variant only flag */ + IS_VARIANT_ONLY = 'IS_VARIANT_ONLY', /** Sort attributes by visibility in the storefront */ - VISIBLE_IN_STOREFRONT = 'VISIBLE_IN_STOREFRONT' + VISIBLE_IN_STOREFRONT = 'VISIBLE_IN_STOREFRONT', + /** Sort attributes by the filterable in storefront flag */ + FILTERABLE_IN_STOREFRONT = 'FILTERABLE_IN_STOREFRONT', + /** Sort attributes by the filterable in dashboard flag */ + FILTERABLE_IN_DASHBOARD = 'FILTERABLE_IN_DASHBOARD', + /** Sort attributes by their position in storefront */ + STOREFRONT_SEARCH_POSITION = 'STOREFRONT_SEARCH_POSITION', + /** Sort attributes based on whether they can be displayed or not in a product grid. */ + AVAILABLE_IN_GRID = 'AVAILABLE_IN_GRID' } export type AttributeSortingInput = { @@ -437,8 +477,8 @@ export type AttributeSortingInput = { /** An enumeration. */ export enum AttributeTypeEnum { - PAGE_TYPE = 'PAGE_TYPE', - PRODUCT_TYPE = 'PRODUCT_TYPE' + PRODUCT_TYPE = 'PRODUCT_TYPE', + PAGE_TYPE = 'PAGE_TYPE' } export type AttributeTypeEnumFilterInput = { @@ -449,8 +489,36 @@ export type AttributeTypeEnumFilterInput = { }; export type AttributeUpdateInput = { + /** Name of an attribute displayed in the interface. */ + name?: InputMaybe; + /** Internal representation of an attribute name. */ + slug?: InputMaybe; + /** The unit of attribute values. */ + unit?: InputMaybe; + /** IDs of values to be removed from this attribute. */ + removeValues?: InputMaybe>; /** New values to be created for this attribute. */ addValues?: InputMaybe>; + /** Whether the attribute requires values to be passed or not. */ + valueRequired?: InputMaybe; + /** Whether the attribute is for variants only. */ + isVariantOnly?: InputMaybe; + /** Whether the attribute should be visible or not in storefront. */ + visibleInStorefront?: InputMaybe; + /** + * Whether the attribute can be filtered in storefront. + * + * DEPRECATED: this field will be removed in Saleor 4.0. + */ + filterableInStorefront?: InputMaybe; + /** Whether the attribute can be filtered in dashboard. */ + filterableInDashboard?: InputMaybe; + /** + * The position of the attribute in the storefront navigation (0 by default). + * + * DEPRECATED: this field will be removed in Saleor 4.0. + */ + storefrontSearchPosition?: InputMaybe; /** * Whether the attribute can be displayed in the admin product list. * @@ -463,55 +531,11 @@ export type AttributeUpdateInput = { * Added in Saleor 3.10. */ externalReference?: InputMaybe; - /** Whether the attribute can be filtered in dashboard. */ - filterableInDashboard?: InputMaybe; - /** - * Whether the attribute can be filtered in storefront. - * - * DEPRECATED: this field will be removed in Saleor 4.0. - */ - filterableInStorefront?: InputMaybe; - /** Whether the attribute is for variants only. */ - isVariantOnly?: InputMaybe; - /** Name of an attribute displayed in the interface. */ - name?: InputMaybe; - /** IDs of values to be removed from this attribute. */ - removeValues?: InputMaybe>; - /** Internal representation of an attribute name. */ - slug?: InputMaybe; - /** - * The position of the attribute in the storefront navigation (0 by default). - * - * DEPRECATED: this field will be removed in Saleor 4.0. - */ - storefrontSearchPosition?: InputMaybe; - /** The unit of attribute values. */ - unit?: InputMaybe; - /** Whether the attribute requires values to be passed or not. */ - valueRequired?: InputMaybe; - /** Whether the attribute should be visible or not in storefront. */ - visibleInStorefront?: InputMaybe; }; export type AttributeValueCreateInput = { - /** File content type. */ - contentType?: InputMaybe; - /** - * External ID of this attribute value. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** URL of the file attribute. Every time, a new value is created. */ - fileUrl?: InputMaybe; - /** Name of a value displayed in the interface. */ - name: Scalars['String']; - /** - * Represents the text of the attribute value, plain text without formating. - * - * DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute. - */ - plainText?: InputMaybe; + /** Represent value of the attribute value (e.g. color values for swatch attributes). */ + value?: InputMaybe; /** * Represents the text of the attribute value, includes formatting. * @@ -520,34 +544,48 @@ export type AttributeValueCreateInput = { * DEPRECATED: this field will be removed in Saleor 4.0.The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute. */ richText?: InputMaybe; - /** Represent value of the attribute value (e.g. color values for swatch attributes). */ - value?: InputMaybe; + /** + * Represents the text of the attribute value, plain text without formating. + * + * DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute. + */ + plainText?: InputMaybe; + /** URL of the file attribute. Every time, a new value is created. */ + fileUrl?: InputMaybe; + /** File content type. */ + contentType?: InputMaybe; + /** + * External ID of this attribute value. + * + * Added in Saleor 3.10. + */ + externalReference?: InputMaybe; + /** Name of a value displayed in the interface. */ + name: Scalars['String']; }; export type AttributeValueFilterInput = { - ids?: InputMaybe>; search?: InputMaybe; + ids?: InputMaybe>; }; export type AttributeValueInput = { - /** Represents the boolean value of the attribute value. */ - boolean?: InputMaybe; - /** File content type. */ - contentType?: InputMaybe; - /** Represents the date value of the attribute value. */ - date?: InputMaybe; - /** Represents the date/time value of the attribute value. */ - dateTime?: InputMaybe; + /** ID of the selected attribute. */ + id?: InputMaybe; + /** The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created. This field will be removed in Saleor 4.0. */ + values?: InputMaybe>; /** * Attribute value ID. * * Added in Saleor 3.9. */ dropdown?: InputMaybe; - /** URL of the file attribute. Every time, a new value is created. */ - file?: InputMaybe; - /** ID of the selected attribute. */ - id?: InputMaybe; + /** + * Attribute value ID. + * + * Added in Saleor 3.9. + */ + swatch?: InputMaybe; /** * List of attribute value IDs. * @@ -560,20 +598,22 @@ export type AttributeValueInput = { * Added in Saleor 3.9. */ numeric?: InputMaybe; - /** Plain text content. */ - plainText?: InputMaybe; + /** URL of the file attribute. Every time, a new value is created. */ + file?: InputMaybe; + /** File content type. */ + contentType?: InputMaybe; /** List of entity IDs that will be used as references. */ references?: InputMaybe>; /** Text content in JSON format. */ richText?: InputMaybe; - /** - * Attribute value ID. - * - * Added in Saleor 3.9. - */ - swatch?: InputMaybe; - /** The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created. This field will be removed in Saleor 4.0. */ - values?: InputMaybe>; + /** Plain text content. */ + plainText?: InputMaybe; + /** Represents the boolean value of the attribute value. */ + boolean?: InputMaybe; + /** Represents the date value of the attribute value. */ + date?: InputMaybe; + /** Represents the date/time value of the attribute value. */ + dateTime?: InputMaybe; }; /** @@ -590,35 +630,19 @@ export type AttributeValueSelectableTypeInput = { export type AttributeValueTranslationInput = { name?: InputMaybe; - /** Translated text. */ - plainText?: InputMaybe; /** * Translated text. * * Rich text format. For reference see https://editorjs.io/ */ richText?: InputMaybe; + /** Translated text. */ + plainText?: InputMaybe; }; export type AttributeValueUpdateInput = { - /** File content type. */ - contentType?: InputMaybe; - /** - * External ID of this attribute value. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** URL of the file attribute. Every time, a new value is created. */ - fileUrl?: InputMaybe; - /** Name of a value displayed in the interface. */ - name?: InputMaybe; - /** - * Represents the text of the attribute value, plain text without formating. - * - * DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute. - */ - plainText?: InputMaybe; + /** Represent value of the attribute value (e.g. color values for swatch attributes). */ + value?: InputMaybe; /** * Represents the text of the attribute value, includes formatting. * @@ -627,8 +651,24 @@ export type AttributeValueUpdateInput = { * DEPRECATED: this field will be removed in Saleor 4.0.The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute. */ richText?: InputMaybe; - /** Represent value of the attribute value (e.g. color values for swatch attributes). */ - value?: InputMaybe; + /** + * Represents the text of the attribute value, plain text without formating. + * + * DEPRECATED: this field will be removed in Saleor 4.0.The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute. + */ + plainText?: InputMaybe; + /** URL of the file attribute. Every time, a new value is created. */ + fileUrl?: InputMaybe; + /** File content type. */ + contentType?: InputMaybe; + /** + * External ID of this attribute value. + * + * Added in Saleor 3.10. + */ + externalReference?: InputMaybe; + /** Name of a value displayed in the interface. */ + name?: InputMaybe; }; /** @@ -639,47 +679,31 @@ export type AttributeValueUpdateInput = { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type AttributeWhereInput = { + valueRequired?: InputMaybe; + visibleInStorefront?: InputMaybe; + filterableInDashboard?: InputMaybe; + metadata?: InputMaybe>; + ids?: InputMaybe>; + name?: InputMaybe; + slug?: InputMaybe; + withChoices?: InputMaybe; + inputType?: InputMaybe; + entityType?: InputMaybe; + type?: InputMaybe; + unit?: InputMaybe; + inCollection?: InputMaybe; + inCategory?: InputMaybe; /** List of conditions that must be met. */ AND?: InputMaybe>; /** A list of conditions of which at least one must be met. */ OR?: InputMaybe>; - entityType?: InputMaybe; - filterableInDashboard?: InputMaybe; - ids?: InputMaybe>; - inCategory?: InputMaybe; - inCollection?: InputMaybe; - inputType?: InputMaybe; - metadata?: InputMaybe>; - name?: InputMaybe; - slug?: InputMaybe; - type?: InputMaybe; - unit?: InputMaybe; - valueRequired?: InputMaybe; - visibleInStorefront?: InputMaybe; - withChoices?: InputMaybe; }; export type BulkAttributeValueInput = { - /** The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created. */ - boolean?: InputMaybe; - /** - * File content type. - * - * Added in Saleor 3.12. - */ - contentType?: InputMaybe; - /** - * Represents the date value of the attribute value. - * - * Added in Saleor 3.12. - */ - date?: InputMaybe; - /** - * Represents the date/time value of the attribute value. - * - * Added in Saleor 3.12. - */ - dateTime?: InputMaybe; + /** ID of the selected attribute. */ + id?: InputMaybe; + /** The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.This field will be removed in Saleor 4.0. */ + values?: InputMaybe>; /** * Attribute value ID. * @@ -687,13 +711,11 @@ export type BulkAttributeValueInput = { */ dropdown?: InputMaybe; /** - * URL of the file attribute. Every time, a new value is created. + * Attribute value ID. * * Added in Saleor 3.12. */ - file?: InputMaybe; - /** ID of the selected attribute. */ - id?: InputMaybe; + swatch?: InputMaybe; /** * List of attribute value IDs. * @@ -707,11 +729,17 @@ export type BulkAttributeValueInput = { */ numeric?: InputMaybe; /** - * Plain text content. + * URL of the file attribute. Every time, a new value is created. * * Added in Saleor 3.12. */ - plainText?: InputMaybe; + file?: InputMaybe; + /** + * File content type. + * + * Added in Saleor 3.12. + */ + contentType?: InputMaybe; /** * List of entity IDs that will be used as references. * @@ -725,13 +753,25 @@ export type BulkAttributeValueInput = { */ richText?: InputMaybe; /** - * Attribute value ID. + * Plain text content. * * Added in Saleor 3.12. */ - swatch?: InputMaybe; - /** The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created.This field will be removed in Saleor 4.0. */ - values?: InputMaybe>; + plainText?: InputMaybe; + /** The boolean value of an attribute to resolve. If the passed value is non-existent, it will be created. */ + boolean?: InputMaybe; + /** + * Represents the date value of the attribute value. + * + * Added in Saleor 3.12. + */ + date?: InputMaybe; + /** + * Represents the date/time value of the attribute value. + * + * Added in Saleor 3.12. + */ + dateTime?: InputMaybe; }; export type CardInput = { @@ -744,12 +784,12 @@ export type CardInput = { }; export type CatalogueInput = { + /** Products related to the discount. */ + products?: InputMaybe>; /** Categories related to the discount. */ categories?: InputMaybe>; /** Collections related to the discount. */ collections?: InputMaybe>; - /** Products related to the discount. */ - products?: InputMaybe>; /** * Product variant related to the discount. * @@ -759,41 +799,41 @@ export type CatalogueInput = { }; export type CategoryFilterInput = { - ids?: InputMaybe>; - metadata?: InputMaybe>; search?: InputMaybe; + metadata?: InputMaybe>; + ids?: InputMaybe>; slugs?: InputMaybe>; }; export type CategoryInput = { - /** Background image file. */ - backgroundImage?: InputMaybe; - /** Alt text for a product media. */ - backgroundImageAlt?: InputMaybe; /** * Category description. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; + /** Category name. */ + name?: InputMaybe; + /** Category slug. */ + slug?: InputMaybe; + /** Search engine optimization fields. */ + seo?: InputMaybe; + /** Background image file. */ + backgroundImage?: InputMaybe; + /** Alt text for a product media. */ + backgroundImageAlt?: InputMaybe; /** * Fields required to update the category metadata. * * Added in Saleor 3.8. */ metadata?: InputMaybe>; - /** Category name. */ - name?: InputMaybe; /** * Fields required to update the category private metadata. * * Added in Saleor 3.8. */ privateMetadata?: InputMaybe>; - /** Search engine optimization fields. */ - seo?: InputMaybe; - /** Category slug. */ - slug?: InputMaybe; }; export enum CategorySortField { @@ -806,19 +846,27 @@ export enum CategorySortField { } export type CategorySortingInput = { + /** Specifies the direction in which to sort categories. */ + direction: OrderDirection; /** * Specifies the channel in which to sort the data. * * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. */ channel?: InputMaybe; - /** Specifies the direction in which to sort categories. */ - direction: OrderDirection; /** Sort categories by the selected field. */ field: CategorySortField; }; export type ChannelCreateInput = { + /** isActive flag. */ + isActive?: InputMaybe; + /** + * The channel stock settings. + * + * Added in Saleor 3.7. + */ + stockSettings?: InputMaybe; /** List of shipping zones to assign to the channel. */ addShippingZones?: InputMaybe>; /** @@ -827,6 +875,16 @@ export type ChannelCreateInput = { * Added in Saleor 3.5. */ addWarehouses?: InputMaybe>; + /** + * The channel order settings + * + * Added in Saleor 3.12. + */ + orderSettings?: InputMaybe; + /** Name of the channel. */ + name: Scalars['String']; + /** Slug of the channel. */ + slug: Scalars['String']; /** Currency of the channel. */ currencyCode: Scalars['String']; /** @@ -835,24 +893,6 @@ export type ChannelCreateInput = { * Added in Saleor 3.1. */ defaultCountry: CountryCode; - /** isActive flag. */ - isActive?: InputMaybe; - /** Name of the channel. */ - name: Scalars['String']; - /** - * The channel order settings - * - * Added in Saleor 3.12. - */ - orderSettings?: InputMaybe; - /** Slug of the channel. */ - slug: Scalars['String']; - /** - * The channel stock settings. - * - * Added in Saleor 3.7. - */ - stockSettings?: InputMaybe; }; export type ChannelDeleteInput = { @@ -863,28 +903,36 @@ export type ChannelDeleteInput = { /** An enumeration. */ export enum ChannelErrorCode { ALREADY_EXISTS = 'ALREADY_EXISTS', - CHANNELS_CURRENCY_MUST_BE_THE_SAME = 'CHANNELS_CURRENCY_MUST_BE_THE_SAME', - CHANNEL_WITH_ORDERS = 'CHANNEL_WITH_ORDERS', - DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + CHANNELS_CURRENCY_MUST_BE_THE_SAME = 'CHANNELS_CURRENCY_MUST_BE_THE_SAME', + CHANNEL_WITH_ORDERS = 'CHANNEL_WITH_ORDERS', + DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM' } export type ChannelListingUpdateInput = { /** ID of a channel listing. */ channelListing: Scalars['ID']; + /** Price of the particular variant in channel. */ + price?: InputMaybe; /** Cost price of the variant in channel. */ costPrice?: InputMaybe; /** The threshold for preorder variant in channel. */ preorderThreshold?: InputMaybe; - /** Price of the particular variant in channel. */ - price?: InputMaybe; }; export type ChannelUpdateInput = { + /** isActive flag. */ + isActive?: InputMaybe; + /** + * The channel stock settings. + * + * Added in Saleor 3.7. + */ + stockSettings?: InputMaybe; /** List of shipping zones to assign to the channel. */ addShippingZones?: InputMaybe>; /** @@ -893,22 +941,22 @@ export type ChannelUpdateInput = { * Added in Saleor 3.5. */ addWarehouses?: InputMaybe>; - /** - * Default country for the channel. Default country can be used in checkout to determine the stock quantities or calculate taxes when the country was not explicitly provided. - * - * Added in Saleor 3.1. - */ - defaultCountry?: InputMaybe; - /** isActive flag. */ - isActive?: InputMaybe; - /** Name of the channel. */ - name?: InputMaybe; /** * The channel order settings * * Added in Saleor 3.12. */ orderSettings?: InputMaybe; + /** Name of the channel. */ + name?: InputMaybe; + /** Slug of the channel. */ + slug?: InputMaybe; + /** + * Default country for the channel. Default country can be used in checkout to determine the stock quantities or calculate taxes when the country was not explicitly provided. + * + * Added in Saleor 3.1. + */ + defaultCountry?: InputMaybe; /** List of shipping zones to unassign from the channel. */ removeShippingZones?: InputMaybe>; /** @@ -917,21 +965,13 @@ export type ChannelUpdateInput = { * Added in Saleor 3.5. */ removeWarehouses?: InputMaybe>; - /** Slug of the channel. */ - slug?: InputMaybe; - /** - * The channel stock settings. - * - * Added in Saleor 3.7. - */ - stockSettings?: InputMaybe; }; export type CheckoutAddressValidationRules = { - /** Determines if an error should be raised when the provided address doesn't match the expected format. Example: using letters for postal code when the numbers are expected. */ - checkFieldsFormat?: InputMaybe; /** Determines if an error should be raised when the provided address doesn't have all the required fields. The list of required fields is dynamic and depends on the country code (use the `addressValidationRules` query to fetch them). Note: country code is mandatory for all addresses regardless of the rules provided in this input. */ checkRequiredFields?: InputMaybe; + /** Determines if an error should be raised when the provided address doesn't match the expected format. Example: using letters for postal code when the numbers are expected. */ + checkFieldsFormat?: InputMaybe; /** Determines if Saleor should apply normalization on address fields. Example: converting city field to uppercase letters. */ enableFieldsNormalization?: InputMaybe; }; @@ -952,9 +992,9 @@ export type CheckoutAddressValidationRules = { * */ export enum CheckoutAuthorizeStatusEnum { - FULL = 'FULL', NONE = 'NONE', - PARTIAL = 'PARTIAL' + PARTIAL = 'PARTIAL', + FULL = 'FULL' } /** @@ -975,25 +1015,25 @@ export enum CheckoutAuthorizeStatusEnum { * */ export enum CheckoutChargeStatusEnum { - FULL = 'FULL', NONE = 'NONE', - OVERCHARGED = 'OVERCHARGED', - PARTIAL = 'PARTIAL' + PARTIAL = 'PARTIAL', + FULL = 'FULL', + OVERCHARGED = 'OVERCHARGED' } export type CheckoutCreateInput = { - /** Billing address of the customer. */ - billingAddress?: InputMaybe; /** Slug of a channel in which to create a checkout. */ channel?: InputMaybe; - /** The customer's email address. */ - email?: InputMaybe; - /** Checkout language code. */ - languageCode?: InputMaybe; /** A list of checkout lines, each containing information about an item in the checkout. */ lines: Array; + /** The customer's email address. */ + email?: InputMaybe; /** The mailing address to where the checkout will be shipped. Note: the address will be ignored if the checkout doesn't contain shippable items. */ shippingAddress?: InputMaybe; + /** Billing address of the customer. */ + billingAddress?: InputMaybe; + /** Checkout language code. */ + languageCode?: InputMaybe; /** * The checkout validation rules that can be changed. * @@ -1005,47 +1045,57 @@ export type CheckoutCreateInput = { /** An enumeration. */ export enum CheckoutErrorCode { BILLING_ADDRESS_NOT_SET = 'BILLING_ADDRESS_NOT_SET', - CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', CHECKOUT_NOT_FULLY_PAID = 'CHECKOUT_NOT_FULLY_PAID', - DELIVERY_METHOD_NOT_APPLICABLE = 'DELIVERY_METHOD_NOT_APPLICABLE', - EMAIL_NOT_SET = 'EMAIL_NOT_SET', - GIFT_CARD_NOT_APPLICABLE = 'GIFT_CARD_NOT_APPLICABLE', GRAPHQL_ERROR = 'GRAPHQL_ERROR', - INACTIVE_PAYMENT = 'INACTIVE_PAYMENT', + PRODUCT_NOT_PUBLISHED = 'PRODUCT_NOT_PUBLISHED', + PRODUCT_UNAVAILABLE_FOR_PURCHASE = 'PRODUCT_UNAVAILABLE_FOR_PURCHASE', INSUFFICIENT_STOCK = 'INSUFFICIENT_STOCK', INVALID = 'INVALID', INVALID_SHIPPING_METHOD = 'INVALID_SHIPPING_METHOD', - MISSING_CHANNEL_SLUG = 'MISSING_CHANNEL_SLUG', NOT_FOUND = 'NOT_FOUND', - NO_LINES = 'NO_LINES', PAYMENT_ERROR = 'PAYMENT_ERROR', - PRODUCT_NOT_PUBLISHED = 'PRODUCT_NOT_PUBLISHED', - PRODUCT_UNAVAILABLE_FOR_PURCHASE = 'PRODUCT_UNAVAILABLE_FOR_PURCHASE', QUANTITY_GREATER_THAN_LIMIT = 'QUANTITY_GREATER_THAN_LIMIT', REQUIRED = 'REQUIRED', SHIPPING_ADDRESS_NOT_SET = 'SHIPPING_ADDRESS_NOT_SET', SHIPPING_METHOD_NOT_APPLICABLE = 'SHIPPING_METHOD_NOT_APPLICABLE', + DELIVERY_METHOD_NOT_APPLICABLE = 'DELIVERY_METHOD_NOT_APPLICABLE', SHIPPING_METHOD_NOT_SET = 'SHIPPING_METHOD_NOT_SET', SHIPPING_NOT_REQUIRED = 'SHIPPING_NOT_REQUIRED', TAX_ERROR = 'TAX_ERROR', - UNAVAILABLE_VARIANT_IN_CHANNEL = 'UNAVAILABLE_VARIANT_IN_CHANNEL', UNIQUE = 'UNIQUE', VOUCHER_NOT_APPLICABLE = 'VOUCHER_NOT_APPLICABLE', - ZERO_QUANTITY = 'ZERO_QUANTITY' + GIFT_CARD_NOT_APPLICABLE = 'GIFT_CARD_NOT_APPLICABLE', + ZERO_QUANTITY = 'ZERO_QUANTITY', + MISSING_CHANNEL_SLUG = 'MISSING_CHANNEL_SLUG', + CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', + UNAVAILABLE_VARIANT_IN_CHANNEL = 'UNAVAILABLE_VARIANT_IN_CHANNEL', + EMAIL_NOT_SET = 'EMAIL_NOT_SET', + NO_LINES = 'NO_LINES', + INACTIVE_PAYMENT = 'INACTIVE_PAYMENT' } export type CheckoutFilterInput = { - authorizeStatus?: InputMaybe>; - channels?: InputMaybe>; - chargeStatus?: InputMaybe>; - created?: InputMaybe; customer?: InputMaybe; - metadata?: InputMaybe>; + created?: InputMaybe; search?: InputMaybe; + metadata?: InputMaybe>; + channels?: InputMaybe>; updatedAt?: InputMaybe; + authorizeStatus?: InputMaybe>; + chargeStatus?: InputMaybe>; }; export type CheckoutLineInput = { + /** The number of items purchased. */ + quantity: Scalars['Int']; + /** ID of the product variant. */ + variantId: Scalars['ID']; + /** + * Custom price of the item. Can be set only by apps with `HANDLE_CHECKOUTS` permission. When the line with the same variant will be provided multiple times, the last price will be used. + * + * Added in Saleor 3.1. + */ + price?: InputMaybe; /** * Flag that allow force splitting the same variant into multiple lines by skipping the matching logic. * @@ -1058,39 +1108,29 @@ export type CheckoutLineInput = { * Added in Saleor 3.8. */ metadata?: InputMaybe>; - /** - * Custom price of the item. Can be set only by apps with `HANDLE_CHECKOUTS` permission. When the line with the same variant will be provided multiple times, the last price will be used. - * - * Added in Saleor 3.1. - */ - price?: InputMaybe; - /** The number of items purchased. */ - quantity: Scalars['Int']; - /** ID of the product variant. */ - variantId: Scalars['ID']; }; export type CheckoutLineUpdateInput = { - /** - * ID of the line. - * - * Added in Saleor 3.6. - */ - lineId?: InputMaybe; - /** - * Custom price of the item. Can be set only by apps with `HANDLE_CHECKOUTS` permission. When the line with the same variant will be provided multiple times, the last price will be used. - * - * Added in Saleor 3.1. - */ - price?: InputMaybe; - /** The number of items purchased. Optional for apps, required for any other users. */ - quantity?: InputMaybe; /** * ID of the product variant. * * DEPRECATED: this field will be removed in Saleor 4.0. Use `lineId` instead. */ variantId?: InputMaybe; + /** The number of items purchased. Optional for apps, required for any other users. */ + quantity?: InputMaybe; + /** + * Custom price of the item. Can be set only by apps with `HANDLE_CHECKOUTS` permission. When the line with the same variant will be provided multiple times, the last price will be used. + * + * Added in Saleor 3.1. + */ + price?: InputMaybe; + /** + * ID of the line. + * + * Added in Saleor 3.6. + */ + lineId?: InputMaybe; }; export enum CheckoutSortField { @@ -1110,10 +1150,10 @@ export type CheckoutSortingInput = { }; export type CheckoutValidationRules = { - /** The validation rules that can be applied to provided billing address data. */ - billingAddress?: InputMaybe; /** The validation rules that can be applied to provided shipping address data. */ shippingAddress?: InputMaybe; + /** The validation rules that can be applied to provided billing address data. */ + billingAddress?: InputMaybe; }; export type CollectionChannelListingUpdateInput = { @@ -1124,26 +1164,36 @@ export type CollectionChannelListingUpdateInput = { }; export type CollectionCreateInput = { - /** Background image file. */ - backgroundImage?: InputMaybe; - /** Alt text for an image. */ - backgroundImageAlt?: InputMaybe; + /** Informs whether a collection is published. */ + isPublished?: InputMaybe; + /** Name of the collection. */ + name?: InputMaybe; + /** Slug of the collection. */ + slug?: InputMaybe; /** * Description of the collection. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; - /** Informs whether a collection is published. */ - isPublished?: InputMaybe; + /** Background image file. */ + backgroundImage?: InputMaybe; + /** Alt text for an image. */ + backgroundImageAlt?: InputMaybe; + /** Search engine optimization fields. */ + seo?: InputMaybe; + /** + * Publication date. ISO 8601 standard. + * + * DEPRECATED: this field will be removed in Saleor 4.0. + */ + publicationDate?: InputMaybe; /** * Fields required to update the collection metadata. * * Added in Saleor 3.8. */ metadata?: InputMaybe>; - /** Name of the collection. */ - name?: InputMaybe; /** * Fields required to update the collection private metadata. * @@ -1152,96 +1202,86 @@ export type CollectionCreateInput = { privateMetadata?: InputMaybe>; /** List of products to be added to the collection. */ products?: InputMaybe>; - /** - * Publication date. ISO 8601 standard. - * - * DEPRECATED: this field will be removed in Saleor 4.0. - */ - publicationDate?: InputMaybe; - /** Search engine optimization fields. */ - seo?: InputMaybe; - /** Slug of the collection. */ - slug?: InputMaybe; }; /** An enumeration. */ export enum CollectionErrorCode { - CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT = 'CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT', DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT = 'CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT' } export type CollectionFilterInput = { + published?: InputMaybe; + search?: InputMaybe; + metadata?: InputMaybe>; + ids?: InputMaybe>; + slugs?: InputMaybe>; /** * Specifies the channel by which the data should be filtered. * * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. */ channel?: InputMaybe; - ids?: InputMaybe>; - metadata?: InputMaybe>; - published?: InputMaybe; - search?: InputMaybe; - slugs?: InputMaybe>; }; export type CollectionInput = { - /** Background image file. */ - backgroundImage?: InputMaybe; - /** Alt text for an image. */ - backgroundImageAlt?: InputMaybe; + /** Informs whether a collection is published. */ + isPublished?: InputMaybe; + /** Name of the collection. */ + name?: InputMaybe; + /** Slug of the collection. */ + slug?: InputMaybe; /** * Description of the collection. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; - /** Informs whether a collection is published. */ - isPublished?: InputMaybe; - /** - * Fields required to update the collection metadata. - * - * Added in Saleor 3.8. - */ - metadata?: InputMaybe>; - /** Name of the collection. */ - name?: InputMaybe; - /** - * Fields required to update the collection private metadata. - * - * Added in Saleor 3.8. - */ - privateMetadata?: InputMaybe>; + /** Background image file. */ + backgroundImage?: InputMaybe; + /** Alt text for an image. */ + backgroundImageAlt?: InputMaybe; + /** Search engine optimization fields. */ + seo?: InputMaybe; /** * Publication date. ISO 8601 standard. * * DEPRECATED: this field will be removed in Saleor 4.0. */ publicationDate?: InputMaybe; - /** Search engine optimization fields. */ - seo?: InputMaybe; - /** Slug of the collection. */ - slug?: InputMaybe; + /** + * Fields required to update the collection metadata. + * + * Added in Saleor 3.8. + */ + metadata?: InputMaybe>; + /** + * Fields required to update the collection private metadata. + * + * Added in Saleor 3.8. + */ + privateMetadata?: InputMaybe>; }; export enum CollectionPublished { - HIDDEN = 'HIDDEN', - PUBLISHED = 'PUBLISHED' + PUBLISHED = 'PUBLISHED', + HIDDEN = 'HIDDEN' } export enum CollectionSortField { + /** Sort collections by name. */ + NAME = 'NAME', /** * Sort collections by availability. * * This option requires a channel filter to work as the values can vary between channels. */ AVAILABILITY = 'AVAILABILITY', - /** Sort collections by name. */ - NAME = 'NAME', /** Sort collections by product count. */ PRODUCT_COUNT = 'PRODUCT_COUNT', /** @@ -1259,14 +1299,14 @@ export enum CollectionSortField { } export type CollectionSortingInput = { + /** Specifies the direction in which to sort collections. */ + direction: OrderDirection; /** * Specifies the channel in which to sort the data. * * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. */ channel?: InputMaybe; - /** Specifies the direction in which to sort collections. */ - direction: OrderDirection; /** Sort collections by the selected field. */ field: CollectionSortField; }; @@ -1280,265 +1320,265 @@ export type ConfigurationItemInput = { /** An enumeration. */ export enum ConfigurationTypeFieldEnum { - BOOLEAN = 'BOOLEAN', + STRING = 'STRING', MULTILINE = 'MULTILINE', - OUTPUT = 'OUTPUT', - PASSWORD = 'PASSWORD', + BOOLEAN = 'BOOLEAN', SECRET = 'SECRET', + PASSWORD = 'PASSWORD', SECRETMULTILINE = 'SECRETMULTILINE', - STRING = 'STRING' + OUTPUT = 'OUTPUT' } /** An enumeration. */ export enum CountryCode { - AD = 'AD', - AE = 'AE', AF = 'AF', - AG = 'AG', - AI = 'AI', - AL = 'AL', - AM = 'AM', - AO = 'AO', - AQ = 'AQ', - AR = 'AR', - AS = 'AS', - AT = 'AT', - AU = 'AU', - AW = 'AW', AX = 'AX', + AL = 'AL', + DZ = 'DZ', + AS = 'AS', + AD = 'AD', + AO = 'AO', + AI = 'AI', + AQ = 'AQ', + AG = 'AG', + AR = 'AR', + AM = 'AM', + AW = 'AW', + AU = 'AU', + AT = 'AT', AZ = 'AZ', - BA = 'BA', - BB = 'BB', - BD = 'BD', - BE = 'BE', - BF = 'BF', - BG = 'BG', + BS = 'BS', BH = 'BH', - BI = 'BI', + BD = 'BD', + BB = 'BB', + BY = 'BY', + BE = 'BE', + BZ = 'BZ', BJ = 'BJ', - BL = 'BL', BM = 'BM', - BN = 'BN', + BT = 'BT', BO = 'BO', BQ = 'BQ', - BR = 'BR', - BS = 'BS', - BT = 'BT', - BV = 'BV', + BA = 'BA', BW = 'BW', - BY = 'BY', - BZ = 'BZ', - CA = 'CA', - CC = 'CC', - CD = 'CD', - CF = 'CF', - CG = 'CG', - CH = 'CH', - CI = 'CI', - CK = 'CK', - CL = 'CL', - CM = 'CM', - CN = 'CN', - CO = 'CO', - CR = 'CR', - CU = 'CU', + BV = 'BV', + BR = 'BR', + IO = 'IO', + BN = 'BN', + BG = 'BG', + BF = 'BF', + BI = 'BI', CV = 'CV', - CW = 'CW', + KH = 'KH', + CM = 'CM', + CA = 'CA', + KY = 'KY', + CF = 'CF', + TD = 'TD', + CL = 'CL', + CN = 'CN', CX = 'CX', + CC = 'CC', + CO = 'CO', + KM = 'KM', + CG = 'CG', + CD = 'CD', + CK = 'CK', + CR = 'CR', + CI = 'CI', + HR = 'HR', + CU = 'CU', + CW = 'CW', CY = 'CY', CZ = 'CZ', - DE = 'DE', - DJ = 'DJ', DK = 'DK', + DJ = 'DJ', DM = 'DM', DO = 'DO', - DZ = 'DZ', EC = 'EC', - EE = 'EE', EG = 'EG', - EH = 'EH', + SV = 'SV', + GQ = 'GQ', ER = 'ER', - ES = 'ES', + EE = 'EE', + SZ = 'SZ', ET = 'ET', EU = 'EU', - FI = 'FI', - FJ = 'FJ', FK = 'FK', - FM = 'FM', FO = 'FO', + FJ = 'FJ', + FI = 'FI', FR = 'FR', - GA = 'GA', - GB = 'GB', - GD = 'GD', - GE = 'GE', GF = 'GF', - GG = 'GG', + PF = 'PF', + TF = 'TF', + GA = 'GA', + GM = 'GM', + GE = 'GE', + DE = 'DE', GH = 'GH', GI = 'GI', - GL = 'GL', - GM = 'GM', - GN = 'GN', - GP = 'GP', - GQ = 'GQ', GR = 'GR', - GS = 'GS', - GT = 'GT', + GL = 'GL', + GD = 'GD', + GP = 'GP', GU = 'GU', + GT = 'GT', + GG = 'GG', + GN = 'GN', GW = 'GW', GY = 'GY', - HK = 'HK', - HM = 'HM', - HN = 'HN', - HR = 'HR', HT = 'HT', + HM = 'HM', + VA = 'VA', + HN = 'HN', + HK = 'HK', HU = 'HU', - ID = 'ID', - IE = 'IE', - IL = 'IL', - IM = 'IM', - IN = 'IN', - IO = 'IO', - IQ = 'IQ', - IR = 'IR', IS = 'IS', + IN = 'IN', + ID = 'ID', + IR = 'IR', + IQ = 'IQ', + IE = 'IE', + IM = 'IM', + IL = 'IL', IT = 'IT', - JE = 'JE', JM = 'JM', - JO = 'JO', JP = 'JP', - KE = 'KE', - KG = 'KG', - KH = 'KH', - KI = 'KI', - KM = 'KM', - KN = 'KN', - KP = 'KP', - KR = 'KR', - KW = 'KW', - KY = 'KY', + JE = 'JE', + JO = 'JO', KZ = 'KZ', + KE = 'KE', + KI = 'KI', + KW = 'KW', + KG = 'KG', LA = 'LA', + LV = 'LV', LB = 'LB', - LC = 'LC', - LI = 'LI', - LK = 'LK', - LR = 'LR', LS = 'LS', + LR = 'LR', + LY = 'LY', + LI = 'LI', LT = 'LT', LU = 'LU', - LV = 'LV', - LY = 'LY', - MA = 'MA', - MC = 'MC', - MD = 'MD', - ME = 'ME', - MF = 'MF', - MG = 'MG', - MH = 'MH', - MK = 'MK', - ML = 'ML', - MM = 'MM', - MN = 'MN', MO = 'MO', - MP = 'MP', + MG = 'MG', + MW = 'MW', + MY = 'MY', + MV = 'MV', + ML = 'ML', + MT = 'MT', + MH = 'MH', MQ = 'MQ', MR = 'MR', - MS = 'MS', - MT = 'MT', MU = 'MU', - MV = 'MV', - MW = 'MW', + YT = 'YT', MX = 'MX', - MY = 'MY', + FM = 'FM', + MD = 'MD', + MC = 'MC', + MN = 'MN', + ME = 'ME', + MS = 'MS', + MA = 'MA', MZ = 'MZ', + MM = 'MM', NA = 'NA', - NC = 'NC', - NE = 'NE', - NF = 'NF', - NG = 'NG', - NI = 'NI', - NL = 'NL', - NO = 'NO', - NP = 'NP', NR = 'NR', - NU = 'NU', + NP = 'NP', + NL = 'NL', + NC = 'NC', NZ = 'NZ', + NI = 'NI', + NE = 'NE', + NG = 'NG', + NU = 'NU', + NF = 'NF', + KP = 'KP', + MK = 'MK', + MP = 'MP', + NO = 'NO', OM = 'OM', - PA = 'PA', - PE = 'PE', - PF = 'PF', - PG = 'PG', - PH = 'PH', PK = 'PK', - PL = 'PL', - PM = 'PM', - PN = 'PN', - PR = 'PR', - PS = 'PS', - PT = 'PT', PW = 'PW', + PS = 'PS', + PA = 'PA', + PG = 'PG', PY = 'PY', + PE = 'PE', + PH = 'PH', + PN = 'PN', + PL = 'PL', + PT = 'PT', + PR = 'PR', QA = 'QA', RE = 'RE', RO = 'RO', - RS = 'RS', RU = 'RU', RW = 'RW', - SA = 'SA', - SB = 'SB', - SC = 'SC', - SD = 'SD', - SE = 'SE', - SG = 'SG', + BL = 'BL', SH = 'SH', - SI = 'SI', - SJ = 'SJ', - SK = 'SK', - SL = 'SL', + KN = 'KN', + LC = 'LC', + MF = 'MF', + PM = 'PM', + VC = 'VC', + WS = 'WS', SM = 'SM', - SN = 'SN', - SO = 'SO', - SR = 'SR', - SS = 'SS', ST = 'ST', - SV = 'SV', + SA = 'SA', + SN = 'SN', + RS = 'RS', + SC = 'SC', + SL = 'SL', + SG = 'SG', SX = 'SX', + SK = 'SK', + SI = 'SI', + SB = 'SB', + SO = 'SO', + ZA = 'ZA', + GS = 'GS', + KR = 'KR', + SS = 'SS', + ES = 'ES', + LK = 'LK', + SD = 'SD', + SR = 'SR', + SJ = 'SJ', + SE = 'SE', + CH = 'CH', SY = 'SY', - SZ = 'SZ', - TC = 'TC', - TD = 'TD', - TF = 'TF', - TG = 'TG', - TH = 'TH', - TJ = 'TJ', - TK = 'TK', - TL = 'TL', - TM = 'TM', - TN = 'TN', - TO = 'TO', - TR = 'TR', - TT = 'TT', - TV = 'TV', TW = 'TW', + TJ = 'TJ', TZ = 'TZ', - UA = 'UA', + TH = 'TH', + TL = 'TL', + TG = 'TG', + TK = 'TK', + TO = 'TO', + TT = 'TT', + TN = 'TN', + TR = 'TR', + TM = 'TM', + TC = 'TC', + TV = 'TV', UG = 'UG', + UA = 'UA', + AE = 'AE', + GB = 'GB', UM = 'UM', US = 'US', UY = 'UY', UZ = 'UZ', - VA = 'VA', - VC = 'VC', + VU = 'VU', VE = 'VE', + VN = 'VN', VG = 'VG', VI = 'VI', - VN = 'VN', - VU = 'VU', WF = 'WF', - WS = 'WS', + EH = 'EH', YE = 'YE', - YT = 'YT', - ZA = 'ZA', ZM = 'ZM', ZW = 'ZW' } @@ -1568,52 +1608,52 @@ export enum CustomerBulkUpdateErrorCode { DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - MAX_LENGTH = 'MAX_LENGTH', - NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + NOT_FOUND = 'NOT_FOUND', + MAX_LENGTH = 'MAX_LENGTH' } export type CustomerBulkUpdateInput = { - /** External ID of a customer to update. */ - externalReference?: InputMaybe; /** ID of a customer to update. */ id?: InputMaybe; + /** External ID of a customer to update. */ + externalReference?: InputMaybe; /** Fields required to update a customer. */ input: CustomerInput; }; /** An enumeration. */ export enum CustomerEventsEnum { - ACCOUNT_ACTIVATED = 'ACCOUNT_ACTIVATED', ACCOUNT_CREATED = 'ACCOUNT_CREATED', + ACCOUNT_ACTIVATED = 'ACCOUNT_ACTIVATED', ACCOUNT_DEACTIVATED = 'ACCOUNT_DEACTIVATED', - CUSTOMER_DELETED = 'CUSTOMER_DELETED', - DIGITAL_LINK_DOWNLOADED = 'DIGITAL_LINK_DOWNLOADED', - EMAIL_ASSIGNED = 'EMAIL_ASSIGNED', - EMAIL_CHANGED = 'EMAIL_CHANGED', - EMAIL_CHANGED_REQUEST = 'EMAIL_CHANGED_REQUEST', - NAME_ASSIGNED = 'NAME_ASSIGNED', - NOTE_ADDED = 'NOTE_ADDED', - NOTE_ADDED_TO_ORDER = 'NOTE_ADDED_TO_ORDER', - PASSWORD_CHANGED = 'PASSWORD_CHANGED', - PASSWORD_RESET = 'PASSWORD_RESET', PASSWORD_RESET_LINK_SENT = 'PASSWORD_RESET_LINK_SENT', - PLACED_ORDER = 'PLACED_ORDER' + PASSWORD_RESET = 'PASSWORD_RESET', + EMAIL_CHANGED_REQUEST = 'EMAIL_CHANGED_REQUEST', + PASSWORD_CHANGED = 'PASSWORD_CHANGED', + EMAIL_CHANGED = 'EMAIL_CHANGED', + PLACED_ORDER = 'PLACED_ORDER', + NOTE_ADDED_TO_ORDER = 'NOTE_ADDED_TO_ORDER', + DIGITAL_LINK_DOWNLOADED = 'DIGITAL_LINK_DOWNLOADED', + CUSTOMER_DELETED = 'CUSTOMER_DELETED', + NAME_ASSIGNED = 'NAME_ASSIGNED', + EMAIL_ASSIGNED = 'EMAIL_ASSIGNED', + NOTE_ADDED = 'NOTE_ADDED' } export type CustomerFilterInput = { dateJoined?: InputMaybe; + numberOfOrders?: InputMaybe; + placedOrders?: InputMaybe; + search?: InputMaybe; + metadata?: InputMaybe>; /** * Filter by ids. * * Added in Saleor 3.8. */ ids?: InputMaybe>; - metadata?: InputMaybe>; - numberOfOrders?: InputMaybe; - placedOrders?: InputMaybe; - search?: InputMaybe; updatedAt?: InputMaybe; }; @@ -1622,24 +1662,24 @@ export type CustomerInput = { defaultBillingAddress?: InputMaybe; /** Shipping address of the customer. */ defaultShippingAddress?: InputMaybe; + /** Given name. */ + firstName?: InputMaybe; + /** Family name. */ + lastName?: InputMaybe; /** The unique email address of the user. */ email?: InputMaybe; + /** User account is active. */ + isActive?: InputMaybe; + /** A note about the user. */ + note?: InputMaybe; + /** User language code. */ + languageCode?: InputMaybe; /** * External ID of the customer. * * Added in Saleor 3.10. */ externalReference?: InputMaybe; - /** Given name. */ - firstName?: InputMaybe; - /** User account is active. */ - isActive?: InputMaybe; - /** User language code. */ - languageCode?: InputMaybe; - /** Family name. */ - lastName?: InputMaybe; - /** A note about the user. */ - note?: InputMaybe; }; export type DateRangeInput = { @@ -1657,10 +1697,14 @@ export type DateTimeRangeInput = { }; export type DigitalContentInput = { - /** Overwrite default automatic_fulfillment setting for variant. */ - automaticFulfillment?: InputMaybe; + /** Use default digital content settings for this product. */ + useDefaultSettings: Scalars['Boolean']; /** Determines how many times a download link can be accessed by a customer. */ maxDownloads?: InputMaybe; + /** Determines for how many days a download link is active since it was generated. */ + urlValidDays?: InputMaybe; + /** Overwrite default automatic_fulfillment setting for variant. */ + automaticFulfillment?: InputMaybe; /** * Fields required to update the digital content metadata. * @@ -1673,19 +1717,17 @@ export type DigitalContentInput = { * Added in Saleor 3.8. */ privateMetadata?: InputMaybe>; - /** Determines for how many days a download link is active since it was generated. */ - urlValidDays?: InputMaybe; - /** Use default digital content settings for this product. */ - useDefaultSettings: Scalars['Boolean']; }; export type DigitalContentUploadInput = { - /** Overwrite default automatic_fulfillment setting for variant. */ - automaticFulfillment?: InputMaybe; - /** Represents an file in a multipart request. */ - contentFile: Scalars['Upload']; + /** Use default digital content settings for this product. */ + useDefaultSettings: Scalars['Boolean']; /** Determines how many times a download link can be accessed by a customer. */ maxDownloads?: InputMaybe; + /** Determines for how many days a download link is active since it was generated. */ + urlValidDays?: InputMaybe; + /** Overwrite default automatic_fulfillment setting for variant. */ + automaticFulfillment?: InputMaybe; /** * Fields required to update the digital content metadata. * @@ -1698,10 +1740,8 @@ export type DigitalContentUploadInput = { * Added in Saleor 3.8. */ privateMetadata?: InputMaybe>; - /** Determines for how many days a download link is active since it was generated. */ - urlValidDays?: InputMaybe; - /** Use default digital content settings for this product. */ - useDefaultSettings: Scalars['Boolean']; + /** Represents an file in a multipart request. */ + contentFile: Scalars['Upload']; }; export type DigitalContentUrlCreateInput = { @@ -1712,13 +1752,13 @@ export type DigitalContentUrlCreateInput = { /** An enumeration. */ export enum DiscountErrorCode { ALREADY_EXISTS = 'ALREADY_EXISTS', - CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT = 'CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT', - DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT = 'CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT', + DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM' } export enum DiscountStatusEnum { @@ -1735,22 +1775,34 @@ export enum DiscountValueTypeEnum { /** An enumeration. */ export enum DistanceUnitsEnum { CM = 'CM', - FT = 'FT', - INCH = 'INCH', - KM = 'KM', M = 'M', - YD = 'YD' + KM = 'KM', + FT = 'FT', + YD = 'YD', + INCH = 'INCH' } export type DraftOrderCreateInput = { /** Billing address of the customer. */ billingAddress?: InputMaybe; - /** ID of the channel associated with the order. */ - channelId?: InputMaybe; - /** A note from a customer. Visible by customers in the order summary. */ - customerNote?: InputMaybe; + /** Customer associated with the draft order. */ + user?: InputMaybe; + /** Email address of the customer. */ + userEmail?: InputMaybe; /** Discount amount for the order. */ discount?: InputMaybe; + /** Shipping address of the customer. */ + shippingAddress?: InputMaybe; + /** ID of a selected shipping method. */ + shippingMethod?: InputMaybe; + /** ID of the voucher associated with the order. */ + voucher?: InputMaybe; + /** A note from a customer. Visible by customers in the order summary. */ + customerNote?: InputMaybe; + /** ID of the channel associated with the order. */ + channelId?: InputMaybe; + /** URL of a view where users should be redirected to see the order details. URL in RFC 1808 format. */ + redirectUrl?: InputMaybe; /** * External ID of this order. * @@ -1759,47 +1811,35 @@ export type DraftOrderCreateInput = { externalReference?: InputMaybe; /** Variant line input consisting of variant ID and quantity of products. */ lines?: InputMaybe>; - /** URL of a view where users should be redirected to see the order details. URL in RFC 1808 format. */ - redirectUrl?: InputMaybe; - /** Shipping address of the customer. */ - shippingAddress?: InputMaybe; - /** ID of a selected shipping method. */ - shippingMethod?: InputMaybe; - /** Customer associated with the draft order. */ - user?: InputMaybe; - /** Email address of the customer. */ - userEmail?: InputMaybe; - /** ID of the voucher associated with the order. */ - voucher?: InputMaybe; }; export type DraftOrderInput = { /** Billing address of the customer. */ billingAddress?: InputMaybe; - /** ID of the channel associated with the order. */ - channelId?: InputMaybe; - /** A note from a customer. Visible by customers in the order summary. */ - customerNote?: InputMaybe; + /** Customer associated with the draft order. */ + user?: InputMaybe; + /** Email address of the customer. */ + userEmail?: InputMaybe; /** Discount amount for the order. */ discount?: InputMaybe; + /** Shipping address of the customer. */ + shippingAddress?: InputMaybe; + /** ID of a selected shipping method. */ + shippingMethod?: InputMaybe; + /** ID of the voucher associated with the order. */ + voucher?: InputMaybe; + /** A note from a customer. Visible by customers in the order summary. */ + customerNote?: InputMaybe; + /** ID of the channel associated with the order. */ + channelId?: InputMaybe; + /** URL of a view where users should be redirected to see the order details. URL in RFC 1808 format. */ + redirectUrl?: InputMaybe; /** * External ID of this order. * * Added in Saleor 3.10. */ externalReference?: InputMaybe; - /** URL of a view where users should be redirected to see the order details. URL in RFC 1808 format. */ - redirectUrl?: InputMaybe; - /** Shipping address of the customer. */ - shippingAddress?: InputMaybe; - /** ID of a selected shipping method. */ - shippingMethod?: InputMaybe; - /** Customer associated with the draft order. */ - user?: InputMaybe; - /** Email address of the customer. */ - userEmail?: InputMaybe; - /** ID of the voucher associated with the order. */ - voucher?: InputMaybe; }; export enum ErrorPolicyEnum { @@ -1824,8 +1864,8 @@ export type EventDeliveryAttemptSortingInput = { }; export type EventDeliveryFilterInput = { - eventType?: InputMaybe; status?: InputMaybe; + eventType?: InputMaybe; }; export enum EventDeliverySortField { @@ -1841,9 +1881,9 @@ export type EventDeliverySortingInput = { }; export enum EventDeliveryStatusEnum { - FAILED = 'FAILED', PENDING = 'PENDING', - SUCCESS = 'SUCCESS' + SUCCESS = 'SUCCESS', + FAILED = 'FAILED' } /** An enumeration. */ @@ -1856,27 +1896,27 @@ export enum ExportErrorCode { /** An enumeration. */ export enum ExportEventsEnum { - EXPORTED_FILE_SENT = 'EXPORTED_FILE_SENT', - EXPORT_DELETED = 'EXPORT_DELETED', - EXPORT_FAILED = 'EXPORT_FAILED', - EXPORT_FAILED_INFO_SENT = 'EXPORT_FAILED_INFO_SENT', EXPORT_PENDING = 'EXPORT_PENDING', - EXPORT_SUCCESS = 'EXPORT_SUCCESS' + EXPORT_SUCCESS = 'EXPORT_SUCCESS', + EXPORT_FAILED = 'EXPORT_FAILED', + EXPORT_DELETED = 'EXPORT_DELETED', + EXPORTED_FILE_SENT = 'EXPORTED_FILE_SENT', + EXPORT_FAILED_INFO_SENT = 'EXPORT_FAILED_INFO_SENT' } export type ExportFileFilterInput = { - app?: InputMaybe; createdAt?: InputMaybe; - status?: InputMaybe; updatedAt?: InputMaybe; + status?: InputMaybe; user?: InputMaybe; + app?: InputMaybe; }; export enum ExportFileSortField { - CREATED_AT = 'CREATED_AT', - LAST_MODIFIED_AT = 'LAST_MODIFIED_AT', STATUS = 'STATUS', - UPDATED_AT = 'UPDATED_AT' + CREATED_AT = 'CREATED_AT', + UPDATED_AT = 'UPDATED_AT', + LAST_MODIFIED_AT = 'LAST_MODIFIED_AT' } export type ExportFileSortingInput = { @@ -1887,64 +1927,64 @@ export type ExportFileSortingInput = { }; export type ExportGiftCardsInput = { - /** Type of exported file. */ - fileType: FileTypesEnum; + /** Determine which gift cards should be exported. */ + scope: ExportScope; /** Filtering options for gift cards. */ filter?: InputMaybe; /** List of gift cards IDs to export. */ ids?: InputMaybe>; - /** Determine which gift cards should be exported. */ - scope: ExportScope; + /** Type of exported file. */ + fileType: FileTypesEnum; }; export type ExportInfoInput = { /** List of attribute ids witch should be exported. */ attributes?: InputMaybe>; + /** List of warehouse ids witch should be exported. */ + warehouses?: InputMaybe>; /** List of channels ids which should be exported. */ channels?: InputMaybe>; /** List of product fields witch should be exported. */ fields?: InputMaybe>; - /** List of warehouse ids witch should be exported. */ - warehouses?: InputMaybe>; }; export type ExportProductsInput = { - /** Input with info about fields which should be exported. */ - exportInfo?: InputMaybe; - /** Type of exported file. */ - fileType: FileTypesEnum; + /** Determine which products should be exported. */ + scope: ExportScope; /** Filtering options for products. */ filter?: InputMaybe; /** List of products IDs to export. */ ids?: InputMaybe>; - /** Determine which products should be exported. */ - scope: ExportScope; + /** Input with info about fields which should be exported. */ + exportInfo?: InputMaybe; + /** Type of exported file. */ + fileType: FileTypesEnum; }; export enum ExportScope { /** Export all products. */ ALL = 'ALL', - /** Export the filtered products. */ - FILTER = 'FILTER', /** Export products with given ids. */ - IDS = 'IDS' + IDS = 'IDS', + /** Export the filtered products. */ + FILTER = 'FILTER' } /** An enumeration. */ export enum ExternalNotificationErrorCodes { - CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', + REQUIRED = 'REQUIRED', INVALID_MODEL_TYPE = 'INVALID_MODEL_TYPE', NOT_FOUND = 'NOT_FOUND', - REQUIRED = 'REQUIRED' + CHANNEL_INACTIVE = 'CHANNEL_INACTIVE' } export type ExternalNotificationTriggerInput = { - /** External event type. This field is passed to a plugin as an event type. */ - externalEventType: Scalars['String']; - /** Additional payload that will be merged with the one based on the bussines object ID. */ - extraPayload?: InputMaybe; /** The list of customers or orders node IDs that will be serialized and included in the notification payload. */ ids: Array; + /** Additional payload that will be merged with the one based on the bussines object ID. */ + extraPayload?: InputMaybe; + /** External event type. This field is passed to a plugin as an event type. */ + externalEventType: Scalars['String']; }; /** An enumeration. */ @@ -1960,20 +2000,20 @@ export type FulfillmentCancelInput = { /** An enumeration. */ export enum FulfillmentStatus { - CANCELED = 'CANCELED', FULFILLED = 'FULFILLED', REFUNDED = 'REFUNDED', - REFUNDED_AND_RETURNED = 'REFUNDED_AND_RETURNED', - REPLACED = 'REPLACED', RETURNED = 'RETURNED', + REPLACED = 'REPLACED', + REFUNDED_AND_RETURNED = 'REFUNDED_AND_RETURNED', + CANCELED = 'CANCELED', WAITING_FOR_APPROVAL = 'WAITING_FOR_APPROVAL' } export type FulfillmentUpdateTrackingInput = { - /** If true, send an email notification to the customer. */ - notifyCustomer?: InputMaybe; /** Fulfillment tracking number. */ trackingNumber?: InputMaybe; + /** If true, send an email notification to the customer. */ + notifyCustomer?: InputMaybe; }; export type GiftCardAddNoteInput = { @@ -1982,16 +2022,16 @@ export type GiftCardAddNoteInput = { }; export type GiftCardBulkCreateInput = { - /** Balance of the gift card. */ - balance: PriceInput; /** The number of cards to issue. */ count: Scalars['Int']; + /** Balance of the gift card. */ + balance: PriceInput; + /** The gift card tags. */ + tags?: InputMaybe>; /** The gift card expiry date. */ expiryDate?: InputMaybe; /** Determine if gift card is active. */ isActive: Scalars['Boolean']; - /** The gift card tags. */ - tags?: InputMaybe>; }; export type GiftCardCreateInput = { @@ -2001,142 +2041,142 @@ export type GiftCardCreateInput = { * Added in Saleor 3.1. */ addTags?: InputMaybe>; - /** Balance of the gift card. */ - balance: PriceInput; - /** - * Slug of a channel from which the email should be sent. - * - * Added in Saleor 3.1. - */ - channel?: InputMaybe; - /** - * Code to use the gift card. - * - * DEPRECATED: this field will be removed in Saleor 4.0. The code is now auto generated. - */ - code?: InputMaybe; - /** - * End date of the gift card in ISO 8601 format. - * - * DEPRECATED: this field will be removed in Saleor 4.0. Use `expiryDate` from `expirySettings` instead. - */ - endDate?: InputMaybe; /** * The gift card expiry date. * * Added in Saleor 3.1. */ expiryDate?: InputMaybe; + /** + * Start date of the gift card in ISO 8601 format. + * + * DEPRECATED: this field will be removed in Saleor 4.0. + */ + startDate?: InputMaybe; + /** + * End date of the gift card in ISO 8601 format. + * + * DEPRECATED: this field will be removed in Saleor 4.0. Use `expiryDate` from `expirySettings` instead. + */ + endDate?: InputMaybe; + /** Balance of the gift card. */ + balance: PriceInput; + /** Email of the customer to whom gift card will be sent. */ + userEmail?: InputMaybe; + /** + * Slug of a channel from which the email should be sent. + * + * Added in Saleor 3.1. + */ + channel?: InputMaybe; /** * Determine if gift card is active. * * Added in Saleor 3.1. */ isActive: Scalars['Boolean']; + /** + * Code to use the gift card. + * + * DEPRECATED: this field will be removed in Saleor 4.0. The code is now auto generated. + */ + code?: InputMaybe; /** * The gift card note from the staff member. * * Added in Saleor 3.1. */ note?: InputMaybe; - /** - * Start date of the gift card in ISO 8601 format. - * - * DEPRECATED: this field will be removed in Saleor 4.0. - */ - startDate?: InputMaybe; - /** Email of the customer to whom gift card will be sent. */ - userEmail?: InputMaybe; }; /** An enumeration. */ export enum GiftCardErrorCode { ALREADY_EXISTS = 'ALREADY_EXISTS', - DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', - EXPIRED_GIFT_CARD = 'EXPIRED_GIFT_CARD', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + EXPIRED_GIFT_CARD = 'EXPIRED_GIFT_CARD', + DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM' } export type GiftCardEventFilterInput = { - orders?: InputMaybe>; type?: InputMaybe; + orders?: InputMaybe>; }; /** An enumeration. */ export enum GiftCardEventsEnum { - ACTIVATED = 'ACTIVATED', - BALANCE_RESET = 'BALANCE_RESET', - BOUGHT = 'BOUGHT', - DEACTIVATED = 'DEACTIVATED', - EXPIRY_DATE_UPDATED = 'EXPIRY_DATE_UPDATED', ISSUED = 'ISSUED', - NOTE_ADDED = 'NOTE_ADDED', - RESENT = 'RESENT', - SENT_TO_CUSTOMER = 'SENT_TO_CUSTOMER', - TAGS_UPDATED = 'TAGS_UPDATED', + BOUGHT = 'BOUGHT', UPDATED = 'UPDATED', + ACTIVATED = 'ACTIVATED', + DEACTIVATED = 'DEACTIVATED', + BALANCE_RESET = 'BALANCE_RESET', + EXPIRY_DATE_UPDATED = 'EXPIRY_DATE_UPDATED', + TAGS_UPDATED = 'TAGS_UPDATED', + SENT_TO_CUSTOMER = 'SENT_TO_CUSTOMER', + RESENT = 'RESENT', + NOTE_ADDED = 'NOTE_ADDED', USED_IN_ORDER = 'USED_IN_ORDER' } export type GiftCardFilterInput = { - code?: InputMaybe; + isActive?: InputMaybe; + metadata?: InputMaybe>; + tags?: InputMaybe>; + products?: InputMaybe>; + usedBy?: InputMaybe>; + used?: InputMaybe; currency?: InputMaybe; currentBalance?: InputMaybe; initialBalance?: InputMaybe; - isActive?: InputMaybe; - metadata?: InputMaybe>; - products?: InputMaybe>; - tags?: InputMaybe>; - used?: InputMaybe; - usedBy?: InputMaybe>; + code?: InputMaybe; }; export type GiftCardResendInput = { - /** Slug of a channel from which the email should be sent. */ - channel: Scalars['String']; - /** Email to which gift card should be send. */ - email?: InputMaybe; /** ID of a gift card to resend. */ id: Scalars['ID']; + /** Email to which gift card should be send. */ + email?: InputMaybe; + /** Slug of a channel from which the email should be sent. */ + channel: Scalars['String']; }; /** An enumeration. */ export enum GiftCardSettingsErrorCode { - GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - REQUIRED = 'REQUIRED' + REQUIRED = 'REQUIRED', + GRAPHQL_ERROR = 'GRAPHQL_ERROR' } /** An enumeration. */ export enum GiftCardSettingsExpiryTypeEnum { - EXPIRY_PERIOD = 'EXPIRY_PERIOD', - NEVER_EXPIRE = 'NEVER_EXPIRE' + NEVER_EXPIRE = 'NEVER_EXPIRE', + EXPIRY_PERIOD = 'EXPIRY_PERIOD' } export type GiftCardSettingsUpdateInput = { - /** Defines gift card expiry period. */ - expiryPeriod?: InputMaybe; /** Defines gift card default expiry settings. */ expiryType?: InputMaybe; + /** Defines gift card expiry period. */ + expiryPeriod?: InputMaybe; }; export enum GiftCardSortField { + /** Sort gift cards by product. */ + PRODUCT = 'PRODUCT', + /** Sort gift cards by used by. */ + USED_BY = 'USED_BY', + /** Sort gift cards by current balance. */ + CURRENT_BALANCE = 'CURRENT_BALANCE', /** * Sort gift cards by created at. * * Added in Saleor 3.8. */ - CREATED_AT = 'CREATED_AT', - /** Sort gift cards by current balance. */ - CURRENT_BALANCE = 'CURRENT_BALANCE', - /** Sort gift cards by product. */ - PRODUCT = 'PRODUCT', - /** Sort gift cards by used by. */ - USED_BY = 'USED_BY' + CREATED_AT = 'CREATED_AT' } export type GiftCardSortingInput = { @@ -2158,23 +2198,23 @@ export type GiftCardUpdateInput = { */ addTags?: InputMaybe>; /** - * The gift card balance amount. + * The gift card expiry date. * * Added in Saleor 3.1. */ - balanceAmount?: InputMaybe; + expiryDate?: InputMaybe; + /** + * Start date of the gift card in ISO 8601 format. + * + * DEPRECATED: this field will be removed in Saleor 4.0. + */ + startDate?: InputMaybe; /** * End date of the gift card in ISO 8601 format. * * DEPRECATED: this field will be removed in Saleor 4.0. Use `expiryDate` from `expirySettings` instead. */ endDate?: InputMaybe; - /** - * The gift card expiry date. - * - * Added in Saleor 3.1. - */ - expiryDate?: InputMaybe; /** * The gift card tags to remove. * @@ -2182,11 +2222,11 @@ export type GiftCardUpdateInput = { */ removeTags?: InputMaybe>; /** - * Start date of the gift card in ISO 8601 format. + * The gift card balance amount. * - * DEPRECATED: this field will be removed in Saleor 4.0. + * Added in Saleor 3.1. */ - startDate?: InputMaybe; + balanceAmount?: InputMaybe; }; export type IntRangeInput = { @@ -2205,22 +2245,22 @@ export type InvoiceCreateInput = { /** An enumeration. */ export enum InvoiceErrorCode { - EMAIL_NOT_SET = 'EMAIL_NOT_SET', - INVALID_STATUS = 'INVALID_STATUS', - NOT_FOUND = 'NOT_FOUND', - NOT_READY = 'NOT_READY', - NO_INVOICE_PLUGIN = 'NO_INVOICE_PLUGIN', - NUMBER_NOT_SET = 'NUMBER_NOT_SET', REQUIRED = 'REQUIRED', - URL_NOT_SET = 'URL_NOT_SET' + NOT_READY = 'NOT_READY', + URL_NOT_SET = 'URL_NOT_SET', + EMAIL_NOT_SET = 'EMAIL_NOT_SET', + NUMBER_NOT_SET = 'NUMBER_NOT_SET', + NOT_FOUND = 'NOT_FOUND', + INVALID_STATUS = 'INVALID_STATUS', + NO_INVOICE_PLUGIN = 'NO_INVOICE_PLUGIN' } /** An enumeration. */ export enum JobStatusEnum { - DELETED = 'DELETED', - FAILED = 'FAILED', PENDING = 'PENDING', - SUCCESS = 'SUCCESS' + SUCCESS = 'SUCCESS', + FAILED = 'FAILED', + DELETED = 'DELETED' } /** An enumeration. */ @@ -2263,11 +2303,11 @@ export enum LanguageCodeEnum { AR_TN = 'AR_TN', AR_YE = 'AR_YE', AS = 'AS', + AS_IN = 'AS_IN', ASA = 'ASA', ASA_TZ = 'ASA_TZ', AST = 'AST', AST_ES = 'AST_ES', - AS_IN = 'AS_IN', AZ = 'AZ', AZ_CYRL = 'AZ_CYRL', AZ_CYRL_AZ = 'AZ_CYRL_AZ', @@ -2276,11 +2316,11 @@ export enum LanguageCodeEnum { BAS = 'BAS', BAS_CM = 'BAS_CM', BE = 'BE', + BE_BY = 'BE_BY', BEM = 'BEM', BEM_ZM = 'BEM_ZM', BEZ = 'BEZ', BEZ_TZ = 'BEZ_TZ', - BE_BY = 'BE_BY', BG = 'BG', BG_BG = 'BG_BG', BM = 'BM', @@ -2292,9 +2332,9 @@ export enum LanguageCodeEnum { BO_CN = 'BO_CN', BO_IN = 'BO_IN', BR = 'BR', + BR_FR = 'BR_FR', BRX = 'BRX', BRX_IN = 'BRX_IN', - BR_FR = 'BR_FR', BS = 'BS', BS_CYRL = 'BS_CYRL', BS_CYRL_BA = 'BS_CYRL_BA', @@ -2310,9 +2350,9 @@ export enum LanguageCodeEnum { CCP_BD = 'CCP_BD', CCP_IN = 'CCP_IN', CE = 'CE', + CE_RU = 'CE_RU', CEB = 'CEB', CEB_PH = 'CEB_PH', - CE_RU = 'CE_RU', CGG = 'CGG', CGG_UG = 'CGG_UG', CHR = 'CHR', @@ -2327,10 +2367,10 @@ export enum LanguageCodeEnum { CY = 'CY', CY_GB = 'CY_GB', DA = 'DA', - DAV = 'DAV', - DAV_KE = 'DAV_KE', DA_DK = 'DA_DK', DA_GL = 'DA_GL', + DAV = 'DAV', + DAV_KE = 'DAV_KE', DE = 'DE', DE_AT = 'DE_AT', DE_BE = 'DE_BE', @@ -2527,9 +2567,9 @@ export enum LanguageCodeEnum { FF_LATN_SL = 'FF_LATN_SL', FF_LATN_SN = 'FF_LATN_SN', FI = 'FI', + FI_FI = 'FI_FI', FIL = 'FIL', FIL_PH = 'FIL_PH', - FI_FI = 'FI_FI', FO = 'FO', FO_DK = 'FO_DK', FO_FO = 'FO_FO', @@ -2596,17 +2636,17 @@ export enum LanguageCodeEnum { GSW_FR = 'GSW_FR', GSW_LI = 'GSW_LI', GU = 'GU', + GU_IN = 'GU_IN', GUZ = 'GUZ', GUZ_KE = 'GUZ_KE', - GU_IN = 'GU_IN', GV = 'GV', GV_IM = 'GV_IM', HA = 'HA', - HAW = 'HAW', - HAW_US = 'HAW_US', HA_GH = 'HA_GH', HA_NE = 'HA_NE', HA_NG = 'HA_NG', + HAW = 'HAW', + HAW_US = 'HAW_US', HE = 'HE', HE_IL = 'HE_IL', HI = 'HI', @@ -2643,11 +2683,11 @@ export enum LanguageCodeEnum { JV = 'JV', JV_ID = 'JV_ID', KA = 'KA', + KA_GE = 'KA_GE', KAB = 'KAB', KAB_DZ = 'KAB_DZ', KAM = 'KAM', KAM_KE = 'KAM_KE', - KA_GE = 'KA_GE', KDE = 'KDE', KDE_TZ = 'KDE_TZ', KEA = 'KEA', @@ -2657,31 +2697,31 @@ export enum LanguageCodeEnum { KI = 'KI', KI_KE = 'KI_KE', KK = 'KK', + KK_KZ = 'KK_KZ', KKJ = 'KKJ', KKJ_CM = 'KKJ_CM', - KK_KZ = 'KK_KZ', KL = 'KL', + KL_GL = 'KL_GL', KLN = 'KLN', KLN_KE = 'KLN_KE', - KL_GL = 'KL_GL', KM = 'KM', KM_KH = 'KM_KH', KN = 'KN', KN_IN = 'KN_IN', KO = 'KO', - KOK = 'KOK', - KOK_IN = 'KOK_IN', KO_KP = 'KO_KP', KO_KR = 'KO_KR', + KOK = 'KOK', + KOK_IN = 'KOK_IN', KS = 'KS', + KS_ARAB = 'KS_ARAB', + KS_ARAB_IN = 'KS_ARAB_IN', KSB = 'KSB', KSB_TZ = 'KSB_TZ', KSF = 'KSF', KSF_CM = 'KSF_CM', KSH = 'KSH', KSH_DE = 'KSH_DE', - KS_ARAB = 'KS_ARAB', - KS_ARAB_IN = 'KS_ARAB_IN', KU = 'KU', KU_TR = 'KU_TR', KW = 'KW', @@ -2709,11 +2749,11 @@ export enum LanguageCodeEnum { LT = 'LT', LT_LT = 'LT_LT', LU = 'LU', + LU_CD = 'LU_CD', LUO = 'LUO', LUO_KE = 'LUO_KE', LUY = 'LUY', LUY_KE = 'LUY_KE', - LU_CD = 'LU_CD', LV = 'LV', LV_LV = 'LV_LV', MAI = 'MAI', @@ -2726,11 +2766,11 @@ export enum LanguageCodeEnum { MFE = 'MFE', MFE_MU = 'MFE_MU', MG = 'MG', + MG_MG = 'MG_MG', MGH = 'MGH', MGH_MZ = 'MGH_MZ', MGO = 'MGO', MGO_CM = 'MGO_CM', - MG_MG = 'MG_MG', MI = 'MI', MI_NZ = 'MI_NZ', MK = 'MK', @@ -2738,10 +2778,10 @@ export enum LanguageCodeEnum { ML = 'ML', ML_IN = 'ML_IN', MN = 'MN', + MN_MN = 'MN_MN', MNI = 'MNI', MNI_BENG = 'MNI_BENG', MNI_BENG_IN = 'MNI_BENG_IN', - MN_MN = 'MN_MN', MR = 'MR', MR_IN = 'MR_IN', MS = 'MS', @@ -2763,10 +2803,10 @@ export enum LanguageCodeEnum { NB_NO = 'NB_NO', NB_SJ = 'NB_SJ', ND = 'ND', + ND_ZW = 'ND_ZW', NDS = 'NDS', NDS_DE = 'NDS_DE', NDS_NL = 'NDS_NL', - ND_ZW = 'ND_ZW', NE = 'NE', NE_IN = 'NE_IN', NE_NP = 'NE_NP', @@ -2781,9 +2821,9 @@ export enum LanguageCodeEnum { NMG = 'NMG', NMG_CM = 'NMG_CM', NN = 'NN', + NN_NO = 'NN_NO', NNH = 'NNH', NNH_CM = 'NNH_CM', - NN_NO = 'NN_NO', NUS = 'NUS', NUS_SS = 'NUS_SS', NYN = 'NYN', @@ -2831,10 +2871,10 @@ export enum LanguageCodeEnum { RN = 'RN', RN_BI = 'RN_BI', RO = 'RO', - ROF = 'ROF', - ROF_TZ = 'ROF_TZ', RO_MD = 'RO_MD', RO_RO = 'RO_RO', + ROF = 'ROF', + ROF_TZ = 'ROF_TZ', RU = 'RU', RU_BY = 'RU_BY', RU_KG = 'RU_KG', @@ -2843,9 +2883,9 @@ export enum LanguageCodeEnum { RU_RU = 'RU_RU', RU_UA = 'RU_UA', RW = 'RW', + RW_RW = 'RW_RW', RWK = 'RWK', RWK_TZ = 'RWK_TZ', - RW_RW = 'RW_RW', SAH = 'SAH', SAH_RU = 'SAH_RU', SAQ = 'SAQ', @@ -2861,13 +2901,13 @@ export enum LanguageCodeEnum { SD_DEVA = 'SD_DEVA', SD_DEVA_IN = 'SD_DEVA_IN', SE = 'SE', + SE_FI = 'SE_FI', + SE_NO = 'SE_NO', + SE_SE = 'SE_SE', SEH = 'SEH', SEH_MZ = 'SEH_MZ', SES = 'SES', SES_ML = 'SES_ML', - SE_FI = 'SE_FI', - SE_NO = 'SE_NO', - SE_SE = 'SE_SE', SG = 'SG', SG_CF = 'SG_CF', SHI = 'SHI', @@ -2923,10 +2963,10 @@ export enum LanguageCodeEnum { TA_MY = 'TA_MY', TA_SG = 'TA_SG', TE = 'TE', + TE_IN = 'TE_IN', TEO = 'TEO', TEO_KE = 'TEO_KE', TEO_UG = 'TEO_UG', - TE_IN = 'TE_IN', TG = 'TG', TG_TJ = 'TG_TJ', TH = 'TH', @@ -3018,42 +3058,42 @@ export enum LanguageCodeEnum { * */ export enum MarkAsPaidStrategyEnum { - PAYMENT_FLOW = 'PAYMENT_FLOW', - TRANSACTION_FLOW = 'TRANSACTION_FLOW' + TRANSACTION_FLOW = 'TRANSACTION_FLOW', + PAYMENT_FLOW = 'PAYMENT_FLOW' } /** An enumeration. */ export enum MeasurementUnitsEnum { - ACRE_FT = 'ACRE_FT', - ACRE_IN = 'ACRE_IN', CM = 'CM', + M = 'M', + KM = 'KM', + FT = 'FT', + YD = 'YD', + INCH = 'INCH', + SQ_CM = 'SQ_CM', + SQ_M = 'SQ_M', + SQ_KM = 'SQ_KM', + SQ_FT = 'SQ_FT', + SQ_YD = 'SQ_YD', + SQ_INCH = 'SQ_INCH', + CUBIC_MILLIMETER = 'CUBIC_MILLIMETER', CUBIC_CENTIMETER = 'CUBIC_CENTIMETER', CUBIC_DECIMETER = 'CUBIC_DECIMETER', + CUBIC_METER = 'CUBIC_METER', + LITER = 'LITER', CUBIC_FOOT = 'CUBIC_FOOT', CUBIC_INCH = 'CUBIC_INCH', - CUBIC_METER = 'CUBIC_METER', - CUBIC_MILLIMETER = 'CUBIC_MILLIMETER', CUBIC_YARD = 'CUBIC_YARD', - FL_OZ = 'FL_OZ', - FT = 'FT', - G = 'G', - INCH = 'INCH', - KG = 'KG', - KM = 'KM', - LB = 'LB', - LITER = 'LITER', - M = 'M', - OZ = 'OZ', - PINT = 'PINT', QT = 'QT', - SQ_CM = 'SQ_CM', - SQ_FT = 'SQ_FT', - SQ_INCH = 'SQ_INCH', - SQ_KM = 'SQ_KM', - SQ_M = 'SQ_M', - SQ_YD = 'SQ_YD', - TONNE = 'TONNE', - YD = 'YD' + PINT = 'PINT', + FL_OZ = 'FL_OZ', + ACRE_IN = 'ACRE_IN', + ACRE_FT = 'ACRE_FT', + G = 'G', + LB = 'LB', + OZ = 'OZ', + KG = 'KG', + TONNE = 'TONNE' } export type MeasurementUnitsEnumFilterInput = { @@ -3085,12 +3125,12 @@ export type MediaSortingInput = { }; export type MenuCreateInput = { - /** List of menu items. */ - items?: InputMaybe>; /** Name of the menu. */ name: Scalars['String']; /** Slug of the menu. Will be generated if not provided. */ slug?: InputMaybe; + /** List of menu items. */ + items?: InputMaybe>; }; /** An enumeration. */ @@ -3099,17 +3139,17 @@ export enum MenuErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', INVALID_MENU_ITEM = 'INVALID_MENU_ITEM', - NOT_FOUND = 'NOT_FOUND', NO_MENU_ITEM_PROVIDED = 'NO_MENU_ITEM_PROVIDED', + NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', TOO_MANY_MENU_ITEMS = 'TOO_MANY_MENU_ITEMS', UNIQUE = 'UNIQUE' } export type MenuFilterInput = { - metadata?: InputMaybe>; search?: InputMaybe; slug?: InputMaybe>; + metadata?: InputMaybe>; slugs?: InputMaybe>; }; @@ -3121,38 +3161,38 @@ export type MenuInput = { }; export type MenuItemCreateInput = { + /** Name of the menu item. */ + name: Scalars['String']; + /** URL of the pointed item. */ + url?: InputMaybe; /** Category to which item points. */ category?: InputMaybe; /** Collection to which item points. */ collection?: InputMaybe; - /** Menu to which item belongs. */ - menu: Scalars['ID']; - /** Name of the menu item. */ - name: Scalars['String']; /** Page to which item points. */ page?: InputMaybe; + /** Menu to which item belongs. */ + menu: Scalars['ID']; /** ID of the parent menu. If empty, menu will be top level menu. */ parent?: InputMaybe; - /** URL of the pointed item. */ - url?: InputMaybe; }; export type MenuItemFilterInput = { - metadata?: InputMaybe>; search?: InputMaybe; + metadata?: InputMaybe>; }; export type MenuItemInput = { + /** Name of the menu item. */ + name?: InputMaybe; + /** URL of the pointed item. */ + url?: InputMaybe; /** Category to which item points. */ category?: InputMaybe; /** Collection to which item points. */ collection?: InputMaybe; - /** Name of the menu item. */ - name?: InputMaybe; /** Page to which item points. */ page?: InputMaybe; - /** URL of the pointed item. */ - url?: InputMaybe; }; export type MenuItemMoveInput = { @@ -3177,10 +3217,10 @@ export enum MenuItemsSortField { } export enum MenuSortField { - /** Sort menus by items count. */ - ITEMS_COUNT = 'ITEMS_COUNT', /** Sort menus by name. */ - NAME = 'NAME' + NAME = 'NAME', + /** Sort menus by items count. */ + ITEMS_COUNT = 'ITEMS_COUNT' } export type MenuSortingInput = { @@ -3195,8 +3235,8 @@ export enum MetadataErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', NOT_FOUND = 'NOT_FOUND', - NOT_UPDATED = 'NOT_UPDATED', - REQUIRED = 'REQUIRED' + REQUIRED = 'REQUIRED', + NOT_UPDATED = 'NOT_UPDATED' } export type MetadataFilter = { @@ -3214,10 +3254,10 @@ export type MetadataInput = { }; export type MoneyInput = { - /** Amount of money. */ - amount: Scalars['PositiveDecimal']; /** Currency code. */ currency: Scalars['String']; + /** Amount of money. */ + amount: Scalars['PositiveDecimal']; }; export type MoveProductInput = { @@ -3272,9 +3312,9 @@ export type OrderAddNoteInput = { * */ export enum OrderAuthorizeStatusEnum { - FULL = 'FULL', NONE = 'NONE', - PARTIAL = 'PARTIAL' + PARTIAL = 'PARTIAL', + FULL = 'FULL' } /** @@ -3299,28 +3339,28 @@ export enum OrderAuthorizeStatusEnum { * */ export enum OrderChargeStatusEnum { - FULL = 'FULL', NONE = 'NONE', - OVERCHARGED = 'OVERCHARGED', - PARTIAL = 'PARTIAL' + PARTIAL = 'PARTIAL', + FULL = 'FULL', + OVERCHARGED = 'OVERCHARGED' } /** An enumeration. */ export enum OrderCreateFromCheckoutErrorCode { - BILLING_ADDRESS_NOT_SET = 'BILLING_ADDRESS_NOT_SET', - CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', - CHECKOUT_NOT_FOUND = 'CHECKOUT_NOT_FOUND', - EMAIL_NOT_SET = 'EMAIL_NOT_SET', - GIFT_CARD_NOT_APPLICABLE = 'GIFT_CARD_NOT_APPLICABLE', GRAPHQL_ERROR = 'GRAPHQL_ERROR', + CHECKOUT_NOT_FOUND = 'CHECKOUT_NOT_FOUND', + CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', INSUFFICIENT_STOCK = 'INSUFFICIENT_STOCK', + VOUCHER_NOT_APPLICABLE = 'VOUCHER_NOT_APPLICABLE', + GIFT_CARD_NOT_APPLICABLE = 'GIFT_CARD_NOT_APPLICABLE', + TAX_ERROR = 'TAX_ERROR', + SHIPPING_METHOD_NOT_SET = 'SHIPPING_METHOD_NOT_SET', + BILLING_ADDRESS_NOT_SET = 'BILLING_ADDRESS_NOT_SET', + SHIPPING_ADDRESS_NOT_SET = 'SHIPPING_ADDRESS_NOT_SET', INVALID_SHIPPING_METHOD = 'INVALID_SHIPPING_METHOD', NO_LINES = 'NO_LINES', - SHIPPING_ADDRESS_NOT_SET = 'SHIPPING_ADDRESS_NOT_SET', - SHIPPING_METHOD_NOT_SET = 'SHIPPING_METHOD_NOT_SET', - TAX_ERROR = 'TAX_ERROR', - UNAVAILABLE_VARIANT_IN_CHANNEL = 'UNAVAILABLE_VARIANT_IN_CHANNEL', - VOUCHER_NOT_APPLICABLE = 'VOUCHER_NOT_APPLICABLE' + EMAIL_NOT_SET = 'EMAIL_NOT_SET', + UNAVAILABLE_VARIANT_IN_CHANNEL = 'UNAVAILABLE_VARIANT_IN_CHANNEL' } export enum OrderDirection { @@ -3331,26 +3371,26 @@ export enum OrderDirection { } export type OrderDiscountCommonInput = { - /** Explanation for the applied discount. */ - reason?: InputMaybe; - /** Value of the discount. Can store fixed value or percent value */ - value: Scalars['PositiveDecimal']; /** Type of the discount: fixed or percent */ valueType: DiscountValueTypeEnum; + /** Value of the discount. Can store fixed value or percent value */ + value: Scalars['PositiveDecimal']; + /** Explanation for the applied discount. */ + reason?: InputMaybe; }; /** An enumeration. */ export enum OrderDiscountType { - MANUAL = 'MANUAL', - VOUCHER = 'VOUCHER' + VOUCHER = 'VOUCHER', + MANUAL = 'MANUAL' } export type OrderDraftFilterInput = { - channels?: InputMaybe>; - created?: InputMaybe; customer?: InputMaybe; - metadata?: InputMaybe>; + created?: InputMaybe; search?: InputMaybe; + metadata?: InputMaybe>; + channels?: InputMaybe>; }; /** An enumeration. */ @@ -3360,131 +3400,131 @@ export enum OrderErrorCode { CANNOT_CANCEL_ORDER = 'CANNOT_CANCEL_ORDER', CANNOT_DELETE = 'CANNOT_DELETE', CANNOT_DISCOUNT = 'CANNOT_DISCOUNT', - CANNOT_FULFILL_UNPAID_ORDER = 'CANNOT_FULFILL_UNPAID_ORDER', CANNOT_REFUND = 'CANNOT_REFUND', + CANNOT_FULFILL_UNPAID_ORDER = 'CANNOT_FULFILL_UNPAID_ORDER', CAPTURE_INACTIVE_PAYMENT = 'CAPTURE_INACTIVE_PAYMENT', - CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', - DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', - FULFILL_ORDER_LINE = 'FULFILL_ORDER_LINE', GIFT_CARD_LINE = 'GIFT_CARD_LINE', - GRAPHQL_ERROR = 'GRAPHQL_ERROR', - INSUFFICIENT_STOCK = 'INSUFFICIENT_STOCK', - INVALID = 'INVALID', - INVALID_QUANTITY = 'INVALID_QUANTITY', - NOT_AVAILABLE_IN_CHANNEL = 'NOT_AVAILABLE_IN_CHANNEL', NOT_EDITABLE = 'NOT_EDITABLE', + FULFILL_ORDER_LINE = 'FULFILL_ORDER_LINE', + GRAPHQL_ERROR = 'GRAPHQL_ERROR', + INVALID = 'INVALID', + PRODUCT_NOT_PUBLISHED = 'PRODUCT_NOT_PUBLISHED', + PRODUCT_UNAVAILABLE_FOR_PURCHASE = 'PRODUCT_UNAVAILABLE_FOR_PURCHASE', NOT_FOUND = 'NOT_FOUND', ORDER_NO_SHIPPING_ADDRESS = 'ORDER_NO_SHIPPING_ADDRESS', PAYMENT_ERROR = 'PAYMENT_ERROR', PAYMENT_MISSING = 'PAYMENT_MISSING', - PRODUCT_NOT_PUBLISHED = 'PRODUCT_NOT_PUBLISHED', - PRODUCT_UNAVAILABLE_FOR_PURCHASE = 'PRODUCT_UNAVAILABLE_FOR_PURCHASE', + TRANSACTION_ERROR = 'TRANSACTION_ERROR', REQUIRED = 'REQUIRED', SHIPPING_METHOD_NOT_APPLICABLE = 'SHIPPING_METHOD_NOT_APPLICABLE', SHIPPING_METHOD_REQUIRED = 'SHIPPING_METHOD_REQUIRED', TAX_ERROR = 'TAX_ERROR', - TRANSACTION_ERROR = 'TRANSACTION_ERROR', UNIQUE = 'UNIQUE', VOID_INACTIVE_PAYMENT = 'VOID_INACTIVE_PAYMENT', - ZERO_QUANTITY = 'ZERO_QUANTITY' + ZERO_QUANTITY = 'ZERO_QUANTITY', + INVALID_QUANTITY = 'INVALID_QUANTITY', + INSUFFICIENT_STOCK = 'INSUFFICIENT_STOCK', + DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', + NOT_AVAILABLE_IN_CHANNEL = 'NOT_AVAILABLE_IN_CHANNEL', + CHANNEL_INACTIVE = 'CHANNEL_INACTIVE' } /** An enumeration. */ export enum OrderEventsEmailsEnum { - CONFIRMED = 'CONFIRMED', - DIGITAL_LINKS = 'DIGITAL_LINKS', - FULFILLMENT_CONFIRMATION = 'FULFILLMENT_CONFIRMATION', - ORDER_CANCEL = 'ORDER_CANCEL', - ORDER_CONFIRMATION = 'ORDER_CONFIRMATION', - ORDER_REFUND = 'ORDER_REFUND', PAYMENT_CONFIRMATION = 'PAYMENT_CONFIRMATION', + CONFIRMED = 'CONFIRMED', SHIPPING_CONFIRMATION = 'SHIPPING_CONFIRMATION', - TRACKING_UPDATED = 'TRACKING_UPDATED' + TRACKING_UPDATED = 'TRACKING_UPDATED', + ORDER_CONFIRMATION = 'ORDER_CONFIRMATION', + ORDER_CANCEL = 'ORDER_CANCEL', + ORDER_REFUND = 'ORDER_REFUND', + FULFILLMENT_CONFIRMATION = 'FULFILLMENT_CONFIRMATION', + DIGITAL_LINKS = 'DIGITAL_LINKS' } /** The different order event types. */ export enum OrderEventsEnum { - ADDED_PRODUCTS = 'ADDED_PRODUCTS', - CANCELED = 'CANCELED', - CONFIRMED = 'CONFIRMED', DRAFT_CREATED = 'DRAFT_CREATED', DRAFT_CREATED_FROM_REPLACE = 'DRAFT_CREATED_FROM_REPLACE', - EMAIL_SENT = 'EMAIL_SENT', - EXPIRED = 'EXPIRED', - EXTERNAL_SERVICE_NOTIFICATION = 'EXTERNAL_SERVICE_NOTIFICATION', - FULFILLMENT_AWAITS_APPROVAL = 'FULFILLMENT_AWAITS_APPROVAL', - FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', - FULFILLMENT_FULFILLED_ITEMS = 'FULFILLMENT_FULFILLED_ITEMS', - FULFILLMENT_REFUNDED = 'FULFILLMENT_REFUNDED', - FULFILLMENT_REPLACED = 'FULFILLMENT_REPLACED', - FULFILLMENT_RESTOCKED_ITEMS = 'FULFILLMENT_RESTOCKED_ITEMS', - FULFILLMENT_RETURNED = 'FULFILLMENT_RETURNED', - INVOICE_GENERATED = 'INVOICE_GENERATED', - INVOICE_REQUESTED = 'INVOICE_REQUESTED', - INVOICE_SENT = 'INVOICE_SENT', - INVOICE_UPDATED = 'INVOICE_UPDATED', - NOTE_ADDED = 'NOTE_ADDED', - ORDER_DISCOUNT_ADDED = 'ORDER_DISCOUNT_ADDED', - ORDER_DISCOUNT_AUTOMATICALLY_UPDATED = 'ORDER_DISCOUNT_AUTOMATICALLY_UPDATED', - ORDER_DISCOUNT_DELETED = 'ORDER_DISCOUNT_DELETED', - ORDER_DISCOUNT_UPDATED = 'ORDER_DISCOUNT_UPDATED', - ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', - ORDER_LINE_DISCOUNT_REMOVED = 'ORDER_LINE_DISCOUNT_REMOVED', - ORDER_LINE_DISCOUNT_UPDATED = 'ORDER_LINE_DISCOUNT_UPDATED', - ORDER_LINE_PRODUCT_DELETED = 'ORDER_LINE_PRODUCT_DELETED', - ORDER_LINE_VARIANT_DELETED = 'ORDER_LINE_VARIANT_DELETED', - ORDER_MARKED_AS_PAID = 'ORDER_MARKED_AS_PAID', - ORDER_REPLACEMENT_CREATED = 'ORDER_REPLACEMENT_CREATED', - OTHER = 'OTHER', - OVERSOLD_ITEMS = 'OVERSOLD_ITEMS', - PAYMENT_AUTHORIZED = 'PAYMENT_AUTHORIZED', - PAYMENT_CAPTURED = 'PAYMENT_CAPTURED', - PAYMENT_FAILED = 'PAYMENT_FAILED', - PAYMENT_REFUNDED = 'PAYMENT_REFUNDED', - PAYMENT_VOIDED = 'PAYMENT_VOIDED', + ADDED_PRODUCTS = 'ADDED_PRODUCTS', + REMOVED_PRODUCTS = 'REMOVED_PRODUCTS', PLACED = 'PLACED', PLACED_FROM_DRAFT = 'PLACED_FROM_DRAFT', - REMOVED_PRODUCTS = 'REMOVED_PRODUCTS', - TRACKING_UPDATED = 'TRACKING_UPDATED', - TRANSACTION_CANCEL_REQUESTED = 'TRANSACTION_CANCEL_REQUESTED', + OVERSOLD_ITEMS = 'OVERSOLD_ITEMS', + CANCELED = 'CANCELED', + EXPIRED = 'EXPIRED', + ORDER_MARKED_AS_PAID = 'ORDER_MARKED_AS_PAID', + ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', + ORDER_REPLACEMENT_CREATED = 'ORDER_REPLACEMENT_CREATED', + ORDER_DISCOUNT_ADDED = 'ORDER_DISCOUNT_ADDED', + ORDER_DISCOUNT_AUTOMATICALLY_UPDATED = 'ORDER_DISCOUNT_AUTOMATICALLY_UPDATED', + ORDER_DISCOUNT_UPDATED = 'ORDER_DISCOUNT_UPDATED', + ORDER_DISCOUNT_DELETED = 'ORDER_DISCOUNT_DELETED', + ORDER_LINE_DISCOUNT_UPDATED = 'ORDER_LINE_DISCOUNT_UPDATED', + ORDER_LINE_DISCOUNT_REMOVED = 'ORDER_LINE_DISCOUNT_REMOVED', + ORDER_LINE_PRODUCT_DELETED = 'ORDER_LINE_PRODUCT_DELETED', + ORDER_LINE_VARIANT_DELETED = 'ORDER_LINE_VARIANT_DELETED', + UPDATED_ADDRESS = 'UPDATED_ADDRESS', + EMAIL_SENT = 'EMAIL_SENT', + CONFIRMED = 'CONFIRMED', + PAYMENT_AUTHORIZED = 'PAYMENT_AUTHORIZED', + PAYMENT_CAPTURED = 'PAYMENT_CAPTURED', + EXTERNAL_SERVICE_NOTIFICATION = 'EXTERNAL_SERVICE_NOTIFICATION', + PAYMENT_REFUNDED = 'PAYMENT_REFUNDED', + PAYMENT_VOIDED = 'PAYMENT_VOIDED', + PAYMENT_FAILED = 'PAYMENT_FAILED', + TRANSACTION_EVENT = 'TRANSACTION_EVENT', + TRANSACTION_CHARGE_REQUESTED = 'TRANSACTION_CHARGE_REQUESTED', /** This field will be removed in Saleor 3.14 (Preview Feature). Use `TRANSACTION_CHARGE_REQUESTED` instead. */ TRANSACTION_CAPTURE_REQUESTED = 'TRANSACTION_CAPTURE_REQUESTED', - TRANSACTION_CHARGE_REQUESTED = 'TRANSACTION_CHARGE_REQUESTED', - TRANSACTION_EVENT = 'TRANSACTION_EVENT', - TRANSACTION_MARK_AS_PAID_FAILED = 'TRANSACTION_MARK_AS_PAID_FAILED', TRANSACTION_REFUND_REQUESTED = 'TRANSACTION_REFUND_REQUESTED', /** This field will be removed in Saleor 3.14 (Preview Feature). Use `TRANSACTION_CANCEL_REQUESTED` instead. */ TRANSACTION_VOID_REQUESTED = 'TRANSACTION_VOID_REQUESTED', - UPDATED_ADDRESS = 'UPDATED_ADDRESS' + TRANSACTION_CANCEL_REQUESTED = 'TRANSACTION_CANCEL_REQUESTED', + TRANSACTION_MARK_AS_PAID_FAILED = 'TRANSACTION_MARK_AS_PAID_FAILED', + INVOICE_REQUESTED = 'INVOICE_REQUESTED', + INVOICE_GENERATED = 'INVOICE_GENERATED', + INVOICE_UPDATED = 'INVOICE_UPDATED', + INVOICE_SENT = 'INVOICE_SENT', + FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', + FULFILLMENT_RESTOCKED_ITEMS = 'FULFILLMENT_RESTOCKED_ITEMS', + FULFILLMENT_FULFILLED_ITEMS = 'FULFILLMENT_FULFILLED_ITEMS', + FULFILLMENT_REFUNDED = 'FULFILLMENT_REFUNDED', + FULFILLMENT_RETURNED = 'FULFILLMENT_RETURNED', + FULFILLMENT_REPLACED = 'FULFILLMENT_REPLACED', + FULFILLMENT_AWAITS_APPROVAL = 'FULFILLMENT_AWAITS_APPROVAL', + TRACKING_UPDATED = 'TRACKING_UPDATED', + NOTE_ADDED = 'NOTE_ADDED', + OTHER = 'OTHER' } export type OrderFilterInput = { - authorizeStatus?: InputMaybe>; - channels?: InputMaybe>; - chargeStatus?: InputMaybe>; - checkoutIds?: InputMaybe>; - created?: InputMaybe; + paymentStatus?: InputMaybe>; + status?: InputMaybe>; customer?: InputMaybe; - giftCardBought?: InputMaybe; - giftCardUsed?: InputMaybe; - ids?: InputMaybe>; + created?: InputMaybe; + search?: InputMaybe; + metadata?: InputMaybe>; + channels?: InputMaybe>; + authorizeStatus?: InputMaybe>; + chargeStatus?: InputMaybe>; + updatedAt?: InputMaybe; isClickAndCollect?: InputMaybe; isPreorder?: InputMaybe; - metadata?: InputMaybe>; + ids?: InputMaybe>; + giftCardUsed?: InputMaybe; + giftCardBought?: InputMaybe; numbers?: InputMaybe>; - paymentStatus?: InputMaybe>; - search?: InputMaybe; - status?: InputMaybe>; - updatedAt?: InputMaybe; + checkoutIds?: InputMaybe>; }; export type OrderFulfillInput = { - /** If true, then allow proceed fulfillment when stock is exceeded. */ - allowStockToBeExceeded?: InputMaybe; /** List of items informing how to fulfill the order. */ lines: Array; /** If true, send an email notification to the customer. */ notifyCustomer?: InputMaybe; + /** If true, then allow proceed fulfillment when stock is exceeded. */ + allowStockToBeExceeded?: InputMaybe; /** * Fulfillment tracking number. * @@ -3535,16 +3575,16 @@ export type OrderGrantRefundUpdateInput = { }; export type OrderLineCreateInput = { + /** Number of variant items ordered. */ + quantity: Scalars['Int']; + /** Product variant ID. */ + variantId: Scalars['ID']; /** * Flag that allow force splitting the same variant into multiple lines by skipping the matching logic. * * Added in Saleor 3.6. */ forceNewLine?: InputMaybe; - /** Number of variant items ordered. */ - quantity: Scalars['Int']; - /** Product variant ID. */ - variantId: Scalars['ID']; }; export type OrderLineInput = { @@ -3574,14 +3614,14 @@ export type OrderRefundLineInput = { }; export type OrderRefundProductsInput = { - /** The total amount of refund when the value is provided manually. */ - amountToRefund?: InputMaybe; - /** List of fulfilled lines to refund. */ - fulfillmentLines?: InputMaybe>; - /** If true, Saleor will refund shipping costs. If amountToRefund is providedincludeShippingCosts will be ignored. */ - includeShippingCosts?: InputMaybe; /** List of unfulfilled lines to refund. */ orderLines?: InputMaybe>; + /** List of fulfilled lines to refund. */ + fulfillmentLines?: InputMaybe>; + /** The total amount of refund when the value is provided manually. */ + amountToRefund?: InputMaybe; + /** If true, Saleor will refund shipping costs. If amountToRefund is providedincludeShippingCosts will be ignored. */ + includeShippingCosts?: InputMaybe; }; export type OrderReturnFulfillmentLineInput = { @@ -3603,14 +3643,14 @@ export type OrderReturnLineInput = { }; export type OrderReturnProductsInput = { - /** The total amount of refund when the value is provided manually. */ - amountToRefund?: InputMaybe; - /** List of fulfilled lines to return. */ - fulfillmentLines?: InputMaybe>; - /** If true, Saleor will refund shipping costs. If amountToRefund is providedincludeShippingCosts will be ignored. */ - includeShippingCosts?: InputMaybe; /** List of unfulfilled lines to return. */ orderLines?: InputMaybe>; + /** List of fulfilled lines to return. */ + fulfillmentLines?: InputMaybe>; + /** The total amount of refund when the value is provided manually. */ + amountToRefund?: InputMaybe; + /** If true, Saleor will refund shipping costs. If amountToRefund is providedincludeShippingCosts will be ignored. */ + includeShippingCosts?: InputMaybe; /** If true, Saleor will call refund action for all lines. */ refund?: InputMaybe; }; @@ -3625,14 +3665,6 @@ export type OrderSettingsInput = { automaticallyConfirmAllNewOrders?: InputMaybe; /** When enabled, all non-shippable gift card orders will be fulfilled automatically. By defualt set to True. */ automaticallyFulfillNonShippableGiftCard?: InputMaybe; - /** - * Determine the transaction flow strategy to be used. Include the selected option in the payload sent to the payment app, as a requested action for the transaction. - * - * Added in Saleor 3.13. - * - * Note: this API is currently in Feature Preview and can be subject to changes at later point. - */ - defaultTransactionFlowStrategy?: InputMaybe; /** * Expiration time in minutes. Default null - means do not expire any orders. Enter 0 or null to disable. * @@ -3651,6 +3683,14 @@ export type OrderSettingsInput = { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ markAsPaidStrategy?: InputMaybe; + /** + * Determine the transaction flow strategy to be used. Include the selected option in the payload sent to the payment app, as a requested action for the transaction. + * + * Added in Saleor 3.13. + * + * Note: this API is currently in Feature Preview and can be subject to changes at later point. + */ + defaultTransactionFlowStrategy?: InputMaybe; }; export type OrderSettingsUpdateInput = { @@ -3661,30 +3701,30 @@ export type OrderSettingsUpdateInput = { }; export enum OrderSortField { - /** - * Sort orders by creation date. - * - * DEPRECATED: this field will be removed in Saleor 4.0. - */ - CREATED_AT = 'CREATED_AT', + /** Sort orders by number. */ + NUMBER = 'NUMBER', + /** Sort orders by rank. Note: This option is available only with the `search` filter. */ + RANK = 'RANK', /** * Sort orders by creation date. * * DEPRECATED: this field will be removed in Saleor 4.0. */ CREATION_DATE = 'CREATION_DATE', - /** Sort orders by customer. */ - CUSTOMER = 'CUSTOMER', - /** Sort orders by fulfillment status. */ - FULFILLMENT_STATUS = 'FULFILLMENT_STATUS', + /** + * Sort orders by creation date. + * + * DEPRECATED: this field will be removed in Saleor 4.0. + */ + CREATED_AT = 'CREATED_AT', /** Sort orders by last modified at. */ LAST_MODIFIED_AT = 'LAST_MODIFIED_AT', - /** Sort orders by number. */ - NUMBER = 'NUMBER', + /** Sort orders by customer. */ + CUSTOMER = 'CUSTOMER', /** Sort orders by payment. */ PAYMENT = 'PAYMENT', - /** Sort orders by rank. Note: This option is available only with the `search` filter. */ - RANK = 'RANK' + /** Sort orders by fulfillment status. */ + FULFILLMENT_STATUS = 'FULFILLMENT_STATUS' } export type OrderSortingInput = { @@ -3696,40 +3736,40 @@ export type OrderSortingInput = { /** An enumeration. */ export enum OrderStatus { - CANCELED = 'CANCELED', DRAFT = 'DRAFT', - EXPIRED = 'EXPIRED', - FULFILLED = 'FULFILLED', + UNCONFIRMED = 'UNCONFIRMED', + UNFULFILLED = 'UNFULFILLED', PARTIALLY_FULFILLED = 'PARTIALLY_FULFILLED', PARTIALLY_RETURNED = 'PARTIALLY_RETURNED', RETURNED = 'RETURNED', - UNCONFIRMED = 'UNCONFIRMED', - UNFULFILLED = 'UNFULFILLED' + FULFILLED = 'FULFILLED', + CANCELED = 'CANCELED', + EXPIRED = 'EXPIRED' } export enum OrderStatusFilter { - CANCELED = 'CANCELED', - FULFILLED = 'FULFILLED', - PARTIALLY_FULFILLED = 'PARTIALLY_FULFILLED', - READY_TO_CAPTURE = 'READY_TO_CAPTURE', READY_TO_FULFILL = 'READY_TO_FULFILL', + READY_TO_CAPTURE = 'READY_TO_CAPTURE', + UNFULFILLED = 'UNFULFILLED', UNCONFIRMED = 'UNCONFIRMED', - UNFULFILLED = 'UNFULFILLED' + PARTIALLY_FULFILLED = 'PARTIALLY_FULFILLED', + FULFILLED = 'FULFILLED', + CANCELED = 'CANCELED' } export type OrderUpdateInput = { /** Billing address of the customer. */ billingAddress?: InputMaybe; + /** Email address of the customer. */ + userEmail?: InputMaybe; + /** Shipping address of the customer. */ + shippingAddress?: InputMaybe; /** * External ID of this order. * * Added in Saleor 3.10. */ externalReference?: InputMaybe; - /** Shipping address of the customer. */ - shippingAddress?: InputMaybe; - /** Email address of the customer. */ - userEmail?: InputMaybe; }; export type OrderUpdateShippingInput = { @@ -3738,18 +3778,20 @@ export type OrderUpdateShippingInput = { }; export type PageCreateInput = { - /** List of attributes. */ - attributes?: InputMaybe>; + /** Page internal name. */ + slug?: InputMaybe; + /** Page title. */ + title?: InputMaybe; /** * Page content. * * Rich text format. For reference see https://editorjs.io/ */ content?: InputMaybe; + /** List of attributes. */ + attributes?: InputMaybe>; /** Determines if page is visible in the storefront. */ isPublished?: InputMaybe; - /** ID of the page type that page belongs to. */ - pageType: Scalars['ID']; /** * Publication date. ISO 8601 standard. * @@ -3764,40 +3806,42 @@ export type PageCreateInput = { publishedAt?: InputMaybe; /** Search engine optimization fields. */ seo?: InputMaybe; - /** Page internal name. */ - slug?: InputMaybe; - /** Page title. */ - title?: InputMaybe; + /** ID of the page type that page belongs to. */ + pageType: Scalars['ID']; }; /** An enumeration. */ export enum PageErrorCode { - ATTRIBUTE_ALREADY_ASSIGNED = 'ATTRIBUTE_ALREADY_ASSIGNED', - DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', + ATTRIBUTE_ALREADY_ASSIGNED = 'ATTRIBUTE_ALREADY_ASSIGNED' } export type PageFilterInput = { - ids?: InputMaybe>; + search?: InputMaybe; metadata?: InputMaybe>; pageTypes?: InputMaybe>; - search?: InputMaybe; + ids?: InputMaybe>; slugs?: InputMaybe>; }; export type PageInput = { - /** List of attributes. */ - attributes?: InputMaybe>; + /** Page internal name. */ + slug?: InputMaybe; + /** Page title. */ + title?: InputMaybe; /** * Page content. * * Rich text format. For reference see https://editorjs.io/ */ content?: InputMaybe; + /** List of attributes. */ + attributes?: InputMaybe>; /** Determines if page is visible in the storefront. */ isPublished?: InputMaybe; /** @@ -3814,19 +3858,15 @@ export type PageInput = { publishedAt?: InputMaybe; /** Search engine optimization fields. */ seo?: InputMaybe; - /** Page internal name. */ - slug?: InputMaybe; - /** Page title. */ - title?: InputMaybe; }; export enum PageSortField { - /** - * Sort pages by creation date. - * - * DEPRECATED: this field will be removed in Saleor 4.0. - */ - CREATED_AT = 'CREATED_AT', + /** Sort pages by title. */ + TITLE = 'TITLE', + /** Sort pages by slug. */ + SLUG = 'SLUG', + /** Sort pages by visibility. */ + VISIBILITY = 'VISIBILITY', /** * Sort pages by creation date. * @@ -3845,12 +3885,12 @@ export enum PageSortField { * DEPRECATED: this field will be removed in Saleor 4.0. */ PUBLISHED_AT = 'PUBLISHED_AT', - /** Sort pages by slug. */ - SLUG = 'SLUG', - /** Sort pages by title. */ - TITLE = 'TITLE', - /** Sort pages by visibility. */ - VISIBILITY = 'VISIBILITY' + /** + * Sort pages by creation date. + * + * DEPRECATED: this field will be removed in Saleor 4.0. + */ + CREATED_AT = 'CREATED_AT' } export type PageSortingInput = { @@ -3861,24 +3901,24 @@ export type PageSortingInput = { }; export type PageTranslationInput = { + seoTitle?: InputMaybe; + seoDescription?: InputMaybe; + title?: InputMaybe; /** * Translated page content. * * Rich text format. For reference see https://editorjs.io/ */ content?: InputMaybe; - seoDescription?: InputMaybe; - seoTitle?: InputMaybe; - title?: InputMaybe; }; export type PageTypeCreateInput = { - /** List of attribute IDs to be assigned to the page type. */ - addAttributes?: InputMaybe>; /** Name of the page type. */ name?: InputMaybe; /** Page type slug. */ slug?: InputMaybe; + /** List of attribute IDs to be assigned to the page type. */ + addAttributes?: InputMaybe>; }; export type PageTypeFilterInput = { @@ -3901,68 +3941,68 @@ export type PageTypeSortingInput = { }; export type PageTypeUpdateInput = { - /** List of attribute IDs to be assigned to the page type. */ - addAttributes?: InputMaybe>; /** Name of the page type. */ name?: InputMaybe; - /** List of attribute IDs to be assigned to the page type. */ - removeAttributes?: InputMaybe>; /** Page type slug. */ slug?: InputMaybe; + /** List of attribute IDs to be assigned to the page type. */ + addAttributes?: InputMaybe>; + /** List of attribute IDs to be assigned to the page type. */ + removeAttributes?: InputMaybe>; }; /** An enumeration. */ export enum PaymentChargeStatusEnum { - CANCELLED = 'CANCELLED', - FULLY_CHARGED = 'FULLY_CHARGED', - FULLY_REFUNDED = 'FULLY_REFUNDED', NOT_CHARGED = 'NOT_CHARGED', - PARTIALLY_CHARGED = 'PARTIALLY_CHARGED', - PARTIALLY_REFUNDED = 'PARTIALLY_REFUNDED', PENDING = 'PENDING', - REFUSED = 'REFUSED' + PARTIALLY_CHARGED = 'PARTIALLY_CHARGED', + FULLY_CHARGED = 'FULLY_CHARGED', + PARTIALLY_REFUNDED = 'PARTIALLY_REFUNDED', + FULLY_REFUNDED = 'FULLY_REFUNDED', + REFUSED = 'REFUSED', + CANCELLED = 'CANCELLED' } export type PaymentCheckBalanceInput = { - /** Information about card. */ - card: CardInput; - /** Slug of a channel for which the data should be returned. */ - channel: Scalars['String']; /** An ID of a payment gateway to check. */ gatewayId: Scalars['String']; /** Payment method name. */ method: Scalars['String']; + /** Slug of a channel for which the data should be returned. */ + channel: Scalars['String']; + /** Information about card. */ + card: CardInput; }; /** An enumeration. */ export enum PaymentErrorCode { - BALANCE_CHECK_ERROR = 'BALANCE_CHECK_ERROR', BILLING_ADDRESS_NOT_SET = 'BILLING_ADDRESS_NOT_SET', - CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', - CHECKOUT_EMAIL_NOT_SET = 'CHECKOUT_EMAIL_NOT_SET', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - INVALID_SHIPPING_METHOD = 'INVALID_SHIPPING_METHOD', NOT_FOUND = 'NOT_FOUND', - NOT_SUPPORTED_GATEWAY = 'NOT_SUPPORTED_GATEWAY', - NO_CHECKOUT_LINES = 'NO_CHECKOUT_LINES', - PARTIAL_PAYMENT_NOT_ALLOWED = 'PARTIAL_PAYMENT_NOT_ALLOWED', - PAYMENT_ERROR = 'PAYMENT_ERROR', REQUIRED = 'REQUIRED', + UNIQUE = 'UNIQUE', + PARTIAL_PAYMENT_NOT_ALLOWED = 'PARTIAL_PAYMENT_NOT_ALLOWED', SHIPPING_ADDRESS_NOT_SET = 'SHIPPING_ADDRESS_NOT_SET', + INVALID_SHIPPING_METHOD = 'INVALID_SHIPPING_METHOD', SHIPPING_METHOD_NOT_SET = 'SHIPPING_METHOD_NOT_SET', + PAYMENT_ERROR = 'PAYMENT_ERROR', + NOT_SUPPORTED_GATEWAY = 'NOT_SUPPORTED_GATEWAY', + CHANNEL_INACTIVE = 'CHANNEL_INACTIVE', + BALANCE_CHECK_ERROR = 'BALANCE_CHECK_ERROR', + CHECKOUT_EMAIL_NOT_SET = 'CHECKOUT_EMAIL_NOT_SET', UNAVAILABLE_VARIANT_IN_CHANNEL = 'UNAVAILABLE_VARIANT_IN_CHANNEL', - UNIQUE = 'UNIQUE' + NO_CHECKOUT_LINES = 'NO_CHECKOUT_LINES' } export type PaymentFilterInput = { - checkouts?: InputMaybe>; /** * Filter by ids. * * Added in Saleor 3.8. */ ids?: InputMaybe>; + checkouts?: InputMaybe>; }; /** An enumeration. */ @@ -3980,23 +4020,19 @@ export enum PaymentGatewayInitializeErrorCode { } export type PaymentGatewayToInitialize = { - /** The data that will be passed to the payment gateway. */ - data?: InputMaybe; /** The identifier of the payment gateway app to initialize. */ id: Scalars['String']; + /** The data that will be passed to the payment gateway. */ + data?: InputMaybe; }; export type PaymentInput = { - /** Total amount of the transaction, including all taxes and discounts. If no amount is provided, the checkout total will be used. */ - amount?: InputMaybe; /** A gateway to use with that payment. */ gateway: Scalars['String']; - /** - * User public metadata. - * - * Added in Saleor 3.1. - */ - metadata?: InputMaybe>; + /** Client-side generated payment token, representing customer's billing data in a secure manner. */ + token?: InputMaybe; + /** Total amount of the transaction, including all taxes and discounts. If no amount is provided, the checkout total will be used. */ + amount?: InputMaybe; /** URL of a storefront view where user should be redirected after requiring additional actions. Payment with additional actions will not be finished if this field is not provided. */ returnUrl?: InputMaybe; /** @@ -4005,35 +4041,39 @@ export type PaymentInput = { * Added in Saleor 3.1. */ storePaymentMethod?: InputMaybe; - /** Client-side generated payment token, representing customer's billing data in a secure manner. */ - token?: InputMaybe; + /** + * User public metadata. + * + * Added in Saleor 3.1. + */ + metadata?: InputMaybe>; }; /** An enumeration. */ export enum PermissionEnum { - HANDLE_CHECKOUTS = 'HANDLE_CHECKOUTS', - HANDLE_PAYMENTS = 'HANDLE_PAYMENTS', - HANDLE_TAXES = 'HANDLE_TAXES', + MANAGE_USERS = 'MANAGE_USERS', + MANAGE_STAFF = 'MANAGE_STAFF', IMPERSONATE_USER = 'IMPERSONATE_USER', MANAGE_APPS = 'MANAGE_APPS', - MANAGE_CHANNELS = 'MANAGE_CHANNELS', + MANAGE_OBSERVABILITY = 'MANAGE_OBSERVABILITY', MANAGE_CHECKOUTS = 'MANAGE_CHECKOUTS', + HANDLE_CHECKOUTS = 'HANDLE_CHECKOUTS', + HANDLE_TAXES = 'HANDLE_TAXES', + MANAGE_TAXES = 'MANAGE_TAXES', + MANAGE_CHANNELS = 'MANAGE_CHANNELS', MANAGE_DISCOUNTS = 'MANAGE_DISCOUNTS', MANAGE_GIFT_CARD = 'MANAGE_GIFT_CARD', MANAGE_MENUS = 'MANAGE_MENUS', - MANAGE_OBSERVABILITY = 'MANAGE_OBSERVABILITY', MANAGE_ORDERS = 'MANAGE_ORDERS', MANAGE_PAGES = 'MANAGE_PAGES', MANAGE_PAGE_TYPES_AND_ATTRIBUTES = 'MANAGE_PAGE_TYPES_AND_ATTRIBUTES', + HANDLE_PAYMENTS = 'HANDLE_PAYMENTS', MANAGE_PLUGINS = 'MANAGE_PLUGINS', MANAGE_PRODUCTS = 'MANAGE_PRODUCTS', MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES = 'MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES', - MANAGE_SETTINGS = 'MANAGE_SETTINGS', MANAGE_SHIPPING = 'MANAGE_SHIPPING', - MANAGE_STAFF = 'MANAGE_STAFF', - MANAGE_TAXES = 'MANAGE_TAXES', - MANAGE_TRANSLATIONS = 'MANAGE_TRANSLATIONS', - MANAGE_USERS = 'MANAGE_USERS' + MANAGE_SETTINGS = 'MANAGE_SETTINGS', + MANAGE_TRANSLATIONS = 'MANAGE_TRANSLATIONS' } export type PermissionGroupCreateInput = { @@ -4048,8 +4088,8 @@ export type PermissionGroupCreateInput = { /** An enumeration. */ export enum PermissionGroupErrorCode { ASSIGN_NON_STAFF_MEMBER = 'ASSIGN_NON_STAFF_MEMBER', - CANNOT_REMOVE_FROM_LAST_GROUP = 'CANNOT_REMOVE_FROM_LAST_GROUP', DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', + CANNOT_REMOVE_FROM_LAST_GROUP = 'CANNOT_REMOVE_FROM_LAST_GROUP', LEFT_NOT_MANAGEABLE_PERMISSION = 'LEFT_NOT_MANAGEABLE_PERMISSION', OUT_OF_SCOPE_PERMISSION = 'OUT_OF_SCOPE_PERMISSION', OUT_OF_SCOPE_USER = 'OUT_OF_SCOPE_USER', @@ -4058,8 +4098,8 @@ export enum PermissionGroupErrorCode { } export type PermissionGroupFilterInput = { - ids?: InputMaybe>; search?: InputMaybe; + ids?: InputMaybe>; }; /** Sorting options for permission groups. */ @@ -4089,29 +4129,29 @@ export type PermissionGroupUpdateInput = { }; export enum PluginConfigurationType { - GLOBAL = 'GLOBAL', - PER_CHANNEL = 'PER_CHANNEL' + PER_CHANNEL = 'PER_CHANNEL', + GLOBAL = 'GLOBAL' } /** An enumeration. */ export enum PluginErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - NOT_FOUND = 'NOT_FOUND', PLUGIN_MISCONFIGURED = 'PLUGIN_MISCONFIGURED', + NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', UNIQUE = 'UNIQUE' } export type PluginFilterInput = { - search?: InputMaybe; statusInChannels?: InputMaybe; + search?: InputMaybe; type?: InputMaybe; }; export enum PluginSortField { - IS_ACTIVE = 'IS_ACTIVE', - NAME = 'NAME' + NAME = 'NAME', + IS_ACTIVE = 'IS_ACTIVE' } export type PluginSortingInput = { @@ -4135,22 +4175,22 @@ export type PluginUpdateInput = { /** An enumeration. */ export enum PostalCodeRuleInclusionTypeEnum { - EXCLUDE = 'EXCLUDE', - INCLUDE = 'INCLUDE' + INCLUDE = 'INCLUDE', + EXCLUDE = 'EXCLUDE' } export type PreorderSettingsInput = { - /** The end date for preorder. */ - endDate?: InputMaybe; /** The global threshold for preorder variant. */ globalThreshold?: InputMaybe; + /** The end date for preorder. */ + endDate?: InputMaybe; }; export type PriceInput = { - /** Amount of money. */ - amount: Scalars['PositiveDecimal']; /** Currency code. */ currency: Scalars['String']; + /** Amount of money. */ + amount: Scalars['PositiveDecimal']; }; export type PriceRangeInput = { @@ -4195,16 +4235,16 @@ export enum ProductBulkCreateErrorCode { ATTRIBUTE_CANNOT_BE_ASSIGNED = 'ATTRIBUTE_CANNOT_BE_ASSIGNED', ATTRIBUTE_VARIANTS_DISABLED = 'ATTRIBUTE_VARIANTS_DISABLED', BLANK = 'BLANK', + MAX_LENGTH = 'MAX_LENGTH', DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', INVALID_PRICE = 'INVALID_PRICE', - MAX_LENGTH = 'MAX_LENGTH', - NOT_FOUND = 'NOT_FOUND', - PRODUCT_NOT_ASSIGNED_TO_CHANNEL = 'PRODUCT_NOT_ASSIGNED_TO_CHANNEL', PRODUCT_WITHOUT_CATEGORY = 'PRODUCT_WITHOUT_CATEGORY', + NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', UNIQUE = 'UNIQUE', + PRODUCT_NOT_ASSIGNED_TO_CHANNEL = 'PRODUCT_NOT_ASSIGNED_TO_CHANNEL', UNSUPPORTED_MEDIA_PROVIDER = 'UNSUPPORTED_MEDIA_PROVIDER' } @@ -4213,8 +4253,6 @@ export type ProductBulkCreateInput = { attributes?: InputMaybe>; /** ID of the product's category. */ category?: InputMaybe; - /** List of channels in which the product is available. */ - channelListings?: InputMaybe>; /** * Determine if taxes are being charged for the product. * @@ -4229,22 +4267,8 @@ export type ProductBulkCreateInput = { * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; - /** External ID of this product. */ - externalReference?: InputMaybe; - /** List of media inputs associated with the product. */ - media?: InputMaybe>; - /** Fields required to update the product metadata. */ - metadata?: InputMaybe>; /** Product name. */ name?: InputMaybe; - /** Fields required to update the product private metadata. */ - privateMetadata?: InputMaybe>; - /** ID of the type that product belongs to. */ - productType: Scalars['ID']; - /** Defines the product rating value. */ - rating?: InputMaybe; - /** Search engine optimization fields. */ - seo?: InputMaybe; /** Product slug. */ slug?: InputMaybe; /** ID of a tax class to assign to this product. If not provided, product will use the tax class which is assigned to the product type. */ @@ -4255,31 +4279,31 @@ export type ProductBulkCreateInput = { * DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. */ taxCode?: InputMaybe; - /** Input list of product variants to create. */ - variants?: InputMaybe>; + /** Search engine optimization fields. */ + seo?: InputMaybe; /** Weight of the Product. */ weight?: InputMaybe; + /** Defines the product rating value. */ + rating?: InputMaybe; + /** Fields required to update the product metadata. */ + metadata?: InputMaybe>; + /** Fields required to update the product private metadata. */ + privateMetadata?: InputMaybe>; + /** External ID of this product. */ + externalReference?: InputMaybe; + /** ID of the type that product belongs to. */ + productType: Scalars['ID']; + /** List of media inputs associated with the product. */ + media?: InputMaybe>; + /** List of channels in which the product is available. */ + channelListings?: InputMaybe>; + /** Input list of product variants to create. */ + variants?: InputMaybe>; }; export type ProductChannelListingAddInput = { - /** List of variants to which the channel should be assigned. */ - addVariants?: InputMaybe>; - /** - * A start date time from which a product will be available for purchase. When not set and `isAvailable` is set to True, the current day is assumed. - * - * Added in Saleor 3.3. - */ - availableForPurchaseAt?: InputMaybe; - /** - * A start date from which a product will be available for purchase. When not set and isAvailable is set to True, the current day is assumed. - * - * DEPRECATED: this field will be removed in Saleor 4.0. Use `availableForPurchaseAt` field instead. - */ - availableForPurchaseDate?: InputMaybe; /** ID of a channel. */ channelId: Scalars['ID']; - /** Determine if product should be available for purchase. */ - isAvailableForPurchase?: InputMaybe; /** Determines if object is visible to customers. */ isPublished?: InputMaybe; /** @@ -4294,32 +4318,48 @@ export type ProductChannelListingAddInput = { * Added in Saleor 3.3. */ publishedAt?: InputMaybe; - /** List of variants from which the channel should be unassigned. */ - removeVariants?: InputMaybe>; /** Determines if product is visible in product listings (doesn't apply to product collections). */ visibleInListings?: InputMaybe; + /** Determine if product should be available for purchase. */ + isAvailableForPurchase?: InputMaybe; + /** + * A start date from which a product will be available for purchase. When not set and isAvailable is set to True, the current day is assumed. + * + * DEPRECATED: this field will be removed in Saleor 4.0. Use `availableForPurchaseAt` field instead. + */ + availableForPurchaseDate?: InputMaybe; + /** + * A start date time from which a product will be available for purchase. When not set and `isAvailable` is set to True, the current day is assumed. + * + * Added in Saleor 3.3. + */ + availableForPurchaseAt?: InputMaybe; + /** List of variants to which the channel should be assigned. */ + addVariants?: InputMaybe>; + /** List of variants from which the channel should be unassigned. */ + removeVariants?: InputMaybe>; }; export type ProductChannelListingCreateInput = { - /** A start date time from which a product will be available for purchase. When not set and `isAvailable` is set to True, the current day is assumed. */ - availableForPurchaseAt?: InputMaybe; /** ID of a channel. */ channelId: Scalars['ID']; - /** Determine if product should be available for purchase. */ - isAvailableForPurchase?: InputMaybe; /** Determines if object is visible to customers. */ isPublished?: InputMaybe; /** Publication date time. ISO 8601 standard. */ publishedAt?: InputMaybe; /** Determines if product is visible in product listings (doesn't apply to product collections). */ visibleInListings?: InputMaybe; + /** Determine if product should be available for purchase. */ + isAvailableForPurchase?: InputMaybe; + /** A start date time from which a product will be available for purchase. When not set and `isAvailable` is set to True, the current day is assumed. */ + availableForPurchaseAt?: InputMaybe; }; export type ProductChannelListingUpdateInput = { - /** List of channels from which the product should be unassigned. */ - removeChannels?: InputMaybe>; /** List of channels to which the product should be assigned or updated. */ updateChannels?: InputMaybe>; + /** List of channels from which the product should be unassigned. */ + removeChannels?: InputMaybe>; }; export type ProductCreateInput = { @@ -4341,32 +4381,8 @@ export type ProductCreateInput = { * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; - /** - * External ID of this product. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** - * Fields required to update the product metadata. - * - * Added in Saleor 3.8. - */ - metadata?: InputMaybe>; /** Product name. */ name?: InputMaybe; - /** - * Fields required to update the product private metadata. - * - * Added in Saleor 3.8. - */ - privateMetadata?: InputMaybe>; - /** ID of the type that product belongs to. */ - productType: Scalars['ID']; - /** Defines the product rating value. */ - rating?: InputMaybe; - /** Search engine optimization fields. */ - seo?: InputMaybe; /** Product slug. */ slug?: InputMaybe; /** ID of a tax class to assign to this product. If not provided, product will use the tax class which is assigned to the product type. */ @@ -4377,8 +4393,32 @@ export type ProductCreateInput = { * DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. */ taxCode?: InputMaybe; + /** Search engine optimization fields. */ + seo?: InputMaybe; /** Weight of the Product. */ weight?: InputMaybe; + /** Defines the product rating value. */ + rating?: InputMaybe; + /** + * Fields required to update the product metadata. + * + * Added in Saleor 3.8. + */ + metadata?: InputMaybe>; + /** + * Fields required to update the product private metadata. + * + * Added in Saleor 3.8. + */ + privateMetadata?: InputMaybe>; + /** + * External ID of this product. + * + * Added in Saleor 3.10. + */ + externalReference?: InputMaybe; + /** ID of the type that product belongs to. */ + productType: Scalars['ID']; }; /** An enumeration. */ @@ -4387,91 +4427,91 @@ export enum ProductErrorCode { ATTRIBUTE_ALREADY_ASSIGNED = 'ATTRIBUTE_ALREADY_ASSIGNED', ATTRIBUTE_CANNOT_BE_ASSIGNED = 'ATTRIBUTE_CANNOT_BE_ASSIGNED', ATTRIBUTE_VARIANTS_DISABLED = 'ATTRIBUTE_VARIANTS_DISABLED', - CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT = 'CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT', + MEDIA_ALREADY_ASSIGNED = 'MEDIA_ALREADY_ASSIGNED', DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', INVALID_PRICE = 'INVALID_PRICE', - MEDIA_ALREADY_ASSIGNED = 'MEDIA_ALREADY_ASSIGNED', - NOT_FOUND = 'NOT_FOUND', + PRODUCT_WITHOUT_CATEGORY = 'PRODUCT_WITHOUT_CATEGORY', NOT_PRODUCTS_IMAGE = 'NOT_PRODUCTS_IMAGE', NOT_PRODUCTS_VARIANT = 'NOT_PRODUCTS_VARIANT', - PREORDER_VARIANT_CANNOT_BE_DEACTIVATED = 'PREORDER_VARIANT_CANNOT_BE_DEACTIVATED', - PRODUCT_NOT_ASSIGNED_TO_CHANNEL = 'PRODUCT_NOT_ASSIGNED_TO_CHANNEL', - PRODUCT_WITHOUT_CATEGORY = 'PRODUCT_WITHOUT_CATEGORY', + NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', UNIQUE = 'UNIQUE', + VARIANT_NO_DIGITAL_CONTENT = 'VARIANT_NO_DIGITAL_CONTENT', + CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT = 'CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT', + PRODUCT_NOT_ASSIGNED_TO_CHANNEL = 'PRODUCT_NOT_ASSIGNED_TO_CHANNEL', UNSUPPORTED_MEDIA_PROVIDER = 'UNSUPPORTED_MEDIA_PROVIDER', - VARIANT_NO_DIGITAL_CONTENT = 'VARIANT_NO_DIGITAL_CONTENT' + PREORDER_VARIANT_CANNOT_BE_DEACTIVATED = 'PREORDER_VARIANT_CANNOT_BE_DEACTIVATED' } export enum ProductFieldEnum { - CATEGORY = 'CATEGORY', - CHARGE_TAXES = 'CHARGE_TAXES', - COLLECTIONS = 'COLLECTIONS', - DESCRIPTION = 'DESCRIPTION', NAME = 'NAME', - PRODUCT_MEDIA = 'PRODUCT_MEDIA', + DESCRIPTION = 'DESCRIPTION', PRODUCT_TYPE = 'PRODUCT_TYPE', + CATEGORY = 'CATEGORY', PRODUCT_WEIGHT = 'PRODUCT_WEIGHT', + COLLECTIONS = 'COLLECTIONS', + CHARGE_TAXES = 'CHARGE_TAXES', + PRODUCT_MEDIA = 'PRODUCT_MEDIA', VARIANT_ID = 'VARIANT_ID', - VARIANT_MEDIA = 'VARIANT_MEDIA', VARIANT_SKU = 'VARIANT_SKU', - VARIANT_WEIGHT = 'VARIANT_WEIGHT' + VARIANT_WEIGHT = 'VARIANT_WEIGHT', + VARIANT_MEDIA = 'VARIANT_MEDIA' } export type ProductFilterInput = { - attributes?: InputMaybe>; - /** - * Filter by the date of availability for purchase. - * - * Added in Saleor 3.8. - */ - availableFrom?: InputMaybe; - categories?: InputMaybe>; - /** - * Specifies the channel by which the data should be filtered. - * - * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. - */ - channel?: InputMaybe; - collections?: InputMaybe>; - /** Filter on whether product is a gift card or not. */ - giftCard?: InputMaybe; - hasCategory?: InputMaybe; - hasPreorderedVariants?: InputMaybe; - ids?: InputMaybe>; - /** - * Filter by availability for purchase. - * - * Added in Saleor 3.8. - */ - isAvailable?: InputMaybe; isPublished?: InputMaybe; - /** - * Filter by visibility in product listings. - * - * Added in Saleor 3.8. - */ - isVisibleInListing?: InputMaybe; + collections?: InputMaybe>; + categories?: InputMaybe>; + hasCategory?: InputMaybe; + attributes?: InputMaybe>; + /** Filter by variants having specific stock status. */ + stockAvailability?: InputMaybe; + stocks?: InputMaybe; + search?: InputMaybe; metadata?: InputMaybe>; - /** Filter by the lowest variant price after discounts. */ - minimalPrice?: InputMaybe; - price?: InputMaybe; - productTypes?: InputMaybe>; /** * Filter by the publication date. * * Added in Saleor 3.8. */ publishedFrom?: InputMaybe; - search?: InputMaybe; - slugs?: InputMaybe>; - /** Filter by variants having specific stock status. */ - stockAvailability?: InputMaybe; - stocks?: InputMaybe; + /** + * Filter by availability for purchase. + * + * Added in Saleor 3.8. + */ + isAvailable?: InputMaybe; + /** + * Filter by the date of availability for purchase. + * + * Added in Saleor 3.8. + */ + availableFrom?: InputMaybe; + /** + * Filter by visibility in product listings. + * + * Added in Saleor 3.8. + */ + isVisibleInListing?: InputMaybe; + price?: InputMaybe; + /** Filter by the lowest variant price after discounts. */ + minimalPrice?: InputMaybe; /** Filter by when was the most recent update. */ updatedAt?: InputMaybe; + productTypes?: InputMaybe>; + /** Filter on whether product is a gift card or not. */ + giftCard?: InputMaybe; + ids?: InputMaybe>; + hasPreorderedVariants?: InputMaybe; + slugs?: InputMaybe>; + /** + * Specifies the channel by which the data should be filtered. + * + * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. + */ + channel?: InputMaybe; }; export type ProductInput = { @@ -4493,30 +4533,8 @@ export type ProductInput = { * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; - /** - * External ID of this product. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** - * Fields required to update the product metadata. - * - * Added in Saleor 3.8. - */ - metadata?: InputMaybe>; /** Product name. */ name?: InputMaybe; - /** - * Fields required to update the product private metadata. - * - * Added in Saleor 3.8. - */ - privateMetadata?: InputMaybe>; - /** Defines the product rating value. */ - rating?: InputMaybe; - /** Search engine optimization fields. */ - seo?: InputMaybe; /** Product slug. */ slug?: InputMaybe; /** ID of a tax class to assign to this product. If not provided, product will use the tax class which is assigned to the product type. */ @@ -4527,8 +4545,30 @@ export type ProductInput = { * DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. */ taxCode?: InputMaybe; + /** Search engine optimization fields. */ + seo?: InputMaybe; /** Weight of the Product. */ weight?: InputMaybe; + /** Defines the product rating value. */ + rating?: InputMaybe; + /** + * Fields required to update the product metadata. + * + * Added in Saleor 3.8. + */ + metadata?: InputMaybe>; + /** + * Fields required to update the product private metadata. + * + * Added in Saleor 3.8. + */ + privateMetadata?: InputMaybe>; + /** + * External ID of this product. + * + * Added in Saleor 3.10. + */ + externalReference?: InputMaybe; }; export type ProductMediaCreateInput = { @@ -4536,10 +4576,10 @@ export type ProductMediaCreateInput = { alt?: InputMaybe; /** Represents an image file in a multipart request. */ image?: InputMaybe; - /** Represents an URL to an external media. */ - mediaUrl?: InputMaybe; /** ID of an product. */ product: Scalars['ID']; + /** Represents an URL to an external media. */ + mediaUrl?: InputMaybe; }; /** An enumeration. */ @@ -4554,50 +4594,28 @@ export type ProductMediaUpdateInput = { }; export type ProductOrder = { - /** - * Sort product by the selected attribute's values. - * Note: this doesn't take translations into account yet. - */ - attributeId?: InputMaybe; + /** Specifies the direction in which to sort products. */ + direction: OrderDirection; /** * Specifies the channel in which to sort the data. * * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. */ channel?: InputMaybe; - /** Specifies the direction in which to sort products. */ - direction: OrderDirection; + /** + * Sort product by the selected attribute's values. + * Note: this doesn't take translations into account yet. + */ + attributeId?: InputMaybe; /** Sort products by the selected field. */ field?: InputMaybe; }; export enum ProductOrderField { - /** - * Sort products by collection. Note: This option is available only for the `Collection.products` query. - * - * This option requires a channel filter to work as the values can vary between channels. - */ - COLLECTION = 'COLLECTION', - /** - * Sort products by creation date. - * - * Added in Saleor 3.8. - */ - CREATED_AT = 'CREATED_AT', - /** Sort products by update date. */ - DATE = 'DATE', - /** Sort products by update date. */ - LAST_MODIFIED = 'LAST_MODIFIED', - /** Sort products by update date. */ - LAST_MODIFIED_AT = 'LAST_MODIFIED_AT', - /** - * Sort products by a minimal price of a product's variant. - * - * This option requires a channel filter to work as the values can vary between channels. - */ - MINIMAL_PRICE = 'MINIMAL_PRICE', /** Sort products by name. */ NAME = 'NAME', + /** Sort products by rank. Note: This option is available only with the `search` filter. */ + RANK = 'RANK', /** * Sort products by price. * @@ -4605,34 +4623,56 @@ export enum ProductOrderField { */ PRICE = 'PRICE', /** - * Sort products by publication date. + * Sort products by a minimal price of a product's variant. * * This option requires a channel filter to work as the values can vary between channels. */ - PUBLICATION_DATE = 'PUBLICATION_DATE', + MINIMAL_PRICE = 'MINIMAL_PRICE', + /** Sort products by update date. */ + LAST_MODIFIED = 'LAST_MODIFIED', + /** Sort products by update date. */ + DATE = 'DATE', + /** Sort products by type. */ + TYPE = 'TYPE', /** * Sort products by publication status. * * This option requires a channel filter to work as the values can vary between channels. */ PUBLISHED = 'PUBLISHED', + /** + * Sort products by publication date. + * + * This option requires a channel filter to work as the values can vary between channels. + */ + PUBLICATION_DATE = 'PUBLICATION_DATE', /** * Sort products by publication date. * * This option requires a channel filter to work as the values can vary between channels. */ PUBLISHED_AT = 'PUBLISHED_AT', - /** Sort products by rank. Note: This option is available only with the `search` filter. */ - RANK = 'RANK', + /** Sort products by update date. */ + LAST_MODIFIED_AT = 'LAST_MODIFIED_AT', + /** + * Sort products by collection. Note: This option is available only for the `Collection.products` query. + * + * This option requires a channel filter to work as the values can vary between channels. + */ + COLLECTION = 'COLLECTION', /** Sort products by rating. */ RATING = 'RATING', - /** Sort products by type. */ - TYPE = 'TYPE' + /** + * Sort products by creation date. + * + * Added in Saleor 3.8. + */ + CREATED_AT = 'CREATED_AT' } export type ProductStockFilterInput = { - quantity?: InputMaybe; warehouseIds?: InputMaybe>; + quantity?: InputMaybe; }; export enum ProductTypeConfigurable { @@ -4646,55 +4686,55 @@ export enum ProductTypeEnum { } export type ProductTypeFilterInput = { - configurable?: InputMaybe; - ids?: InputMaybe>; - kind?: InputMaybe; - metadata?: InputMaybe>; - productType?: InputMaybe; search?: InputMaybe; + configurable?: InputMaybe; + productType?: InputMaybe; + metadata?: InputMaybe>; + kind?: InputMaybe; + ids?: InputMaybe>; slugs?: InputMaybe>; }; export type ProductTypeInput = { - /** Determines if product of this type has multiple variants. This option mainly simplifies product management in the dashboard. There is always at least one variant created under the hood. */ - hasVariants?: InputMaybe; - /** Determines if products are digital. */ - isDigital?: InputMaybe; - /** Determines if shipping is required for products of this variant. */ - isShippingRequired?: InputMaybe; - /** The product type kind. */ - kind?: InputMaybe; /** Name of the product type. */ name?: InputMaybe; - /** List of attributes shared among all product variants. */ - productAttributes?: InputMaybe>; /** Product type slug. */ slug?: InputMaybe; - /** ID of a tax class to assign to this product type. All products of this product type would use this tax class, unless it's overridden in the `Product` type. */ - taxClass?: InputMaybe; + /** The product type kind. */ + kind?: InputMaybe; + /** Determines if product of this type has multiple variants. This option mainly simplifies product management in the dashboard. There is always at least one variant created under the hood. */ + hasVariants?: InputMaybe; + /** List of attributes shared among all product variants. */ + productAttributes?: InputMaybe>; + /** List of attributes used to distinguish between different variants of a product. */ + variantAttributes?: InputMaybe>; + /** Determines if shipping is required for products of this variant. */ + isShippingRequired?: InputMaybe; + /** Determines if products are digital. */ + isDigital?: InputMaybe; + /** Weight of the ProductType items. */ + weight?: InputMaybe; /** * Tax rate for enabled tax gateway. * * DEPRECATED: this field will be removed in Saleor 4.0.. Use tax classes to control the tax calculation for a product type. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned. */ taxCode?: InputMaybe; - /** List of attributes used to distinguish between different variants of a product. */ - variantAttributes?: InputMaybe>; - /** Weight of the ProductType items. */ - weight?: InputMaybe; + /** ID of a tax class to assign to this product type. All products of this product type would use this tax class, unless it's overridden in the `Product` type. */ + taxClass?: InputMaybe; }; /** An enumeration. */ export enum ProductTypeKindEnum { - GIFT_CARD = 'GIFT_CARD', - NORMAL = 'NORMAL' + NORMAL = 'NORMAL', + GIFT_CARD = 'GIFT_CARD' } export enum ProductTypeSortField { - /** Sort products by type. */ - DIGITAL = 'DIGITAL', /** Sort products by name. */ NAME = 'NAME', + /** Sort products by type. */ + DIGITAL = 'DIGITAL', /** Sort products by shipping. */ SHIPPING_REQUIRED = 'SHIPPING_REQUIRED' } @@ -4709,28 +4749,32 @@ export type ProductTypeSortingInput = { export type ProductVariantBulkCreateInput = { /** List of attributes specific to this variant. */ attributes: Array; - /** List of prices assigned to channels. */ - channelListings?: InputMaybe>; - /** - * External ID of this product variant. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** - * Fields required to update the product variant metadata. - * - * Added in Saleor 3.8. - */ - metadata?: InputMaybe>; + /** Stock keeping unit. */ + sku?: InputMaybe; /** Variant name. */ name?: InputMaybe; + /** Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. */ + trackInventory?: InputMaybe; + /** Weight of the Product Variant. */ + weight?: InputMaybe; /** * Determines if variant is in preorder. * * Added in Saleor 3.1. */ preorder?: InputMaybe; + /** + * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. + * + * Added in Saleor 3.1. + */ + quantityLimitPerCustomer?: InputMaybe; + /** + * Fields required to update the product variant metadata. + * + * Added in Saleor 3.8. + */ + metadata?: InputMaybe>; /** * Fields required to update the product variant private metadata. * @@ -4738,19 +4782,15 @@ export type ProductVariantBulkCreateInput = { */ privateMetadata?: InputMaybe>; /** - * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. + * External ID of this product variant. * - * Added in Saleor 3.1. + * Added in Saleor 3.10. */ - quantityLimitPerCustomer?: InputMaybe; - /** Stock keeping unit. */ - sku?: InputMaybe; + externalReference?: InputMaybe; /** Stocks of a product available for sale. */ stocks?: InputMaybe>; - /** Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. */ - trackInventory?: InputMaybe; - /** Weight of the Product Variant. */ - weight?: InputMaybe; + /** List of prices assigned to channels. */ + channelListings?: InputMaybe>; }; /** An enumeration. */ @@ -4762,11 +4802,11 @@ export enum ProductVariantBulkErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', INVALID_PRICE = 'INVALID_PRICE', - NOT_FOUND = 'NOT_FOUND', NOT_PRODUCTS_VARIANT = 'NOT_PRODUCTS_VARIANT', - PRODUCT_NOT_ASSIGNED_TO_CHANNEL = 'PRODUCT_NOT_ASSIGNED_TO_CHANNEL', + NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + PRODUCT_NOT_ASSIGNED_TO_CHANNEL = 'PRODUCT_NOT_ASSIGNED_TO_CHANNEL' } /** @@ -4777,36 +4817,32 @@ export enum ProductVariantBulkErrorCode { export type ProductVariantBulkUpdateInput = { /** List of attributes specific to this variant. */ attributes?: InputMaybe>; - /** - * Channel listings input. - * - * Added in Saleor 3.12. - * - * Note: this API is currently in Feature Preview and can be subject to changes at later point. - */ - channelListings?: InputMaybe; - /** - * External ID of this product variant. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** ID of the product variant to update. */ - id: Scalars['ID']; - /** - * Fields required to update the product variant metadata. - * - * Added in Saleor 3.8. - */ - metadata?: InputMaybe>; + /** Stock keeping unit. */ + sku?: InputMaybe; /** Variant name. */ name?: InputMaybe; + /** Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. */ + trackInventory?: InputMaybe; + /** Weight of the Product Variant. */ + weight?: InputMaybe; /** * Determines if variant is in preorder. * * Added in Saleor 3.1. */ preorder?: InputMaybe; + /** + * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. + * + * Added in Saleor 3.1. + */ + quantityLimitPerCustomer?: InputMaybe; + /** + * Fields required to update the product variant metadata. + * + * Added in Saleor 3.8. + */ + metadata?: InputMaybe>; /** * Fields required to update the product variant private metadata. * @@ -4814,13 +4850,11 @@ export type ProductVariantBulkUpdateInput = { */ privateMetadata?: InputMaybe>; /** - * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. + * External ID of this product variant. * - * Added in Saleor 3.1. + * Added in Saleor 3.10. */ - quantityLimitPerCustomer?: InputMaybe; - /** Stock keeping unit. */ - sku?: InputMaybe; + externalReference?: InputMaybe; /** * Stocks input. * @@ -4829,15 +4863,23 @@ export type ProductVariantBulkUpdateInput = { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ stocks?: InputMaybe; - /** Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. */ - trackInventory?: InputMaybe; - /** Weight of the Product Variant. */ - weight?: InputMaybe; + /** + * Channel listings input. + * + * Added in Saleor 3.12. + * + * Note: this API is currently in Feature Preview and can be subject to changes at later point. + */ + channelListings?: InputMaybe; + /** ID of the product variant to update. */ + id: Scalars['ID']; }; export type ProductVariantChannelListingAddInput = { /** ID of a channel. */ channelId: Scalars['ID']; + /** Price of the particular variant in channel. */ + price: Scalars['PositiveDecimal']; /** Cost price of the variant in channel. */ costPrice?: InputMaybe; /** @@ -4846,97 +4888,101 @@ export type ProductVariantChannelListingAddInput = { * Added in Saleor 3.1. */ preorderThreshold?: InputMaybe; - /** Price of the particular variant in channel. */ - price: Scalars['PositiveDecimal']; }; export type ProductVariantChannelListingUpdateInput = { /** List of channels to create variant channel listings. */ create?: InputMaybe>; - /** List of channel listings to remove. */ - remove?: InputMaybe>; /** List of channel listings to update. */ update?: InputMaybe>; + /** List of channel listings to remove. */ + remove?: InputMaybe>; }; export type ProductVariantCreateInput = { /** List of attributes specific to this variant. */ attributes: Array; - /** - * External ID of this product variant. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** - * Fields required to update the product variant metadata. - * - * Added in Saleor 3.8. - */ - metadata?: InputMaybe>; + /** Stock keeping unit. */ + sku?: InputMaybe; /** Variant name. */ name?: InputMaybe; + /** Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. */ + trackInventory?: InputMaybe; + /** Weight of the Product Variant. */ + weight?: InputMaybe; /** * Determines if variant is in preorder. * * Added in Saleor 3.1. */ preorder?: InputMaybe; - /** - * Fields required to update the product variant private metadata. - * - * Added in Saleor 3.8. - */ - privateMetadata?: InputMaybe>; - /** Product ID of which type is the variant. */ - product: Scalars['ID']; /** * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. * * Added in Saleor 3.1. */ quantityLimitPerCustomer?: InputMaybe; - /** Stock keeping unit. */ - sku?: InputMaybe; + /** + * Fields required to update the product variant metadata. + * + * Added in Saleor 3.8. + */ + metadata?: InputMaybe>; + /** + * Fields required to update the product variant private metadata. + * + * Added in Saleor 3.8. + */ + privateMetadata?: InputMaybe>; + /** + * External ID of this product variant. + * + * Added in Saleor 3.10. + */ + externalReference?: InputMaybe; + /** Product ID of which type is the variant. */ + product: Scalars['ID']; /** Stocks of a product available for sale. */ stocks?: InputMaybe>; - /** Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. */ - trackInventory?: InputMaybe; - /** Weight of the Product Variant. */ - weight?: InputMaybe; }; export type ProductVariantFilterInput = { - isPreorder?: InputMaybe; - metadata?: InputMaybe>; search?: InputMaybe; sku?: InputMaybe>; + metadata?: InputMaybe>; + isPreorder?: InputMaybe; updatedAt?: InputMaybe; }; export type ProductVariantInput = { /** List of attributes specific to this variant. */ attributes?: InputMaybe>; - /** - * External ID of this product variant. - * - * Added in Saleor 3.10. - */ - externalReference?: InputMaybe; - /** - * Fields required to update the product variant metadata. - * - * Added in Saleor 3.8. - */ - metadata?: InputMaybe>; + /** Stock keeping unit. */ + sku?: InputMaybe; /** Variant name. */ name?: InputMaybe; + /** Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. */ + trackInventory?: InputMaybe; + /** Weight of the Product Variant. */ + weight?: InputMaybe; /** * Determines if variant is in preorder. * * Added in Saleor 3.1. */ preorder?: InputMaybe; + /** + * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. + * + * Added in Saleor 3.1. + */ + quantityLimitPerCustomer?: InputMaybe; + /** + * Fields required to update the product variant metadata. + * + * Added in Saleor 3.8. + */ + metadata?: InputMaybe>; /** * Fields required to update the product variant private metadata. * @@ -4944,17 +4990,11 @@ export type ProductVariantInput = { */ privateMetadata?: InputMaybe>; /** - * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. + * External ID of this product variant. * - * Added in Saleor 3.1. + * Added in Saleor 3.10. */ - quantityLimitPerCustomer?: InputMaybe; - /** Stock keeping unit. */ - sku?: InputMaybe; - /** Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. */ - trackInventory?: InputMaybe; - /** Weight of the Product Variant. */ - weight?: InputMaybe; + externalReference?: InputMaybe; }; export enum ProductVariantSortField { @@ -4972,10 +5012,10 @@ export type ProductVariantSortingInput = { export type ProductVariantStocksUpdateInput = { /** List of warehouses to create stocks. */ create?: InputMaybe>; - /** List of stocks to remove. */ - remove?: InputMaybe>; /** List of stocks to update. */ update?: InputMaybe>; + /** List of stocks to remove. */ + remove?: InputMaybe>; }; export type PublishableChannelListingInput = { @@ -5005,8 +5045,8 @@ export type ReorderInput = { }; export enum ReportingPeriod { - THIS_MONTH = 'THIS_MONTH', - TODAY = 'TODAY' + TODAY = 'TODAY', + THIS_MONTH = 'THIS_MONTH' } export type SaleChannelListingAddInput = { @@ -5024,64 +5064,64 @@ export type SaleChannelListingInput = { }; export type SaleFilterInput = { - metadata?: InputMaybe>; - saleType?: InputMaybe; - search?: InputMaybe; - started?: InputMaybe; status?: InputMaybe>; + saleType?: InputMaybe; + started?: InputMaybe; + search?: InputMaybe; + metadata?: InputMaybe>; updatedAt?: InputMaybe; }; export type SaleInput = { - /** Categories related to the discount. */ - categories?: InputMaybe>; - /** Collections related to the discount. */ - collections?: InputMaybe>; - /** End date of the voucher in ISO 8601 format. */ - endDate?: InputMaybe; /** Voucher name. */ name?: InputMaybe; - /** Products related to the discount. */ - products?: InputMaybe>; - /** Start date of the voucher in ISO 8601 format. */ - startDate?: InputMaybe; /** Fixed or percentage. */ type?: InputMaybe; /** Value of the voucher. */ value?: InputMaybe; + /** Products related to the discount. */ + products?: InputMaybe>; variants?: InputMaybe>; + /** Categories related to the discount. */ + categories?: InputMaybe>; + /** Collections related to the discount. */ + collections?: InputMaybe>; + /** Start date of the voucher in ISO 8601 format. */ + startDate?: InputMaybe; + /** End date of the voucher in ISO 8601 format. */ + endDate?: InputMaybe; }; export enum SaleSortField { - /** Sort sales by created at. */ - CREATED_AT = 'CREATED_AT', - /** Sort sales by end date. */ - END_DATE = 'END_DATE', - /** Sort sales by last modified at. */ - LAST_MODIFIED_AT = 'LAST_MODIFIED_AT', /** Sort sales by name. */ NAME = 'NAME', /** Sort sales by start date. */ START_DATE = 'START_DATE', - /** Sort sales by type. */ - TYPE = 'TYPE', + /** Sort sales by end date. */ + END_DATE = 'END_DATE', /** * Sort sales by value. * * This option requires a channel filter to work as the values can vary between channels. */ - VALUE = 'VALUE' + VALUE = 'VALUE', + /** Sort sales by type. */ + TYPE = 'TYPE', + /** Sort sales by created at. */ + CREATED_AT = 'CREATED_AT', + /** Sort sales by last modified at. */ + LAST_MODIFIED_AT = 'LAST_MODIFIED_AT' } export type SaleSortingInput = { + /** Specifies the direction in which to sort sales. */ + direction: OrderDirection; /** * Specifies the channel in which to sort the data. * * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. */ channel?: InputMaybe; - /** Specifies the direction in which to sort sales. */ - direction: OrderDirection; /** Sort sales by the selected field. */ field: SaleSortField; }; @@ -5092,33 +5132,33 @@ export enum SaleType { } export type SeoInput = { - /** SEO description. */ - description?: InputMaybe; /** SEO title. */ title?: InputMaybe; + /** SEO description. */ + description?: InputMaybe; }; /** An enumeration. */ export enum ShippingErrorCode { ALREADY_EXISTS = 'ALREADY_EXISTS', - DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', MAX_LESS_THAN_MIN = 'MAX_LESS_THAN_MIN', NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', - UNIQUE = 'UNIQUE' + UNIQUE = 'UNIQUE', + DUPLICATED_INPUT_ITEM = 'DUPLICATED_INPUT_ITEM' } export type ShippingMethodChannelListingAddInput = { /** ID of a channel. */ channelId: Scalars['ID']; - /** Maximum order price to use this shipping method. */ - maximumOrderPrice?: InputMaybe; - /** Minimum order price to use this shipping method. */ - minimumOrderPrice?: InputMaybe; /** Shipping price of the shipping method in this channel. */ price?: InputMaybe; + /** Minimum order price to use this shipping method. */ + minimumOrderPrice?: InputMaybe; + /** Maximum order price to use this shipping method. */ + maximumOrderPrice?: InputMaybe; }; export type ShippingMethodChannelListingInput = { @@ -5135,10 +5175,10 @@ export enum ShippingMethodTypeEnum { } export type ShippingPostalCodeRulesCreateInputRange = { - /** End range of the postal code. */ - end?: InputMaybe; /** Start range of the postal code. */ start: Scalars['String']; + /** End range of the postal code. */ + end?: InputMaybe; }; export type ShippingPriceExcludeProductsInput = { @@ -5147,79 +5187,79 @@ export type ShippingPriceExcludeProductsInput = { }; export type ShippingPriceInput = { + /** Name of the shipping method. */ + name?: InputMaybe; + /** Shipping method description. */ + description?: InputMaybe; + /** Minimum order weight to use this shipping method. */ + minimumOrderWeight?: InputMaybe; + /** Maximum order weight to use this shipping method. */ + maximumOrderWeight?: InputMaybe; + /** Maximum number of days for delivery. */ + maximumDeliveryDays?: InputMaybe; + /** Minimal number of days for delivery. */ + minimumDeliveryDays?: InputMaybe; + /** Shipping type: price or weight based. */ + type?: InputMaybe; + /** Shipping zone this method belongs to. */ + shippingZone?: InputMaybe; /** Postal code rules to add. */ addPostalCodeRules?: InputMaybe>; /** Postal code rules to delete. */ deletePostalCodeRules?: InputMaybe>; - /** Shipping method description. */ - description?: InputMaybe; /** Inclusion type for currently assigned postal code rules. */ inclusionType?: InputMaybe; - /** Maximum number of days for delivery. */ - maximumDeliveryDays?: InputMaybe; - /** Maximum order weight to use this shipping method. */ - maximumOrderWeight?: InputMaybe; - /** Minimal number of days for delivery. */ - minimumDeliveryDays?: InputMaybe; - /** Minimum order weight to use this shipping method. */ - minimumOrderWeight?: InputMaybe; - /** Name of the shipping method. */ - name?: InputMaybe; - /** Shipping zone this method belongs to. */ - shippingZone?: InputMaybe; /** ID of a tax class to assign to this shipping method. If not provided, the default tax class will be used. */ taxClass?: InputMaybe; - /** Shipping type: price or weight based. */ - type?: InputMaybe; }; export type ShippingPriceTranslationInput = { + name?: InputMaybe; /** * Translated shipping method description. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; - name?: InputMaybe; }; export type ShippingZoneCreateInput = { - /** List of channels to assign to the shipping zone. */ - addChannels?: InputMaybe>; - /** List of warehouses to assign to a shipping zone */ - addWarehouses?: InputMaybe>; + /** Shipping zone's name. Visible only to the staff. */ + name?: InputMaybe; + /** Description of the shipping zone. */ + description?: InputMaybe; /** List of countries in this shipping zone. */ countries?: InputMaybe>; /** Default shipping zone will be used for countries not covered by other zones. */ default?: InputMaybe; - /** Description of the shipping zone. */ - description?: InputMaybe; - /** Shipping zone's name. Visible only to the staff. */ - name?: InputMaybe; + /** List of warehouses to assign to a shipping zone */ + addWarehouses?: InputMaybe>; + /** List of channels to assign to the shipping zone. */ + addChannels?: InputMaybe>; }; export type ShippingZoneFilterInput = { - channels?: InputMaybe>; search?: InputMaybe; + channels?: InputMaybe>; }; export type ShippingZoneUpdateInput = { - /** List of channels to assign to the shipping zone. */ - addChannels?: InputMaybe>; - /** List of warehouses to assign to a shipping zone */ - addWarehouses?: InputMaybe>; + /** Shipping zone's name. Visible only to the staff. */ + name?: InputMaybe; + /** Description of the shipping zone. */ + description?: InputMaybe; /** List of countries in this shipping zone. */ countries?: InputMaybe>; /** Default shipping zone will be used for countries not covered by other zones. */ default?: InputMaybe; - /** Description of the shipping zone. */ - description?: InputMaybe; - /** Shipping zone's name. Visible only to the staff. */ - name?: InputMaybe; - /** List of channels to unassign from the shipping zone. */ - removeChannels?: InputMaybe>; + /** List of warehouses to assign to a shipping zone */ + addWarehouses?: InputMaybe>; + /** List of channels to assign to the shipping zone. */ + addChannels?: InputMaybe>; /** List of warehouses to unassign from a shipping zone */ removeWarehouses?: InputMaybe>; + /** List of channels to unassign from the shipping zone. */ + removeChannels?: InputMaybe>; }; /** An enumeration. */ @@ -5234,60 +5274,38 @@ export enum ShopErrorCode { } export type ShopSettingsInput = { - /** Enable automatic fulfillment for all digital products. */ - automaticFulfillmentDigitalProducts?: InputMaybe; - /** - * Charge taxes on shipping. - * - * DEPRECATED: this field will be removed in Saleor 4.0. To enable taxes for a shipping method, assign a tax class to the shipping method with `shippingPriceCreate` or `shippingPriceUpdate` mutations. - */ - chargeTaxesOnShipping?: InputMaybe; - /** URL of a view where customers can set their password. */ - customerSetPasswordUrl?: InputMaybe; - /** Default number of max downloads per digital content URL. */ - defaultDigitalMaxDownloads?: InputMaybe; - /** Default number of days which digital content URL will be valid. */ - defaultDigitalUrlValidDays?: InputMaybe; - /** Default email sender's address. */ - defaultMailSenderAddress?: InputMaybe; - /** Default email sender's name. */ - defaultMailSenderName?: InputMaybe; - /** Default weight unit. */ - defaultWeightUnit?: InputMaybe; + /** Header text. */ + headerText?: InputMaybe; /** SEO description. */ description?: InputMaybe; - /** - * Display prices with tax in store. - * - * DEPRECATED: this field will be removed in Saleor 4.0. Use `taxConfigurationUpdate` mutation to configure this setting per channel or country. - */ - displayGrossPrices?: InputMaybe; - /** - * Enable ability to approve fulfillments which are unpaid. - * - * Added in Saleor 3.1. - */ - fulfillmentAllowUnpaid?: InputMaybe; + /** Enable inventory tracking. */ + trackInventoryByDefault?: InputMaybe; + /** Default weight unit. */ + defaultWeightUnit?: InputMaybe; + /** Enable automatic fulfillment for all digital products. */ + automaticFulfillmentDigitalProducts?: InputMaybe; /** * Enable automatic approval of all new fulfillments. * * Added in Saleor 3.1. */ fulfillmentAutoApprove?: InputMaybe; - /** Header text. */ - headerText?: InputMaybe; /** - * Include taxes in prices. - * - * DEPRECATED: this field will be removed in Saleor 4.0. Use `taxConfigurationUpdate` mutation to configure this setting per channel or country. - */ - includeTaxesInPrices?: InputMaybe; - /** - * Default number of maximum line quantity in single checkout. Minimum possible value is 1, default value is 50. + * Enable ability to approve fulfillments which are unpaid. * * Added in Saleor 3.1. */ - limitQuantityPerCheckout?: InputMaybe; + fulfillmentAllowUnpaid?: InputMaybe; + /** Default number of max downloads per digital content URL. */ + defaultDigitalMaxDownloads?: InputMaybe; + /** Default number of days which digital content URL will be valid. */ + defaultDigitalUrlValidDays?: InputMaybe; + /** Default email sender's name. */ + defaultMailSenderName?: InputMaybe; + /** Default email sender's address. */ + defaultMailSenderAddress?: InputMaybe; + /** URL of a view where customers can set their password. */ + customerSetPasswordUrl?: InputMaybe; /** * Default number of minutes stock will be reserved for anonymous checkout. Enter 0 or null to disable. * @@ -5300,13 +5318,35 @@ export type ShopSettingsInput = { * Added in Saleor 3.1. */ reserveStockDurationAuthenticatedUser?: InputMaybe; - /** Enable inventory tracking. */ - trackInventoryByDefault?: InputMaybe; + /** + * Default number of maximum line quantity in single checkout. Minimum possible value is 1, default value is 50. + * + * Added in Saleor 3.1. + */ + limitQuantityPerCheckout?: InputMaybe; + /** + * Include taxes in prices. + * + * DEPRECATED: this field will be removed in Saleor 4.0. Use `taxConfigurationUpdate` mutation to configure this setting per channel or country. + */ + includeTaxesInPrices?: InputMaybe; + /** + * Display prices with tax in store. + * + * DEPRECATED: this field will be removed in Saleor 4.0. Use `taxConfigurationUpdate` mutation to configure this setting per channel or country. + */ + displayGrossPrices?: InputMaybe; + /** + * Charge taxes on shipping. + * + * DEPRECATED: this field will be removed in Saleor 4.0. To enable taxes for a shipping method, assign a tax class to the shipping method with `shippingPriceCreate` or `shippingPriceUpdate` mutations. + */ + chargeTaxesOnShipping?: InputMaybe; }; export type ShopSettingsTranslationInput = { - description?: InputMaybe; headerText?: InputMaybe; + description?: InputMaybe; }; export type SiteDomainInput = { @@ -5318,18 +5358,18 @@ export type SiteDomainInput = { /** Fields required to create a staff user. */ export type StaffCreateInput = { - /** List of permission group IDs to which user should be assigned. */ - addGroups?: InputMaybe>; - /** The unique email address of the user. */ - email?: InputMaybe; /** Given name. */ firstName?: InputMaybe; - /** User account is active. */ - isActive?: InputMaybe; /** Family name. */ lastName?: InputMaybe; + /** The unique email address of the user. */ + email?: InputMaybe; + /** User account is active. */ + isActive?: InputMaybe; /** A note about the user. */ note?: InputMaybe; + /** List of permission group IDs to which user should be assigned. */ + addGroups?: InputMaybe>; /** URL of a view where users should be redirected to set the password. URL in RFC 1808 format. */ redirectUrl?: InputMaybe; }; @@ -5343,36 +5383,36 @@ export enum StaffMemberStatus { } export type StaffNotificationRecipientInput = { - /** Determines if a notification active. */ - active?: InputMaybe; - /** Email address of a user subscribed to email notifications. */ - email?: InputMaybe; /** The ID of the user subscribed to email notifications.. */ user?: InputMaybe; + /** Email address of a user subscribed to email notifications. */ + email?: InputMaybe; + /** Determines if a notification active. */ + active?: InputMaybe; }; /** Fields required to update a staff user. */ export type StaffUpdateInput = { - /** List of permission group IDs to which user should be assigned. */ - addGroups?: InputMaybe>; - /** The unique email address of the user. */ - email?: InputMaybe; /** Given name. */ firstName?: InputMaybe; - /** User account is active. */ - isActive?: InputMaybe; /** Family name. */ lastName?: InputMaybe; + /** The unique email address of the user. */ + email?: InputMaybe; + /** User account is active. */ + isActive?: InputMaybe; /** A note about the user. */ note?: InputMaybe; + /** List of permission group IDs to which user should be assigned. */ + addGroups?: InputMaybe>; /** List of permission group IDs from which user should be unassigned. */ removeGroups?: InputMaybe>; }; export type StaffUserInput = { - ids?: InputMaybe>; - search?: InputMaybe; status?: InputMaybe; + search?: InputMaybe; + ids?: InputMaybe>; }; export enum StockAvailability { @@ -5389,16 +5429,16 @@ export enum StockBulkUpdateErrorCode { } export type StockBulkUpdateInput = { - /** Quantity of items available for sell. */ - quantity: Scalars['Int']; - /** Variant external reference. */ - variantExternalReference?: InputMaybe; /** Variant ID. */ variantId?: InputMaybe; - /** Warehouse external reference. */ - warehouseExternalReference?: InputMaybe; + /** Variant external reference. */ + variantExternalReference?: InputMaybe; /** Warehouse ID. */ warehouseId?: InputMaybe; + /** Warehouse external reference. */ + warehouseExternalReference?: InputMaybe; + /** Quantity of items available for sell. */ + quantity: Scalars['Int']; }; /** An enumeration. */ @@ -5417,10 +5457,10 @@ export type StockFilterInput = { }; export type StockInput = { - /** Quantity of items available for sell. */ - quantity: Scalars['Int']; /** Warehouse in which stock is located. */ warehouse: Scalars['ID']; + /** Quantity of items available for sell. */ + quantity: Scalars['Int']; }; export type StockSettingsInput = { @@ -5429,20 +5469,20 @@ export type StockSettingsInput = { }; export type StockUpdateInput = { - /** Quantity of items available for sell. */ - quantity: Scalars['Int']; /** Stock. */ stock: Scalars['ID']; + /** Quantity of items available for sell. */ + quantity: Scalars['Int']; }; /** Enum representing the type of a payment storage in a gateway. */ export enum StorePaymentMethodEnum { - /** Storage is disabled. The payment is not stored. */ - NONE = 'NONE', + /** On session storage type. The payment is stored only to be reused when the customer is present in the checkout flow. */ + ON_SESSION = 'ON_SESSION', /** Off session storage type. The payment is stored to be reused even if the customer is absent. */ OFF_SESSION = 'OFF_SESSION', - /** On session storage type. The payment is stored only to be reused when the customer is present in the checkout flow. */ - ON_SESSION = 'ON_SESSION' + /** Storage is disabled. The payment is not stored. */ + NONE = 'NONE' } /** @@ -5472,10 +5512,10 @@ export enum TaxClassCreateErrorCode { } export type TaxClassCreateInput = { - /** List of country-specific tax rates to create for this tax class. */ - createCountryRates?: InputMaybe>; /** Name of the tax class. */ name: Scalars['String']; + /** List of country-specific tax rates to create for this tax class. */ + createCountryRates?: InputMaybe>; }; /** An enumeration. */ @@ -5486,16 +5526,16 @@ export enum TaxClassDeleteErrorCode { } export type TaxClassFilterInput = { - countries?: InputMaybe>; - ids?: InputMaybe>; metadata?: InputMaybe>; + ids?: InputMaybe>; + countries?: InputMaybe>; }; export type TaxClassRateInput = { - /** Tax rate value. */ - rate?: InputMaybe; /** ID of a tax class for which to update the tax rate */ taxClassId?: InputMaybe; + /** Tax rate value. */ + rate?: InputMaybe; }; export enum TaxClassSortField { @@ -5521,26 +5561,26 @@ export enum TaxClassUpdateErrorCode { export type TaxClassUpdateInput = { /** Name of the tax class. */ name?: InputMaybe; - /** List of country codes for which to remove the tax class rates. Note: It removes all rates for given country code. */ - removeCountryRates?: InputMaybe>; /** List of country-specific tax rates to create or update for this tax class. */ updateCountryRates?: InputMaybe>; + /** List of country codes for which to remove the tax class rates. Note: It removes all rates for given country code. */ + removeCountryRates?: InputMaybe>; }; export type TaxConfigurationFilterInput = { - ids?: InputMaybe>; metadata?: InputMaybe>; + ids?: InputMaybe>; }; export type TaxConfigurationPerCountryInput = { - /** Determines whether taxes are charged in this country. */ - chargeTaxes: Scalars['Boolean']; /** Country in which this configuration applies. */ countryCode: CountryCode; - /** Determines whether prices displayed in a storefront should include taxes for this country. */ - displayGrossPrices: Scalars['Boolean']; + /** Determines whether taxes are charged in this country. */ + chargeTaxes: Scalars['Boolean']; /** A country-specific strategy to use for tax calculation. Taxes can be calculated either using user-defined flat rates or with a tax app. If not provided, use the value from the channel's tax configuration. */ taxCalculationStrategy?: InputMaybe; + /** Determines whether prices displayed in a storefront should include taxes for this country. */ + displayGrossPrices: Scalars['Boolean']; }; /** An enumeration. */ @@ -5554,16 +5594,16 @@ export enum TaxConfigurationUpdateErrorCode { export type TaxConfigurationUpdateInput = { /** Determines whether taxes are charged in the given channel. */ chargeTaxes?: InputMaybe; + /** The default strategy to use for tax calculation in the given channel. Taxes can be calculated either using user-defined flat rates or with a tax app. Empty value means that no method is selected and taxes are not calculated. */ + taxCalculationStrategy?: InputMaybe; /** Determines whether prices displayed in a storefront should include taxes. */ displayGrossPrices?: InputMaybe; /** Determines whether prices are entered with the tax included. */ pricesEnteredWithTax?: InputMaybe; - /** List of country codes for which to remove the tax configuration. */ - removeCountriesConfiguration?: InputMaybe>; - /** The default strategy to use for tax calculation in the given channel. Taxes can be calculated either using user-defined flat rates or with a tax app. Empty value means that no method is selected and taxes are not calculated. */ - taxCalculationStrategy?: InputMaybe; /** List of tax country configurations to create or update (identified by a country code). */ updateCountriesConfiguration?: InputMaybe>; + /** List of country codes for which to remove the tax configuration. */ + removeCountriesConfiguration?: InputMaybe>; }; /** An enumeration. */ @@ -5575,25 +5615,25 @@ export enum TaxCountryConfigurationDeleteErrorCode { /** An enumeration. */ export enum TaxCountryConfigurationUpdateErrorCode { - CANNOT_CREATE_NEGATIVE_RATE = 'CANNOT_CREATE_NEGATIVE_RATE', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', NOT_FOUND = 'NOT_FOUND', - ONLY_ONE_DEFAULT_COUNTRY_RATE_ALLOWED = 'ONLY_ONE_DEFAULT_COUNTRY_RATE_ALLOWED' + ONLY_ONE_DEFAULT_COUNTRY_RATE_ALLOWED = 'ONLY_ONE_DEFAULT_COUNTRY_RATE_ALLOWED', + CANNOT_CREATE_NEGATIVE_RATE = 'CANNOT_CREATE_NEGATIVE_RATE' } /** An enumeration. */ export enum TaxExemptionManageErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - NOT_EDITABLE_ORDER = 'NOT_EDITABLE_ORDER', - NOT_FOUND = 'NOT_FOUND' + NOT_FOUND = 'NOT_FOUND', + NOT_EDITABLE_ORDER = 'NOT_EDITABLE_ORDER' } /** An enumeration. */ export enum ThumbnailFormatEnum { - AVIF = 'AVIF', ORIGINAL = 'ORIGINAL', + AVIF = 'AVIF', WEBP = 'WEBP' } @@ -5607,8 +5647,8 @@ export type TimePeriodInputType = { /** An enumeration. */ export enum TimePeriodTypeEnum { DAY = 'DAY', - MONTH = 'MONTH', WEEK = 'WEEK', + MONTH = 'MONTH', YEAR = 'YEAR' } @@ -5624,77 +5664,23 @@ export enum TimePeriodTypeEnum { * */ export enum TransactionActionEnum { - CANCEL = 'CANCEL', CHARGE = 'CHARGE', REFUND = 'REFUND', - VOID = 'VOID' + VOID = 'VOID', + CANCEL = 'CANCEL' } /** An enumeration. */ export enum TransactionCreateErrorCode { - GRAPHQL_ERROR = 'GRAPHQL_ERROR', - INCORRECT_CURRENCY = 'INCORRECT_CURRENCY', INVALID = 'INVALID', - METADATA_KEY_REQUIRED = 'METADATA_KEY_REQUIRED', + GRAPHQL_ERROR = 'GRAPHQL_ERROR', NOT_FOUND = 'NOT_FOUND', + INCORRECT_CURRENCY = 'INCORRECT_CURRENCY', + METADATA_KEY_REQUIRED = 'METADATA_KEY_REQUIRED', UNIQUE = 'UNIQUE' } export type TransactionCreateInput = { - /** Amount authorized by this transaction. */ - amountAuthorized?: InputMaybe; - /** - * Amount canceled by this transaction. - * - * Added in Saleor 3.13. - */ - amountCanceled?: InputMaybe; - /** Amount charged by this transaction. */ - amountCharged?: InputMaybe; - /** Amount refunded by this transaction. */ - amountRefunded?: InputMaybe; - /** - * Amount voided by this transaction. - * - * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `amountCanceled` instead. - */ - amountVoided?: InputMaybe; - /** List of all possible actions for the transaction */ - availableActions?: InputMaybe>; - /** - * The url that will allow to redirect user to payment provider page with transaction event details. - * - * Added in Saleor 3.13. - */ - externalUrl?: InputMaybe; - /** - * The message of the transaction. - * - * Added in Saleor 3.13. - */ - message?: InputMaybe; - /** Payment public metadata. */ - metadata?: InputMaybe>; - /** - * Payment name of the transaction. - * - * Added in Saleor 3.13. - */ - name?: InputMaybe; - /** Payment private metadata. */ - privateMetadata?: InputMaybe>; - /** - * PSP Reference of the transaction. - * - * Added in Saleor 3.13. - */ - pspReference?: InputMaybe; - /** - * Reference of the transaction. - * - * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `pspReference` instead. - */ - reference?: InputMaybe; /** * Status of the transaction. * @@ -5707,48 +5693,102 @@ export type TransactionCreateInput = { * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `name` and `message` instead. */ type?: InputMaybe; -}; - -export type TransactionEventInput = { /** - * The message related to the event. + * Payment name of the transaction. + * + * Added in Saleor 3.13. + */ + name?: InputMaybe; + /** + * The message of the transaction. * * Added in Saleor 3.13. */ message?: InputMaybe; - /** - * Name of the transaction. - * - * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `message` instead. `name` field will be added to `message`. - */ - name?: InputMaybe; - /** - * PSP Reference related to this action. - * - * Added in Saleor 3.13. - */ - pspReference?: InputMaybe; /** * Reference of the transaction. * * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `pspReference` instead. */ reference?: InputMaybe; + /** + * PSP Reference of the transaction. + * + * Added in Saleor 3.13. + */ + pspReference?: InputMaybe; + /** List of all possible actions for the transaction */ + availableActions?: InputMaybe>; + /** Amount authorized by this transaction. */ + amountAuthorized?: InputMaybe; + /** Amount charged by this transaction. */ + amountCharged?: InputMaybe; + /** Amount refunded by this transaction. */ + amountRefunded?: InputMaybe; + /** + * Amount voided by this transaction. + * + * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `amountCanceled` instead. + */ + amountVoided?: InputMaybe; + /** + * Amount canceled by this transaction. + * + * Added in Saleor 3.13. + */ + amountCanceled?: InputMaybe; + /** Payment public metadata. */ + metadata?: InputMaybe>; + /** Payment private metadata. */ + privateMetadata?: InputMaybe>; + /** + * The url that will allow to redirect user to payment provider page with transaction event details. + * + * Added in Saleor 3.13. + */ + externalUrl?: InputMaybe; +}; + +export type TransactionEventInput = { /** * Current status of the payment transaction. * * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Status will be calculated by Saleor. */ status?: InputMaybe; + /** + * Reference of the transaction. + * + * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `pspReference` instead. + */ + reference?: InputMaybe; + /** + * PSP Reference related to this action. + * + * Added in Saleor 3.13. + */ + pspReference?: InputMaybe; + /** + * Name of the transaction. + * + * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `message` instead. `name` field will be added to `message`. + */ + name?: InputMaybe; + /** + * The message related to the event. + * + * Added in Saleor 3.13. + */ + message?: InputMaybe; }; /** An enumeration. */ export enum TransactionEventReportErrorCode { - ALREADY_EXISTS = 'ALREADY_EXISTS', - GRAPHQL_ERROR = 'GRAPHQL_ERROR', - INCORRECT_DETAILS = 'INCORRECT_DETAILS', INVALID = 'INVALID', - NOT_FOUND = 'NOT_FOUND' + GRAPHQL_ERROR = 'GRAPHQL_ERROR', + NOT_FOUND = 'NOT_FOUND', + INCORRECT_DETAILS = 'INCORRECT_DETAILS', + ALREADY_EXISTS = 'ALREADY_EXISTS' } /** @@ -5780,24 +5820,24 @@ export enum TransactionEventReportErrorCode { * */ export enum TransactionEventTypeEnum { - AUTHORIZATION_ACTION_REQUIRED = 'AUTHORIZATION_ACTION_REQUIRED', - AUTHORIZATION_ADJUSTMENT = 'AUTHORIZATION_ADJUSTMENT', - AUTHORIZATION_FAILURE = 'AUTHORIZATION_FAILURE', - AUTHORIZATION_REQUEST = 'AUTHORIZATION_REQUEST', AUTHORIZATION_SUCCESS = 'AUTHORIZATION_SUCCESS', + AUTHORIZATION_FAILURE = 'AUTHORIZATION_FAILURE', + AUTHORIZATION_ADJUSTMENT = 'AUTHORIZATION_ADJUSTMENT', + AUTHORIZATION_REQUEST = 'AUTHORIZATION_REQUEST', + AUTHORIZATION_ACTION_REQUIRED = 'AUTHORIZATION_ACTION_REQUIRED', + CHARGE_ACTION_REQUIRED = 'CHARGE_ACTION_REQUIRED', + CHARGE_SUCCESS = 'CHARGE_SUCCESS', + CHARGE_FAILURE = 'CHARGE_FAILURE', + CHARGE_BACK = 'CHARGE_BACK', + CHARGE_REQUEST = 'CHARGE_REQUEST', + REFUND_SUCCESS = 'REFUND_SUCCESS', + REFUND_FAILURE = 'REFUND_FAILURE', + REFUND_REVERSE = 'REFUND_REVERSE', + REFUND_REQUEST = 'REFUND_REQUEST', + CANCEL_SUCCESS = 'CANCEL_SUCCESS', CANCEL_FAILURE = 'CANCEL_FAILURE', CANCEL_REQUEST = 'CANCEL_REQUEST', - CANCEL_SUCCESS = 'CANCEL_SUCCESS', - CHARGE_ACTION_REQUIRED = 'CHARGE_ACTION_REQUIRED', - CHARGE_BACK = 'CHARGE_BACK', - CHARGE_FAILURE = 'CHARGE_FAILURE', - CHARGE_REQUEST = 'CHARGE_REQUEST', - CHARGE_SUCCESS = 'CHARGE_SUCCESS', - INFO = 'INFO', - REFUND_FAILURE = 'REFUND_FAILURE', - REFUND_REQUEST = 'REFUND_REQUEST', - REFUND_REVERSE = 'REFUND_REVERSE', - REFUND_SUCCESS = 'REFUND_SUCCESS' + INFO = 'INFO' } /** @@ -5821,34 +5861,34 @@ export enum TransactionInitializeErrorCode { /** An enumeration. */ export enum TransactionKind { - ACTION_TO_CONFIRM = 'ACTION_TO_CONFIRM', - AUTH = 'AUTH', - CANCEL = 'CANCEL', - CAPTURE = 'CAPTURE', - CONFIRM = 'CONFIRM', EXTERNAL = 'EXTERNAL', + AUTH = 'AUTH', PENDING = 'PENDING', + ACTION_TO_CONFIRM = 'ACTION_TO_CONFIRM', REFUND = 'REFUND', REFUND_ONGOING = 'REFUND_ONGOING', - VOID = 'VOID' + CAPTURE = 'CAPTURE', + VOID = 'VOID', + CONFIRM = 'CONFIRM', + CANCEL = 'CANCEL' } /** An enumeration. */ export enum TransactionProcessErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - MISSING_PAYMENT_APP = 'MISSING_PAYMENT_APP', - MISSING_PAYMENT_APP_RELATION = 'MISSING_PAYMENT_APP_RELATION', NOT_FOUND = 'NOT_FOUND', - TRANSACTION_ALREADY_PROCESSED = 'TRANSACTION_ALREADY_PROCESSED' + TRANSACTION_ALREADY_PROCESSED = 'TRANSACTION_ALREADY_PROCESSED', + MISSING_PAYMENT_APP_RELATION = 'MISSING_PAYMENT_APP_RELATION', + MISSING_PAYMENT_APP = 'MISSING_PAYMENT_APP' } /** An enumeration. */ export enum TransactionRequestActionErrorCode { - GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - MISSING_TRANSACTION_ACTION_REQUEST_WEBHOOK = 'MISSING_TRANSACTION_ACTION_REQUEST_WEBHOOK', - NOT_FOUND = 'NOT_FOUND' + GRAPHQL_ERROR = 'GRAPHQL_ERROR', + NOT_FOUND = 'NOT_FOUND', + MISSING_TRANSACTION_ACTION_REQUEST_WEBHOOK = 'MISSING_TRANSACTION_ACTION_REQUEST_WEBHOOK' } /** @@ -5861,76 +5901,22 @@ export enum TransactionRequestActionErrorCode { * */ export enum TransactionStatus { - FAILURE = 'FAILURE', PENDING = 'PENDING', - SUCCESS = 'SUCCESS' + SUCCESS = 'SUCCESS', + FAILURE = 'FAILURE' } /** An enumeration. */ export enum TransactionUpdateErrorCode { - GRAPHQL_ERROR = 'GRAPHQL_ERROR', - INCORRECT_CURRENCY = 'INCORRECT_CURRENCY', INVALID = 'INVALID', - METADATA_KEY_REQUIRED = 'METADATA_KEY_REQUIRED', + GRAPHQL_ERROR = 'GRAPHQL_ERROR', NOT_FOUND = 'NOT_FOUND', + INCORRECT_CURRENCY = 'INCORRECT_CURRENCY', + METADATA_KEY_REQUIRED = 'METADATA_KEY_REQUIRED', UNIQUE = 'UNIQUE' } export type TransactionUpdateInput = { - /** Amount authorized by this transaction. */ - amountAuthorized?: InputMaybe; - /** - * Amount canceled by this transaction. - * - * Added in Saleor 3.13. - */ - amountCanceled?: InputMaybe; - /** Amount charged by this transaction. */ - amountCharged?: InputMaybe; - /** Amount refunded by this transaction. */ - amountRefunded?: InputMaybe; - /** - * Amount voided by this transaction. - * - * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `amountCanceled` instead. - */ - amountVoided?: InputMaybe; - /** List of all possible actions for the transaction */ - availableActions?: InputMaybe>; - /** - * The url that will allow to redirect user to payment provider page with transaction event details. - * - * Added in Saleor 3.13. - */ - externalUrl?: InputMaybe; - /** - * The message of the transaction. - * - * Added in Saleor 3.13. - */ - message?: InputMaybe; - /** Payment public metadata. */ - metadata?: InputMaybe>; - /** - * Payment name of the transaction. - * - * Added in Saleor 3.13. - */ - name?: InputMaybe; - /** Payment private metadata. */ - privateMetadata?: InputMaybe>; - /** - * PSP Reference of the transaction. - * - * Added in Saleor 3.13. - */ - pspReference?: InputMaybe; - /** - * Reference of the transaction. - * - * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `pspReference` instead. - */ - reference?: InputMaybe; /** * Status of the transaction. * @@ -5943,6 +5929,60 @@ export type TransactionUpdateInput = { * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `name` and `message` instead. */ type?: InputMaybe; + /** + * Payment name of the transaction. + * + * Added in Saleor 3.13. + */ + name?: InputMaybe; + /** + * The message of the transaction. + * + * Added in Saleor 3.13. + */ + message?: InputMaybe; + /** + * Reference of the transaction. + * + * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `pspReference` instead. + */ + reference?: InputMaybe; + /** + * PSP Reference of the transaction. + * + * Added in Saleor 3.13. + */ + pspReference?: InputMaybe; + /** List of all possible actions for the transaction */ + availableActions?: InputMaybe>; + /** Amount authorized by this transaction. */ + amountAuthorized?: InputMaybe; + /** Amount charged by this transaction. */ + amountCharged?: InputMaybe; + /** Amount refunded by this transaction. */ + amountRefunded?: InputMaybe; + /** + * Amount voided by this transaction. + * + * DEPRECATED: this field will be removed in Saleor 3.14 (Preview Feature). Use `amountCanceled` instead. + */ + amountVoided?: InputMaybe; + /** + * Amount canceled by this transaction. + * + * Added in Saleor 3.13. + */ + amountCanceled?: InputMaybe; + /** Payment public metadata. */ + metadata?: InputMaybe>; + /** Payment private metadata. */ + privateMetadata?: InputMaybe>; + /** + * The url that will allow to redirect user to payment provider page with transaction event details. + * + * Added in Saleor 3.13. + */ + externalUrl?: InputMaybe; }; export enum TranslatableKinds { @@ -5968,15 +6008,15 @@ export enum TranslationErrorCode { } export type TranslationInput = { + seoTitle?: InputMaybe; + seoDescription?: InputMaybe; + name?: InputMaybe; /** * Translated description. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; - name?: InputMaybe; - seoDescription?: InputMaybe; - seoTitle?: InputMaybe; }; export type UpdateInvoiceInput = { @@ -5992,47 +6032,47 @@ export enum UploadErrorCode { } export type UserCreateInput = { - /** Slug of a channel which will be used for notify user. Optional when only one channel exists. */ - channel?: InputMaybe; /** Billing address of the customer. */ defaultBillingAddress?: InputMaybe; /** Shipping address of the customer. */ defaultShippingAddress?: InputMaybe; + /** Given name. */ + firstName?: InputMaybe; + /** Family name. */ + lastName?: InputMaybe; /** The unique email address of the user. */ email?: InputMaybe; + /** User account is active. */ + isActive?: InputMaybe; + /** A note about the user. */ + note?: InputMaybe; + /** User language code. */ + languageCode?: InputMaybe; /** * External ID of the customer. * * Added in Saleor 3.10. */ externalReference?: InputMaybe; - /** Given name. */ - firstName?: InputMaybe; - /** User account is active. */ - isActive?: InputMaybe; - /** User language code. */ - languageCode?: InputMaybe; - /** Family name. */ - lastName?: InputMaybe; - /** A note about the user. */ - note?: InputMaybe; /** URL of a view where users should be redirected to set the password. URL in RFC 1808 format. */ redirectUrl?: InputMaybe; + /** Slug of a channel which will be used for notify user. Optional when only one channel exists. */ + channel?: InputMaybe; }; export enum UserSortField { - /** Sort users by created at. */ - CREATED_AT = 'CREATED_AT', - /** Sort users by email. */ - EMAIL = 'EMAIL', /** Sort users by first name. */ FIRST_NAME = 'FIRST_NAME', - /** Sort users by last modified at. */ - LAST_MODIFIED_AT = 'LAST_MODIFIED_AT', /** Sort users by last name. */ LAST_NAME = 'LAST_NAME', + /** Sort users by email. */ + EMAIL = 'EMAIL', /** Sort users by order count. */ - ORDER_COUNT = 'ORDER_COUNT' + ORDER_COUNT = 'ORDER_COUNT', + /** Sort users by created at. */ + CREATED_AT = 'CREATED_AT', + /** Sort users by last modified at. */ + LAST_MODIFIED_AT = 'LAST_MODIFIED_AT' } export type UserSortingInput = { @@ -6044,25 +6084,25 @@ export type UserSortingInput = { export enum VariantAttributeScope { ALL = 'ALL', - NOT_VARIANT_SELECTION = 'NOT_VARIANT_SELECTION', - VARIANT_SELECTION = 'VARIANT_SELECTION' + VARIANT_SELECTION = 'VARIANT_SELECTION', + NOT_VARIANT_SELECTION = 'NOT_VARIANT_SELECTION' } /** An enumeration. */ export enum VolumeUnitsEnum { - ACRE_FT = 'ACRE_FT', - ACRE_IN = 'ACRE_IN', + CUBIC_MILLIMETER = 'CUBIC_MILLIMETER', CUBIC_CENTIMETER = 'CUBIC_CENTIMETER', CUBIC_DECIMETER = 'CUBIC_DECIMETER', + CUBIC_METER = 'CUBIC_METER', + LITER = 'LITER', CUBIC_FOOT = 'CUBIC_FOOT', CUBIC_INCH = 'CUBIC_INCH', - CUBIC_METER = 'CUBIC_METER', - CUBIC_MILLIMETER = 'CUBIC_MILLIMETER', CUBIC_YARD = 'CUBIC_YARD', - FL_OZ = 'FL_OZ', - LITER = 'LITER', + QT = 'QT', PINT = 'PINT', - QT = 'QT' + FL_OZ = 'FL_OZ', + ACRE_IN = 'ACRE_IN', + ACRE_FT = 'ACRE_FT' } export type VoucherChannelListingAddInput = { @@ -6088,108 +6128,108 @@ export enum VoucherDiscountType { } export type VoucherFilterInput = { - discountType?: InputMaybe>; - ids?: InputMaybe>; - metadata?: InputMaybe>; - search?: InputMaybe; - started?: InputMaybe; status?: InputMaybe>; timesUsed?: InputMaybe; + discountType?: InputMaybe>; + started?: InputMaybe; + search?: InputMaybe; + metadata?: InputMaybe>; + ids?: InputMaybe>; }; export type VoucherInput = { - /** Voucher should be applied once per customer. */ - applyOncePerCustomer?: InputMaybe; - /** Voucher should be applied to the cheapest item or entire order. */ - applyOncePerOrder?: InputMaybe; - /** Categories discounted by the voucher. */ - categories?: InputMaybe>; - /** Code to use the voucher. */ - code?: InputMaybe; - /** Collections discounted by the voucher. */ - collections?: InputMaybe>; - /** Country codes that can be used with the shipping voucher. */ - countries?: InputMaybe>; - /** Choices: fixed or percentage. */ - discountValueType?: InputMaybe; - /** End date of the voucher in ISO 8601 format. */ - endDate?: InputMaybe; - /** Minimal quantity of checkout items required to apply the voucher. */ - minCheckoutItemsQuantity?: InputMaybe; - /** Voucher name. */ - name?: InputMaybe; - /** Voucher can be used only by staff user. */ - onlyForStaff?: InputMaybe; - /** Products discounted by the voucher. */ - products?: InputMaybe>; - /** Start date of the voucher in ISO 8601 format. */ - startDate?: InputMaybe; /** Voucher type: PRODUCT, CATEGORY SHIPPING or ENTIRE_ORDER. */ type?: InputMaybe; - /** Limit number of times this voucher can be used in total. */ - usageLimit?: InputMaybe; + /** Voucher name. */ + name?: InputMaybe; + /** Code to use the voucher. */ + code?: InputMaybe; + /** Start date of the voucher in ISO 8601 format. */ + startDate?: InputMaybe; + /** End date of the voucher in ISO 8601 format. */ + endDate?: InputMaybe; + /** Choices: fixed or percentage. */ + discountValueType?: InputMaybe; + /** Products discounted by the voucher. */ + products?: InputMaybe>; /** * Variants discounted by the voucher. * * Added in Saleor 3.1. */ variants?: InputMaybe>; + /** Collections discounted by the voucher. */ + collections?: InputMaybe>; + /** Categories discounted by the voucher. */ + categories?: InputMaybe>; + /** Minimal quantity of checkout items required to apply the voucher. */ + minCheckoutItemsQuantity?: InputMaybe; + /** Country codes that can be used with the shipping voucher. */ + countries?: InputMaybe>; + /** Voucher should be applied to the cheapest item or entire order. */ + applyOncePerOrder?: InputMaybe; + /** Voucher should be applied once per customer. */ + applyOncePerCustomer?: InputMaybe; + /** Voucher can be used only by staff user. */ + onlyForStaff?: InputMaybe; + /** Limit number of times this voucher can be used in total. */ + usageLimit?: InputMaybe; }; export enum VoucherSortField { /** Sort vouchers by code. */ CODE = 'CODE', - /** Sort vouchers by end date. */ - END_DATE = 'END_DATE', - /** - * Sort vouchers by minimum spent amount. - * - * This option requires a channel filter to work as the values can vary between channels. - */ - MINIMUM_SPENT_AMOUNT = 'MINIMUM_SPENT_AMOUNT', /** Sort vouchers by start date. */ START_DATE = 'START_DATE', - /** Sort vouchers by type. */ - TYPE = 'TYPE', - /** Sort vouchers by usage limit. */ - USAGE_LIMIT = 'USAGE_LIMIT', + /** Sort vouchers by end date. */ + END_DATE = 'END_DATE', /** * Sort vouchers by value. * * This option requires a channel filter to work as the values can vary between channels. */ - VALUE = 'VALUE' + VALUE = 'VALUE', + /** Sort vouchers by type. */ + TYPE = 'TYPE', + /** Sort vouchers by usage limit. */ + USAGE_LIMIT = 'USAGE_LIMIT', + /** + * Sort vouchers by minimum spent amount. + * + * This option requires a channel filter to work as the values can vary between channels. + */ + MINIMUM_SPENT_AMOUNT = 'MINIMUM_SPENT_AMOUNT' } export type VoucherSortingInput = { + /** Specifies the direction in which to sort vouchers. */ + direction: OrderDirection; /** * Specifies the channel in which to sort the data. * * DEPRECATED: this field will be removed in Saleor 4.0. Use root-level channel argument instead. */ channel?: InputMaybe; - /** Specifies the direction in which to sort vouchers. */ - direction: OrderDirection; /** Sort vouchers by the selected field. */ field: VoucherSortField; }; export enum VoucherTypeEnum { - ENTIRE_ORDER = 'ENTIRE_ORDER', SHIPPING = 'SHIPPING', + ENTIRE_ORDER = 'ENTIRE_ORDER', SPECIFIC_PRODUCT = 'SPECIFIC_PRODUCT' } /** An enumeration. */ export enum WarehouseClickAndCollectOptionEnum { - ALL = 'ALL', DISABLED = 'DISABLED', - LOCAL = 'LOCAL' + LOCAL = 'LOCAL', + ALL = 'ALL' } export type WarehouseCreateInput = { - /** Address of the warehouse. */ - address: AddressInput; + /** Warehouse slug. */ + slug?: InputMaybe; /** The email address of the warehouse. */ email?: InputMaybe; /** @@ -6200,14 +6240,14 @@ export type WarehouseCreateInput = { externalReference?: InputMaybe; /** Warehouse name. */ name: Scalars['String']; + /** Address of the warehouse. */ + address: AddressInput; /** * Shipping zones supported by the warehouse. * * DEPRECATED: this field will be removed in Saleor 4.0. Providing the zone ids will raise a ValidationError. */ shippingZones?: InputMaybe>; - /** Warehouse slug. */ - slug?: InputMaybe; }; /** An enumeration. */ @@ -6221,11 +6261,11 @@ export enum WarehouseErrorCode { } export type WarehouseFilterInput = { - channels?: InputMaybe>; clickAndCollectOption?: InputMaybe; + search?: InputMaybe; ids?: InputMaybe>; isPrivate?: InputMaybe; - search?: InputMaybe; + channels?: InputMaybe>; slugs?: InputMaybe>; }; @@ -6242,14 +6282,8 @@ export type WarehouseSortingInput = { }; export type WarehouseUpdateInput = { - /** Address of the warehouse. */ - address?: InputMaybe; - /** - * Click and collect options: local, all or disabled. - * - * Added in Saleor 3.1. - */ - clickAndCollectOption?: InputMaybe; + /** Warehouse slug. */ + slug?: InputMaybe; /** The email address of the warehouse. */ email?: InputMaybe; /** @@ -6258,23 +6292,55 @@ export type WarehouseUpdateInput = { * Added in Saleor 3.10. */ externalReference?: InputMaybe; + /** Warehouse name. */ + name?: InputMaybe; + /** Address of the warehouse. */ + address?: InputMaybe; + /** + * Click and collect options: local, all or disabled. + * + * Added in Saleor 3.1. + */ + clickAndCollectOption?: InputMaybe; /** * Visibility of warehouse stocks. * * Added in Saleor 3.1. */ isPrivate?: InputMaybe; - /** Warehouse name. */ - name?: InputMaybe; - /** Warehouse slug. */ - slug?: InputMaybe; }; export type WebhookCreateInput = { - /** ID of the app to which webhook belongs. */ - app?: InputMaybe; + /** The name of the webhook. */ + name?: InputMaybe; + /** The url to receive the payload. */ + targetUrl?: InputMaybe; + /** + * The events that webhook wants to subscribe. + * + * DEPRECATED: this field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead. + */ + events?: InputMaybe>; /** The asynchronous events that webhook wants to subscribe. */ asyncEvents?: InputMaybe>; + /** The synchronous events that webhook wants to subscribe. */ + syncEvents?: InputMaybe>; + /** ID of the app to which webhook belongs. */ + app?: InputMaybe; + /** Determine if webhook will be set active or not. */ + isActive?: InputMaybe; + /** + * The secret key used to create a hash signature with each payload. + * + * DEPRECATED: this field will be removed in Saleor 4.0. As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS. + */ + secretKey?: InputMaybe; + /** + * Subscription query used to define a webhook payload. + * + * Added in Saleor 3.2. + */ + query?: InputMaybe; /** * Custom headers, which will be added to HTTP request. There is a limitation of 5 headers per webhook and 998 characters per header.Only "X-*" and "Authorization*" keys are allowed. * @@ -6283,169 +6349,86 @@ export type WebhookCreateInput = { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ customHeaders?: InputMaybe; - /** - * The events that webhook wants to subscribe. - * - * DEPRECATED: this field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead. - */ - events?: InputMaybe>; - /** Determine if webhook will be set active or not. */ - isActive?: InputMaybe; - /** The name of the webhook. */ - name?: InputMaybe; - /** - * Subscription query used to define a webhook payload. - * - * Added in Saleor 3.2. - */ - query?: InputMaybe; - /** - * The secret key used to create a hash signature with each payload. - * - * DEPRECATED: this field will be removed in Saleor 4.0. As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS. - */ - secretKey?: InputMaybe; - /** The synchronous events that webhook wants to subscribe. */ - syncEvents?: InputMaybe>; - /** The url to receive the payload. */ - targetUrl?: InputMaybe; }; /** An enumeration. */ export enum WebhookDryRunErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', - INVALID_ID = 'INVALID_ID', - MISSING_EVENT = 'MISSING_EVENT', - MISSING_PERMISSION = 'MISSING_PERMISSION', - MISSING_SUBSCRIPTION = 'MISSING_SUBSCRIPTION', NOT_FOUND = 'NOT_FOUND', - SYNTAX = 'SYNTAX', + INVALID_ID = 'INVALID_ID', + MISSING_PERMISSION = 'MISSING_PERMISSION', TYPE_NOT_SUPPORTED = 'TYPE_NOT_SUPPORTED', - UNABLE_TO_PARSE = 'UNABLE_TO_PARSE' + SYNTAX = 'SYNTAX', + MISSING_SUBSCRIPTION = 'MISSING_SUBSCRIPTION', + UNABLE_TO_PARSE = 'UNABLE_TO_PARSE', + MISSING_EVENT = 'MISSING_EVENT' } /** An enumeration. */ export enum WebhookErrorCode { - DELETE_FAILED = 'DELETE_FAILED', GRAPHQL_ERROR = 'GRAPHQL_ERROR', INVALID = 'INVALID', - INVALID_CUSTOM_HEADERS = 'INVALID_CUSTOM_HEADERS', - MISSING_EVENT = 'MISSING_EVENT', - MISSING_SUBSCRIPTION = 'MISSING_SUBSCRIPTION', NOT_FOUND = 'NOT_FOUND', REQUIRED = 'REQUIRED', + UNIQUE = 'UNIQUE', + DELETE_FAILED = 'DELETE_FAILED', SYNTAX = 'SYNTAX', + MISSING_SUBSCRIPTION = 'MISSING_SUBSCRIPTION', UNABLE_TO_PARSE = 'UNABLE_TO_PARSE', - UNIQUE = 'UNIQUE' + MISSING_EVENT = 'MISSING_EVENT', + INVALID_CUSTOM_HEADERS = 'INVALID_CUSTOM_HEADERS' } /** Enum determining type of webhook. */ export enum WebhookEventTypeAsyncEnum { - /** A new address created. */ - ADDRESS_CREATED = 'ADDRESS_CREATED', - /** An address deleted. */ - ADDRESS_DELETED = 'ADDRESS_DELETED', - /** An address updated. */ - ADDRESS_UPDATED = 'ADDRESS_UPDATED', /** All the events. */ ANY_EVENTS = 'ANY_EVENTS', - /** An app deleted. */ - APP_DELETED = 'APP_DELETED', + /** A new address created. */ + ADDRESS_CREATED = 'ADDRESS_CREATED', + /** An address updated. */ + ADDRESS_UPDATED = 'ADDRESS_UPDATED', + /** An address deleted. */ + ADDRESS_DELETED = 'ADDRESS_DELETED', /** A new app installed. */ APP_INSTALLED = 'APP_INSTALLED', - /** An app status is changed. */ - APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', /** An app updated. */ APP_UPDATED = 'APP_UPDATED', + /** An app deleted. */ + APP_DELETED = 'APP_DELETED', + /** An app status is changed. */ + APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', /** A new attribute is created. */ ATTRIBUTE_CREATED = 'ATTRIBUTE_CREATED', - /** An attribute is deleted. */ - ATTRIBUTE_DELETED = 'ATTRIBUTE_DELETED', /** An attribute is updated. */ ATTRIBUTE_UPDATED = 'ATTRIBUTE_UPDATED', + /** An attribute is deleted. */ + ATTRIBUTE_DELETED = 'ATTRIBUTE_DELETED', /** A new attribute value is created. */ ATTRIBUTE_VALUE_CREATED = 'ATTRIBUTE_VALUE_CREATED', - /** An attribute value is deleted. */ - ATTRIBUTE_VALUE_DELETED = 'ATTRIBUTE_VALUE_DELETED', /** An attribute value is updated. */ ATTRIBUTE_VALUE_UPDATED = 'ATTRIBUTE_VALUE_UPDATED', + /** An attribute value is deleted. */ + ATTRIBUTE_VALUE_DELETED = 'ATTRIBUTE_VALUE_DELETED', /** A new category created. */ CATEGORY_CREATED = 'CATEGORY_CREATED', - /** A category is deleted. */ - CATEGORY_DELETED = 'CATEGORY_DELETED', /** A category is updated. */ CATEGORY_UPDATED = 'CATEGORY_UPDATED', + /** A category is deleted. */ + CATEGORY_DELETED = 'CATEGORY_DELETED', /** A new channel created. */ CHANNEL_CREATED = 'CHANNEL_CREATED', + /** A channel is updated. */ + CHANNEL_UPDATED = 'CHANNEL_UPDATED', /** A channel is deleted. */ CHANNEL_DELETED = 'CHANNEL_DELETED', /** A channel status is changed. */ CHANNEL_STATUS_CHANGED = 'CHANNEL_STATUS_CHANGED', - /** A channel is updated. */ - CHANNEL_UPDATED = 'CHANNEL_UPDATED', - /** A new checkout is created. */ - CHECKOUT_CREATED = 'CHECKOUT_CREATED', - CHECKOUT_FULLY_PAID = 'CHECKOUT_FULLY_PAID', - /** - * A checkout metadata is updated. - * - * Added in Saleor 3.8. - */ - CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED', - /** A checkout is updated. It also triggers all updates related to the checkout. */ - CHECKOUT_UPDATED = 'CHECKOUT_UPDATED', - /** A new collection is created. */ - COLLECTION_CREATED = 'COLLECTION_CREATED', - /** A collection is deleted. */ - COLLECTION_DELETED = 'COLLECTION_DELETED', - /** - * A collection metadata is updated. - * - * Added in Saleor 3.8. - */ - COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED', - /** A collection is updated. */ - COLLECTION_UPDATED = 'COLLECTION_UPDATED', - /** A new customer account is created. */ - CUSTOMER_CREATED = 'CUSTOMER_CREATED', - /** A customer account is deleted. */ - CUSTOMER_DELETED = 'CUSTOMER_DELETED', - /** - * A customer account metadata is updated. - * - * Added in Saleor 3.8. - */ - CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED', - /** A customer account is updated. */ - CUSTOMER_UPDATED = 'CUSTOMER_UPDATED', - /** A draft order is created. */ - DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED', - /** A draft order is deleted. */ - DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED', - /** A draft order is updated. */ - DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED', - /** A fulfillment is approved. */ - FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED', - /** A fulfillment is cancelled. */ - FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', - /** A new fulfillment is created. */ - FULFILLMENT_CREATED = 'FULFILLMENT_CREATED', - /** - * A fulfillment metadata is updated. - * - * Added in Saleor 3.8. - */ - FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED', /** A new gift card created. */ GIFT_CARD_CREATED = 'GIFT_CARD_CREATED', + /** A gift card is updated. */ + GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED', /** A gift card is deleted. */ GIFT_CARD_DELETED = 'GIFT_CARD_DELETED', - /** - * A gift card metadata is updated. - * - * Added in Saleor 3.8. - */ - GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED', /** * A gift card has been sent. * @@ -6456,70 +6439,92 @@ export enum WebhookEventTypeAsyncEnum { GIFT_CARD_SENT = 'GIFT_CARD_SENT', /** A gift card status is changed. */ GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED', - /** A gift card is updated. */ - GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED', - /** An invoice is deleted. */ - INVOICE_DELETED = 'INVOICE_DELETED', - /** An invoice for order requested. */ - INVOICE_REQUESTED = 'INVOICE_REQUESTED', - /** Invoice has been sent. */ - INVOICE_SENT = 'INVOICE_SENT', + /** + * A gift card metadata is updated. + * + * Added in Saleor 3.8. + */ + GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED', /** A new menu created. */ MENU_CREATED = 'MENU_CREATED', + /** A menu is updated. */ + MENU_UPDATED = 'MENU_UPDATED', /** A menu is deleted. */ MENU_DELETED = 'MENU_DELETED', /** A new menu item created. */ MENU_ITEM_CREATED = 'MENU_ITEM_CREATED', - /** A menu item is deleted. */ - MENU_ITEM_DELETED = 'MENU_ITEM_DELETED', /** A menu item is updated. */ MENU_ITEM_UPDATED = 'MENU_ITEM_UPDATED', - /** A menu is updated. */ - MENU_UPDATED = 'MENU_UPDATED', - /** User notification triggered. */ - NOTIFY_USER = 'NOTIFY_USER', - /** An observability event is created. */ - OBSERVABILITY = 'OBSERVABILITY', - /** An order is cancelled. */ - ORDER_CANCELLED = 'ORDER_CANCELLED', - /** An order is confirmed (status change unconfirmed -> unfulfilled) by a staff user using the OrderConfirm mutation. It also triggers when the user completes the checkout and the shop setting `automatically_confirm_all_new_orders` is enabled. */ - ORDER_CONFIRMED = 'ORDER_CONFIRMED', + /** A menu item is deleted. */ + MENU_ITEM_DELETED = 'MENU_ITEM_DELETED', /** A new order is placed. */ ORDER_CREATED = 'ORDER_CREATED', + /** An order is confirmed (status change unconfirmed -> unfulfilled) by a staff user using the OrderConfirm mutation. It also triggers when the user completes the checkout and the shop setting `automatically_confirm_all_new_orders` is enabled. */ + ORDER_CONFIRMED = 'ORDER_CONFIRMED', + /** Payment is made and an order is fully paid. */ + ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', + /** An order is updated; triggered for all changes related to an order; covers all other order webhooks, except for ORDER_CREATED. */ + ORDER_UPDATED = 'ORDER_UPDATED', + /** An order is cancelled. */ + ORDER_CANCELLED = 'ORDER_CANCELLED', /** An order is expired. */ ORDER_EXPIRED = 'ORDER_EXPIRED', /** An order is fulfilled. */ ORDER_FULFILLED = 'ORDER_FULFILLED', - /** Payment is made and an order is fully paid. */ - ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', /** * An order metadata is updated. * * Added in Saleor 3.8. */ ORDER_METADATA_UPDATED = 'ORDER_METADATA_UPDATED', - /** An order is updated; triggered for all changes related to an order; covers all other order webhooks, except for ORDER_CREATED. */ - ORDER_UPDATED = 'ORDER_UPDATED', - /** A new page is created. */ - PAGE_CREATED = 'PAGE_CREATED', - /** A page is deleted. */ - PAGE_DELETED = 'PAGE_DELETED', - /** A new page type is created. */ - PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', - /** A page type is deleted. */ - PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', - /** A page type is updated. */ - PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', - /** A page is updated. */ - PAGE_UPDATED = 'PAGE_UPDATED', - /** A new permission group is created. */ - PERMISSION_GROUP_CREATED = 'PERMISSION_GROUP_CREATED', - /** A permission group is deleted. */ - PERMISSION_GROUP_DELETED = 'PERMISSION_GROUP_DELETED', - /** A permission group is updated. */ - PERMISSION_GROUP_UPDATED = 'PERMISSION_GROUP_UPDATED', + /** A draft order is created. */ + DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED', + /** A draft order is updated. */ + DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED', + /** A draft order is deleted. */ + DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED', + /** A sale is created. */ + SALE_CREATED = 'SALE_CREATED', + /** A sale is updated. */ + SALE_UPDATED = 'SALE_UPDATED', + /** A sale is deleted. */ + SALE_DELETED = 'SALE_DELETED', + /** A sale is activated or deactivated. */ + SALE_TOGGLE = 'SALE_TOGGLE', + /** An invoice for order requested. */ + INVOICE_REQUESTED = 'INVOICE_REQUESTED', + /** An invoice is deleted. */ + INVOICE_DELETED = 'INVOICE_DELETED', + /** Invoice has been sent. */ + INVOICE_SENT = 'INVOICE_SENT', + /** A new customer account is created. */ + CUSTOMER_CREATED = 'CUSTOMER_CREATED', + /** A customer account is updated. */ + CUSTOMER_UPDATED = 'CUSTOMER_UPDATED', + /** A customer account is deleted. */ + CUSTOMER_DELETED = 'CUSTOMER_DELETED', + /** + * A customer account metadata is updated. + * + * Added in Saleor 3.8. + */ + CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED', + /** A new collection is created. */ + COLLECTION_CREATED = 'COLLECTION_CREATED', + /** A collection is updated. */ + COLLECTION_UPDATED = 'COLLECTION_UPDATED', + /** A collection is deleted. */ + COLLECTION_DELETED = 'COLLECTION_DELETED', + /** + * A collection metadata is updated. + * + * Added in Saleor 3.8. + */ + COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED', /** A new product is created. */ PRODUCT_CREATED = 'PRODUCT_CREATED', + /** A product is updated. */ + PRODUCT_UPDATED = 'PRODUCT_UPDATED', /** A product is deleted. */ PRODUCT_DELETED = 'PRODUCT_DELETED', /** @@ -6528,60 +6533,95 @@ export enum WebhookEventTypeAsyncEnum { * Added in Saleor 3.12. */ PRODUCT_MEDIA_CREATED = 'PRODUCT_MEDIA_CREATED', - /** - * A product media is deleted. - * - * Added in Saleor 3.12. - */ - PRODUCT_MEDIA_DELETED = 'PRODUCT_MEDIA_DELETED', /** * A product media is updated. * * Added in Saleor 3.12. */ PRODUCT_MEDIA_UPDATED = 'PRODUCT_MEDIA_UPDATED', + /** + * A product media is deleted. + * + * Added in Saleor 3.12. + */ + PRODUCT_MEDIA_DELETED = 'PRODUCT_MEDIA_DELETED', /** * A product metadata is updated. * * Added in Saleor 3.8. */ PRODUCT_METADATA_UPDATED = 'PRODUCT_METADATA_UPDATED', - /** A product is updated. */ - PRODUCT_UPDATED = 'PRODUCT_UPDATED', - /** A product variant is back in stock. */ - PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK', /** A new product variant is created. */ PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED', + /** A product variant is updated. */ + PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED', /** A product variant is deleted. */ PRODUCT_VARIANT_DELETED = 'PRODUCT_VARIANT_DELETED', + /** A product variant is out of stock. */ + PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK', + /** A product variant is back in stock. */ + PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK', + /** A product variant stock is updated */ + PRODUCT_VARIANT_STOCK_UPDATED = 'PRODUCT_VARIANT_STOCK_UPDATED', /** * A product variant metadata is updated. * * Added in Saleor 3.8. */ PRODUCT_VARIANT_METADATA_UPDATED = 'PRODUCT_VARIANT_METADATA_UPDATED', - /** A product variant is out of stock. */ - PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK', - /** A product variant stock is updated */ - PRODUCT_VARIANT_STOCK_UPDATED = 'PRODUCT_VARIANT_STOCK_UPDATED', - /** A product variant is updated. */ - PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED', - /** A sale is created. */ - SALE_CREATED = 'SALE_CREATED', - /** A sale is deleted. */ - SALE_DELETED = 'SALE_DELETED', - /** A sale is activated or deactivated. */ - SALE_TOGGLE = 'SALE_TOGGLE', - /** A sale is updated. */ - SALE_UPDATED = 'SALE_UPDATED', + /** A new checkout is created. */ + CHECKOUT_CREATED = 'CHECKOUT_CREATED', + /** A checkout is updated. It also triggers all updates related to the checkout. */ + CHECKOUT_UPDATED = 'CHECKOUT_UPDATED', + CHECKOUT_FULLY_PAID = 'CHECKOUT_FULLY_PAID', + /** + * A checkout metadata is updated. + * + * Added in Saleor 3.8. + */ + CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED', + /** A new fulfillment is created. */ + FULFILLMENT_CREATED = 'FULFILLMENT_CREATED', + /** A fulfillment is cancelled. */ + FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', + /** A fulfillment is approved. */ + FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED', + /** + * A fulfillment metadata is updated. + * + * Added in Saleor 3.8. + */ + FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED', + /** User notification triggered. */ + NOTIFY_USER = 'NOTIFY_USER', + /** A new page is created. */ + PAGE_CREATED = 'PAGE_CREATED', + /** A page is updated. */ + PAGE_UPDATED = 'PAGE_UPDATED', + /** A page is deleted. */ + PAGE_DELETED = 'PAGE_DELETED', + /** A new page type is created. */ + PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', + /** A page type is updated. */ + PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', + /** A page type is deleted. */ + PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', + /** A new permission group is created. */ + PERMISSION_GROUP_CREATED = 'PERMISSION_GROUP_CREATED', + /** A permission group is updated. */ + PERMISSION_GROUP_UPDATED = 'PERMISSION_GROUP_UPDATED', + /** A permission group is deleted. */ + PERMISSION_GROUP_DELETED = 'PERMISSION_GROUP_DELETED', /** A new shipping price is created. */ SHIPPING_PRICE_CREATED = 'SHIPPING_PRICE_CREATED', - /** A shipping price is deleted. */ - SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', /** A shipping price is updated. */ SHIPPING_PRICE_UPDATED = 'SHIPPING_PRICE_UPDATED', + /** A shipping price is deleted. */ + SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', /** A new shipping zone is created. */ SHIPPING_ZONE_CREATED = 'SHIPPING_ZONE_CREATED', + /** A shipping zone is updated. */ + SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED', /** A shipping zone is deleted. */ SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED', /** @@ -6590,20 +6630,12 @@ export enum WebhookEventTypeAsyncEnum { * Added in Saleor 3.8. */ SHIPPING_ZONE_METADATA_UPDATED = 'SHIPPING_ZONE_METADATA_UPDATED', - /** A shipping zone is updated. */ - SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED', /** A new staff user is created. */ STAFF_CREATED = 'STAFF_CREATED', - /** A staff user is deleted. */ - STAFF_DELETED = 'STAFF_DELETED', /** A staff user is updated. */ STAFF_UPDATED = 'STAFF_UPDATED', - /** - * A thumbnail is created. - * - * Added in Saleor 3.12. - */ - THUMBNAIL_CREATED = 'THUMBNAIL_CREATED', + /** A staff user is deleted. */ + STAFF_DELETED = 'STAFF_DELETED', /** * An action requested for transaction. * @@ -6620,20 +6652,10 @@ export enum WebhookEventTypeAsyncEnum { TRANSLATION_CREATED = 'TRANSLATION_CREATED', /** A translation is updated. */ TRANSLATION_UPDATED = 'TRANSLATION_UPDATED', - /** A new voucher created. */ - VOUCHER_CREATED = 'VOUCHER_CREATED', - /** A voucher is deleted. */ - VOUCHER_DELETED = 'VOUCHER_DELETED', - /** - * A voucher metadata is updated. - * - * Added in Saleor 3.8. - */ - VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED', - /** A voucher is updated. */ - VOUCHER_UPDATED = 'VOUCHER_UPDATED', /** A new warehouse created. */ WAREHOUSE_CREATED = 'WAREHOUSE_CREATED', + /** A warehouse is updated. */ + WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED', /** A warehouse is deleted. */ WAREHOUSE_DELETED = 'WAREHOUSE_DELETED', /** @@ -6642,125 +6664,78 @@ export enum WebhookEventTypeAsyncEnum { * Added in Saleor 3.8. */ WAREHOUSE_METADATA_UPDATED = 'WAREHOUSE_METADATA_UPDATED', - /** A warehouse is updated. */ - WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED' + /** A new voucher created. */ + VOUCHER_CREATED = 'VOUCHER_CREATED', + /** A voucher is updated. */ + VOUCHER_UPDATED = 'VOUCHER_UPDATED', + /** A voucher is deleted. */ + VOUCHER_DELETED = 'VOUCHER_DELETED', + /** + * A voucher metadata is updated. + * + * Added in Saleor 3.8. + */ + VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED', + /** An observability event is created. */ + OBSERVABILITY = 'OBSERVABILITY', + /** + * A thumbnail is created. + * + * Added in Saleor 3.12. + */ + THUMBNAIL_CREATED = 'THUMBNAIL_CREATED' } /** Enum determining type of webhook. */ export enum WebhookEventTypeEnum { - /** A new address created. */ - ADDRESS_CREATED = 'ADDRESS_CREATED', - /** An address deleted. */ - ADDRESS_DELETED = 'ADDRESS_DELETED', - /** An address updated. */ - ADDRESS_UPDATED = 'ADDRESS_UPDATED', /** All the events. */ ANY_EVENTS = 'ANY_EVENTS', - /** An app deleted. */ - APP_DELETED = 'APP_DELETED', + /** A new address created. */ + ADDRESS_CREATED = 'ADDRESS_CREATED', + /** An address updated. */ + ADDRESS_UPDATED = 'ADDRESS_UPDATED', + /** An address deleted. */ + ADDRESS_DELETED = 'ADDRESS_DELETED', /** A new app installed. */ APP_INSTALLED = 'APP_INSTALLED', - /** An app status is changed. */ - APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', /** An app updated. */ APP_UPDATED = 'APP_UPDATED', + /** An app deleted. */ + APP_DELETED = 'APP_DELETED', + /** An app status is changed. */ + APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', /** A new attribute is created. */ ATTRIBUTE_CREATED = 'ATTRIBUTE_CREATED', - /** An attribute is deleted. */ - ATTRIBUTE_DELETED = 'ATTRIBUTE_DELETED', /** An attribute is updated. */ ATTRIBUTE_UPDATED = 'ATTRIBUTE_UPDATED', + /** An attribute is deleted. */ + ATTRIBUTE_DELETED = 'ATTRIBUTE_DELETED', /** A new attribute value is created. */ ATTRIBUTE_VALUE_CREATED = 'ATTRIBUTE_VALUE_CREATED', - /** An attribute value is deleted. */ - ATTRIBUTE_VALUE_DELETED = 'ATTRIBUTE_VALUE_DELETED', /** An attribute value is updated. */ ATTRIBUTE_VALUE_UPDATED = 'ATTRIBUTE_VALUE_UPDATED', + /** An attribute value is deleted. */ + ATTRIBUTE_VALUE_DELETED = 'ATTRIBUTE_VALUE_DELETED', /** A new category created. */ CATEGORY_CREATED = 'CATEGORY_CREATED', - /** A category is deleted. */ - CATEGORY_DELETED = 'CATEGORY_DELETED', /** A category is updated. */ CATEGORY_UPDATED = 'CATEGORY_UPDATED', + /** A category is deleted. */ + CATEGORY_DELETED = 'CATEGORY_DELETED', /** A new channel created. */ CHANNEL_CREATED = 'CHANNEL_CREATED', + /** A channel is updated. */ + CHANNEL_UPDATED = 'CHANNEL_UPDATED', /** A channel is deleted. */ CHANNEL_DELETED = 'CHANNEL_DELETED', /** A channel status is changed. */ CHANNEL_STATUS_CHANGED = 'CHANNEL_STATUS_CHANGED', - /** A channel is updated. */ - CHANNEL_UPDATED = 'CHANNEL_UPDATED', - /** - * Event called for checkout tax calculation. - * - * Added in Saleor 3.6. - */ - CHECKOUT_CALCULATE_TAXES = 'CHECKOUT_CALCULATE_TAXES', - /** A new checkout is created. */ - CHECKOUT_CREATED = 'CHECKOUT_CREATED', - /** Filter shipping methods for checkout. */ - CHECKOUT_FILTER_SHIPPING_METHODS = 'CHECKOUT_FILTER_SHIPPING_METHODS', - CHECKOUT_FULLY_PAID = 'CHECKOUT_FULLY_PAID', - /** - * A checkout metadata is updated. - * - * Added in Saleor 3.8. - */ - CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED', - /** A checkout is updated. It also triggers all updates related to the checkout. */ - CHECKOUT_UPDATED = 'CHECKOUT_UPDATED', - /** A new collection is created. */ - COLLECTION_CREATED = 'COLLECTION_CREATED', - /** A collection is deleted. */ - COLLECTION_DELETED = 'COLLECTION_DELETED', - /** - * A collection metadata is updated. - * - * Added in Saleor 3.8. - */ - COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED', - /** A collection is updated. */ - COLLECTION_UPDATED = 'COLLECTION_UPDATED', - /** A new customer account is created. */ - CUSTOMER_CREATED = 'CUSTOMER_CREATED', - /** A customer account is deleted. */ - CUSTOMER_DELETED = 'CUSTOMER_DELETED', - /** - * A customer account metadata is updated. - * - * Added in Saleor 3.8. - */ - CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED', - /** A customer account is updated. */ - CUSTOMER_UPDATED = 'CUSTOMER_UPDATED', - /** A draft order is created. */ - DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED', - /** A draft order is deleted. */ - DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED', - /** A draft order is updated. */ - DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED', - /** A fulfillment is approved. */ - FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED', - /** A fulfillment is cancelled. */ - FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', - /** A new fulfillment is created. */ - FULFILLMENT_CREATED = 'FULFILLMENT_CREATED', - /** - * A fulfillment metadata is updated. - * - * Added in Saleor 3.8. - */ - FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED', /** A new gift card created. */ GIFT_CARD_CREATED = 'GIFT_CARD_CREATED', + /** A gift card is updated. */ + GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED', /** A gift card is deleted. */ GIFT_CARD_DELETED = 'GIFT_CARD_DELETED', - /** - * A gift card metadata is updated. - * - * Added in Saleor 3.8. - */ - GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED', /** * A gift card has been sent. * @@ -6771,93 +6746,92 @@ export enum WebhookEventTypeEnum { GIFT_CARD_SENT = 'GIFT_CARD_SENT', /** A gift card status is changed. */ GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED', - /** A gift card is updated. */ - GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED', - /** An invoice is deleted. */ - INVOICE_DELETED = 'INVOICE_DELETED', - /** An invoice for order requested. */ - INVOICE_REQUESTED = 'INVOICE_REQUESTED', - /** Invoice has been sent. */ - INVOICE_SENT = 'INVOICE_SENT', + /** + * A gift card metadata is updated. + * + * Added in Saleor 3.8. + */ + GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED', /** A new menu created. */ MENU_CREATED = 'MENU_CREATED', + /** A menu is updated. */ + MENU_UPDATED = 'MENU_UPDATED', /** A menu is deleted. */ MENU_DELETED = 'MENU_DELETED', /** A new menu item created. */ MENU_ITEM_CREATED = 'MENU_ITEM_CREATED', - /** A menu item is deleted. */ - MENU_ITEM_DELETED = 'MENU_ITEM_DELETED', /** A menu item is updated. */ MENU_ITEM_UPDATED = 'MENU_ITEM_UPDATED', - /** A menu is updated. */ - MENU_UPDATED = 'MENU_UPDATED', - /** User notification triggered. */ - NOTIFY_USER = 'NOTIFY_USER', - /** An observability event is created. */ - OBSERVABILITY = 'OBSERVABILITY', - /** - * Event called for order tax calculation. - * - * Added in Saleor 3.6. - */ - ORDER_CALCULATE_TAXES = 'ORDER_CALCULATE_TAXES', - /** An order is cancelled. */ - ORDER_CANCELLED = 'ORDER_CANCELLED', - /** An order is confirmed (status change unconfirmed -> unfulfilled) by a staff user using the OrderConfirm mutation. It also triggers when the user completes the checkout and the shop setting `automatically_confirm_all_new_orders` is enabled. */ - ORDER_CONFIRMED = 'ORDER_CONFIRMED', + /** A menu item is deleted. */ + MENU_ITEM_DELETED = 'MENU_ITEM_DELETED', /** A new order is placed. */ ORDER_CREATED = 'ORDER_CREATED', - /** An order is expired. */ - ORDER_EXPIRED = 'ORDER_EXPIRED', - /** Filter shipping methods for order. */ - ORDER_FILTER_SHIPPING_METHODS = 'ORDER_FILTER_SHIPPING_METHODS', - /** An order is fulfilled. */ - ORDER_FULFILLED = 'ORDER_FULFILLED', + /** An order is confirmed (status change unconfirmed -> unfulfilled) by a staff user using the OrderConfirm mutation. It also triggers when the user completes the checkout and the shop setting `automatically_confirm_all_new_orders` is enabled. */ + ORDER_CONFIRMED = 'ORDER_CONFIRMED', /** Payment is made and an order is fully paid. */ ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', + /** An order is updated; triggered for all changes related to an order; covers all other order webhooks, except for ORDER_CREATED. */ + ORDER_UPDATED = 'ORDER_UPDATED', + /** An order is cancelled. */ + ORDER_CANCELLED = 'ORDER_CANCELLED', + /** An order is expired. */ + ORDER_EXPIRED = 'ORDER_EXPIRED', + /** An order is fulfilled. */ + ORDER_FULFILLED = 'ORDER_FULFILLED', /** * An order metadata is updated. * * Added in Saleor 3.8. */ ORDER_METADATA_UPDATED = 'ORDER_METADATA_UPDATED', - /** An order is updated; triggered for all changes related to an order; covers all other order webhooks, except for ORDER_CREATED. */ - ORDER_UPDATED = 'ORDER_UPDATED', - /** A new page is created. */ - PAGE_CREATED = 'PAGE_CREATED', - /** A page is deleted. */ - PAGE_DELETED = 'PAGE_DELETED', - /** A new page type is created. */ - PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', - /** A page type is deleted. */ - PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', - /** A page type is updated. */ - PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', - /** A page is updated. */ - PAGE_UPDATED = 'PAGE_UPDATED', - /** Authorize payment. */ - PAYMENT_AUTHORIZE = 'PAYMENT_AUTHORIZE', - /** Capture payment. */ - PAYMENT_CAPTURE = 'PAYMENT_CAPTURE', - /** Confirm payment. */ - PAYMENT_CONFIRM = 'PAYMENT_CONFIRM', - PAYMENT_GATEWAY_INITIALIZE_SESSION = 'PAYMENT_GATEWAY_INITIALIZE_SESSION', - /** Listing available payment gateways. */ - PAYMENT_LIST_GATEWAYS = 'PAYMENT_LIST_GATEWAYS', - /** Process payment. */ - PAYMENT_PROCESS = 'PAYMENT_PROCESS', - /** Refund payment. */ - PAYMENT_REFUND = 'PAYMENT_REFUND', - /** Void payment. */ - PAYMENT_VOID = 'PAYMENT_VOID', - /** A new permission group is created. */ - PERMISSION_GROUP_CREATED = 'PERMISSION_GROUP_CREATED', - /** A permission group is deleted. */ - PERMISSION_GROUP_DELETED = 'PERMISSION_GROUP_DELETED', - /** A permission group is updated. */ - PERMISSION_GROUP_UPDATED = 'PERMISSION_GROUP_UPDATED', + /** A draft order is created. */ + DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED', + /** A draft order is updated. */ + DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED', + /** A draft order is deleted. */ + DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED', + /** A sale is created. */ + SALE_CREATED = 'SALE_CREATED', + /** A sale is updated. */ + SALE_UPDATED = 'SALE_UPDATED', + /** A sale is deleted. */ + SALE_DELETED = 'SALE_DELETED', + /** A sale is activated or deactivated. */ + SALE_TOGGLE = 'SALE_TOGGLE', + /** An invoice for order requested. */ + INVOICE_REQUESTED = 'INVOICE_REQUESTED', + /** An invoice is deleted. */ + INVOICE_DELETED = 'INVOICE_DELETED', + /** Invoice has been sent. */ + INVOICE_SENT = 'INVOICE_SENT', + /** A new customer account is created. */ + CUSTOMER_CREATED = 'CUSTOMER_CREATED', + /** A customer account is updated. */ + CUSTOMER_UPDATED = 'CUSTOMER_UPDATED', + /** A customer account is deleted. */ + CUSTOMER_DELETED = 'CUSTOMER_DELETED', + /** + * A customer account metadata is updated. + * + * Added in Saleor 3.8. + */ + CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED', + /** A new collection is created. */ + COLLECTION_CREATED = 'COLLECTION_CREATED', + /** A collection is updated. */ + COLLECTION_UPDATED = 'COLLECTION_UPDATED', + /** A collection is deleted. */ + COLLECTION_DELETED = 'COLLECTION_DELETED', + /** + * A collection metadata is updated. + * + * Added in Saleor 3.8. + */ + COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED', /** A new product is created. */ PRODUCT_CREATED = 'PRODUCT_CREATED', + /** A product is updated. */ + PRODUCT_UPDATED = 'PRODUCT_UPDATED', /** A product is deleted. */ PRODUCT_DELETED = 'PRODUCT_DELETED', /** @@ -6866,62 +6840,95 @@ export enum WebhookEventTypeEnum { * Added in Saleor 3.12. */ PRODUCT_MEDIA_CREATED = 'PRODUCT_MEDIA_CREATED', - /** - * A product media is deleted. - * - * Added in Saleor 3.12. - */ - PRODUCT_MEDIA_DELETED = 'PRODUCT_MEDIA_DELETED', /** * A product media is updated. * * Added in Saleor 3.12. */ PRODUCT_MEDIA_UPDATED = 'PRODUCT_MEDIA_UPDATED', + /** + * A product media is deleted. + * + * Added in Saleor 3.12. + */ + PRODUCT_MEDIA_DELETED = 'PRODUCT_MEDIA_DELETED', /** * A product metadata is updated. * * Added in Saleor 3.8. */ PRODUCT_METADATA_UPDATED = 'PRODUCT_METADATA_UPDATED', - /** A product is updated. */ - PRODUCT_UPDATED = 'PRODUCT_UPDATED', - /** A product variant is back in stock. */ - PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK', /** A new product variant is created. */ PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED', + /** A product variant is updated. */ + PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED', /** A product variant is deleted. */ PRODUCT_VARIANT_DELETED = 'PRODUCT_VARIANT_DELETED', + /** A product variant is out of stock. */ + PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK', + /** A product variant is back in stock. */ + PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK', + /** A product variant stock is updated */ + PRODUCT_VARIANT_STOCK_UPDATED = 'PRODUCT_VARIANT_STOCK_UPDATED', /** * A product variant metadata is updated. * * Added in Saleor 3.8. */ PRODUCT_VARIANT_METADATA_UPDATED = 'PRODUCT_VARIANT_METADATA_UPDATED', - /** A product variant is out of stock. */ - PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK', - /** A product variant stock is updated */ - PRODUCT_VARIANT_STOCK_UPDATED = 'PRODUCT_VARIANT_STOCK_UPDATED', - /** A product variant is updated. */ - PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED', - /** A sale is created. */ - SALE_CREATED = 'SALE_CREATED', - /** A sale is deleted. */ - SALE_DELETED = 'SALE_DELETED', - /** A sale is activated or deactivated. */ - SALE_TOGGLE = 'SALE_TOGGLE', - /** A sale is updated. */ - SALE_UPDATED = 'SALE_UPDATED', - /** Fetch external shipping methods for checkout. */ - SHIPPING_LIST_METHODS_FOR_CHECKOUT = 'SHIPPING_LIST_METHODS_FOR_CHECKOUT', + /** A new checkout is created. */ + CHECKOUT_CREATED = 'CHECKOUT_CREATED', + /** A checkout is updated. It also triggers all updates related to the checkout. */ + CHECKOUT_UPDATED = 'CHECKOUT_UPDATED', + CHECKOUT_FULLY_PAID = 'CHECKOUT_FULLY_PAID', + /** + * A checkout metadata is updated. + * + * Added in Saleor 3.8. + */ + CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED', + /** A new fulfillment is created. */ + FULFILLMENT_CREATED = 'FULFILLMENT_CREATED', + /** A fulfillment is cancelled. */ + FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', + /** A fulfillment is approved. */ + FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED', + /** + * A fulfillment metadata is updated. + * + * Added in Saleor 3.8. + */ + FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED', + /** User notification triggered. */ + NOTIFY_USER = 'NOTIFY_USER', + /** A new page is created. */ + PAGE_CREATED = 'PAGE_CREATED', + /** A page is updated. */ + PAGE_UPDATED = 'PAGE_UPDATED', + /** A page is deleted. */ + PAGE_DELETED = 'PAGE_DELETED', + /** A new page type is created. */ + PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', + /** A page type is updated. */ + PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', + /** A page type is deleted. */ + PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', + /** A new permission group is created. */ + PERMISSION_GROUP_CREATED = 'PERMISSION_GROUP_CREATED', + /** A permission group is updated. */ + PERMISSION_GROUP_UPDATED = 'PERMISSION_GROUP_UPDATED', + /** A permission group is deleted. */ + PERMISSION_GROUP_DELETED = 'PERMISSION_GROUP_DELETED', /** A new shipping price is created. */ SHIPPING_PRICE_CREATED = 'SHIPPING_PRICE_CREATED', - /** A shipping price is deleted. */ - SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', /** A shipping price is updated. */ SHIPPING_PRICE_UPDATED = 'SHIPPING_PRICE_UPDATED', + /** A shipping price is deleted. */ + SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', /** A new shipping zone is created. */ SHIPPING_ZONE_CREATED = 'SHIPPING_ZONE_CREATED', + /** A shipping zone is updated. */ + SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED', /** A shipping zone is deleted. */ SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED', /** @@ -6930,20 +6937,12 @@ export enum WebhookEventTypeEnum { * Added in Saleor 3.8. */ SHIPPING_ZONE_METADATA_UPDATED = 'SHIPPING_ZONE_METADATA_UPDATED', - /** A shipping zone is updated. */ - SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED', /** A new staff user is created. */ STAFF_CREATED = 'STAFF_CREATED', - /** A staff user is deleted. */ - STAFF_DELETED = 'STAFF_DELETED', /** A staff user is updated. */ STAFF_UPDATED = 'STAFF_UPDATED', - /** - * A thumbnail is created. - * - * Added in Saleor 3.12. - */ - THUMBNAIL_CREATED = 'THUMBNAIL_CREATED', + /** A staff user is deleted. */ + STAFF_DELETED = 'STAFF_DELETED', /** * An action requested for transaction. * @@ -6951,13 +6950,61 @@ export enum WebhookEventTypeEnum { */ TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST', /** - * Event called when cancel has been requested for transaction. + * Transaction item metadata is updated. * - * Added in Saleor 3.13. - * - * Note: this API is currently in Feature Preview and can be subject to changes at later point. + * Added in Saleor 3.8. */ - TRANSACTION_CANCELATION_REQUESTED = 'TRANSACTION_CANCELATION_REQUESTED', + TRANSACTION_ITEM_METADATA_UPDATED = 'TRANSACTION_ITEM_METADATA_UPDATED', + /** A new translation is created. */ + TRANSLATION_CREATED = 'TRANSLATION_CREATED', + /** A translation is updated. */ + TRANSLATION_UPDATED = 'TRANSLATION_UPDATED', + /** A new warehouse created. */ + WAREHOUSE_CREATED = 'WAREHOUSE_CREATED', + /** A warehouse is updated. */ + WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED', + /** A warehouse is deleted. */ + WAREHOUSE_DELETED = 'WAREHOUSE_DELETED', + /** + * A warehouse metadata is updated. + * + * Added in Saleor 3.8. + */ + WAREHOUSE_METADATA_UPDATED = 'WAREHOUSE_METADATA_UPDATED', + /** A new voucher created. */ + VOUCHER_CREATED = 'VOUCHER_CREATED', + /** A voucher is updated. */ + VOUCHER_UPDATED = 'VOUCHER_UPDATED', + /** A voucher is deleted. */ + VOUCHER_DELETED = 'VOUCHER_DELETED', + /** + * A voucher metadata is updated. + * + * Added in Saleor 3.8. + */ + VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED', + /** An observability event is created. */ + OBSERVABILITY = 'OBSERVABILITY', + /** + * A thumbnail is created. + * + * Added in Saleor 3.12. + */ + THUMBNAIL_CREATED = 'THUMBNAIL_CREATED', + /** Authorize payment. */ + PAYMENT_AUTHORIZE = 'PAYMENT_AUTHORIZE', + /** Capture payment. */ + PAYMENT_CAPTURE = 'PAYMENT_CAPTURE', + /** Confirm payment. */ + PAYMENT_CONFIRM = 'PAYMENT_CONFIRM', + /** Listing available payment gateways. */ + PAYMENT_LIST_GATEWAYS = 'PAYMENT_LIST_GATEWAYS', + /** Process payment. */ + PAYMENT_PROCESS = 'PAYMENT_PROCESS', + /** Refund payment. */ + PAYMENT_REFUND = 'PAYMENT_REFUND', + /** Void payment. */ + PAYMENT_VOID = 'PAYMENT_VOID', /** * Event called when charge has been requested for transaction. * @@ -6966,14 +7013,6 @@ export enum WebhookEventTypeEnum { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ TRANSACTION_CHARGE_REQUESTED = 'TRANSACTION_CHARGE_REQUESTED', - TRANSACTION_INITIALIZE_SESSION = 'TRANSACTION_INITIALIZE_SESSION', - /** - * Transaction item metadata is updated. - * - * Added in Saleor 3.8. - */ - TRANSACTION_ITEM_METADATA_UPDATED = 'TRANSACTION_ITEM_METADATA_UPDATED', - TRANSACTION_PROCESS_SESSION = 'TRANSACTION_PROCESS_SESSION', /** * Event called when refund has been requested for transaction. * @@ -6982,71 +7021,6 @@ export enum WebhookEventTypeEnum { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ TRANSACTION_REFUND_REQUESTED = 'TRANSACTION_REFUND_REQUESTED', - /** A new translation is created. */ - TRANSLATION_CREATED = 'TRANSLATION_CREATED', - /** A translation is updated. */ - TRANSLATION_UPDATED = 'TRANSLATION_UPDATED', - /** A new voucher created. */ - VOUCHER_CREATED = 'VOUCHER_CREATED', - /** A voucher is deleted. */ - VOUCHER_DELETED = 'VOUCHER_DELETED', - /** - * A voucher metadata is updated. - * - * Added in Saleor 3.8. - */ - VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED', - /** A voucher is updated. */ - VOUCHER_UPDATED = 'VOUCHER_UPDATED', - /** A new warehouse created. */ - WAREHOUSE_CREATED = 'WAREHOUSE_CREATED', - /** A warehouse is deleted. */ - WAREHOUSE_DELETED = 'WAREHOUSE_DELETED', - /** - * A warehouse metadata is updated. - * - * Added in Saleor 3.8. - */ - WAREHOUSE_METADATA_UPDATED = 'WAREHOUSE_METADATA_UPDATED', - /** A warehouse is updated. */ - WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED' -} - -/** Enum determining type of webhook. */ -export enum WebhookEventTypeSyncEnum { - /** - * Event called for checkout tax calculation. - * - * Added in Saleor 3.6. - */ - CHECKOUT_CALCULATE_TAXES = 'CHECKOUT_CALCULATE_TAXES', - /** Filter shipping methods for checkout. */ - CHECKOUT_FILTER_SHIPPING_METHODS = 'CHECKOUT_FILTER_SHIPPING_METHODS', - /** - * Event called for order tax calculation. - * - * Added in Saleor 3.6. - */ - ORDER_CALCULATE_TAXES = 'ORDER_CALCULATE_TAXES', - /** Filter shipping methods for order. */ - ORDER_FILTER_SHIPPING_METHODS = 'ORDER_FILTER_SHIPPING_METHODS', - /** Authorize payment. */ - PAYMENT_AUTHORIZE = 'PAYMENT_AUTHORIZE', - /** Capture payment. */ - PAYMENT_CAPTURE = 'PAYMENT_CAPTURE', - /** Confirm payment. */ - PAYMENT_CONFIRM = 'PAYMENT_CONFIRM', - PAYMENT_GATEWAY_INITIALIZE_SESSION = 'PAYMENT_GATEWAY_INITIALIZE_SESSION', - /** Listing available payment gateways. */ - PAYMENT_LIST_GATEWAYS = 'PAYMENT_LIST_GATEWAYS', - /** Process payment. */ - PAYMENT_PROCESS = 'PAYMENT_PROCESS', - /** Refund payment. */ - PAYMENT_REFUND = 'PAYMENT_REFUND', - /** Void payment. */ - PAYMENT_VOID = 'PAYMENT_VOID', - /** Fetch external shipping methods for checkout. */ - SHIPPING_LIST_METHODS_FOR_CHECKOUT = 'SHIPPING_LIST_METHODS_FOR_CHECKOUT', /** * Event called when cancel has been requested for transaction. * @@ -7055,6 +7029,45 @@ export enum WebhookEventTypeSyncEnum { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ TRANSACTION_CANCELATION_REQUESTED = 'TRANSACTION_CANCELATION_REQUESTED', + /** + * Event called for checkout tax calculation. + * + * Added in Saleor 3.6. + */ + CHECKOUT_CALCULATE_TAXES = 'CHECKOUT_CALCULATE_TAXES', + /** + * Event called for order tax calculation. + * + * Added in Saleor 3.6. + */ + ORDER_CALCULATE_TAXES = 'ORDER_CALCULATE_TAXES', + /** Fetch external shipping methods for checkout. */ + SHIPPING_LIST_METHODS_FOR_CHECKOUT = 'SHIPPING_LIST_METHODS_FOR_CHECKOUT', + /** Filter shipping methods for order. */ + ORDER_FILTER_SHIPPING_METHODS = 'ORDER_FILTER_SHIPPING_METHODS', + /** Filter shipping methods for checkout. */ + CHECKOUT_FILTER_SHIPPING_METHODS = 'CHECKOUT_FILTER_SHIPPING_METHODS', + PAYMENT_GATEWAY_INITIALIZE_SESSION = 'PAYMENT_GATEWAY_INITIALIZE_SESSION', + TRANSACTION_INITIALIZE_SESSION = 'TRANSACTION_INITIALIZE_SESSION', + TRANSACTION_PROCESS_SESSION = 'TRANSACTION_PROCESS_SESSION' +} + +/** Enum determining type of webhook. */ +export enum WebhookEventTypeSyncEnum { + /** Authorize payment. */ + PAYMENT_AUTHORIZE = 'PAYMENT_AUTHORIZE', + /** Capture payment. */ + PAYMENT_CAPTURE = 'PAYMENT_CAPTURE', + /** Confirm payment. */ + PAYMENT_CONFIRM = 'PAYMENT_CONFIRM', + /** Listing available payment gateways. */ + PAYMENT_LIST_GATEWAYS = 'PAYMENT_LIST_GATEWAYS', + /** Process payment. */ + PAYMENT_PROCESS = 'PAYMENT_PROCESS', + /** Refund payment. */ + PAYMENT_REFUND = 'PAYMENT_REFUND', + /** Void payment. */ + PAYMENT_VOID = 'PAYMENT_VOID', /** * Event called when charge has been requested for transaction. * @@ -7063,8 +7076,6 @@ export enum WebhookEventTypeSyncEnum { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ TRANSACTION_CHARGE_REQUESTED = 'TRANSACTION_CHARGE_REQUESTED', - TRANSACTION_INITIALIZE_SESSION = 'TRANSACTION_INITIALIZE_SESSION', - TRANSACTION_PROCESS_SESSION = 'TRANSACTION_PROCESS_SESSION', /** * Event called when refund has been requested for transaction. * @@ -7072,146 +7083,201 @@ export enum WebhookEventTypeSyncEnum { * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ - TRANSACTION_REFUND_REQUESTED = 'TRANSACTION_REFUND_REQUESTED' + TRANSACTION_REFUND_REQUESTED = 'TRANSACTION_REFUND_REQUESTED', + /** + * Event called when cancel has been requested for transaction. + * + * Added in Saleor 3.13. + * + * Note: this API is currently in Feature Preview and can be subject to changes at later point. + */ + TRANSACTION_CANCELATION_REQUESTED = 'TRANSACTION_CANCELATION_REQUESTED', + /** + * Event called for checkout tax calculation. + * + * Added in Saleor 3.6. + */ + CHECKOUT_CALCULATE_TAXES = 'CHECKOUT_CALCULATE_TAXES', + /** + * Event called for order tax calculation. + * + * Added in Saleor 3.6. + */ + ORDER_CALCULATE_TAXES = 'ORDER_CALCULATE_TAXES', + /** Fetch external shipping methods for checkout. */ + SHIPPING_LIST_METHODS_FOR_CHECKOUT = 'SHIPPING_LIST_METHODS_FOR_CHECKOUT', + /** Filter shipping methods for order. */ + ORDER_FILTER_SHIPPING_METHODS = 'ORDER_FILTER_SHIPPING_METHODS', + /** Filter shipping methods for checkout. */ + CHECKOUT_FILTER_SHIPPING_METHODS = 'CHECKOUT_FILTER_SHIPPING_METHODS', + PAYMENT_GATEWAY_INITIALIZE_SESSION = 'PAYMENT_GATEWAY_INITIALIZE_SESSION', + TRANSACTION_INITIALIZE_SESSION = 'TRANSACTION_INITIALIZE_SESSION', + TRANSACTION_PROCESS_SESSION = 'TRANSACTION_PROCESS_SESSION' } /** An enumeration. */ export enum WebhookSampleEventTypeEnum { ADDRESS_CREATED = 'ADDRESS_CREATED', - ADDRESS_DELETED = 'ADDRESS_DELETED', ADDRESS_UPDATED = 'ADDRESS_UPDATED', - APP_DELETED = 'APP_DELETED', + ADDRESS_DELETED = 'ADDRESS_DELETED', APP_INSTALLED = 'APP_INSTALLED', - APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', APP_UPDATED = 'APP_UPDATED', + APP_DELETED = 'APP_DELETED', + APP_STATUS_CHANGED = 'APP_STATUS_CHANGED', ATTRIBUTE_CREATED = 'ATTRIBUTE_CREATED', - ATTRIBUTE_DELETED = 'ATTRIBUTE_DELETED', ATTRIBUTE_UPDATED = 'ATTRIBUTE_UPDATED', + ATTRIBUTE_DELETED = 'ATTRIBUTE_DELETED', ATTRIBUTE_VALUE_CREATED = 'ATTRIBUTE_VALUE_CREATED', - ATTRIBUTE_VALUE_DELETED = 'ATTRIBUTE_VALUE_DELETED', ATTRIBUTE_VALUE_UPDATED = 'ATTRIBUTE_VALUE_UPDATED', + ATTRIBUTE_VALUE_DELETED = 'ATTRIBUTE_VALUE_DELETED', CATEGORY_CREATED = 'CATEGORY_CREATED', - CATEGORY_DELETED = 'CATEGORY_DELETED', CATEGORY_UPDATED = 'CATEGORY_UPDATED', + CATEGORY_DELETED = 'CATEGORY_DELETED', CHANNEL_CREATED = 'CHANNEL_CREATED', + CHANNEL_UPDATED = 'CHANNEL_UPDATED', CHANNEL_DELETED = 'CHANNEL_DELETED', CHANNEL_STATUS_CHANGED = 'CHANNEL_STATUS_CHANGED', - CHANNEL_UPDATED = 'CHANNEL_UPDATED', - CHECKOUT_CREATED = 'CHECKOUT_CREATED', - CHECKOUT_FULLY_PAID = 'CHECKOUT_FULLY_PAID', - CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED', - CHECKOUT_UPDATED = 'CHECKOUT_UPDATED', - COLLECTION_CREATED = 'COLLECTION_CREATED', - COLLECTION_DELETED = 'COLLECTION_DELETED', - COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED', - COLLECTION_UPDATED = 'COLLECTION_UPDATED', - CUSTOMER_CREATED = 'CUSTOMER_CREATED', - CUSTOMER_DELETED = 'CUSTOMER_DELETED', - CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED', - CUSTOMER_UPDATED = 'CUSTOMER_UPDATED', - DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED', - DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED', - DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED', - FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED', - FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', - FULFILLMENT_CREATED = 'FULFILLMENT_CREATED', - FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED', GIFT_CARD_CREATED = 'GIFT_CARD_CREATED', + GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED', GIFT_CARD_DELETED = 'GIFT_CARD_DELETED', - GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED', GIFT_CARD_SENT = 'GIFT_CARD_SENT', GIFT_CARD_STATUS_CHANGED = 'GIFT_CARD_STATUS_CHANGED', - GIFT_CARD_UPDATED = 'GIFT_CARD_UPDATED', - INVOICE_DELETED = 'INVOICE_DELETED', - INVOICE_REQUESTED = 'INVOICE_REQUESTED', - INVOICE_SENT = 'INVOICE_SENT', + GIFT_CARD_METADATA_UPDATED = 'GIFT_CARD_METADATA_UPDATED', MENU_CREATED = 'MENU_CREATED', + MENU_UPDATED = 'MENU_UPDATED', MENU_DELETED = 'MENU_DELETED', MENU_ITEM_CREATED = 'MENU_ITEM_CREATED', - MENU_ITEM_DELETED = 'MENU_ITEM_DELETED', MENU_ITEM_UPDATED = 'MENU_ITEM_UPDATED', - MENU_UPDATED = 'MENU_UPDATED', - NOTIFY_USER = 'NOTIFY_USER', - OBSERVABILITY = 'OBSERVABILITY', - ORDER_CANCELLED = 'ORDER_CANCELLED', - ORDER_CONFIRMED = 'ORDER_CONFIRMED', + MENU_ITEM_DELETED = 'MENU_ITEM_DELETED', ORDER_CREATED = 'ORDER_CREATED', + ORDER_CONFIRMED = 'ORDER_CONFIRMED', + ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', + ORDER_UPDATED = 'ORDER_UPDATED', + ORDER_CANCELLED = 'ORDER_CANCELLED', ORDER_EXPIRED = 'ORDER_EXPIRED', ORDER_FULFILLED = 'ORDER_FULFILLED', - ORDER_FULLY_PAID = 'ORDER_FULLY_PAID', ORDER_METADATA_UPDATED = 'ORDER_METADATA_UPDATED', - ORDER_UPDATED = 'ORDER_UPDATED', - PAGE_CREATED = 'PAGE_CREATED', - PAGE_DELETED = 'PAGE_DELETED', - PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', - PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', - PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', - PAGE_UPDATED = 'PAGE_UPDATED', - PERMISSION_GROUP_CREATED = 'PERMISSION_GROUP_CREATED', - PERMISSION_GROUP_DELETED = 'PERMISSION_GROUP_DELETED', - PERMISSION_GROUP_UPDATED = 'PERMISSION_GROUP_UPDATED', - PRODUCT_CREATED = 'PRODUCT_CREATED', - PRODUCT_DELETED = 'PRODUCT_DELETED', - PRODUCT_MEDIA_CREATED = 'PRODUCT_MEDIA_CREATED', - PRODUCT_MEDIA_DELETED = 'PRODUCT_MEDIA_DELETED', - PRODUCT_MEDIA_UPDATED = 'PRODUCT_MEDIA_UPDATED', - PRODUCT_METADATA_UPDATED = 'PRODUCT_METADATA_UPDATED', - PRODUCT_UPDATED = 'PRODUCT_UPDATED', - PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK', - PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED', - PRODUCT_VARIANT_DELETED = 'PRODUCT_VARIANT_DELETED', - PRODUCT_VARIANT_METADATA_UPDATED = 'PRODUCT_VARIANT_METADATA_UPDATED', - PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK', - PRODUCT_VARIANT_STOCK_UPDATED = 'PRODUCT_VARIANT_STOCK_UPDATED', - PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED', + DRAFT_ORDER_CREATED = 'DRAFT_ORDER_CREATED', + DRAFT_ORDER_UPDATED = 'DRAFT_ORDER_UPDATED', + DRAFT_ORDER_DELETED = 'DRAFT_ORDER_DELETED', SALE_CREATED = 'SALE_CREATED', + SALE_UPDATED = 'SALE_UPDATED', SALE_DELETED = 'SALE_DELETED', SALE_TOGGLE = 'SALE_TOGGLE', - SALE_UPDATED = 'SALE_UPDATED', + INVOICE_REQUESTED = 'INVOICE_REQUESTED', + INVOICE_DELETED = 'INVOICE_DELETED', + INVOICE_SENT = 'INVOICE_SENT', + CUSTOMER_CREATED = 'CUSTOMER_CREATED', + CUSTOMER_UPDATED = 'CUSTOMER_UPDATED', + CUSTOMER_DELETED = 'CUSTOMER_DELETED', + CUSTOMER_METADATA_UPDATED = 'CUSTOMER_METADATA_UPDATED', + COLLECTION_CREATED = 'COLLECTION_CREATED', + COLLECTION_UPDATED = 'COLLECTION_UPDATED', + COLLECTION_DELETED = 'COLLECTION_DELETED', + COLLECTION_METADATA_UPDATED = 'COLLECTION_METADATA_UPDATED', + PRODUCT_CREATED = 'PRODUCT_CREATED', + PRODUCT_UPDATED = 'PRODUCT_UPDATED', + PRODUCT_DELETED = 'PRODUCT_DELETED', + PRODUCT_MEDIA_CREATED = 'PRODUCT_MEDIA_CREATED', + PRODUCT_MEDIA_UPDATED = 'PRODUCT_MEDIA_UPDATED', + PRODUCT_MEDIA_DELETED = 'PRODUCT_MEDIA_DELETED', + PRODUCT_METADATA_UPDATED = 'PRODUCT_METADATA_UPDATED', + PRODUCT_VARIANT_CREATED = 'PRODUCT_VARIANT_CREATED', + PRODUCT_VARIANT_UPDATED = 'PRODUCT_VARIANT_UPDATED', + PRODUCT_VARIANT_DELETED = 'PRODUCT_VARIANT_DELETED', + PRODUCT_VARIANT_OUT_OF_STOCK = 'PRODUCT_VARIANT_OUT_OF_STOCK', + PRODUCT_VARIANT_BACK_IN_STOCK = 'PRODUCT_VARIANT_BACK_IN_STOCK', + PRODUCT_VARIANT_STOCK_UPDATED = 'PRODUCT_VARIANT_STOCK_UPDATED', + PRODUCT_VARIANT_METADATA_UPDATED = 'PRODUCT_VARIANT_METADATA_UPDATED', + CHECKOUT_CREATED = 'CHECKOUT_CREATED', + CHECKOUT_UPDATED = 'CHECKOUT_UPDATED', + CHECKOUT_FULLY_PAID = 'CHECKOUT_FULLY_PAID', + CHECKOUT_METADATA_UPDATED = 'CHECKOUT_METADATA_UPDATED', + FULFILLMENT_CREATED = 'FULFILLMENT_CREATED', + FULFILLMENT_CANCELED = 'FULFILLMENT_CANCELED', + FULFILLMENT_APPROVED = 'FULFILLMENT_APPROVED', + FULFILLMENT_METADATA_UPDATED = 'FULFILLMENT_METADATA_UPDATED', + NOTIFY_USER = 'NOTIFY_USER', + PAGE_CREATED = 'PAGE_CREATED', + PAGE_UPDATED = 'PAGE_UPDATED', + PAGE_DELETED = 'PAGE_DELETED', + PAGE_TYPE_CREATED = 'PAGE_TYPE_CREATED', + PAGE_TYPE_UPDATED = 'PAGE_TYPE_UPDATED', + PAGE_TYPE_DELETED = 'PAGE_TYPE_DELETED', + PERMISSION_GROUP_CREATED = 'PERMISSION_GROUP_CREATED', + PERMISSION_GROUP_UPDATED = 'PERMISSION_GROUP_UPDATED', + PERMISSION_GROUP_DELETED = 'PERMISSION_GROUP_DELETED', SHIPPING_PRICE_CREATED = 'SHIPPING_PRICE_CREATED', - SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', SHIPPING_PRICE_UPDATED = 'SHIPPING_PRICE_UPDATED', + SHIPPING_PRICE_DELETED = 'SHIPPING_PRICE_DELETED', SHIPPING_ZONE_CREATED = 'SHIPPING_ZONE_CREATED', + SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED', SHIPPING_ZONE_DELETED = 'SHIPPING_ZONE_DELETED', SHIPPING_ZONE_METADATA_UPDATED = 'SHIPPING_ZONE_METADATA_UPDATED', - SHIPPING_ZONE_UPDATED = 'SHIPPING_ZONE_UPDATED', STAFF_CREATED = 'STAFF_CREATED', - STAFF_DELETED = 'STAFF_DELETED', STAFF_UPDATED = 'STAFF_UPDATED', - THUMBNAIL_CREATED = 'THUMBNAIL_CREATED', + STAFF_DELETED = 'STAFF_DELETED', TRANSACTION_ACTION_REQUEST = 'TRANSACTION_ACTION_REQUEST', TRANSACTION_ITEM_METADATA_UPDATED = 'TRANSACTION_ITEM_METADATA_UPDATED', TRANSLATION_CREATED = 'TRANSLATION_CREATED', TRANSLATION_UPDATED = 'TRANSLATION_UPDATED', - VOUCHER_CREATED = 'VOUCHER_CREATED', - VOUCHER_DELETED = 'VOUCHER_DELETED', - VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED', - VOUCHER_UPDATED = 'VOUCHER_UPDATED', WAREHOUSE_CREATED = 'WAREHOUSE_CREATED', + WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED', WAREHOUSE_DELETED = 'WAREHOUSE_DELETED', WAREHOUSE_METADATA_UPDATED = 'WAREHOUSE_METADATA_UPDATED', - WAREHOUSE_UPDATED = 'WAREHOUSE_UPDATED' + VOUCHER_CREATED = 'VOUCHER_CREATED', + VOUCHER_UPDATED = 'VOUCHER_UPDATED', + VOUCHER_DELETED = 'VOUCHER_DELETED', + VOUCHER_METADATA_UPDATED = 'VOUCHER_METADATA_UPDATED', + OBSERVABILITY = 'OBSERVABILITY', + THUMBNAIL_CREATED = 'THUMBNAIL_CREATED' } /** An enumeration. */ export enum WebhookTriggerErrorCode { GRAPHQL_ERROR = 'GRAPHQL_ERROR', - INVALID_ID = 'INVALID_ID', - MISSING_EVENT = 'MISSING_EVENT', - MISSING_PERMISSION = 'MISSING_PERMISSION', - MISSING_QUERY = 'MISSING_QUERY', - MISSING_SUBSCRIPTION = 'MISSING_SUBSCRIPTION', NOT_FOUND = 'NOT_FOUND', - SYNTAX = 'SYNTAX', + INVALID_ID = 'INVALID_ID', + MISSING_PERMISSION = 'MISSING_PERMISSION', TYPE_NOT_SUPPORTED = 'TYPE_NOT_SUPPORTED', - UNABLE_TO_PARSE = 'UNABLE_TO_PARSE' + SYNTAX = 'SYNTAX', + MISSING_SUBSCRIPTION = 'MISSING_SUBSCRIPTION', + UNABLE_TO_PARSE = 'UNABLE_TO_PARSE', + MISSING_QUERY = 'MISSING_QUERY', + MISSING_EVENT = 'MISSING_EVENT' } export type WebhookUpdateInput = { - /** ID of the app to which webhook belongs. */ - app?: InputMaybe; + /** The new name of the webhook. */ + name?: InputMaybe; + /** The url to receive the payload. */ + targetUrl?: InputMaybe; + /** + * The events that webhook wants to subscribe. + * + * DEPRECATED: this field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead. + */ + events?: InputMaybe>; /** The asynchronous events that webhook wants to subscribe. */ asyncEvents?: InputMaybe>; + /** The synchronous events that webhook wants to subscribe. */ + syncEvents?: InputMaybe>; + /** ID of the app to which webhook belongs. */ + app?: InputMaybe; + /** Determine if webhook will be set active or not. */ + isActive?: InputMaybe; + /** + * Use to create a hash signature with each payload. + * + * DEPRECATED: this field will be removed in Saleor 4.0. As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS. + */ + secretKey?: InputMaybe; + /** + * Subscription query used to define a webhook payload. + * + * Added in Saleor 3.2. + */ + query?: InputMaybe; /** * Custom headers, which will be added to HTTP request. There is a limitation of 5 headers per webhook and 998 characters per header.Only "X-*" and "Authorization*" keys are allowed. * @@ -7220,40 +7286,14 @@ export type WebhookUpdateInput = { * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ customHeaders?: InputMaybe; - /** - * The events that webhook wants to subscribe. - * - * DEPRECATED: this field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead. - */ - events?: InputMaybe>; - /** Determine if webhook will be set active or not. */ - isActive?: InputMaybe; - /** The new name of the webhook. */ - name?: InputMaybe; - /** - * Subscription query used to define a webhook payload. - * - * Added in Saleor 3.2. - */ - query?: InputMaybe; - /** - * Use to create a hash signature with each payload. - * - * DEPRECATED: this field will be removed in Saleor 4.0. As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS. - */ - secretKey?: InputMaybe; - /** The synchronous events that webhook wants to subscribe. */ - syncEvents?: InputMaybe>; - /** The url to receive the payload. */ - targetUrl?: InputMaybe; }; /** An enumeration. */ export enum WeightUnitsEnum { G = 'G', - KG = 'KG', LB = 'LB', OZ = 'OZ', + KG = 'KG', TONNE = 'TONNE' } @@ -8387,7 +8427,7 @@ export type FulfillmentFragment = { __typename: 'Fulfillment', id: string, fulfi export type InvoiceFragment = { __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }; -export type OrderDetailsFragment = { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> }; +export type OrderDetailsFragment = { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> }; export type OrderSettingsFragment = { __typename: 'OrderSettings', automaticallyConfirmAllNewOrders: boolean, automaticallyFulfillNonShippableGiftCard: boolean }; @@ -8397,9 +8437,9 @@ export type OrderFulfillLineFragment = { __typename: 'OrderLine', id: string, is export type OrderLineStockDataFragment = { __typename: 'OrderLine', id: string, quantity: number, quantityToFulfill: number, allocations: Array<{ __typename: 'Allocation', quantity: number, warehouse: { __typename: 'Warehouse', id: string } }> | null, variant: { __typename: 'ProductVariant', stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null } | null }; -export type TransactionEventFragment = { __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }; +export type TransactionEventFragment = { __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }; -export type TransactionItemFragment = { __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }; +export type TransactionItemFragment = { __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }; export type OrderPaymentFragment = { __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }; @@ -8795,7 +8835,7 @@ export type OrderCancelMutationVariables = Exact<{ }>; -export type OrderCancelMutation = { __typename: 'Mutation', orderCancel: { __typename: 'OrderCancel', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderCancelMutation = { __typename: 'Mutation', orderCancel: { __typename: 'OrderCancel', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderDiscountAddMutationVariables = Exact<{ input: OrderDiscountCommonInput; @@ -8803,21 +8843,21 @@ export type OrderDiscountAddMutationVariables = Exact<{ }>; -export type OrderDiscountAddMutation = { __typename: 'Mutation', orderDiscountAdd: { __typename: 'OrderDiscountAdd', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderDiscountAddMutation = { __typename: 'Mutation', orderDiscountAdd: { __typename: 'OrderDiscountAdd', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderDiscountDeleteMutationVariables = Exact<{ discountId: Scalars['ID']; }>; -export type OrderDiscountDeleteMutation = { __typename: 'Mutation', orderDiscountDelete: { __typename: 'OrderDiscountDelete', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderDiscountDeleteMutation = { __typename: 'Mutation', orderDiscountDelete: { __typename: 'OrderDiscountDelete', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderLineDiscountRemoveMutationVariables = Exact<{ orderLineId: Scalars['ID']; }>; -export type OrderLineDiscountRemoveMutation = { __typename: 'Mutation', orderLineDiscountRemove: { __typename: 'OrderLineDiscountRemove', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderLineDiscountRemoveMutation = { __typename: 'Mutation', orderLineDiscountRemove: { __typename: 'OrderLineDiscountRemove', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderLineDiscountUpdateMutationVariables = Exact<{ input: OrderDiscountCommonInput; @@ -8825,7 +8865,7 @@ export type OrderLineDiscountUpdateMutationVariables = Exact<{ }>; -export type OrderLineDiscountUpdateMutation = { __typename: 'Mutation', orderLineDiscountUpdate: { __typename: 'OrderLineDiscountUpdate', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderLineDiscountUpdateMutation = { __typename: 'Mutation', orderLineDiscountUpdate: { __typename: 'OrderLineDiscountUpdate', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderDiscountUpdateMutationVariables = Exact<{ input: OrderDiscountCommonInput; @@ -8833,14 +8873,14 @@ export type OrderDiscountUpdateMutationVariables = Exact<{ }>; -export type OrderDiscountUpdateMutation = { __typename: 'Mutation', orderDiscountUpdate: { __typename: 'OrderDiscountUpdate', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderDiscountUpdateMutation = { __typename: 'Mutation', orderDiscountUpdate: { __typename: 'OrderDiscountUpdate', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderDraftCancelMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type OrderDraftCancelMutation = { __typename: 'Mutation', draftOrderDelete: { __typename: 'DraftOrderDelete', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderDraftCancelMutation = { __typename: 'Mutation', draftOrderDelete: { __typename: 'DraftOrderDelete', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderDraftBulkCancelMutationVariables = Exact<{ ids: Array | Scalars['ID']; @@ -8854,14 +8894,14 @@ export type OrderConfirmMutationVariables = Exact<{ }>; -export type OrderConfirmMutation = { __typename: 'Mutation', orderConfirm: { __typename: 'OrderConfirm', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderConfirmMutation = { __typename: 'Mutation', orderConfirm: { __typename: 'OrderConfirm', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderDraftFinalizeMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type OrderDraftFinalizeMutation = { __typename: 'Mutation', draftOrderComplete: { __typename: 'DraftOrderComplete', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderDraftFinalizeMutation = { __typename: 'Mutation', draftOrderComplete: { __typename: 'DraftOrderComplete', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type FulfillmentReturnProductsMutationVariables = Exact<{ id: Scalars['ID']; @@ -8877,7 +8917,7 @@ export type OrderRefundMutationVariables = Exact<{ }>; -export type OrderRefundMutation = { __typename: 'Mutation', orderRefund: { __typename: 'OrderRefund', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderRefundMutation = { __typename: 'Mutation', orderRefund: { __typename: 'OrderRefund', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderFulfillmentRefundProductsMutationVariables = Exact<{ input: OrderRefundProductsInput; @@ -8885,14 +8925,14 @@ export type OrderFulfillmentRefundProductsMutationVariables = Exact<{ }>; -export type OrderFulfillmentRefundProductsMutation = { __typename: 'Mutation', orderFulfillmentRefundProducts: { __typename: 'FulfillmentRefundProducts', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, fulfillment: { __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null } | null, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderFulfillmentRefundProductsMutation = { __typename: 'Mutation', orderFulfillmentRefundProducts: { __typename: 'FulfillmentRefundProducts', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, fulfillment: { __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null } | null, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderVoidMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type OrderVoidMutation = { __typename: 'Mutation', orderVoid: { __typename: 'OrderVoid', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderVoidMutation = { __typename: 'Mutation', orderVoid: { __typename: 'OrderVoid', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderMarkAsPaidMutationVariables = Exact<{ id: Scalars['ID']; @@ -8900,7 +8940,7 @@ export type OrderMarkAsPaidMutationVariables = Exact<{ }>; -export type OrderMarkAsPaidMutation = { __typename: 'Mutation', orderMarkAsPaid: { __typename: 'OrderMarkAsPaid', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderMarkAsPaidMutation = { __typename: 'Mutation', orderMarkAsPaid: { __typename: 'OrderMarkAsPaid', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderCaptureMutationVariables = Exact<{ id: Scalars['ID']; @@ -8908,7 +8948,7 @@ export type OrderCaptureMutationVariables = Exact<{ }>; -export type OrderCaptureMutation = { __typename: 'Mutation', orderCapture: { __typename: 'OrderCapture', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderCaptureMutation = { __typename: 'Mutation', orderCapture: { __typename: 'OrderCapture', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderFulfillmentUpdateTrackingMutationVariables = Exact<{ id: Scalars['ID']; @@ -8916,7 +8956,7 @@ export type OrderFulfillmentUpdateTrackingMutationVariables = Exact<{ }>; -export type OrderFulfillmentUpdateTrackingMutation = { __typename: 'Mutation', orderFulfillmentUpdateTracking: { __typename: 'FulfillmentUpdateTracking', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderFulfillmentUpdateTrackingMutation = { __typename: 'Mutation', orderFulfillmentUpdateTracking: { __typename: 'FulfillmentUpdateTracking', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderFulfillmentApproveMutationVariables = Exact<{ id: Scalars['ID']; @@ -8925,7 +8965,7 @@ export type OrderFulfillmentApproveMutationVariables = Exact<{ }>; -export type OrderFulfillmentApproveMutation = { __typename: 'Mutation', orderFulfillmentApprove: { __typename: 'FulfillmentApprove', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderFulfillmentApproveMutation = { __typename: 'Mutation', orderFulfillmentApprove: { __typename: 'FulfillmentApprove', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderFulfillmentCancelMutationVariables = Exact<{ id: Scalars['ID']; @@ -8933,7 +8973,7 @@ export type OrderFulfillmentCancelMutationVariables = Exact<{ }>; -export type OrderFulfillmentCancelMutation = { __typename: 'Mutation', orderFulfillmentCancel: { __typename: 'FulfillmentCancel', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderFulfillmentCancelMutation = { __typename: 'Mutation', orderFulfillmentCancel: { __typename: 'FulfillmentCancel', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderAddNoteMutationVariables = Exact<{ order: Scalars['ID']; @@ -8949,7 +8989,7 @@ export type OrderUpdateMutationVariables = Exact<{ }>; -export type OrderUpdateMutation = { __typename: 'Mutation', orderUpdate: { __typename: 'OrderUpdate', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderUpdateMutation = { __typename: 'Mutation', orderUpdate: { __typename: 'OrderUpdate', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderDraftUpdateMutationVariables = Exact<{ id: Scalars['ID']; @@ -8957,7 +8997,7 @@ export type OrderDraftUpdateMutationVariables = Exact<{ }>; -export type OrderDraftUpdateMutation = { __typename: 'Mutation', draftOrderUpdate: { __typename: 'DraftOrderUpdate', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderDraftUpdateMutation = { __typename: 'Mutation', draftOrderUpdate: { __typename: 'DraftOrderUpdate', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderShippingMethodUpdateMutationVariables = Exact<{ id: Scalars['ID']; @@ -8965,7 +9005,7 @@ export type OrderShippingMethodUpdateMutationVariables = Exact<{ }>; -export type OrderShippingMethodUpdateMutation = { __typename: 'Mutation', orderUpdateShipping: { __typename: 'OrderUpdateShipping', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, shippingMethodName: string | null, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, total: { __typename: 'TaxedMoney', tax: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, shippingMethod: { __typename: 'ShippingMethod', id: string, name: string, price: { __typename: 'Money', amount: number, currency: string } } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type OrderShippingMethodUpdateMutation = { __typename: 'Mutation', orderUpdateShipping: { __typename: 'OrderUpdateShipping', errors: Array<{ __typename: 'OrderError', code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, shippingMethodName: string | null, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, total: { __typename: 'TaxedMoney', tax: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, shippingMethod: { __typename: 'ShippingMethod', id: string, name: string, price: { __typename: 'Money', amount: number, currency: string } } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type OrderDraftCreateMutationVariables = Exact<{ input: DraftOrderCreateInput; @@ -9003,7 +9043,7 @@ export type FulfillOrderMutationVariables = Exact<{ }>; -export type FulfillOrderMutation = { __typename: 'Mutation', orderFulfill: { __typename: 'OrderFulfill', errors: Array<{ __typename: 'OrderError', warehouse: string | null, code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; +export type FulfillOrderMutation = { __typename: 'Mutation', orderFulfill: { __typename: 'OrderFulfill', errors: Array<{ __typename: 'OrderError', warehouse: string | null, code: OrderErrorCode, field: string | null, addressType: AddressTypeEnum | null, message: string | null, orderLines: Array | null }>, order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null } | null }; export type InvoiceRequestMutationVariables = Exact<{ orderId: Scalars['ID']; @@ -9059,7 +9099,7 @@ export type OrderSendRefundMutationVariables = Exact<{ }>; -export type OrderSendRefundMutation = { __typename: 'Mutation', transactionRequestAction: { __typename: 'TransactionRequestAction', transaction: { __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } } | null, errors: Array<{ __typename: 'TransactionRequestActionError', field: string | null, message: string | null, code: TransactionRequestActionErrorCode }> } | null }; +export type OrderSendRefundMutation = { __typename: 'Mutation', transactionRequestAction: { __typename: 'TransactionRequestAction', transaction: { __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } } | null, errors: Array<{ __typename: 'TransactionRequestActionError', field: string | null, message: string | null, code: TransactionRequestActionErrorCode }> } | null }; export type CreateManualTransactionCaptureMutationVariables = Exact<{ orderId: Scalars['ID']; @@ -9070,7 +9110,7 @@ export type CreateManualTransactionCaptureMutationVariables = Exact<{ }>; -export type CreateManualTransactionCaptureMutation = { __typename: 'Mutation', transactionCreate: { __typename: 'TransactionCreate', transaction: { __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } } | null, errors: Array<{ __typename: 'TransactionCreateError', field: string | null, message: string | null, code: TransactionCreateErrorCode }> } | null }; +export type CreateManualTransactionCaptureMutation = { __typename: 'Mutation', transactionCreate: { __typename: 'TransactionCreate', transaction: { __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } } | null, errors: Array<{ __typename: 'TransactionCreateError', field: string | null, message: string | null, code: TransactionCreateErrorCode }> } | null }; export type CreateManualTransactionRefundMutationVariables = Exact<{ orderId: Scalars['ID']; @@ -9081,7 +9121,7 @@ export type CreateManualTransactionRefundMutationVariables = Exact<{ }>; -export type CreateManualTransactionRefundMutation = { __typename: 'Mutation', transactionCreate: { __typename: 'TransactionCreate', transaction: { __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } } | null, errors: Array<{ __typename: 'TransactionCreateError', field: string | null, message: string | null, code: TransactionCreateErrorCode }> } | null }; +export type CreateManualTransactionRefundMutation = { __typename: 'Mutation', transactionCreate: { __typename: 'TransactionCreate', transaction: { __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } } | null, errors: Array<{ __typename: 'TransactionCreateError', field: string | null, message: string | null, code: TransactionCreateErrorCode }> } | null }; export type OrderListQueryVariables = Exact<{ first?: InputMaybe; @@ -9112,7 +9152,7 @@ export type OrderDetailsQueryVariables = Exact<{ }>; -export type OrderDetailsQuery = { __typename: 'Query', order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'App', id: string, name: string | null } | { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null, shop: { __typename: 'Shop', defaultWeightUnit: WeightUnitsEnum | null, fulfillmentAllowUnpaid: boolean, fulfillmentAutoApprove: boolean, countries: Array<{ __typename: 'CountryDisplay', code: string, country: string }>, availablePaymentGateways: Array<{ __typename: 'PaymentGateway', name: string, id: string }> } }; +export type OrderDetailsQuery = { __typename: 'Query', order: { __typename: 'Order', id: string, token: string, isShippingRequired: boolean, canFinalize: boolean, created: any, customerNote: string, number: string, isPaid: boolean, paymentStatus: PaymentChargeStatusEnum, shippingMethodName: string | null, collectionPointName: string | null, status: OrderStatus, actions: Array, userEmail: string | null, billingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, transactions: Array<{ __typename: 'TransactionItem', id: string, type: string, pspReference: string, actions: Array, status: string, externalUrl: string, events: Array<{ __typename: 'TransactionEvent', id: string, pspReference: string, type: TransactionEventTypeEnum | null, message: string, createdAt: any, externalUrl: string, amount: { __typename: 'Money', amount: number, currency: string }, createdBy: { __typename: 'User', id: string, email: string, firstName: string, isActive: boolean, lastName: string, avatar: { __typename: 'Image', url: string } | null } | { __typename: 'App', id: string, name: string | null } | null }>, authorizedAmount: { __typename: 'Money', amount: number, currency: string }, chargedAmount: { __typename: 'Money', amount: number, currency: string }, refundedAmount: { __typename: 'Money', amount: number, currency: string }, canceledAmount: { __typename: 'Money', amount: number, currency: string }, authorizePendingAmount: { __typename: 'Money', amount: number, currency: string }, chargePendingAmount: { __typename: 'Money', amount: number, currency: string }, refundPendingAmount: { __typename: 'Money', amount: number, currency: string }, cancelPendingAmount: { __typename: 'Money', amount: number, currency: string } }>, payments: Array<{ __typename: 'Payment', id: string, isActive: boolean, actions: Array, gateway: string, paymentMethodType: string, modified: any, availableCaptureAmount: { __typename: 'Money', amount: number, currency: string } | null, capturedAmount: { __typename: 'Money', amount: number, currency: string } | null, total: { __typename: 'Money', amount: number, currency: string } | null, availableRefundAmount: { __typename: 'Money', amount: number, currency: string } | null, transactions: Array<{ __typename: 'Transaction', id: string, token: string, created: any, kind: TransactionKind, isSuccess: boolean }> | null }>, giftCards: Array<{ __typename: 'GiftCard', id: string, last4CodeChars: string, events: Array<{ __typename: 'GiftCardEvent', id: string, type: GiftCardEventsEnum | null, orderId: string | null, date: any | null, balance: { __typename: 'GiftCardEventBalance', initialBalance: { __typename: 'Money', amount: number, currency: string } | null, currentBalance: { __typename: 'Money', amount: number, currency: string }, oldInitialBalance: { __typename: 'Money', amount: number, currency: string } | null, oldCurrentBalance: { __typename: 'Money', amount: number, currency: string } | null } | null }> }>, grantedRefunds: Array<{ __typename: 'OrderGrantedRefund', id: string, createdAt: any, reason: string | null, amount: { __typename: 'Money', currency: string, amount: number }, user: { __typename: 'User', id: string, firstName: string, lastName: string, email: string, avatar: { __typename: 'Image', url: string, alt: string | null } | null } | null, app: { __typename: 'App', id: string, name: string | null } | null }>, discounts: Array<{ __typename: 'OrderDiscount', id: string, type: OrderDiscountType, value: any, reason: string | null, calculationMode: DiscountValueTypeEnum, amount: { __typename: 'Money', amount: number, currency: string } }>, events: Array<{ __typename: 'OrderEvent', id: string, amount: number | null, shippingCostsIncluded: boolean | null, date: any | null, email: string | null, emailType: OrderEventsEmailsEnum | null, invoiceNumber: string | null, message: string | null, quantity: number | null, transactionReference: string | null, type: OrderEventsEnum | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, relatedOrder: { __typename: 'Order', id: string, number: string } | null, user: { __typename: 'User', id: string, email: string, firstName: string, lastName: string } | null, app: { __typename: 'App', id: string, name: string | null, appUrl: string | null } | null, lines: Array<{ __typename: 'OrderEventOrderLineObject', quantity: number | null, itemName: string | null, discount: { __typename: 'OrderEventDiscountObject', valueType: DiscountValueTypeEnum, value: any, reason: string | null, oldValueType: DiscountValueTypeEnum | null, oldValue: any | null, amount: { __typename: 'Money', amount: number, currency: string } | null, oldAmount: { __typename: 'Money', amount: number, currency: string } | null } | null, orderLine: { __typename: 'OrderLine', id: string, productName: string, variantName: string } | null }> | null }>, fulfillments: Array<{ __typename: 'Fulfillment', id: string, fulfillmentOrder: number, status: FulfillmentStatus, trackingNumber: string, lines: Array<{ __typename: 'FulfillmentLine', id: string, quantity: number, orderLine: { __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null } | null }> | null, warehouse: { __typename: 'Warehouse', id: string, name: string } | null }>, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, productSku: string | null, quantity: number, quantityFulfilled: number, quantityToFulfill: number, unitDiscountValue: any, unitDiscountReason: string | null, unitDiscountType: DiscountValueTypeEnum | null, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, quantityAvailable: number | null, preorder: { __typename: 'PreorderData', endDate: any | null } | null, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, product: { __typename: 'Product', id: string, isAvailableForPurchase: boolean | null } } | null, totalPrice: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, unitDiscount: { __typename: 'Money', amount: number, currency: string }, undiscountedUnitPrice: { __typename: 'TaxedMoney', currency: string, gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, unitPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, thumbnail: { __typename: 'Image', url: string } | null }>, shippingAddress: { __typename: 'Address', city: string, cityArea: string, companyName: string, countryArea: string, firstName: string, id: string, lastName: string, phone: string | null, postalCode: string, streetAddress1: string, streetAddress2: string, country: { __typename: 'CountryDisplay', code: string, country: string } } | null, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, shippingMethod: { __typename: 'ShippingMethod', id: string } | null, shippingPrice: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string } }, subtotal: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string } }, total: { __typename: 'TaxedMoney', gross: { __typename: 'Money', amount: number, currency: string }, net: { __typename: 'Money', amount: number, currency: string }, tax: { __typename: 'Money', amount: number, currency: string } }, totalRemainingGrant: { __typename: 'Money', amount: number, currency: string }, totalGrantedRefund: { __typename: 'Money', amount: number, currency: string }, totalRefundPending: { __typename: 'Money', amount: number, currency: string }, totalRefunded: { __typename: 'Money', amount: number, currency: string }, totalAuthorizePending: { __typename: 'Money', amount: number, currency: string }, totalAuthorized: { __typename: 'Money', amount: number, currency: string }, totalCaptured: { __typename: 'Money', amount: number, currency: string }, totalCharged: { __typename: 'Money', amount: number, currency: string }, totalChargePending: { __typename: 'Money', amount: number, currency: string }, totalCanceled: { __typename: 'Money', amount: number, currency: string }, totalCancelPending: { __typename: 'Money', amount: number, currency: string }, totalBalance: { __typename: 'Money', amount: number, currency: string }, undiscountedTotal: { __typename: 'TaxedMoney', net: { __typename: 'Money', amount: number, currency: string }, gross: { __typename: 'Money', amount: number, currency: string } }, user: { __typename: 'User', id: string, email: string } | null, shippingMethods: Array<{ __typename: 'ShippingMethod', id: string, name: string, active: boolean, message: string | null, price: { __typename: 'Money', amount: number, currency: string } }>, invoices: Array<{ __typename: 'Invoice', id: string, number: string | null, createdAt: any, url: string | null, status: JobStatusEnum }>, channel: { __typename: 'Channel', isActive: boolean, id: string, name: string, currencyCode: string, slug: string, defaultCountry: { __typename: 'CountryDisplay', code: string }, orderSettings: { __typename: 'OrderSettings', markAsPaidStrategy: MarkAsPaidStrategyEnum } }, metadata: Array<{ __typename: 'MetadataItem', key: string, value: string }>, privateMetadata: Array<{ __typename: 'MetadataItem', key: string, value: string }> } | null, shop: { __typename: 'Shop', defaultWeightUnit: WeightUnitsEnum | null, fulfillmentAllowUnpaid: boolean, fulfillmentAutoApprove: boolean, countries: Array<{ __typename: 'CountryDisplay', code: string, country: string }>, availablePaymentGateways: Array<{ __typename: 'PaymentGateway', name: string, id: string }> } }; export type OrderDetailsGrantRefundQueryVariables = Exact<{ id: Scalars['ID']; @@ -9133,7 +9173,7 @@ export type OrderFulfillDataQueryVariables = Exact<{ }>; -export type OrderFulfillDataQuery = { __typename: 'Query', order: { __typename: 'Order', id: string, isPaid: boolean, number: string, deliveryMethod: { __typename: 'ShippingMethod', id: string } | { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | null, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, quantity: number, quantityFulfilled: number, quantityToFulfill: number, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, name: string, sku: string | null, trackInventory: boolean, preorder: { __typename: 'PreorderData', endDate: any | null } | null, attributes: Array<{ __typename: 'SelectedAttribute', values: Array<{ __typename: 'AttributeValue', id: string, name: string | null }> }>, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null } | null, thumbnail: { __typename: 'Image', url: string } | null }> } | null }; +export type OrderFulfillDataQuery = { __typename: 'Query', order: { __typename: 'Order', id: string, isPaid: boolean, number: string, deliveryMethod: { __typename: 'Warehouse', id: string, clickAndCollectOption: WarehouseClickAndCollectOptionEnum } | { __typename: 'ShippingMethod', id: string } | null, lines: Array<{ __typename: 'OrderLine', id: string, isShippingRequired: boolean, productName: string, quantity: number, quantityFulfilled: number, quantityToFulfill: number, allocations: Array<{ __typename: 'Allocation', id: string, quantity: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null, variant: { __typename: 'ProductVariant', id: string, name: string, sku: string | null, trackInventory: boolean, preorder: { __typename: 'PreorderData', endDate: any | null } | null, attributes: Array<{ __typename: 'SelectedAttribute', values: Array<{ __typename: 'AttributeValue', id: string, name: string | null }> }>, stocks: Array<{ __typename: 'Stock', id: string, quantity: number, quantityAllocated: number, warehouse: { __typename: 'Warehouse', id: string, name: string } }> | null } | null, thumbnail: { __typename: 'Image', url: string } | null }> } | null }; export type OrderFulfillSettingsQueryVariables = Exact<{ [key: string]: never; }>; @@ -10361,7 +10401,7 @@ export type CategoryTranslationsQueryVariables = Exact<{ }>; -export type CategoryTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent', translation: { __typename: 'CategoryTranslation', id: string, description: any | null, name: string | null, seoDescription: string | null, seoTitle: string | null, language: { __typename: 'LanguageDisplay', language: string } } | null, category: { __typename: 'Category', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type CategoryTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent', translation: { __typename: 'CategoryTranslation', id: string, description: any | null, name: string | null, seoDescription: string | null, seoTitle: string | null, language: { __typename: 'LanguageDisplay', language: string } } | null, category: { __typename: 'Category', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type CollectionTranslationsQueryVariables = Exact<{ language: LanguageCodeEnum; @@ -10372,7 +10412,7 @@ export type CollectionTranslationsQueryVariables = Exact<{ }>; -export type CollectionTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent', collection: { __typename: 'Collection', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null, translation: { __typename: 'CollectionTranslation', id: string, description: any | null, name: string | null, seoDescription: string | null, seoTitle: string | null, language: { __typename: 'LanguageDisplay', language: string } } | null } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type CollectionTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent', collection: { __typename: 'Collection', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null, translation: { __typename: 'CollectionTranslation', id: string, description: any | null, name: string | null, seoDescription: string | null, seoTitle: string | null, language: { __typename: 'LanguageDisplay', language: string } } | null } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type ProductTranslationsQueryVariables = Exact<{ language: LanguageCodeEnum; @@ -10383,7 +10423,7 @@ export type ProductTranslationsQueryVariables = Exact<{ }>; -export type ProductTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent', product: { __typename: 'Product', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null, translation: { __typename: 'ProductTranslation', id: string, seoTitle: string | null, seoDescription: string | null, name: string | null, description: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type ProductTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent', product: { __typename: 'Product', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null, translation: { __typename: 'ProductTranslation', id: string, seoTitle: string | null, seoDescription: string | null, name: string | null, description: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type PageTranslationsQueryVariables = Exact<{ language: LanguageCodeEnum; @@ -10394,7 +10434,7 @@ export type PageTranslationsQueryVariables = Exact<{ }>; -export type PageTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent', page: { __typename: 'Page', id: string, content: any | null, seoDescription: string | null, seoTitle: string | null, title: string } | null, translation: { __typename: 'PageTranslation', id: string, content: any | null, seoDescription: string | null, seoTitle: string | null, title: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type PageTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent', page: { __typename: 'Page', id: string, content: any | null, seoDescription: string | null, seoTitle: string | null, title: string } | null, translation: { __typename: 'PageTranslation', id: string, content: any | null, seoDescription: string | null, seoTitle: string | null, title: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type VoucherTranslationsQueryVariables = Exact<{ language: LanguageCodeEnum; @@ -10405,7 +10445,7 @@ export type VoucherTranslationsQueryVariables = Exact<{ }>; -export type VoucherTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent', name: string | null, voucher: { __typename: 'Voucher', id: string, name: string | null } | null, translation: { __typename: 'VoucherTranslation', id: string, name: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type VoucherTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent', name: string | null, voucher: { __typename: 'Voucher', id: string, name: string | null } | null, translation: { __typename: 'VoucherTranslation', id: string, name: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'MenuItemTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type SaleTranslationsQueryVariables = Exact<{ language: LanguageCodeEnum; @@ -10416,7 +10456,7 @@ export type SaleTranslationsQueryVariables = Exact<{ }>; -export type SaleTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent', sale: { __typename: 'Sale', id: string, name: string } | null, translation: { __typename: 'SaleTranslation', id: string, name: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type SaleTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent', sale: { __typename: 'Sale', id: string, name: string } | null, translation: { __typename: 'SaleTranslation', id: string, name: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type AttributeTranslationsQueryVariables = Exact<{ language: LanguageCodeEnum; @@ -10427,7 +10467,7 @@ export type AttributeTranslationsQueryVariables = Exact<{ }>; -export type AttributeTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent', id: string, name: string, translation: { __typename: 'AttributeTranslation', id: string, name: string } | null, attribute: { __typename: 'Attribute', id: string, name: string | null, inputType: AttributeInputTypeEnum | null } | null } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type AttributeTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent', id: string, name: string, translation: { __typename: 'AttributeTranslation', id: string, name: string } | null, attribute: { __typename: 'Attribute', id: string, name: string | null, inputType: AttributeInputTypeEnum | null } | null } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type ShippingMethodTranslationsQueryVariables = Exact<{ language: LanguageCodeEnum; @@ -10438,7 +10478,7 @@ export type ShippingMethodTranslationsQueryVariables = Exact<{ }>; -export type ShippingMethodTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent', id: string, name: string, description: any | null, shippingMethod: { __typename: 'ShippingMethodType', id: string } | null, translation: { __typename: 'ShippingMethodTranslation', id: string, name: string | null, description: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'VoucherTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type ShippingMethodTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent', id: string, name: string, description: any | null, shippingMethod: { __typename: 'ShippingMethodType', id: string } | null, translation: { __typename: 'ShippingMethodTranslation', id: string, name: string | null, description: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type MenuItemTranslationsQueryVariables = Exact<{ language: LanguageCodeEnum; @@ -10449,7 +10489,7 @@ export type MenuItemTranslationsQueryVariables = Exact<{ }>; -export type MenuItemTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent', translation: { __typename: 'MenuItemTranslation', id: string, name: string, language: { __typename: 'LanguageDisplay', language: string } } | null, menuItem: { __typename: 'MenuItem', id: string, name: string } | null } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; +export type MenuItemTranslationsQuery = { __typename: 'Query', translations: { __typename: 'TranslatableItemConnection', edges: Array<{ __typename: 'TranslatableItemEdge', node: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent', translation: { __typename: 'MenuItemTranslation', id: string, name: string, language: { __typename: 'LanguageDisplay', language: string } } | null, menuItem: { __typename: 'MenuItem', id: string, name: string } | null } }>, pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null } } | null }; export type ProductTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10457,7 +10497,7 @@ export type ProductTranslationDetailsQueryVariables = Exact<{ }>; -export type ProductTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent', product: { __typename: 'Product', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null, translation: { __typename: 'ProductTranslation', id: string, seoTitle: string | null, seoDescription: string | null, name: string | null, description: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | null }; +export type ProductTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent', product: { __typename: 'Product', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null, translation: { __typename: 'ProductTranslation', id: string, seoTitle: string | null, seoDescription: string | null, name: string | null, description: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | null }; export type ProductVariantListQueryVariables = Exact<{ id: Scalars['ID']; @@ -10472,7 +10512,7 @@ export type ProductVariantTranslationDetailsQueryVariables = Exact<{ }>; -export type ProductVariantTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent', name: string, productVariant: { __typename: 'ProductVariant', id: string } | null, translation: { __typename: 'ProductVariantTranslation', id: string, name: string, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | null }; +export type ProductVariantTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent', name: string, productVariant: { __typename: 'ProductVariant', id: string } | null, translation: { __typename: 'ProductVariantTranslation', id: string, name: string, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | null }; export type CategoryTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10480,7 +10520,7 @@ export type CategoryTranslationDetailsQueryVariables = Exact<{ }>; -export type CategoryTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent', translation: { __typename: 'CategoryTranslation', id: string, description: any | null, name: string | null, seoDescription: string | null, seoTitle: string | null, language: { __typename: 'LanguageDisplay', language: string } } | null, category: { __typename: 'Category', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | null }; +export type CategoryTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent', translation: { __typename: 'CategoryTranslation', id: string, description: any | null, name: string | null, seoDescription: string | null, seoTitle: string | null, language: { __typename: 'LanguageDisplay', language: string } } | null, category: { __typename: 'Category', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | null }; export type CollectionTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10488,7 +10528,7 @@ export type CollectionTranslationDetailsQueryVariables = Exact<{ }>; -export type CollectionTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent', collection: { __typename: 'Collection', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null, translation: { __typename: 'CollectionTranslation', id: string, description: any | null, name: string | null, seoDescription: string | null, seoTitle: string | null, language: { __typename: 'LanguageDisplay', language: string } } | null } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | null }; +export type CollectionTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent', collection: { __typename: 'Collection', id: string, name: string, description: any | null, seoDescription: string | null, seoTitle: string | null } | null, translation: { __typename: 'CollectionTranslation', id: string, description: any | null, name: string | null, seoDescription: string | null, seoTitle: string | null, language: { __typename: 'LanguageDisplay', language: string } } | null } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | null }; export type PageTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10496,7 +10536,7 @@ export type PageTranslationDetailsQueryVariables = Exact<{ }>; -export type PageTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent', page: { __typename: 'Page', id: string, content: any | null, seoDescription: string | null, seoTitle: string | null, title: string } | null, translation: { __typename: 'PageTranslation', id: string, content: any | null, seoDescription: string | null, seoTitle: string | null, title: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | null }; +export type PageTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent', page: { __typename: 'Page', id: string, content: any | null, seoDescription: string | null, seoTitle: string | null, title: string } | null, translation: { __typename: 'PageTranslation', id: string, content: any | null, seoDescription: string | null, seoTitle: string | null, title: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null, attributeValues: Array<{ __typename: 'AttributeValueTranslatableContent', id: string, name: string, plainText: string | null, richText: any | null, attributeValue: { __typename: 'AttributeValue', id: string } | null, attribute: { __typename: 'AttributeTranslatableContent', id: string, name: string } | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null }> } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | null }; export type SaleTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10504,7 +10544,7 @@ export type SaleTranslationDetailsQueryVariables = Exact<{ }>; -export type SaleTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent', sale: { __typename: 'Sale', id: string, name: string } | null, translation: { __typename: 'SaleTranslation', id: string, name: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | null }; +export type SaleTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent', sale: { __typename: 'Sale', id: string, name: string } | null, translation: { __typename: 'SaleTranslation', id: string, name: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | null }; export type VoucherTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10512,7 +10552,7 @@ export type VoucherTranslationDetailsQueryVariables = Exact<{ }>; -export type VoucherTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent', name: string | null, voucher: { __typename: 'Voucher', id: string, name: string | null } | null, translation: { __typename: 'VoucherTranslation', id: string, name: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | null }; +export type VoucherTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent', name: string | null, voucher: { __typename: 'Voucher', id: string, name: string | null } | null, translation: { __typename: 'VoucherTranslation', id: string, name: string | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'MenuItemTranslatableContent' } | null }; export type AttributeTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10524,7 +10564,7 @@ export type AttributeTranslationDetailsQueryVariables = Exact<{ }>; -export type AttributeTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent', translation: { __typename: 'AttributeTranslation', id: string, name: string } | null, attribute: { __typename: 'Attribute', id: string, name: string | null, inputType: AttributeInputTypeEnum | null, withChoices: boolean, choices: { __typename: 'AttributeValueCountableConnection', pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null }, edges: Array<{ __typename: 'AttributeValueCountableEdge', cursor: string, node: { __typename: 'AttributeValue', id: string, name: string | null, plainText: string | null, richText: any | null, inputType: AttributeInputTypeEnum | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null } | null } }> } | null } | null } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | null }; +export type AttributeTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent', translation: { __typename: 'AttributeTranslation', id: string, name: string } | null, attribute: { __typename: 'Attribute', id: string, name: string | null, inputType: AttributeInputTypeEnum | null, withChoices: boolean, choices: { __typename: 'AttributeValueCountableConnection', pageInfo: { __typename: 'PageInfo', endCursor: string | null, hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null }, edges: Array<{ __typename: 'AttributeValueCountableEdge', cursor: string, node: { __typename: 'AttributeValue', id: string, name: string | null, plainText: string | null, richText: any | null, inputType: AttributeInputTypeEnum | null, translation: { __typename: 'AttributeValueTranslation', id: string, name: string, plainText: string | null, richText: any | null } | null } }> } | null } | null } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | null }; export type ShippingMethodTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10532,7 +10572,7 @@ export type ShippingMethodTranslationDetailsQueryVariables = Exact<{ }>; -export type ShippingMethodTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent', id: string, name: string, description: any | null, shippingMethod: { __typename: 'ShippingMethodType', id: string } | null, translation: { __typename: 'ShippingMethodTranslation', id: string, name: string | null, description: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'VoucherTranslatableContent' } | null }; +export type ShippingMethodTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent', id: string, name: string, description: any | null, shippingMethod: { __typename: 'ShippingMethodType', id: string } | null, translation: { __typename: 'ShippingMethodTranslation', id: string, name: string | null, description: any | null, language: { __typename: 'LanguageDisplay', code: LanguageCodeEnum, language: string } } | null } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent' } | null }; export type MenuItemTranslationDetailsQueryVariables = Exact<{ id: Scalars['ID']; @@ -10540,7 +10580,7 @@ export type MenuItemTranslationDetailsQueryVariables = Exact<{ }>; -export type MenuItemTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'MenuItemTranslatableContent', translation: { __typename: 'MenuItemTranslation', id: string, name: string, language: { __typename: 'LanguageDisplay', language: string } } | null, menuItem: { __typename: 'MenuItem', id: string, name: string } | null } | { __typename: 'PageTranslatableContent' } | { __typename: 'ProductTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | null }; +export type MenuItemTranslationDetailsQuery = { __typename: 'Query', translation: { __typename: 'ProductTranslatableContent' } | { __typename: 'CollectionTranslatableContent' } | { __typename: 'CategoryTranslatableContent' } | { __typename: 'AttributeTranslatableContent' } | { __typename: 'AttributeValueTranslatableContent' } | { __typename: 'ProductVariantTranslatableContent' } | { __typename: 'PageTranslatableContent' } | { __typename: 'ShippingMethodTranslatableContent' } | { __typename: 'SaleTranslatableContent' } | { __typename: 'VoucherTranslatableContent' } | { __typename: 'MenuItemTranslatableContent', translation: { __typename: 'MenuItemTranslation', id: string, name: string, language: { __typename: 'LanguageDisplay', language: string } } | null, menuItem: { __typename: 'MenuItem', id: string, name: string } | null } | null }; export type UpdateMetadataMutationVariables = Exact<{ id: Scalars['ID'];