import gql from "graphql-tag"; import * as Urql from "urql"; import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type Omit = Pick>; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; String: string; 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; /** * The `GenericScalar` scalar type represents a generic * GraphQL scalar value that could be: * String, Boolean, Int, Float, List or Object. */ GenericScalar: any; JSONString: any; /** * Metadata is a map of key-value pairs, both keys and values are `String`. * * Example: * ``` * { * "key1": "value1", * "key2": "value2" * } * ``` */ Metadata: any; /** * Positive Decimal scalar implementation. * * Should be used in places where value must be positive. */ 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; }; /** * Create a new address for the customer. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type AccountAddressCreate = { __typename?: "AccountAddressCreate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; address?: Maybe
; errors: Array; /** A user instance for which the address was created. */ user?: Maybe; }; /** Delete an address of the logged-in user. Requires one of the following permissions: MANAGE_USERS, IS_OWNER. */ export type AccountAddressDelete = { __typename?: "AccountAddressDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; address?: Maybe
; errors: Array; /** A user instance for which the address was deleted. */ user?: Maybe; }; /** Updates an address of the logged-in user. Requires one of the following permissions: MANAGE_USERS, IS_OWNER. */ export type AccountAddressUpdate = { __typename?: "AccountAddressUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; address?: Maybe
; errors: Array; /** A user object for which the address was edited. */ user?: Maybe; }; /** * Remove user account. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type AccountDelete = { __typename?: "AccountDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; user?: Maybe; }; export type AccountError = { __typename?: "AccountError"; /** A type of address that causes the error. */ addressType?: Maybe; /** The error code. */ code: AccountErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum AccountErrorCode { AccountNotConfirmed = "ACCOUNT_NOT_CONFIRMED", ActivateOwnAccount = "ACTIVATE_OWN_ACCOUNT", ActivateSuperuserAccount = "ACTIVATE_SUPERUSER_ACCOUNT", ChannelInactive = "CHANNEL_INACTIVE", DeactivateOwnAccount = "DEACTIVATE_OWN_ACCOUNT", DeactivateSuperuserAccount = "DEACTIVATE_SUPERUSER_ACCOUNT", DeleteNonStaffUser = "DELETE_NON_STAFF_USER", DeleteOwnAccount = "DELETE_OWN_ACCOUNT", DeleteStaffAccount = "DELETE_STAFF_ACCOUNT", DeleteSuperuserAccount = "DELETE_SUPERUSER_ACCOUNT", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", GraphqlError = "GRAPHQL_ERROR", Inactive = "INACTIVE", Invalid = "INVALID", InvalidCredentials = "INVALID_CREDENTIALS", InvalidPassword = "INVALID_PASSWORD", JwtDecodeError = "JWT_DECODE_ERROR", JwtInvalidCsrfToken = "JWT_INVALID_CSRF_TOKEN", JwtInvalidToken = "JWT_INVALID_TOKEN", JwtMissingToken = "JWT_MISSING_TOKEN", JwtSignatureExpired = "JWT_SIGNATURE_EXPIRED", LeftNotManageablePermission = "LEFT_NOT_MANAGEABLE_PERMISSION", MissingChannelSlug = "MISSING_CHANNEL_SLUG", NotFound = "NOT_FOUND", OutOfScopeGroup = "OUT_OF_SCOPE_GROUP", OutOfScopePermission = "OUT_OF_SCOPE_PERMISSION", OutOfScopeUser = "OUT_OF_SCOPE_USER", PasswordEntirelyNumeric = "PASSWORD_ENTIRELY_NUMERIC", PasswordTooCommon = "PASSWORD_TOO_COMMON", PasswordTooShort = "PASSWORD_TOO_SHORT", PasswordTooSimilar = "PASSWORD_TOO_SIMILAR", Required = "REQUIRED", Unique = "UNIQUE", } export type AccountInput = { /** 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; }; /** Register a new user. */ export type AccountRegister = { __typename?: "AccountRegister"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** Informs whether users need to confirm their email address. */ requiresConfirmation?: Maybe; user?: Maybe; }; 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>; /** Password. */ password: Scalars["String"]; /** Base of frontend URL that will be needed to create confirmation URL. */ redirectUrl?: InputMaybe; }; /** * Sends an email with the account removal link for the logged-in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type AccountRequestDeletion = { __typename?: "AccountRequestDeletion"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; }; /** * Sets a default address for the authenticated user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type AccountSetDefaultAddress = { __typename?: "AccountSetDefaultAddress"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** An updated user instance. */ user?: Maybe; }; /** * Updates the account of the logged-in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type AccountUpdate = { __typename?: "AccountUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; user?: Maybe; }; /** Represents user address data. */ export type Address = Node & { __typename?: "Address"; city: Scalars["String"]; cityArea: Scalars["String"]; companyName: Scalars["String"]; /** Shop's default country. */ country: CountryDisplay; countryArea: Scalars["String"]; firstName: Scalars["String"]; id: Scalars["ID"]; /** Address is user's default billing address. */ isDefaultBillingAddress?: Maybe; /** Address is user's default shipping address. */ isDefaultShippingAddress?: Maybe; lastName: Scalars["String"]; phone?: Maybe; postalCode: Scalars["String"]; streetAddress1: Scalars["String"]; streetAddress2: Scalars["String"]; }; /** * Creates user address. * * Requires one of the following permissions: MANAGE_USERS. */ export type AddressCreate = { __typename?: "AddressCreate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; address?: Maybe
; errors: Array; /** A user instance for which the address was created. */ user?: Maybe; }; /** * Deletes an address. * * Requires one of the following permissions: MANAGE_USERS. */ export type AddressDelete = { __typename?: "AddressDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; address?: Maybe
; errors: Array; /** A user instance for which the address was deleted. */ user?: Maybe; }; 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; /** Address. */ streetAddress1?: InputMaybe; /** Address. */ streetAddress2?: InputMaybe; }; /** * Sets a default address for the given user. * * Requires one of the following permissions: MANAGE_USERS. */ export type AddressSetDefault = { __typename?: "AddressSetDefault"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** An updated user instance. */ user?: Maybe; }; /** An enumeration. */ export enum AddressTypeEnum { Billing = "BILLING", Shipping = "SHIPPING", } /** * Updates an address. * * Requires one of the following permissions: MANAGE_USERS. */ export type AddressUpdate = { __typename?: "AddressUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; address?: Maybe
; errors: Array; /** A user object for which the address was edited. */ user?: Maybe; }; export type AddressValidationData = { __typename?: "AddressValidationData"; addressFormat: Scalars["String"]; addressLatinFormat: Scalars["String"]; allowedFields: Array; cityAreaChoices: Array; cityAreaType: Scalars["String"]; cityChoices: Array; cityType: Scalars["String"]; countryAreaChoices: Array; countryAreaType: Scalars["String"]; countryCode: Scalars["String"]; countryName: Scalars["String"]; postalCodeExamples: Array; postalCodeMatchers: Array; postalCodePrefix: Scalars["String"]; postalCodeType: Scalars["String"]; requiredFields: Array; upperFields: Array; }; /** Represents allocation. */ export type Allocation = Node & { __typename?: "Allocation"; id: Scalars["ID"]; /** * Quantity allocated for orders. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS. */ quantity: Scalars["Int"]; /** * The warehouse were items were allocated. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS. */ warehouse: Warehouse; }; /** Represents app data. */ export type App = Node & ObjectWithMetadata & { __typename?: "App"; /** Description of this app. */ aboutApp?: Maybe; /** JWT token used to authenticate by thridparty app. */ accessToken?: Maybe; /** Url to iframe with the app. */ appUrl?: Maybe; /** Url to iframe with the configuration for the app. */ configurationUrl?: Maybe; /** The date and time when the app was created. */ created?: Maybe; /** Description of the data privacy defined for this app. */ dataPrivacy?: Maybe; /** Url to details about the privacy policy on the app owner page. */ dataPrivacyUrl?: Maybe; /** * App's dashboard extensions. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ extensions: Array; /** Homepage of the app. */ homepageUrl?: Maybe; id: Scalars["ID"]; /** Determine if app will be set active or not. */ isActive?: Maybe; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** Name of the app. */ name?: Maybe; /** List of the app's permissions. */ permissions?: Maybe>; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** Support page for the app. */ supportUrl?: Maybe; /** * Last 4 characters of the tokens. * * Requires one of the following permissions: MANAGE_APPS, OWNER. */ tokens?: Maybe>; /** Type of the app. */ type?: Maybe; /** Version number of the app. */ version?: Maybe; /** * List of webhooks assigned to this app. * * Requires one of the following permissions: MANAGE_APPS, OWNER. */ webhooks?: Maybe>; }; /** Represents app data. */ export type AppMetafieldArgs = { key: Scalars["String"]; }; /** Represents app data. */ export type AppMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents app data. */ export type AppPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents app data. */ export type AppPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** * Activate the app. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppActivate = { __typename?: "AppActivate"; app?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; errors: Array; }; export type AppCountableConnection = { __typename?: "AppCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type AppCountableEdge = { __typename?: "AppCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: App; }; /** Creates a new app. Requires the following permissions: AUTHENTICATED_STAFF_USER and MANAGE_APPS. */ export type AppCreate = { __typename?: "AppCreate"; app?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; /** The newly created authentication token. */ authToken?: Maybe; errors: Array; }; /** * Deactivate the app. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppDeactivate = { __typename?: "AppDeactivate"; app?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; errors: Array; }; /** * Deletes an app. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppDelete = { __typename?: "AppDelete"; app?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; errors: Array; }; /** * Delete failed installation. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppDeleteFailedInstallation = { __typename?: "AppDeleteFailedInstallation"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; appInstallation?: Maybe; errors: Array; }; export type AppDeleted = Event & { __typename?: "AppDeleted"; /** * The application the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ app?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type AppError = { __typename?: "AppError"; /** The error code. */ code: AppErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of permissions which causes the error. */ permissions?: Maybe>; }; /** An enumeration. */ export enum AppErrorCode { Forbidden = "FORBIDDEN", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", InvalidManifestFormat = "INVALID_MANIFEST_FORMAT", InvalidPermission = "INVALID_PERMISSION", InvalidStatus = "INVALID_STATUS", InvalidUrlFormat = "INVALID_URL_FORMAT", ManifestUrlCantConnect = "MANIFEST_URL_CANT_CONNECT", NotFound = "NOT_FOUND", OutOfScopeApp = "OUT_OF_SCOPE_APP", OutOfScopePermission = "OUT_OF_SCOPE_PERMISSION", Required = "REQUIRED", Unique = "UNIQUE", } /** Represents app data. */ export type AppExtension = Node & { __typename?: "AppExtension"; /** JWT token used to authenticate by thridparty app extension. */ accessToken?: Maybe; app: App; id: Scalars["ID"]; /** Label of the extension to show in the dashboard. */ label: Scalars["String"]; /** Place where given extension will be mounted. */ mount: AppExtensionMountEnum; /** List of the app extension's permissions. */ permissions: Array; /** Type of way how app extension will be opened. */ target: AppExtensionTargetEnum; /** URL of a view where extension's iframe is placed. */ url: Scalars["String"]; }; export type AppExtensionCountableConnection = { __typename?: "AppExtensionCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type AppExtensionCountableEdge = { __typename?: "AppExtensionCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: AppExtension; }; export type AppExtensionFilterInput = { mount?: InputMaybe>; target?: InputMaybe; }; /** All places where app extension can be mounted. */ export enum AppExtensionMountEnum { NavigationCatalog = "NAVIGATION_CATALOG", NavigationCustomers = "NAVIGATION_CUSTOMERS", NavigationDiscounts = "NAVIGATION_DISCOUNTS", NavigationOrders = "NAVIGATION_ORDERS", NavigationPages = "NAVIGATION_PAGES", NavigationTranslations = "NAVIGATION_TRANSLATIONS", OrderDetailsMoreActions = "ORDER_DETAILS_MORE_ACTIONS", OrderOverviewCreate = "ORDER_OVERVIEW_CREATE", OrderOverviewMoreActions = "ORDER_OVERVIEW_MORE_ACTIONS", ProductDetailsMoreActions = "PRODUCT_DETAILS_MORE_ACTIONS", ProductOverviewCreate = "PRODUCT_OVERVIEW_CREATE", ProductOverviewMoreActions = "PRODUCT_OVERVIEW_MORE_ACTIONS", } /** * All available ways of opening an app extension. * * POPUP - app's extension will be mounted as a popup window * APP_PAGE - redirect to app's page */ export enum AppExtensionTargetEnum { AppPage = "APP_PAGE", Popup = "POPUP", } /** * Fetch and validate manifest. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppFetchManifest = { __typename?: "AppFetchManifest"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; errors: Array; manifest?: Maybe; }; export type AppFilterInput = { isActive?: InputMaybe; search?: InputMaybe; type?: InputMaybe; }; export type AppInput = { /** Name of the app. */ name?: InputMaybe; /** List of permission code names to assign to this app. */ permissions?: InputMaybe>; }; /** Install new app by using app manifest. Requires the following permissions: AUTHENTICATED_STAFF_USER and MANAGE_APPS. */ export type AppInstall = { __typename?: "AppInstall"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; appInstallation?: Maybe; errors: Array; }; 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; /** List of permission code names to assign to this app. */ permissions?: InputMaybe>; }; /** Represents ongoing installation of app. */ export type AppInstallation = Job & Node & { __typename?: "AppInstallation"; appName: Scalars["String"]; /** Created date time of job in ISO 8601 format. */ createdAt: Scalars["DateTime"]; id: Scalars["ID"]; manifestUrl: Scalars["String"]; /** Job message. */ message?: Maybe; /** Job status. */ status: JobStatusEnum; /** Date time of job last update in ISO 8601 format. */ updatedAt: Scalars["DateTime"]; }; export type AppInstalled = Event & { __typename?: "AppInstalled"; /** * The application the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ app?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type AppManifestExtension = { __typename?: "AppManifestExtension"; /** Label of the extension to show in the dashboard. */ label: Scalars["String"]; /** Place where given extension will be mounted. */ mount: AppExtensionMountEnum; /** List of the app extension's permissions. */ permissions: Array; /** Type of way how app extension will be opened. */ target: AppExtensionTargetEnum; /** URL of a view where extension's iframe is placed. */ url: Scalars["String"]; }; /** * Retry failed installation of new app. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppRetryInstall = { __typename?: "AppRetryInstall"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; appInstallation?: Maybe; errors: Array; }; export enum AppSortField { /** Sort apps by creation date. */ CreationDate = "CREATION_DATE", /** Sort apps by name. */ Name = "NAME", } export type AppSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort apps by the selected field. */ field: AppSortField; }; export type AppStatusChanged = Event & { __typename?: "AppStatusChanged"; /** * The application the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ app?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** Represents token data. */ export type AppToken = Node & { __typename?: "AppToken"; /** Last 4 characters of the token. */ authToken?: Maybe; id: Scalars["ID"]; /** Name of the authenticated token. */ name?: Maybe; }; /** * Creates a new token. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppTokenCreate = { __typename?: "AppTokenCreate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; appToken?: Maybe; /** The newly created authentication token. */ authToken?: Maybe; errors: Array; }; /** * Deletes an authentication token assigned to app. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppTokenDelete = { __typename?: "AppTokenDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; appToken?: Maybe; errors: Array; }; export type AppTokenInput = { /** ID of app. */ app: Scalars["ID"]; /** Name of the token. */ name?: InputMaybe; }; /** Verify provided app token. */ export type AppTokenVerify = { __typename?: "AppTokenVerify"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; errors: Array; /** Determine if token is valid or not. */ valid: Scalars["Boolean"]; }; /** Enum determining type of your App. */ export enum AppTypeEnum { /** Local Saleor App. The app is fully manageable from dashboard. You can change assigned permissions, add webhooks, or authentication token */ Local = "LOCAL", /** Third party external App. Installation is fully automated. Saleor uses a defined App manifest to gather all required information. */ Thirdparty = "THIRDPARTY", } /** * Updates an existing app. * * Requires one of the following permissions: MANAGE_APPS. */ export type AppUpdate = { __typename?: "AppUpdate"; app?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ appErrors: Array; errors: Array; }; export type AppUpdated = Event & { __typename?: "AppUpdated"; /** * The application the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ app?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** An enumeration. */ export enum AreaUnitsEnum { SqCm = "SQ_CM", SqFt = "SQ_FT", SqInch = "SQ_INCH", SqKm = "SQ_KM", SqM = "SQ_M", SqYd = "SQ_YD", } /** * Assigns storefront's navigation menus. * * Requires one of the following permissions: MANAGE_MENUS, MANAGE_SETTINGS. */ export type AssignNavigation = { __typename?: "AssignNavigation"; errors: Array; /** Assigned navigation menu. */ menu?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; }; /** * Represents assigned attribute to variant with variant selection attached. * * Added in Saleor 3.1. */ export type AssignedVariantAttribute = { __typename?: "AssignedVariantAttribute"; /** Attribute assigned to variant. */ attribute: Attribute; /** Determines, whether assigned attribute is allowed for variant selection. Supported variant types for variant selection are: ['dropdown', 'boolean', 'swatch', 'numeric'] */ variantSelection: Scalars["Boolean"]; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type Attribute = Node & ObjectWithMetadata & { __typename?: "Attribute"; /** Whether the attribute can be displayed in the admin product list. Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ availableInGrid: Scalars["Boolean"]; /** List of attribute's values. */ choices?: Maybe; /** The entity type which can be used as a reference. */ entityType?: Maybe; /** Whether the attribute can be filtered in dashboard. Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ filterableInDashboard: Scalars["Boolean"]; /** Whether the attribute can be filtered in storefront. Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ filterableInStorefront: Scalars["Boolean"]; id: Scalars["ID"]; /** The input type to use for entering attribute values in the dashboard. */ inputType?: Maybe; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** Name of an attribute displayed in the interface. */ name?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; productTypes: ProductTypeCountableConnection; productVariantTypes: ProductTypeCountableConnection; /** Internal representation of an attribute name. */ slug?: Maybe; /** The position of the attribute in the storefront navigation (0 by default). Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ storefrontSearchPosition: Scalars["Int"]; /** Returns translated attribute fields for the given language code. */ translation?: Maybe; /** The attribute type. */ type?: Maybe; /** The unit of attribute values. */ unit?: Maybe; /** Whether the attribute requires values to be passed or not. Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ valueRequired: Scalars["Boolean"]; /** Whether the attribute should be visible or not in storefront. Requires one of the following permissions: MANAGE_PAGES, MANAGE_PAGE_TYPES_AND_ATTRIBUTES, MANAGE_PRODUCTS, MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ visibleInStorefront: Scalars["Boolean"]; /** Flag indicating that attribute has predefined choices. */ withChoices: Scalars["Boolean"]; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type AttributeChoicesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type AttributeMetafieldArgs = { key: Scalars["String"]; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type AttributeMetafieldsArgs = { keys?: InputMaybe>; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type AttributePrivateMetafieldArgs = { key: Scalars["String"]; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type AttributePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type AttributeProductTypesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type AttributeProductVariantTypesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Custom attribute of a product. Attributes can be assigned to products and variants at the product type level. */ export type AttributeTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Deletes attributes. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type AttributeBulkDelete = { __typename?: "AttributeBulkDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; }; export enum AttributeChoicesSortField { /** Sort attribute choice by name. */ Name = "NAME", /** Sort attribute choice by slug. */ Slug = "SLUG", } export type AttributeChoicesSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort attribute choices by the selected field. */ field: AttributeChoicesSortField; }; export type AttributeCountableConnection = { __typename?: "AttributeCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type AttributeCountableEdge = { __typename?: "AttributeCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Attribute; }; /** Creates an attribute. */ export type AttributeCreate = { __typename?: "AttributeCreate"; attribute?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; errors: Array; }; export type AttributeCreateInput = { /** Whether the attribute can be displayed in the admin product list. */ availableInGrid?: InputMaybe; /** The entity type which can be used as a reference. */ entityType?: InputMaybe; /** Whether the attribute can be filtered in dashboard. */ filterableInDashboard?: InputMaybe; /** Whether the attribute can be filtered in storefront. */ 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; /** The position of the attribute in the storefront navigation (0 by default). */ 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; }; /** * Deletes an attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type AttributeDelete = { __typename?: "AttributeDelete"; attribute?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; errors: Array; }; /** An enumeration. */ export enum AttributeEntityTypeEnum { Page = "PAGE", Product = "PRODUCT", } export type AttributeError = { __typename?: "AttributeError"; /** The error code. */ code: AttributeErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum AttributeErrorCode { AlreadyExists = "ALREADY_EXISTS", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } export type AttributeFilterInput = { availableInGrid?: 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; 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; }; /** An enumeration. */ export enum AttributeInputTypeEnum { Boolean = "BOOLEAN", Date = "DATE", DateTime = "DATE_TIME", Dropdown = "DROPDOWN", File = "FILE", Multiselect = "MULTISELECT", Numeric = "NUMERIC", Reference = "REFERENCE", RichText = "RICH_TEXT", Swatch = "SWATCH", } /** * Reorder the values of an attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type AttributeReorderValues = { __typename?: "AttributeReorderValues"; /** Attribute from which values are reordered. */ attribute?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; errors: Array; }; export enum AttributeSortField { /** Sort attributes based on whether they can be displayed or not in a product grid. */ AvailableInGrid = "AVAILABLE_IN_GRID", /** Sort attributes by the filterable in dashboard flag */ FilterableInDashboard = "FILTERABLE_IN_DASHBOARD", /** Sort attributes by the filterable in storefront flag */ FilterableInStorefront = "FILTERABLE_IN_STOREFRONT", /** Sort attributes by the variant only flag */ IsVariantOnly = "IS_VARIANT_ONLY", /** Sort attributes by name */ Name = "NAME", /** Sort attributes by slug */ Slug = "SLUG", /** Sort attributes by their position in storefront */ StorefrontSearchPosition = "STOREFRONT_SEARCH_POSITION", /** Sort attributes by the value required flag */ ValueRequired = "VALUE_REQUIRED", /** Sort attributes by visibility in the storefront */ VisibleInStorefront = "VISIBLE_IN_STOREFRONT", } export type AttributeSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort attributes by the selected field. */ field: AttributeSortField; }; export type AttributeTranslatableContent = Node & { __typename?: "AttributeTranslatableContent"; /** * Custom attribute of a product. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ attribute?: Maybe; id: Scalars["ID"]; name: Scalars["String"]; /** Returns translated attribute fields for the given language code. */ translation?: Maybe; }; export type AttributeTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for an attribute. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type AttributeTranslate = { __typename?: "AttributeTranslate"; attribute?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type AttributeTranslation = Node & { __typename?: "AttributeTranslation"; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name: Scalars["String"]; }; /** An enumeration. */ export enum AttributeTypeEnum { PageType = "PAGE_TYPE", ProductType = "PRODUCT_TYPE", } /** * Updates attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type AttributeUpdate = { __typename?: "AttributeUpdate"; attribute?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; errors: Array; }; export type AttributeUpdateInput = { /** New values to be created for this attribute. */ addValues?: InputMaybe>; /** Whether the attribute can be displayed in the admin product list. */ availableInGrid?: InputMaybe; /** Whether the attribute can be filtered in dashboard. */ filterableInDashboard?: InputMaybe; /** Whether the attribute can be filtered in storefront. */ 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). */ 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; }; /** Represents a value of an attribute. */ export type AttributeValue = Node & { __typename?: "AttributeValue"; /** Represents the boolean value of the attribute value. */ boolean?: Maybe; /** Represents the date value of the attribute value. */ date?: Maybe; /** Represents the date/time value of the attribute value. */ dateTime?: Maybe; /** Represents file URL and content type (if attribute value is a file). */ file?: Maybe; id: Scalars["ID"]; /** The input type to use for entering attribute values in the dashboard. */ inputType?: Maybe; /** Name of a value displayed in the interface. */ name?: Maybe; /** The ID of the attribute reference. */ reference?: Maybe; /** * Represents the text of the attribute value, includes formatting. * * Rich text format. For reference see https://editorjs.io/ */ richText?: Maybe; /** Internal representation of a value (unique per attribute). */ slug?: Maybe; /** Returns translated attribute value fields for the given language code. */ translation?: Maybe; /** Represent value of the attribute value (e.g. color values for swatch attributes). */ value?: Maybe; }; /** Represents a value of an attribute. */ export type AttributeValueTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Deletes values of attributes. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type AttributeValueBulkDelete = { __typename?: "AttributeValueBulkDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; }; export type AttributeValueCountableConnection = { __typename?: "AttributeValueCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type AttributeValueCountableEdge = { __typename?: "AttributeValueCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: AttributeValue; }; /** * Creates a value for an attribute. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type AttributeValueCreate = { __typename?: "AttributeValueCreate"; /** The updated attribute. */ attribute?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; attributeValue?: Maybe; errors: Array; }; export type AttributeValueCreateInput = { /** File content type. */ contentType?: 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, includes formatting. * * Rich text format. For reference see https://editorjs.io/ */ richText?: InputMaybe; /** Represent value of the attribute value (e.g. color values for swatch attributes). */ value?: InputMaybe; }; /** * Deletes a value of an attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type AttributeValueDelete = { __typename?: "AttributeValueDelete"; /** The updated attribute. */ attribute?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; attributeValue?: Maybe; errors: Array; }; export type AttributeValueFilterInput = { ids?: InputMaybe>; search?: 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; /** URL of the file attribute. Every time, a new value is created. */ file?: InputMaybe; /** ID of the selected attribute. */ id?: InputMaybe; /** List of entity IDs that will be used as references. */ references?: InputMaybe>; /** Text content in JSON format. */ richText?: InputMaybe; /** The value or slug of an attribute to resolve. If the passed value is non-existent, it will be created. */ values?: InputMaybe>; }; export type AttributeValueTranslatableContent = Node & { __typename?: "AttributeValueTranslatableContent"; /** * Represents a value of an attribute. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ attributeValue?: Maybe; id: Scalars["ID"]; name: Scalars["String"]; /** * Attribute value. * * Rich text format. For reference see https://editorjs.io/ */ richText?: Maybe; /** Returns translated attribute value fields for the given language code. */ translation?: Maybe; }; export type AttributeValueTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for an attribute value. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type AttributeValueTranslate = { __typename?: "AttributeValueTranslate"; attributeValue?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type AttributeValueTranslation = Node & { __typename?: "AttributeValueTranslation"; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name: Scalars["String"]; /** * Attribute value. * * Rich text format. For reference see https://editorjs.io/ */ richText?: Maybe; }; export type AttributeValueTranslationInput = { name?: InputMaybe; /** * Translated text. * * Rich text format. For reference see https://editorjs.io/ */ richText?: InputMaybe; }; /** * Updates value of an attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type AttributeValueUpdate = { __typename?: "AttributeValueUpdate"; /** The updated attribute. */ attribute?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ attributeErrors: Array; attributeValue?: Maybe; errors: Array; }; export type AttributeValueUpdateInput = { /** File content type. */ contentType?: 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, includes formatting. * * Rich text format. For reference see https://editorjs.io/ */ richText?: InputMaybe; /** Represent value of the attribute value (e.g. color values for swatch attributes). */ value?: 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; /** 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. */ values?: InputMaybe>; }; export type BulkProductError = { __typename?: "BulkProductError"; /** List of attributes IDs which causes the error. */ attributes?: Maybe>; /** List of channel IDs which causes the error. */ channels?: Maybe>; /** The error code. */ code: ProductErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** Index of an input list item that caused the error. */ index?: Maybe; /** The error message. */ message?: Maybe; /** List of attribute values IDs which causes the error. */ values?: Maybe>; /** List of warehouse IDs which causes the error. */ warehouses?: Maybe>; }; export type BulkStockError = { __typename?: "BulkStockError"; /** List of attributes IDs which causes the error. */ attributes?: Maybe>; /** The error code. */ code: ProductErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** Index of an input list item that caused the error. */ index?: Maybe; /** The error message. */ message?: Maybe; /** List of attribute values IDs which causes the error. */ values?: Maybe>; }; export type CardInput = { /** Payment method nonce, a token returned by the appropriate provider's SDK. */ code: Scalars["String"]; /** Card security code. */ cvc?: InputMaybe; /** Information about currency and amount. */ money: MoneyInput; }; export type CatalogueInput = { /** 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. * * Added in Saleor 3.1. */ variants?: InputMaybe>; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type Category = Node & ObjectWithMetadata & { __typename?: "Category"; /** List of ancestors of the category. */ ancestors?: Maybe; backgroundImage?: Maybe; /** List of children of the category. */ children?: Maybe; /** * Description of the category. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Description of the category. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; level: Scalars["Int"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; parent?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** List of products in the category. Requires the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ products?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; slug: Scalars["String"]; /** Returns translated category fields for the given language code. */ translation?: Maybe; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryAncestorsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryBackgroundImageArgs = { size?: InputMaybe; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryChildrenArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryMetafieldArgs = { key: Scalars["String"]; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryProductsArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a single category of products. Categories allow to organize products in a tree-hierarchies which can be used for navigation in the storefront. */ export type CategoryTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Deletes categories. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CategoryBulkDelete = { __typename?: "CategoryBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type CategoryCountableConnection = { __typename?: "CategoryCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type CategoryCountableEdge = { __typename?: "CategoryCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Category; }; /** * Creates a new category. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CategoryCreate = { __typename?: "CategoryCreate"; category?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type CategoryCreated = Event & { __typename?: "CategoryCreated"; /** * The category the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ category?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Deletes a category. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CategoryDelete = { __typename?: "CategoryDelete"; category?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type CategoryDeleted = Event & { __typename?: "CategoryDeleted"; /** * The category the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ category?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type CategoryFilterInput = { ids?: InputMaybe>; metadata?: InputMaybe>; search?: 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; /** Search engine optimization fields. */ seo?: InputMaybe; /** Category slug. */ slug?: InputMaybe; }; export enum CategorySortField { /** Sort categories by name. */ Name = "NAME", /** Sort categories by product count. */ ProductCount = "PRODUCT_COUNT", /** Sort categories by subcategory count. */ SubcategoryCount = "SUBCATEGORY_COUNT", } export type CategorySortingInput = { /** * 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 categories by the selected field. */ field: CategorySortField; }; export type CategoryTranslatableContent = Node & { __typename?: "CategoryTranslatableContent"; /** * Represents a single category of products. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ category?: Maybe; /** * Description of the category. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Description of the category. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; name: Scalars["String"]; seoDescription?: Maybe; seoTitle?: Maybe; /** Returns translated category fields for the given language code. */ translation?: Maybe; }; export type CategoryTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for a category. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type CategoryTranslate = { __typename?: "CategoryTranslate"; category?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type CategoryTranslation = Node & { __typename?: "CategoryTranslation"; /** * Translated description of the category. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Translated description of the category. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; }; /** * Updates a category. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CategoryUpdate = { __typename?: "CategoryUpdate"; category?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type CategoryUpdated = Event & { __typename?: "CategoryUpdated"; /** * The category the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ category?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** Represents channel. */ export type Channel = Node & { __typename?: "Channel"; currencyCode: Scalars["String"]; /** * 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: CountryDisplay; /** * Whether a channel has associated orders. * * Requires one of the following permissions: MANAGE_CHANNELS. */ hasOrders: Scalars["Boolean"]; id: Scalars["ID"]; isActive: Scalars["Boolean"]; name: Scalars["String"]; slug: Scalars["String"]; }; /** * Activate a channel. * * Requires one of the following permissions: MANAGE_CHANNELS. */ export type ChannelActivate = { __typename?: "ChannelActivate"; /** Activated channel. */ channel?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ channelErrors: Array; errors: Array; }; /** * Creates new channel. * * Requires one of the following permissions: MANAGE_CHANNELS. */ export type ChannelCreate = { __typename?: "ChannelCreate"; channel?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ channelErrors: Array; errors: Array; }; export type ChannelCreateInput = { /** List of shipping zones to assign to the channel. */ addShippingZones?: InputMaybe>; /** Currency of the channel. */ currencyCode: Scalars["String"]; /** * 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: CountryCode; /** isActive flag. */ isActive?: InputMaybe; /** Name of the channel. */ name: Scalars["String"]; /** Slug of the channel. */ slug: Scalars["String"]; }; export type ChannelCreated = Event & { __typename?: "ChannelCreated"; /** * The channel the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ channel?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Deactivate a channel. * * Requires one of the following permissions: MANAGE_CHANNELS. */ export type ChannelDeactivate = { __typename?: "ChannelDeactivate"; /** Deactivated channel. */ channel?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ channelErrors: Array; errors: Array; }; /** * Delete a channel. Orders associated with the deleted channel will be moved to the target channel. Checkouts, product availability, and pricing will be removed. * * Requires one of the following permissions: MANAGE_CHANNELS. */ export type ChannelDelete = { __typename?: "ChannelDelete"; channel?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ channelErrors: Array; errors: Array; }; export type ChannelDeleteInput = { /** ID of channel to migrate orders from origin channel. */ channelId: Scalars["ID"]; }; export type ChannelDeleted = Event & { __typename?: "ChannelDeleted"; /** * The channel the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ channel?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ChannelError = { __typename?: "ChannelError"; /** The error code. */ code: ChannelErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of shipping zone IDs which causes the error. */ shippingZones?: Maybe>; }; /** An enumeration. */ export enum ChannelErrorCode { AlreadyExists = "ALREADY_EXISTS", ChannelsCurrencyMustBeTheSame = "CHANNELS_CURRENCY_MUST_BE_THE_SAME", ChannelWithOrders = "CHANNEL_WITH_ORDERS", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } export type ChannelStatusChanged = Event & { __typename?: "ChannelStatusChanged"; /** * The channel the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ channel?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Update a channel. * * Requires one of the following permissions: MANAGE_CHANNELS. */ export type ChannelUpdate = { __typename?: "ChannelUpdate"; channel?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ channelErrors: Array; errors: Array; }; export type ChannelUpdateInput = { /** List of shipping zones to assign to the channel. */ addShippingZones?: 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; /** List of shipping zones to unassign from the channel. */ removeShippingZones?: InputMaybe>; /** Slug of the channel. */ slug?: InputMaybe; }; export type ChannelUpdated = Event & { __typename?: "ChannelUpdated"; /** * The channel the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ channel?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** Checkout object. */ export type Checkout = Node & ObjectWithMetadata & { __typename?: "Checkout"; /** * Collection points that can be used for this order. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ availableCollectionPoints: Array; /** List of available payment gateways. */ availablePaymentGateways: Array; /** * Shipping methods that can be used with this checkout. * @deprecated This field will be removed in Saleor 4.0. Use `shippingMethods` instead. */ availableShippingMethods: Array; billingAddress?: Maybe
; channel: Channel; created: Scalars["DateTime"]; /** * The delivery method selected for this checkout. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ deliveryMethod?: Maybe; discount?: Maybe; discountName?: Maybe; /** Email of a customer. */ email?: Maybe; /** List of gift cards associated with this checkout. */ giftCards: Array; id: Scalars["ID"]; /** Returns True, if checkout requires shipping. */ isShippingRequired: Scalars["Boolean"]; /** Checkout language code. */ languageCode: LanguageCodeEnum; lastChange: Scalars["DateTime"]; /** A list of checkout lines, each containing information about an item in the checkout. */ lines: Array; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; note: Scalars["String"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** The number of items purchased. */ quantity: Scalars["Int"]; shippingAddress?: Maybe
; /** * The shipping method related with checkout. * @deprecated This field will be removed in Saleor 4.0. Use `deliveryMethod` instead. */ shippingMethod?: Maybe; /** Shipping methods that can be used with this checkout. */ shippingMethods: Array; /** The price of the shipping, with all the taxes included. */ shippingPrice: TaxedMoney; /** * Date when oldest stock reservation for this checkout expires or null if no stock is reserved. * * Added in Saleor 3.1. */ stockReservationExpires?: Maybe; /** The price of the checkout before shipping, with taxes included. */ subtotalPrice: TaxedMoney; /** The checkout's token. */ token: Scalars["UUID"]; /** The sum of the the checkout line prices, with all the taxes,shipping costs, and discounts included. */ totalPrice: TaxedMoney; /** * List of transactions for the checkout. Requires one of the following permissions: MANAGE_CHECKOUTS, HANDLE_PAYMENTS. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ transactions?: Maybe>; translatedDiscountName?: Maybe; user?: Maybe; voucherCode?: Maybe; }; /** Checkout object. */ export type CheckoutMetafieldArgs = { key: Scalars["String"]; }; /** Checkout object. */ export type CheckoutMetafieldsArgs = { keys?: InputMaybe>; }; /** Checkout object. */ export type CheckoutPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Checkout object. */ export type CheckoutPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Adds a gift card or a voucher to a checkout. */ export type CheckoutAddPromoCode = { __typename?: "CheckoutAddPromoCode"; /** The checkout with the added gift card or voucher. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** Update billing address in the existing checkout. */ export type CheckoutBillingAddressUpdate = { __typename?: "CheckoutBillingAddressUpdate"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** Completes the checkout. As a result a new order is created and a payment charge is made. This action requires a successful payment before it can be performed. In case additional confirmation step as 3D secure is required confirmationNeeded flag will be set to True and no order created until payment is confirmed with second call of this mutation. */ export type CheckoutComplete = { __typename?: "CheckoutComplete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; /** Confirmation data used to process additional authorization steps. */ confirmationData?: Maybe; /** Set to true if payment needs to be confirmed before checkout is complete. */ confirmationNeeded: Scalars["Boolean"]; errors: Array; /** Placed order. */ order?: Maybe; }; export type CheckoutCountableConnection = { __typename?: "CheckoutCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type CheckoutCountableEdge = { __typename?: "CheckoutCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Checkout; }; /** Create a new checkout. */ export type CheckoutCreate = { __typename?: "CheckoutCreate"; checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; /** * Whether the checkout was created or the current active one was returned. Refer to checkoutLinesAdd and checkoutLinesUpdate to merge a cart with an active checkout. * @deprecated This field will be removed in Saleor 4.0. Always returns `true`. */ created?: Maybe; errors: Array; }; 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 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; }; export type CheckoutCreated = Event & { __typename?: "CheckoutCreated"; /** * The checkout the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ checkout?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Sets the customer as the owner of the checkout. * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_USER. */ export type CheckoutCustomerAttach = { __typename?: "CheckoutCustomerAttach"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** * Removes the user assigned as the owner of the checkout. * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_USER. */ export type CheckoutCustomerDetach = { __typename?: "CheckoutCustomerDetach"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** * Updates the delivery method (shipping method or pick up point) of the checkout. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type CheckoutDeliveryMethodUpdate = { __typename?: "CheckoutDeliveryMethodUpdate"; /** An updated checkout. */ checkout?: Maybe; errors: Array; }; /** Updates email address in the existing checkout object. */ export type CheckoutEmailUpdate = { __typename?: "CheckoutEmailUpdate"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; export type CheckoutError = { __typename?: "CheckoutError"; /** A type of address that causes the error. */ addressType?: Maybe; /** The error code. */ code: CheckoutErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** List of line Ids which cause the error. */ lines?: Maybe>; /** The error message. */ message?: Maybe; /** List of varint IDs which causes the error. */ variants?: Maybe>; }; /** An enumeration. */ export enum CheckoutErrorCode { BillingAddressNotSet = "BILLING_ADDRESS_NOT_SET", ChannelInactive = "CHANNEL_INACTIVE", CheckoutNotFullyPaid = "CHECKOUT_NOT_FULLY_PAID", DeliveryMethodNotApplicable = "DELIVERY_METHOD_NOT_APPLICABLE", EmailNotSet = "EMAIL_NOT_SET", GiftCardNotApplicable = "GIFT_CARD_NOT_APPLICABLE", GraphqlError = "GRAPHQL_ERROR", InsufficientStock = "INSUFFICIENT_STOCK", Invalid = "INVALID", InvalidShippingMethod = "INVALID_SHIPPING_METHOD", MissingChannelSlug = "MISSING_CHANNEL_SLUG", NotFound = "NOT_FOUND", NoLines = "NO_LINES", PaymentError = "PAYMENT_ERROR", ProductNotPublished = "PRODUCT_NOT_PUBLISHED", ProductUnavailableForPurchase = "PRODUCT_UNAVAILABLE_FOR_PURCHASE", QuantityGreaterThanLimit = "QUANTITY_GREATER_THAN_LIMIT", Required = "REQUIRED", ShippingAddressNotSet = "SHIPPING_ADDRESS_NOT_SET", ShippingMethodNotApplicable = "SHIPPING_METHOD_NOT_APPLICABLE", ShippingMethodNotSet = "SHIPPING_METHOD_NOT_SET", ShippingNotRequired = "SHIPPING_NOT_REQUIRED", TaxError = "TAX_ERROR", UnavailableVariantInChannel = "UNAVAILABLE_VARIANT_IN_CHANNEL", Unique = "UNIQUE", VoucherNotApplicable = "VOUCHER_NOT_APPLICABLE", ZeroQuantity = "ZERO_QUANTITY", } export type CheckoutFilterInput = { channels?: InputMaybe>; created?: InputMaybe; customer?: InputMaybe; metadata?: InputMaybe>; search?: InputMaybe; }; /** Update language code in the existing checkout. */ export type CheckoutLanguageCodeUpdate = { __typename?: "CheckoutLanguageCodeUpdate"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** Represents an item in the checkout. */ export type CheckoutLine = Node & { __typename?: "CheckoutLine"; id: Scalars["ID"]; quantity: Scalars["Int"]; /** Indicates whether the item need to be delivered. */ requiresShipping: Scalars["Boolean"]; /** The sum of the checkout line price, taxes and discounts. */ totalPrice: TaxedMoney; /** The sum of the checkout line price, without discounts. */ undiscountedTotalPrice: Money; /** The unit price of the checkout line, without discounts. */ undiscountedUnitPrice: Money; /** The unit price of the checkout line, with taxes and discounts. */ unitPrice: TaxedMoney; variant: ProductVariant; }; export type CheckoutLineCountableConnection = { __typename?: "CheckoutLineCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type CheckoutLineCountableEdge = { __typename?: "CheckoutLineCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: CheckoutLine; }; /** Deletes a CheckoutLine. */ export type CheckoutLineDelete = { __typename?: "CheckoutLineDelete"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; export type CheckoutLineInput = { /** * 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. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ price?: InputMaybe; /** The number of items purchased. */ quantity: Scalars["Int"]; /** ID of the product variant. */ variantId: Scalars["ID"]; }; export type CheckoutLineUpdateInput = { /** * 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. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ price?: InputMaybe; /** The number of items purchased. Optional for apps, required for any other users. */ quantity?: InputMaybe; /** ID of the product variant. */ variantId: Scalars["ID"]; }; /** Adds a checkout line to the existing checkout.If line was already in checkout, its quantity will be increased. */ export type CheckoutLinesAdd = { __typename?: "CheckoutLinesAdd"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** Deletes checkout lines. */ export type CheckoutLinesDelete = { __typename?: "CheckoutLinesDelete"; /** An updated checkout. */ checkout?: Maybe; errors: Array; }; /** Updates checkout line in the existing checkout. */ export type CheckoutLinesUpdate = { __typename?: "CheckoutLinesUpdate"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** Create a new payment for given checkout. */ export type CheckoutPaymentCreate = { __typename?: "CheckoutPaymentCreate"; /** Related checkout object. */ checkout?: Maybe; errors: Array; /** A newly created payment. */ payment?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ paymentErrors: Array; }; /** Remove a gift card or a voucher from a checkout. */ export type CheckoutRemovePromoCode = { __typename?: "CheckoutRemovePromoCode"; /** The checkout with the removed gift card or voucher. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** Update shipping address in the existing checkout. */ export type CheckoutShippingAddressUpdate = { __typename?: "CheckoutShippingAddressUpdate"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; /** Updates the shipping method of the checkout. */ export type CheckoutShippingMethodUpdate = { __typename?: "CheckoutShippingMethodUpdate"; /** An updated checkout. */ checkout?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ checkoutErrors: Array; errors: Array; }; export enum CheckoutSortField { /** Sort checkouts by creation date. */ CreationDate = "CREATION_DATE", /** Sort checkouts by customer. */ Customer = "CUSTOMER", /** Sort checkouts by payment. */ Payment = "PAYMENT", } export type CheckoutSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort checkouts by the selected field. */ field: CheckoutSortField; }; export type CheckoutUpdated = Event & { __typename?: "CheckoutUpdated"; /** * The checkout the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ checkout?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ChoiceValue = { __typename?: "ChoiceValue"; raw?: Maybe; verbose?: Maybe; }; /** Represents a collection of products. */ export type Collection = Node & ObjectWithMetadata & { __typename?: "Collection"; backgroundImage?: Maybe; /** Channel given to retrieve this collection. Also used by federation gateway to resolve this object in a federated query. */ channel?: Maybe; /** * List of channels in which the collection is available. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ channelListings?: Maybe>; /** * Description of the collection. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Description of the collection. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** List of products in this collection. */ products?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; slug: Scalars["String"]; /** Returns translated collection fields for the given language code. */ translation?: Maybe; }; /** Represents a collection of products. */ export type CollectionBackgroundImageArgs = { size?: InputMaybe; }; /** Represents a collection of products. */ export type CollectionMetafieldArgs = { key: Scalars["String"]; }; /** Represents a collection of products. */ export type CollectionMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a collection of products. */ export type CollectionPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a collection of products. */ export type CollectionPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a collection of products. */ export type CollectionProductsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; /** Represents a collection of products. */ export type CollectionTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Adds products to a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CollectionAddProducts = { __typename?: "CollectionAddProducts"; /** Collection to which products will be added. */ collection?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ collectionErrors: Array; errors: Array; }; /** * Deletes collections. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CollectionBulkDelete = { __typename?: "CollectionBulkDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ collectionErrors: Array; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; }; /** Represents collection channel listing. */ export type CollectionChannelListing = Node & { __typename?: "CollectionChannelListing"; channel: Channel; id: Scalars["ID"]; isPublished: Scalars["Boolean"]; /** @deprecated This field will be removed in Saleor 4.0. Use the `publishedAt` field to fetch the publication date. */ publicationDate?: Maybe; /** * The collection publication date. * * Added in Saleor 3.3. */ publishedAt?: Maybe; }; export type CollectionChannelListingError = { __typename?: "CollectionChannelListingError"; /** List of attributes IDs which causes the error. */ attributes?: Maybe>; /** List of channels IDs which causes the error. */ channels?: Maybe>; /** The error code. */ code: ProductErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of attribute values IDs which causes the error. */ values?: Maybe>; }; /** * Manage collection's availability in channels. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CollectionChannelListingUpdate = { __typename?: "CollectionChannelListingUpdate"; /** An updated collection instance. */ collection?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ collectionChannelListingErrors: Array; errors: Array; }; export type CollectionChannelListingUpdateInput = { /** List of channels to which the collection should be assigned. */ addChannels?: InputMaybe>; /** List of channels from which the collection should be unassigned. */ removeChannels?: InputMaybe>; }; export type CollectionCountableConnection = { __typename?: "CollectionCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type CollectionCountableEdge = { __typename?: "CollectionCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Collection; }; /** * Creates a new collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CollectionCreate = { __typename?: "CollectionCreate"; collection?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ collectionErrors: Array; errors: Array; }; export type CollectionCreateInput = { /** Background image file. */ backgroundImage?: InputMaybe; /** Alt text for an image. */ backgroundImageAlt?: InputMaybe; /** * Description of the collection. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; /** Informs whether a collection is published. */ isPublished?: InputMaybe; /** Name of the collection. */ name?: 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; }; export type CollectionCreated = Event & { __typename?: "CollectionCreated"; /** * The collection the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ collection?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type CollectionCreatedCollectionArgs = { channel?: InputMaybe; }; /** * Deletes a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CollectionDelete = { __typename?: "CollectionDelete"; collection?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ collectionErrors: Array; errors: Array; }; export type CollectionDeleted = Event & { __typename?: "CollectionDeleted"; /** * The collection the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ collection?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type CollectionDeletedCollectionArgs = { channel?: InputMaybe; }; export type CollectionError = { __typename?: "CollectionError"; /** The error code. */ code: CollectionErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of products IDs which causes the error. */ products?: Maybe>; }; /** An enumeration. */ export enum CollectionErrorCode { CannotManageProductWithoutVariant = "CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } export type CollectionFilterInput = { /** * 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; }; export type CollectionInput = { /** Background image file. */ backgroundImage?: InputMaybe; /** Alt text for an image. */ backgroundImageAlt?: InputMaybe; /** * Description of the collection. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; /** Informs whether a collection is published. */ isPublished?: InputMaybe; /** Name of the collection. */ name?: 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; }; export enum CollectionPublished { Hidden = "HIDDEN", Published = "PUBLISHED", } /** * Remove products from a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CollectionRemoveProducts = { __typename?: "CollectionRemoveProducts"; /** Collection from which products will be removed. */ collection?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ collectionErrors: Array; errors: Array; }; /** * Reorder the products of a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CollectionReorderProducts = { __typename?: "CollectionReorderProducts"; /** Collection from which products are reordered. */ collection?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ collectionErrors: Array; errors: Array; }; export enum CollectionSortField { /** * 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. */ ProductCount = "PRODUCT_COUNT", /** * Sort collections by publication date. * * This option requires a channel filter to work as the values can vary between channels. */ PublicationDate = "PUBLICATION_DATE", /** * Sort collections by publication date. * * This option requires a channel filter to work as the values can vary between channels. */ PublishedAt = "PUBLISHED_AT", } export type CollectionSortingInput = { /** * 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 collections by the selected field. */ field: CollectionSortField; }; export type CollectionTranslatableContent = Node & { __typename?: "CollectionTranslatableContent"; /** * Represents a collection of products. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ collection?: Maybe; /** * Description of the collection. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Description of the collection. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; name: Scalars["String"]; seoDescription?: Maybe; seoTitle?: Maybe; /** Returns translated collection fields for the given language code. */ translation?: Maybe; }; export type CollectionTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for a collection. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type CollectionTranslate = { __typename?: "CollectionTranslate"; collection?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type CollectionTranslation = Node & { __typename?: "CollectionTranslation"; /** * Translated description of the collection. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Translated description of the collection. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; }; /** * Updates a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type CollectionUpdate = { __typename?: "CollectionUpdate"; collection?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ collectionErrors: Array; errors: Array; }; export type CollectionUpdated = Event & { __typename?: "CollectionUpdated"; /** * The collection the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ collection?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type CollectionUpdatedCollectionArgs = { channel?: InputMaybe; }; /** Stores information about a single configuration field. */ export type ConfigurationItem = { __typename?: "ConfigurationItem"; /** Help text for the field. */ helpText?: Maybe; /** Label for the field. */ label?: Maybe; /** Name of the field. */ name: Scalars["String"]; /** Type of the field. */ type?: Maybe; /** Current value of the field. */ value?: Maybe; }; export type ConfigurationItemInput = { /** Name of the field to update. */ name: Scalars["String"]; /** Value of the given field to update. */ value?: InputMaybe; }; /** An enumeration. */ export enum ConfigurationTypeFieldEnum { Boolean = "BOOLEAN", Multiline = "MULTILINE", Output = "OUTPUT", Password = "PASSWORD", Secret = "SECRET", Secretmultiline = "SECRETMULTILINE", String = "STRING", } /** Confirm user account with token sent by email during registration. */ export type ConfirmAccount = { __typename?: "ConfirmAccount"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** An activated user account. */ user?: Maybe; }; /** * Confirm the email change of the logged-in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type ConfirmEmailChange = { __typename?: "ConfirmEmailChange"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** A user instance with a new email. */ user?: Maybe; }; /** 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", Az = "AZ", Ba = "BA", Bb = "BB", Bd = "BD", Be = "BE", Bf = "BF", Bg = "BG", Bh = "BH", Bi = "BI", Bj = "BJ", Bl = "BL", Bm = "BM", Bn = "BN", Bo = "BO", Bq = "BQ", Br = "BR", Bs = "BS", Bt = "BT", Bv = "BV", 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", Cv = "CV", Cw = "CW", Cx = "CX", Cy = "CY", Cz = "CZ", De = "DE", Dj = "DJ", Dk = "DK", Dm = "DM", Do = "DO", Dz = "DZ", Ec = "EC", Ee = "EE", Eg = "EG", Eh = "EH", Er = "ER", Es = "ES", Et = "ET", Eu = "EU", Fi = "FI", Fj = "FJ", Fk = "FK", Fm = "FM", Fo = "FO", Fr = "FR", Ga = "GA", Gb = "GB", Gd = "GD", Ge = "GE", Gf = "GF", Gg = "GG", Gh = "GH", Gi = "GI", Gl = "GL", Gm = "GM", Gn = "GN", Gp = "GP", Gq = "GQ", Gr = "GR", Gs = "GS", Gt = "GT", Gu = "GU", Gw = "GW", Gy = "GY", Hk = "HK", Hm = "HM", Hn = "HN", Hr = "HR", Ht = "HT", Hu = "HU", Id = "ID", Ie = "IE", Il = "IL", Im = "IM", In = "IN", Io = "IO", Iq = "IQ", Ir = "IR", Is = "IS", 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", Kz = "KZ", La = "LA", Lb = "LB", Lc = "LC", Li = "LI", Lk = "LK", Lr = "LR", Ls = "LS", 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", Mq = "MQ", Mr = "MR", Ms = "MS", Mt = "MT", Mu = "MU", Mv = "MV", Mw = "MW", Mx = "MX", My = "MY", Mz = "MZ", Na = "NA", Nc = "NC", Ne = "NE", Nf = "NF", Ng = "NG", Ni = "NI", Nl = "NL", No = "NO", Np = "NP", Nr = "NR", Nu = "NU", Nz = "NZ", 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", Py = "PY", Qa = "QA", Re = "RE", Ro = "RO", Rs = "RS", Ru = "RU", Rw = "RW", Sa = "SA", Sb = "SB", Sc = "SC", Sd = "SD", Se = "SE", Sg = "SG", Sh = "SH", Si = "SI", Sj = "SJ", Sk = "SK", Sl = "SL", Sm = "SM", Sn = "SN", So = "SO", Sr = "SR", Ss = "SS", St = "ST", Sv = "SV", Sx = "SX", 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", Tz = "TZ", Ua = "UA", Ug = "UG", Um = "UM", Us = "US", Uy = "UY", Uz = "UZ", Va = "VA", Vc = "VC", Ve = "VE", Vg = "VG", Vi = "VI", Vn = "VN", Vu = "VU", Wf = "WF", Ws = "WS", Ye = "YE", Yt = "YT", Za = "ZA", Zm = "ZM", Zw = "ZW", } export type CountryDisplay = { __typename?: "CountryDisplay"; /** Country code. */ code: Scalars["String"]; /** Country name. */ country: Scalars["String"]; /** Country tax. */ vat?: Maybe; }; export type CountryFilterInput = { /** Boolean for filtering countries by having shipping zone assigned.If 'true', return countries with shipping zone assigned.If 'false', return countries without any shipping zone assigned.If the argument is not provided (null), return all countries. */ attachedToShippingZones?: InputMaybe; }; /** Create JWT token. */ export type CreateToken = { __typename?: "CreateToken"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; /** CSRF token required to re-generate access token. */ csrfToken?: Maybe; errors: Array; /** JWT refresh token, required to re-generate access token. */ refreshToken?: Maybe; /** JWT token, required to authenticate. */ token?: Maybe; /** A user instance. */ user?: Maybe; }; export type CreditCard = { __typename?: "CreditCard"; /** Card brand. */ brand: Scalars["String"]; /** Two-digit number representing the card’s expiration month. */ expMonth?: Maybe; /** Four-digit number representing the card’s expiration year. */ expYear?: Maybe; /** First 4 digits of the card number. */ firstDigits?: Maybe; /** Last 4 digits of the card number. */ lastDigits: Scalars["String"]; }; /** * Deletes customers. * * Requires one of the following permissions: MANAGE_USERS. */ export type CustomerBulkDelete = { __typename?: "CustomerBulkDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; }; /** * Creates a new customer. * * Requires one of the following permissions: MANAGE_USERS. */ export type CustomerCreate = { __typename?: "CustomerCreate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; user?: Maybe; }; export type CustomerCreated = Event & { __typename?: "CustomerCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The user the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ user?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Deletes a customer. * * Requires one of the following permissions: MANAGE_USERS. */ export type CustomerDelete = { __typename?: "CustomerDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; user?: Maybe; }; /** History log of the customer. */ export type CustomerEvent = Node & { __typename?: "CustomerEvent"; /** App that performed the action. */ app?: Maybe; /** Number of objects concerned by the event. */ count?: Maybe; /** Date when event happened at in ISO 8601 format. */ date?: Maybe; id: Scalars["ID"]; /** Content of the event. */ message?: Maybe; /** The concerned order. */ order?: Maybe; /** The concerned order line. */ orderLine?: Maybe; /** Customer event type. */ type?: Maybe; /** User who performed the action. */ user?: Maybe; }; /** An enumeration. */ export enum CustomerEventsEnum { AccountCreated = "ACCOUNT_CREATED", CustomerDeleted = "CUSTOMER_DELETED", DigitalLinkDownloaded = "DIGITAL_LINK_DOWNLOADED", EmailAssigned = "EMAIL_ASSIGNED", EmailChanged = "EMAIL_CHANGED", EmailChangedRequest = "EMAIL_CHANGED_REQUEST", NameAssigned = "NAME_ASSIGNED", NoteAdded = "NOTE_ADDED", NoteAddedToOrder = "NOTE_ADDED_TO_ORDER", PasswordChanged = "PASSWORD_CHANGED", PasswordReset = "PASSWORD_RESET", PasswordResetLinkSent = "PASSWORD_RESET_LINK_SENT", PlacedOrder = "PLACED_ORDER", } export type CustomerFilterInput = { dateJoined?: InputMaybe; metadata?: InputMaybe>; numberOfOrders?: InputMaybe; placedOrders?: InputMaybe; search?: InputMaybe; updatedAt?: InputMaybe; }; export type CustomerInput = { /** Billing address of the customer. */ defaultBillingAddress?: InputMaybe; /** Shipping address of the customer. */ defaultShippingAddress?: InputMaybe; /** The unique email address of the user. */ email?: 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; }; /** * Updates an existing customer. * * Requires one of the following permissions: MANAGE_USERS. */ export type CustomerUpdate = { __typename?: "CustomerUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; user?: Maybe; }; export type CustomerUpdated = Event & { __typename?: "CustomerUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The user the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ user?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type DateRangeInput = { /** Start date. */ gte?: InputMaybe; /** End date. */ lte?: InputMaybe; }; export type DateTimeRangeInput = { /** Start date. */ gte?: InputMaybe; /** End date. */ lte?: InputMaybe; }; /** * Deactivate all JWT tokens of the currently authenticated user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type DeactivateAllUserTokens = { __typename?: "DeactivateAllUserTokens"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; }; /** Delete metadata of an object. To use it, you need to have access to the modified object. */ export type DeleteMetadata = { __typename?: "DeleteMetadata"; errors: Array; item?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ metadataErrors: Array; }; /** Delete object's private metadata. To use it, you need to be an authenticated staff user or an app and have access to the modified object. */ export type DeletePrivateMetadata = { __typename?: "DeletePrivateMetadata"; errors: Array; item?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ metadataErrors: Array; }; /** * Represents a delivery method chosen for the checkout. `Warehouse` type is used when checkout is marked as "click and collect" and `ShippingMethod` otherwise. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type DeliveryMethod = ShippingMethod | Warehouse; export type DigitalContent = Node & ObjectWithMetadata & { __typename?: "DigitalContent"; automaticFulfillment: Scalars["Boolean"]; contentFile: Scalars["String"]; id: Scalars["ID"]; maxDownloads?: Maybe; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** Product variant assigned to digital content. */ productVariant: ProductVariant; urlValidDays?: Maybe; /** List of URLs for the digital variant. */ urls?: Maybe>; useDefaultSettings: Scalars["Boolean"]; }; export type DigitalContentMetafieldArgs = { key: Scalars["String"]; }; export type DigitalContentMetafieldsArgs = { keys?: InputMaybe>; }; export type DigitalContentPrivateMetafieldArgs = { key: Scalars["String"]; }; export type DigitalContentPrivateMetafieldsArgs = { keys?: InputMaybe>; }; export type DigitalContentCountableConnection = { __typename?: "DigitalContentCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type DigitalContentCountableEdge = { __typename?: "DigitalContentCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: DigitalContent; }; /** * Create new digital content. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type DigitalContentCreate = { __typename?: "DigitalContentCreate"; content?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; variant?: Maybe; }; /** * Remove digital content assigned to given variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type DigitalContentDelete = { __typename?: "DigitalContentDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; variant?: Maybe; }; export type DigitalContentInput = { /** Overwrite default automatic_fulfillment setting for variant. */ automaticFulfillment?: InputMaybe; /** 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; /** Use default digital content settings for this product. */ useDefaultSettings: Scalars["Boolean"]; }; /** * Update digital content. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type DigitalContentUpdate = { __typename?: "DigitalContentUpdate"; content?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; variant?: Maybe; }; export type DigitalContentUploadInput = { /** Overwrite default automatic_fulfillment setting for variant. */ automaticFulfillment?: InputMaybe; /** Represents an file in a multipart request. */ contentFile: Scalars["Upload"]; /** 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; /** Use default digital content settings for this product. */ useDefaultSettings: Scalars["Boolean"]; }; export type DigitalContentUrl = Node & { __typename?: "DigitalContentUrl"; content: DigitalContent; created: Scalars["DateTime"]; downloadNum: Scalars["Int"]; id: Scalars["ID"]; /** UUID of digital content. */ token: Scalars["UUID"]; /** URL for digital content. */ url?: Maybe; }; /** * Generate new URL to digital content. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type DigitalContentUrlCreate = { __typename?: "DigitalContentUrlCreate"; digitalContentUrl?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type DigitalContentUrlCreateInput = { /** Digital content ID which URL will belong to. */ content: Scalars["ID"]; }; export type DiscountError = { __typename?: "DiscountError"; /** List of channels IDs which causes the error. */ channels?: Maybe>; /** The error code. */ code: DiscountErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of products IDs which causes the error. */ products?: Maybe>; }; /** An enumeration. */ export enum DiscountErrorCode { AlreadyExists = "ALREADY_EXISTS", CannotManageProductWithoutVariant = "CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } export enum DiscountStatusEnum { Active = "ACTIVE", Expired = "EXPIRED", Scheduled = "SCHEDULED", } export enum DiscountValueTypeEnum { Fixed = "FIXED", Percentage = "PERCENTAGE", } /** An enumeration. */ export enum DistanceUnitsEnum { Cm = "CM", Ft = "FT", Inch = "INCH", Km = "KM", M = "M", Yd = "YD", } /** Represents shop's domain. */ export type Domain = { __typename?: "Domain"; /** The host name of the domain. */ host: Scalars["String"]; /** Inform if SSL is enabled. */ sslEnabled: Scalars["Boolean"]; /** Shop's absolute URL. */ url: Scalars["String"]; }; /** * Deletes draft orders. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type DraftOrderBulkDelete = { __typename?: "DraftOrderBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** * Completes creating an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type DraftOrderComplete = { __typename?: "DraftOrderComplete"; errors: Array; /** Completed order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** * Creates a new draft order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type DraftOrderCreate = { __typename?: "DraftOrderCreate"; errors: Array; order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; 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; /** Discount amount for the order. */ discount?: 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 DraftOrderCreated = Event & { __typename?: "DraftOrderCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Deletes a draft order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type DraftOrderDelete = { __typename?: "DraftOrderDelete"; errors: Array; order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type DraftOrderDeleted = Event & { __typename?: "DraftOrderDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; 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; /** Discount amount for the order. */ discount?: 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; }; /** * Deletes order lines. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type DraftOrderLinesBulkDelete = { __typename?: "DraftOrderLinesBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** * Updates a draft order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type DraftOrderUpdate = { __typename?: "DraftOrderUpdate"; errors: Array; order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type DraftOrderUpdated = Event & { __typename?: "DraftOrderUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type Event = { /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** Event delivery. */ export type EventDelivery = Node & { __typename?: "EventDelivery"; /** Event delivery attempts. */ attempts?: Maybe; createdAt: Scalars["DateTime"]; /** Webhook event type. */ eventType: WebhookEventTypeEnum; id: Scalars["ID"]; /** Event payload. */ payload?: Maybe; /** Event delivery status. */ status: EventDeliveryStatusEnum; }; /** Event delivery. */ export type EventDeliveryAttemptsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; /** Event delivery attempts. */ export type EventDeliveryAttempt = Node & { __typename?: "EventDeliveryAttempt"; /** Event delivery creation date and time. */ createdAt: Scalars["DateTime"]; /** Delivery attempt duration. */ duration?: Maybe; id: Scalars["ID"]; /** Request headers for delivery attempt. */ requestHeaders?: Maybe; /** Delivery attempt response content. */ response?: Maybe; /** Response headers for delivery attempt. */ responseHeaders?: Maybe; /** Delivery attempt response status code. */ responseStatusCode?: Maybe; /** Event delivery status. */ status: EventDeliveryStatusEnum; /** Task id for delivery attempt. */ taskId?: Maybe; }; export type EventDeliveryAttemptCountableConnection = { __typename?: "EventDeliveryAttemptCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type EventDeliveryAttemptCountableEdge = { __typename?: "EventDeliveryAttemptCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: EventDeliveryAttempt; }; export enum EventDeliveryAttemptSortField { /** Sort event delivery attempts by created at. */ CreatedAt = "CREATED_AT", } export type EventDeliveryAttemptSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort attempts by the selected field. */ field: EventDeliveryAttemptSortField; }; export type EventDeliveryCountableConnection = { __typename?: "EventDeliveryCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type EventDeliveryCountableEdge = { __typename?: "EventDeliveryCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: EventDelivery; }; export type EventDeliveryFilterInput = { eventType?: InputMaybe; status?: InputMaybe; }; /** * Retries event delivery. * * Requires one of the following permissions: MANAGE_APPS. */ export type EventDeliveryRetry = { __typename?: "EventDeliveryRetry"; /** Event delivery. */ delivery?: Maybe; errors: Array; }; export enum EventDeliverySortField { /** Sort event deliveries by created at. */ CreatedAt = "CREATED_AT", } export type EventDeliverySortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort deliveries by the selected field. */ field: EventDeliverySortField; }; export enum EventDeliveryStatusEnum { Failed = "FAILED", Pending = "PENDING", Success = "SUCCESS", } export type ExportError = { __typename?: "ExportError"; /** The error code. */ code: ExportErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum ExportErrorCode { GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", } /** History log of export file. */ export type ExportEvent = Node & { __typename?: "ExportEvent"; /** App which performed the action. Requires one of the following permissions: OWNER, MANAGE_APPS. */ app?: Maybe; /** Date when event happened at in ISO 8601 format. */ date: Scalars["DateTime"]; /** The ID of the object. */ id: Scalars["ID"]; /** Content of the event. */ message: Scalars["String"]; /** Export event type. */ type: ExportEventsEnum; /** User who performed the action. Requires one of the following permissions: OWNER, MANAGE_STAFF. */ user?: Maybe; }; /** An enumeration. */ export enum ExportEventsEnum { ExportedFileSent = "EXPORTED_FILE_SENT", ExportDeleted = "EXPORT_DELETED", ExportFailed = "EXPORT_FAILED", ExportFailedInfoSent = "EXPORT_FAILED_INFO_SENT", ExportPending = "EXPORT_PENDING", ExportSuccess = "EXPORT_SUCCESS", } /** Represents a job data of exported file. */ export type ExportFile = Job & Node & { __typename?: "ExportFile"; app?: Maybe; /** Created date time of job in ISO 8601 format. */ createdAt: Scalars["DateTime"]; /** List of events associated with the export. */ events?: Maybe>; id: Scalars["ID"]; /** Job message. */ message?: Maybe; /** Job status. */ status: JobStatusEnum; /** Date time of job last update in ISO 8601 format. */ updatedAt: Scalars["DateTime"]; /** The URL of field to download. */ url?: Maybe; user?: Maybe; }; export type ExportFileCountableConnection = { __typename?: "ExportFileCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type ExportFileCountableEdge = { __typename?: "ExportFileCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: ExportFile; }; export type ExportFileFilterInput = { app?: InputMaybe; createdAt?: InputMaybe; status?: InputMaybe; updatedAt?: InputMaybe; user?: InputMaybe; }; export enum ExportFileSortField { CreatedAt = "CREATED_AT", LastModifiedAt = "LAST_MODIFIED_AT", Status = "STATUS", UpdatedAt = "UPDATED_AT", } export type ExportFileSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort export file by the selected field. */ field: ExportFileSortField; }; /** * Export gift cards to csv file. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type ExportGiftCards = { __typename?: "ExportGiftCards"; errors: Array; /** The newly created export file job which is responsible for export data. */ exportFile?: Maybe; }; export type ExportGiftCardsInput = { /** Type of exported file. */ fileType: FileTypesEnum; /** 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; }; export type ExportInfoInput = { /** List of attribute ids witch should be exported. */ attributes?: 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 products to csv file. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ExportProducts = { __typename?: "ExportProducts"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ exportErrors: Array; /** The newly created export file job which is responsible for export data. */ exportFile?: Maybe; }; export type ExportProductsInput = { /** Input with info about fields which should be exported. */ exportInfo?: InputMaybe; /** Type of exported file. */ fileType: FileTypesEnum; /** Filtering options for products. */ filter?: InputMaybe; /** List of products IDs to export. */ ids?: InputMaybe>; /** Determine which products should be exported. */ scope: ExportScope; }; export enum ExportScope { /** Export all products. */ All = "ALL", /** Export the filtered products. */ Filter = "FILTER", /** Export products with given ids. */ Ids = "IDS", } export type ExternalAuthentication = { __typename?: "ExternalAuthentication"; /** ID of external authentication plugin. */ id: Scalars["String"]; /** Name of external authentication plugin. */ name?: Maybe; }; /** Prepare external authentication url for user by custom plugin. */ export type ExternalAuthenticationUrl = { __typename?: "ExternalAuthenticationUrl"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; /** The data returned by authentication plugin. */ authenticationData?: Maybe; errors: Array; }; /** Logout user by custom plugin. */ export type ExternalLogout = { __typename?: "ExternalLogout"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** The data returned by authentication plugin. */ logoutData?: Maybe; }; export type ExternalNotificationError = { __typename?: "ExternalNotificationError"; /** The error code. */ code: ExternalNotificationErrorCodes; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum ExternalNotificationErrorCodes { ChannelInactive = "CHANNEL_INACTIVE", InvalidModelType = "INVALID_MODEL_TYPE", NotFound = "NOT_FOUND", Required = "REQUIRED", } /** * Trigger sending a notification with the notify plugin method. Serializes nodes provided as ids parameter and includes this data in the notification payload. * * Added in Saleor 3.1. */ export type ExternalNotificationTrigger = { __typename?: "ExternalNotificationTrigger"; errors: Array; }; 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; }; /** Obtain external access tokens for user by custom plugin. */ export type ExternalObtainAccessTokens = { __typename?: "ExternalObtainAccessTokens"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; /** CSRF token required to re-generate external access token. */ csrfToken?: Maybe; errors: Array; /** The refresh token, required to re-generate external access token. */ refreshToken?: Maybe; /** The token, required to authenticate. */ token?: Maybe; /** A user instance. */ user?: Maybe; }; /** Refresh user's access by custom plugin. */ export type ExternalRefresh = { __typename?: "ExternalRefresh"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; /** CSRF token required to re-generate external access token. */ csrfToken?: Maybe; errors: Array; /** The refresh token, required to re-generate external access token. */ refreshToken?: Maybe; /** The token, required to authenticate. */ token?: Maybe; /** A user instance. */ user?: Maybe; }; /** Verify external authentication data by plugin. */ export type ExternalVerify = { __typename?: "ExternalVerify"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** Determine if authentication data is valid or not. */ isValid: Scalars["Boolean"]; /** User assigned to data. */ user?: Maybe; /** External data. */ verifyData?: Maybe; }; export type File = { __typename?: "File"; /** Content type of the file. */ contentType?: Maybe; /** The URL of the file. */ url: Scalars["String"]; }; /** An enumeration. */ export enum FileTypesEnum { Csv = "CSV", Xlsx = "XLSX", } /** * Upload a file. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_STAFF_USER. */ export type FileUpload = { __typename?: "FileUpload"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ uploadErrors: Array; uploadedFile?: Maybe; }; /** Represents order fulfillment. */ export type Fulfillment = Node & ObjectWithMetadata & { __typename?: "Fulfillment"; created: Scalars["DateTime"]; fulfillmentOrder: Scalars["Int"]; id: Scalars["ID"]; /** List of lines for the fulfillment. */ lines?: Maybe>; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; status: FulfillmentStatus; /** User-friendly fulfillment status. */ statusDisplay?: Maybe; trackingNumber: Scalars["String"]; /** Warehouse from fulfillment was fulfilled. */ warehouse?: Maybe; }; /** Represents order fulfillment. */ export type FulfillmentMetafieldArgs = { key: Scalars["String"]; }; /** Represents order fulfillment. */ export type FulfillmentMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents order fulfillment. */ export type FulfillmentPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents order fulfillment. */ export type FulfillmentPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** * Approve existing fulfillment. * * Added in Saleor 3.1. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type FulfillmentApprove = { __typename?: "FulfillmentApprove"; errors: Array; /** An approved fulfillment. */ fulfillment?: Maybe; /** Order which fulfillment was approved. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** * Cancels existing fulfillment and optionally restocks items. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type FulfillmentCancel = { __typename?: "FulfillmentCancel"; errors: Array; /** A canceled fulfillment. */ fulfillment?: Maybe; /** Order which fulfillment was cancelled. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type FulfillmentCancelInput = { /** ID of a warehouse where items will be restocked. Optional when fulfillment is in WAITING_FOR_APPROVAL state. */ warehouseId?: InputMaybe; }; export type FulfillmentCanceled = Event & { __typename?: "FulfillmentCanceled"; /** * The fulfillment the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ fulfillment?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the fulfillment belongs to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type FulfillmentCreated = Event & { __typename?: "FulfillmentCreated"; /** * The fulfillment the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ fulfillment?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the fulfillment belongs to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** Represents line of the fulfillment. */ export type FulfillmentLine = Node & { __typename?: "FulfillmentLine"; id: Scalars["ID"]; orderLine?: Maybe; quantity: Scalars["Int"]; }; /** * Refund products. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type FulfillmentRefundProducts = { __typename?: "FulfillmentRefundProducts"; errors: Array; /** A refunded fulfillment. */ fulfillment?: Maybe; /** Order which fulfillment was refunded. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** * Return products. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type FulfillmentReturnProducts = { __typename?: "FulfillmentReturnProducts"; errors: Array; /** Order which fulfillment was returned. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; /** A replace fulfillment. */ replaceFulfillment?: Maybe; /** A draft order which was created for products with replace flag. */ replaceOrder?: Maybe; /** A return fulfillment. */ returnFulfillment?: Maybe; }; /** An enumeration. */ export enum FulfillmentStatus { Canceled = "CANCELED", Fulfilled = "FULFILLED", Refunded = "REFUNDED", RefundedAndReturned = "REFUNDED_AND_RETURNED", Replaced = "REPLACED", Returned = "RETURNED", WaitingForApproval = "WAITING_FOR_APPROVAL", } /** * Updates a fulfillment for an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type FulfillmentUpdateTracking = { __typename?: "FulfillmentUpdateTracking"; errors: Array; /** A fulfillment with updated tracking. */ fulfillment?: Maybe; /** Order for which fulfillment was updated. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type FulfillmentUpdateTrackingInput = { /** If true, send an email notification to the customer. */ notifyCustomer?: InputMaybe; /** Fulfillment tracking number. */ trackingNumber?: InputMaybe; }; /** Payment gateway client configuration key and value pair. */ export type GatewayConfigLine = { __typename?: "GatewayConfigLine"; /** Gateway config key. */ field: Scalars["String"]; /** Gateway config value for key. */ value?: Maybe; }; /** A gift card is a prepaid electronic payment card accepted in stores. They can be used during checkout by providing a valid gift card codes. */ export type GiftCard = Node & ObjectWithMetadata & { __typename?: "GiftCard"; /** * App which created the gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_APPS, OWNER. */ app?: Maybe; /** * Slug of the channel where the gift card was bought. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ boughtInChannel?: Maybe; /** Gift card code. Can be fetched by a staff member with MANAGE_GIFT_CARD when gift card wasn't yet used and by the gift card owner. */ code: Scalars["String"]; created: Scalars["DateTime"]; /** * The user who bought or issued a gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ createdBy?: Maybe; /** * Email address of the user who bought or issued gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_USERS, OWNER. */ createdByEmail?: Maybe; currentBalance?: Maybe; /** Code in format which allows displaying in a user interface. */ displayCode: Scalars["String"]; /** * End date of gift card. * @deprecated This field will be removed in Saleor 4.0. Use `expiryDate` field instead. */ endDate?: Maybe; /** * List of events associated with the gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ events: Array; expiryDate?: Maybe; id: Scalars["ID"]; initialBalance?: Maybe; isActive: Scalars["Boolean"]; /** Last 4 characters of gift card code. */ last4CodeChars: Scalars["String"]; lastUsedOn?: Maybe; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** * Related gift card product. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ product?: Maybe; /** * Start date of gift card. * @deprecated This field will be removed in Saleor 4.0. */ startDate?: Maybe; /** * The gift card tag. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ tags: Array; /** * The customer who used a gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ usedBy?: Maybe; /** * Email address of the customer who used a gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ usedByEmail?: Maybe; /** * The customer who bought a gift card. * @deprecated This field will be removed in Saleor 4.0. Use `createdBy` field instead. */ user?: Maybe; }; /** A gift card is a prepaid electronic payment card accepted in stores. They can be used during checkout by providing a valid gift card codes. */ export type GiftCardEventsArgs = { filter?: InputMaybe; }; /** A gift card is a prepaid electronic payment card accepted in stores. They can be used during checkout by providing a valid gift card codes. */ export type GiftCardMetafieldArgs = { key: Scalars["String"]; }; /** A gift card is a prepaid electronic payment card accepted in stores. They can be used during checkout by providing a valid gift card codes. */ export type GiftCardMetafieldsArgs = { keys?: InputMaybe>; }; /** A gift card is a prepaid electronic payment card accepted in stores. They can be used during checkout by providing a valid gift card codes. */ export type GiftCardPrivateMetafieldArgs = { key: Scalars["String"]; }; /** A gift card is a prepaid electronic payment card accepted in stores. They can be used during checkout by providing a valid gift card codes. */ export type GiftCardPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** * Activate a gift card. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardActivate = { __typename?: "GiftCardActivate"; errors: Array; /** Activated gift card. */ giftCard?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ giftCardErrors: Array; }; /** * Adds note to the gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardAddNote = { __typename?: "GiftCardAddNote"; errors: Array; /** Gift card note created. */ event?: Maybe; /** Gift card with the note added. */ giftCard?: Maybe; }; export type GiftCardAddNoteInput = { /** Note message. */ message: Scalars["String"]; }; /** * Activate gift cards. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardBulkActivate = { __typename?: "GiftCardBulkActivate"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; }; /** * Create gift cards. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardBulkCreate = { __typename?: "GiftCardBulkCreate"; /** Returns how many objects were created. */ count: Scalars["Int"]; errors: Array; /** List of created gift cards. */ giftCards: Array; }; export type GiftCardBulkCreateInput = { /** Balance of the gift card. */ balance: PriceInput; /** The number of cards to issue. */ count: Scalars["Int"]; /** The gift card expiry date. */ expiryDate?: InputMaybe; /** Determine if gift card is active. */ isActive: Scalars["Boolean"]; /** The gift card tags. */ tags?: InputMaybe>; }; /** * Deactivate gift cards. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardBulkDeactivate = { __typename?: "GiftCardBulkDeactivate"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; }; /** * Delete gift cards. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardBulkDelete = { __typename?: "GiftCardBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; }; export type GiftCardCountableConnection = { __typename?: "GiftCardCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type GiftCardCountableEdge = { __typename?: "GiftCardCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: GiftCard; }; /** * Creates a new gift card. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardCreate = { __typename?: "GiftCardCreate"; errors: Array; giftCard?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ giftCardErrors: Array; }; export type GiftCardCreateInput = { /** * The gift card tags to add. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ 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. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ 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. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ expiryDate?: InputMaybe; /** * Determine if gift card is active. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ isActive: Scalars["Boolean"]; /** * The gift card note from the staff member. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ 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; }; export type GiftCardCreated = Event & { __typename?: "GiftCardCreated"; /** * The gift card the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ giftCard?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Deactivate a gift card. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardDeactivate = { __typename?: "GiftCardDeactivate"; errors: Array; /** Deactivated gift card. */ giftCard?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ giftCardErrors: Array; }; /** * Delete gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardDelete = { __typename?: "GiftCardDelete"; errors: Array; giftCard?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ giftCardErrors: Array; }; export type GiftCardDeleted = Event & { __typename?: "GiftCardDeleted"; /** * The gift card the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ giftCard?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type GiftCardError = { __typename?: "GiftCardError"; /** The error code. */ code: GiftCardErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of tag values that cause the error. */ tags?: Maybe>; }; /** An enumeration. */ export enum GiftCardErrorCode { AlreadyExists = "ALREADY_EXISTS", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", ExpiredGiftCard = "EXPIRED_GIFT_CARD", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } /** * History log of the gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type GiftCardEvent = Node & { __typename?: "GiftCardEvent"; /** App that performed the action. Requires one of the following permissions: MANAGE_APPS, OWNER. */ app?: Maybe; /** The gift card balance. */ balance?: Maybe; /** Date when event happened at in ISO 8601 format. */ date?: Maybe; /** Email of the customer. */ email?: Maybe; /** The gift card expiry date. */ expiryDate?: Maybe; id: Scalars["ID"]; /** Content of the event. */ message?: Maybe; /** Previous gift card expiry date. */ oldExpiryDate?: Maybe; /** The list of old gift card tags. */ oldTags?: Maybe>; /** The order ID where gift card was used or bought. */ orderId?: Maybe; /** User-friendly number of an order where gift card was used or bought. */ orderNumber?: Maybe; /** The list of gift card tags. */ tags?: Maybe>; /** Gift card event type. */ type?: Maybe; /** User who performed the action. Requires one of the following permissions: MANAGE_USERS, MANAGE_STAFF, OWNER. */ user?: Maybe; }; export type GiftCardEventBalance = { __typename?: "GiftCardEventBalance"; /** Current balance of the gift card. */ currentBalance: Money; /** Initial balance of the gift card. */ initialBalance?: Maybe; /** Previous current balance of the gift card. */ oldCurrentBalance?: Maybe; /** Previous initial balance of the gift card. */ oldInitialBalance?: Maybe; }; export type GiftCardEventFilterInput = { orders?: InputMaybe>; type?: InputMaybe; }; /** An enumeration. */ export enum GiftCardEventsEnum { Activated = "ACTIVATED", BalanceReset = "BALANCE_RESET", Bought = "BOUGHT", Deactivated = "DEACTIVATED", ExpiryDateUpdated = "EXPIRY_DATE_UPDATED", Issued = "ISSUED", NoteAdded = "NOTE_ADDED", Resent = "RESENT", SentToCustomer = "SENT_TO_CUSTOMER", TagsUpdated = "TAGS_UPDATED", Updated = "UPDATED", UsedInOrder = "USED_IN_ORDER", } export type GiftCardFilterInput = { code?: InputMaybe; currency?: InputMaybe; currentBalance?: InputMaybe; initialBalance?: InputMaybe; isActive?: InputMaybe; metadata?: InputMaybe>; products?: InputMaybe>; tags?: InputMaybe>; used?: InputMaybe; usedBy?: InputMaybe>; }; /** * Resend a gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardResend = { __typename?: "GiftCardResend"; errors: Array; /** Gift card which has been sent. */ giftCard?: Maybe; }; 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"]; }; /** Gift card related settings from site settings. */ export type GiftCardSettings = { __typename?: "GiftCardSettings"; /** The gift card expiry period settings. */ expiryPeriod?: Maybe; /** The gift card expiry type settings. */ expiryType: GiftCardSettingsExpiryTypeEnum; }; export type GiftCardSettingsError = { __typename?: "GiftCardSettingsError"; /** The error code. */ code: GiftCardSettingsErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum GiftCardSettingsErrorCode { GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", Required = "REQUIRED", } /** An enumeration. */ export enum GiftCardSettingsExpiryTypeEnum { ExpiryPeriod = "EXPIRY_PERIOD", NeverExpire = "NEVER_EXPIRE", } /** * Update gift card settings. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardSettingsUpdate = { __typename?: "GiftCardSettingsUpdate"; errors: Array; /** Gift card settings. */ giftCardSettings?: Maybe; }; export type GiftCardSettingsUpdateInput = { /** Defines gift card expiry period. */ expiryPeriod?: InputMaybe; /** Defines gift card default expiry settings. */ expiryType?: InputMaybe; }; export enum GiftCardSortField { /** Sort orders by current balance. */ CurrentBalance = "CURRENT_BALANCE", /** Sort orders by product. */ Product = "PRODUCT", /** Sort orders by used by. */ UsedBy = "USED_BY", } export type GiftCardSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort gift cards by the selected field. */ field: GiftCardSortField; }; export type GiftCardStatusChanged = Event & { __typename?: "GiftCardStatusChanged"; /** * The gift card the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ giftCard?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * The gift card tag. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type GiftCardTag = Node & { __typename?: "GiftCardTag"; id: Scalars["ID"]; name: Scalars["String"]; }; export type GiftCardTagCountableConnection = { __typename?: "GiftCardTagCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type GiftCardTagCountableEdge = { __typename?: "GiftCardTagCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: GiftCardTag; }; export type GiftCardTagFilterInput = { search?: InputMaybe; }; /** * Update a gift card. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ export type GiftCardUpdate = { __typename?: "GiftCardUpdate"; errors: Array; giftCard?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ giftCardErrors: Array; }; export type GiftCardUpdateInput = { /** * The gift card tags to add. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ addTags?: InputMaybe>; /** * The gift card balance amount. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ balanceAmount?: 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. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ expiryDate?: InputMaybe; /** * The gift card tags to remove. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ removeTags?: InputMaybe>; /** * Start date of the gift card in ISO 8601 format. * * DEPRECATED: this field will be removed in Saleor 4.0. */ startDate?: InputMaybe; }; export type GiftCardUpdated = Event & { __typename?: "GiftCardUpdated"; /** * The gift card the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ giftCard?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** Represents permission group data. */ export type Group = Node & { __typename?: "Group"; id: Scalars["ID"]; name: Scalars["String"]; /** List of group permissions */ permissions?: Maybe>; /** True, if the currently authenticated user has rights to manage a group. */ userCanManage: Scalars["Boolean"]; /** * List of group users * * Requires one of the following permissions: MANAGE_STAFF. */ users?: Maybe>; }; export type GroupCountableConnection = { __typename?: "GroupCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type GroupCountableEdge = { __typename?: "GroupCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Group; }; /** Represents an image. */ export type Image = { __typename?: "Image"; /** Alt text for an image. */ alt?: Maybe; /** The URL of the image. */ url: Scalars["String"]; }; export type IntRangeInput = { /** Value greater than or equal to. */ gte?: InputMaybe; /** Value less than or equal to. */ lte?: InputMaybe; }; /** Represents an Invoice. */ export type Invoice = Job & Node & ObjectWithMetadata & { __typename?: "Invoice"; createdAt: Scalars["DateTime"]; externalUrl?: Maybe; /** The ID of the object. */ id: Scalars["ID"]; message?: Maybe; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; number?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** Job status. */ status: JobStatusEnum; updatedAt: Scalars["DateTime"]; /** URL to download an invoice. */ url?: Maybe; }; /** Represents an Invoice. */ export type InvoiceMetafieldArgs = { key: Scalars["String"]; }; /** Represents an Invoice. */ export type InvoiceMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents an Invoice. */ export type InvoicePrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents an Invoice. */ export type InvoicePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** * Creates a ready to send invoice. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type InvoiceCreate = { __typename?: "InvoiceCreate"; errors: Array; invoice?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ invoiceErrors: Array; }; export type InvoiceCreateInput = { /** Invoice number. */ number: Scalars["String"]; /** URL of an invoice to download. */ url: Scalars["String"]; }; /** * Deletes an invoice. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type InvoiceDelete = { __typename?: "InvoiceDelete"; errors: Array; invoice?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ invoiceErrors: Array; }; export type InvoiceDeleted = Event & { __typename?: "InvoiceDeleted"; /** * The invoice the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ invoice?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type InvoiceError = { __typename?: "InvoiceError"; /** The error code. */ code: InvoiceErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum InvoiceErrorCode { EmailNotSet = "EMAIL_NOT_SET", InvalidStatus = "INVALID_STATUS", NotFound = "NOT_FOUND", NotReady = "NOT_READY", NoInvoicePlugin = "NO_INVOICE_PLUGIN", NumberNotSet = "NUMBER_NOT_SET", Required = "REQUIRED", UrlNotSet = "URL_NOT_SET", } /** * Request an invoice for the order using plugin. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type InvoiceRequest = { __typename?: "InvoiceRequest"; errors: Array; invoice?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ invoiceErrors: Array; /** Order related to an invoice. */ order?: Maybe; }; /** * Requests deletion of an invoice. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type InvoiceRequestDelete = { __typename?: "InvoiceRequestDelete"; errors: Array; invoice?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ invoiceErrors: Array; }; export type InvoiceRequested = Event & { __typename?: "InvoiceRequested"; /** * The invoice the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ invoice?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Send an invoice notification to the customer. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type InvoiceSendNotification = { __typename?: "InvoiceSendNotification"; errors: Array; invoice?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ invoiceErrors: Array; }; export type InvoiceSent = Event & { __typename?: "InvoiceSent"; /** * The invoice the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ invoice?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Updates an invoice. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type InvoiceUpdate = { __typename?: "InvoiceUpdate"; errors: Array; invoice?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ invoiceErrors: Array; }; export type IssuingPrincipal = App | User; export type Job = { /** Created date time of job in ISO 8601 format. */ createdAt: Scalars["DateTime"]; /** Job message. */ message?: Maybe; /** Job status. */ status: JobStatusEnum; /** Date time of job last update in ISO 8601 format. */ updatedAt: Scalars["DateTime"]; }; /** An enumeration. */ export enum JobStatusEnum { Deleted = "DELETED", Failed = "FAILED", Pending = "PENDING", Success = "SUCCESS", } /** An enumeration. */ export enum LanguageCodeEnum { Af = "AF", AfNa = "AF_NA", AfZa = "AF_ZA", Agq = "AGQ", AgqCm = "AGQ_CM", Ak = "AK", AkGh = "AK_GH", Am = "AM", AmEt = "AM_ET", Ar = "AR", ArAe = "AR_AE", ArBh = "AR_BH", ArDj = "AR_DJ", ArDz = "AR_DZ", ArEg = "AR_EG", ArEh = "AR_EH", ArEr = "AR_ER", ArIl = "AR_IL", ArIq = "AR_IQ", ArJo = "AR_JO", ArKm = "AR_KM", ArKw = "AR_KW", ArLb = "AR_LB", ArLy = "AR_LY", ArMa = "AR_MA", ArMr = "AR_MR", ArOm = "AR_OM", ArPs = "AR_PS", ArQa = "AR_QA", ArSa = "AR_SA", ArSd = "AR_SD", ArSo = "AR_SO", ArSs = "AR_SS", ArSy = "AR_SY", ArTd = "AR_TD", ArTn = "AR_TN", ArYe = "AR_YE", As = "AS", Asa = "ASA", AsaTz = "ASA_TZ", Ast = "AST", AstEs = "AST_ES", AsIn = "AS_IN", Az = "AZ", AzCyrl = "AZ_CYRL", AzCyrlAz = "AZ_CYRL_AZ", AzLatn = "AZ_LATN", AzLatnAz = "AZ_LATN_AZ", Bas = "BAS", BasCm = "BAS_CM", Be = "BE", Bem = "BEM", BemZm = "BEM_ZM", Bez = "BEZ", BezTz = "BEZ_TZ", BeBy = "BE_BY", Bg = "BG", BgBg = "BG_BG", Bm = "BM", BmMl = "BM_ML", Bn = "BN", BnBd = "BN_BD", BnIn = "BN_IN", Bo = "BO", BoCn = "BO_CN", BoIn = "BO_IN", Br = "BR", Brx = "BRX", BrxIn = "BRX_IN", BrFr = "BR_FR", Bs = "BS", BsCyrl = "BS_CYRL", BsCyrlBa = "BS_CYRL_BA", BsLatn = "BS_LATN", BsLatnBa = "BS_LATN_BA", Ca = "CA", CaAd = "CA_AD", CaEs = "CA_ES", CaEsValencia = "CA_ES_VALENCIA", CaFr = "CA_FR", CaIt = "CA_IT", Ccp = "CCP", CcpBd = "CCP_BD", CcpIn = "CCP_IN", Ce = "CE", Ceb = "CEB", CebPh = "CEB_PH", CeRu = "CE_RU", Cgg = "CGG", CggUg = "CGG_UG", Chr = "CHR", ChrUs = "CHR_US", Ckb = "CKB", CkbIq = "CKB_IQ", CkbIr = "CKB_IR", Cs = "CS", CsCz = "CS_CZ", Cu = "CU", CuRu = "CU_RU", Cy = "CY", CyGb = "CY_GB", Da = "DA", Dav = "DAV", DavKe = "DAV_KE", DaDk = "DA_DK", DaGl = "DA_GL", De = "DE", DeAt = "DE_AT", DeBe = "DE_BE", DeCh = "DE_CH", DeDe = "DE_DE", DeIt = "DE_IT", DeLi = "DE_LI", DeLu = "DE_LU", Dje = "DJE", DjeNe = "DJE_NE", Dsb = "DSB", DsbDe = "DSB_DE", Dua = "DUA", DuaCm = "DUA_CM", Dyo = "DYO", DyoSn = "DYO_SN", Dz = "DZ", DzBt = "DZ_BT", Ebu = "EBU", EbuKe = "EBU_KE", Ee = "EE", EeGh = "EE_GH", EeTg = "EE_TG", El = "EL", ElCy = "EL_CY", ElGr = "EL_GR", En = "EN", EnAe = "EN_AE", EnAg = "EN_AG", EnAi = "EN_AI", EnAs = "EN_AS", EnAt = "EN_AT", EnAu = "EN_AU", EnBb = "EN_BB", EnBe = "EN_BE", EnBi = "EN_BI", EnBm = "EN_BM", EnBs = "EN_BS", EnBw = "EN_BW", EnBz = "EN_BZ", EnCa = "EN_CA", EnCc = "EN_CC", EnCh = "EN_CH", EnCk = "EN_CK", EnCm = "EN_CM", EnCx = "EN_CX", EnCy = "EN_CY", EnDe = "EN_DE", EnDg = "EN_DG", EnDk = "EN_DK", EnDm = "EN_DM", EnEr = "EN_ER", EnFi = "EN_FI", EnFj = "EN_FJ", EnFk = "EN_FK", EnFm = "EN_FM", EnGb = "EN_GB", EnGd = "EN_GD", EnGg = "EN_GG", EnGh = "EN_GH", EnGi = "EN_GI", EnGm = "EN_GM", EnGu = "EN_GU", EnGy = "EN_GY", EnHk = "EN_HK", EnIe = "EN_IE", EnIl = "EN_IL", EnIm = "EN_IM", EnIn = "EN_IN", EnIo = "EN_IO", EnJe = "EN_JE", EnJm = "EN_JM", EnKe = "EN_KE", EnKi = "EN_KI", EnKn = "EN_KN", EnKy = "EN_KY", EnLc = "EN_LC", EnLr = "EN_LR", EnLs = "EN_LS", EnMg = "EN_MG", EnMh = "EN_MH", EnMo = "EN_MO", EnMp = "EN_MP", EnMs = "EN_MS", EnMt = "EN_MT", EnMu = "EN_MU", EnMw = "EN_MW", EnMy = "EN_MY", EnNa = "EN_NA", EnNf = "EN_NF", EnNg = "EN_NG", EnNl = "EN_NL", EnNr = "EN_NR", EnNu = "EN_NU", EnNz = "EN_NZ", EnPg = "EN_PG", EnPh = "EN_PH", EnPk = "EN_PK", EnPn = "EN_PN", EnPr = "EN_PR", EnPw = "EN_PW", EnRw = "EN_RW", EnSb = "EN_SB", EnSc = "EN_SC", EnSd = "EN_SD", EnSe = "EN_SE", EnSg = "EN_SG", EnSh = "EN_SH", EnSi = "EN_SI", EnSl = "EN_SL", EnSs = "EN_SS", EnSx = "EN_SX", EnSz = "EN_SZ", EnTc = "EN_TC", EnTk = "EN_TK", EnTo = "EN_TO", EnTt = "EN_TT", EnTv = "EN_TV", EnTz = "EN_TZ", EnUg = "EN_UG", EnUm = "EN_UM", EnUs = "EN_US", EnVc = "EN_VC", EnVg = "EN_VG", EnVi = "EN_VI", EnVu = "EN_VU", EnWs = "EN_WS", EnZa = "EN_ZA", EnZm = "EN_ZM", EnZw = "EN_ZW", Eo = "EO", Es = "ES", EsAr = "ES_AR", EsBo = "ES_BO", EsBr = "ES_BR", EsBz = "ES_BZ", EsCl = "ES_CL", EsCo = "ES_CO", EsCr = "ES_CR", EsCu = "ES_CU", EsDo = "ES_DO", EsEa = "ES_EA", EsEc = "ES_EC", EsEs = "ES_ES", EsGq = "ES_GQ", EsGt = "ES_GT", EsHn = "ES_HN", EsIc = "ES_IC", EsMx = "ES_MX", EsNi = "ES_NI", EsPa = "ES_PA", EsPe = "ES_PE", EsPh = "ES_PH", EsPr = "ES_PR", EsPy = "ES_PY", EsSv = "ES_SV", EsUs = "ES_US", EsUy = "ES_UY", EsVe = "ES_VE", Et = "ET", EtEe = "ET_EE", Eu = "EU", EuEs = "EU_ES", Ewo = "EWO", EwoCm = "EWO_CM", Fa = "FA", FaAf = "FA_AF", FaIr = "FA_IR", Ff = "FF", FfAdlm = "FF_ADLM", FfAdlmBf = "FF_ADLM_BF", FfAdlmCm = "FF_ADLM_CM", FfAdlmGh = "FF_ADLM_GH", FfAdlmGm = "FF_ADLM_GM", FfAdlmGn = "FF_ADLM_GN", FfAdlmGw = "FF_ADLM_GW", FfAdlmLr = "FF_ADLM_LR", FfAdlmMr = "FF_ADLM_MR", FfAdlmNe = "FF_ADLM_NE", FfAdlmNg = "FF_ADLM_NG", FfAdlmSl = "FF_ADLM_SL", FfAdlmSn = "FF_ADLM_SN", FfLatn = "FF_LATN", FfLatnBf = "FF_LATN_BF", FfLatnCm = "FF_LATN_CM", FfLatnGh = "FF_LATN_GH", FfLatnGm = "FF_LATN_GM", FfLatnGn = "FF_LATN_GN", FfLatnGw = "FF_LATN_GW", FfLatnLr = "FF_LATN_LR", FfLatnMr = "FF_LATN_MR", FfLatnNe = "FF_LATN_NE", FfLatnNg = "FF_LATN_NG", FfLatnSl = "FF_LATN_SL", FfLatnSn = "FF_LATN_SN", Fi = "FI", Fil = "FIL", FilPh = "FIL_PH", FiFi = "FI_FI", Fo = "FO", FoDk = "FO_DK", FoFo = "FO_FO", Fr = "FR", FrBe = "FR_BE", FrBf = "FR_BF", FrBi = "FR_BI", FrBj = "FR_BJ", FrBl = "FR_BL", FrCa = "FR_CA", FrCd = "FR_CD", FrCf = "FR_CF", FrCg = "FR_CG", FrCh = "FR_CH", FrCi = "FR_CI", FrCm = "FR_CM", FrDj = "FR_DJ", FrDz = "FR_DZ", FrFr = "FR_FR", FrGa = "FR_GA", FrGf = "FR_GF", FrGn = "FR_GN", FrGp = "FR_GP", FrGq = "FR_GQ", FrHt = "FR_HT", FrKm = "FR_KM", FrLu = "FR_LU", FrMa = "FR_MA", FrMc = "FR_MC", FrMf = "FR_MF", FrMg = "FR_MG", FrMl = "FR_ML", FrMq = "FR_MQ", FrMr = "FR_MR", FrMu = "FR_MU", FrNc = "FR_NC", FrNe = "FR_NE", FrPf = "FR_PF", FrPm = "FR_PM", FrRe = "FR_RE", FrRw = "FR_RW", FrSc = "FR_SC", FrSn = "FR_SN", FrSy = "FR_SY", FrTd = "FR_TD", FrTg = "FR_TG", FrTn = "FR_TN", FrVu = "FR_VU", FrWf = "FR_WF", FrYt = "FR_YT", Fur = "FUR", FurIt = "FUR_IT", Fy = "FY", FyNl = "FY_NL", Ga = "GA", GaGb = "GA_GB", GaIe = "GA_IE", Gd = "GD", GdGb = "GD_GB", Gl = "GL", GlEs = "GL_ES", Gsw = "GSW", GswCh = "GSW_CH", GswFr = "GSW_FR", GswLi = "GSW_LI", Gu = "GU", Guz = "GUZ", GuzKe = "GUZ_KE", GuIn = "GU_IN", Gv = "GV", GvIm = "GV_IM", Ha = "HA", Haw = "HAW", HawUs = "HAW_US", HaGh = "HA_GH", HaNe = "HA_NE", HaNg = "HA_NG", He = "HE", HeIl = "HE_IL", Hi = "HI", HiIn = "HI_IN", Hr = "HR", HrBa = "HR_BA", HrHr = "HR_HR", Hsb = "HSB", HsbDe = "HSB_DE", Hu = "HU", HuHu = "HU_HU", Hy = "HY", HyAm = "HY_AM", Ia = "IA", Id = "ID", IdId = "ID_ID", Ig = "IG", IgNg = "IG_NG", Ii = "II", IiCn = "II_CN", Is = "IS", IsIs = "IS_IS", It = "IT", ItCh = "IT_CH", ItIt = "IT_IT", ItSm = "IT_SM", ItVa = "IT_VA", Ja = "JA", JaJp = "JA_JP", Jgo = "JGO", JgoCm = "JGO_CM", Jmc = "JMC", JmcTz = "JMC_TZ", Jv = "JV", JvId = "JV_ID", Ka = "KA", Kab = "KAB", KabDz = "KAB_DZ", Kam = "KAM", KamKe = "KAM_KE", KaGe = "KA_GE", Kde = "KDE", KdeTz = "KDE_TZ", Kea = "KEA", KeaCv = "KEA_CV", Khq = "KHQ", KhqMl = "KHQ_ML", Ki = "KI", KiKe = "KI_KE", Kk = "KK", Kkj = "KKJ", KkjCm = "KKJ_CM", KkKz = "KK_KZ", Kl = "KL", Kln = "KLN", KlnKe = "KLN_KE", KlGl = "KL_GL", Km = "KM", KmKh = "KM_KH", Kn = "KN", KnIn = "KN_IN", Ko = "KO", Kok = "KOK", KokIn = "KOK_IN", KoKp = "KO_KP", KoKr = "KO_KR", Ks = "KS", Ksb = "KSB", KsbTz = "KSB_TZ", Ksf = "KSF", KsfCm = "KSF_CM", Ksh = "KSH", KshDe = "KSH_DE", KsArab = "KS_ARAB", KsArabIn = "KS_ARAB_IN", Ku = "KU", KuTr = "KU_TR", Kw = "KW", KwGb = "KW_GB", Ky = "KY", KyKg = "KY_KG", Lag = "LAG", LagTz = "LAG_TZ", Lb = "LB", LbLu = "LB_LU", Lg = "LG", LgUg = "LG_UG", Lkt = "LKT", LktUs = "LKT_US", Ln = "LN", LnAo = "LN_AO", LnCd = "LN_CD", LnCf = "LN_CF", LnCg = "LN_CG", Lo = "LO", LoLa = "LO_LA", Lrc = "LRC", LrcIq = "LRC_IQ", LrcIr = "LRC_IR", Lt = "LT", LtLt = "LT_LT", Lu = "LU", Luo = "LUO", LuoKe = "LUO_KE", Luy = "LUY", LuyKe = "LUY_KE", LuCd = "LU_CD", Lv = "LV", LvLv = "LV_LV", Mai = "MAI", MaiIn = "MAI_IN", Mas = "MAS", MasKe = "MAS_KE", MasTz = "MAS_TZ", Mer = "MER", MerKe = "MER_KE", Mfe = "MFE", MfeMu = "MFE_MU", Mg = "MG", Mgh = "MGH", MghMz = "MGH_MZ", Mgo = "MGO", MgoCm = "MGO_CM", MgMg = "MG_MG", Mi = "MI", MiNz = "MI_NZ", Mk = "MK", MkMk = "MK_MK", Ml = "ML", MlIn = "ML_IN", Mn = "MN", Mni = "MNI", MniBeng = "MNI_BENG", MniBengIn = "MNI_BENG_IN", MnMn = "MN_MN", Mr = "MR", MrIn = "MR_IN", Ms = "MS", MsBn = "MS_BN", MsId = "MS_ID", MsMy = "MS_MY", MsSg = "MS_SG", Mt = "MT", MtMt = "MT_MT", Mua = "MUA", MuaCm = "MUA_CM", My = "MY", MyMm = "MY_MM", Mzn = "MZN", MznIr = "MZN_IR", Naq = "NAQ", NaqNa = "NAQ_NA", Nb = "NB", NbNo = "NB_NO", NbSj = "NB_SJ", Nd = "ND", Nds = "NDS", NdsDe = "NDS_DE", NdsNl = "NDS_NL", NdZw = "ND_ZW", Ne = "NE", NeIn = "NE_IN", NeNp = "NE_NP", Nl = "NL", NlAw = "NL_AW", NlBe = "NL_BE", NlBq = "NL_BQ", NlCw = "NL_CW", NlNl = "NL_NL", NlSr = "NL_SR", NlSx = "NL_SX", Nmg = "NMG", NmgCm = "NMG_CM", Nn = "NN", Nnh = "NNH", NnhCm = "NNH_CM", NnNo = "NN_NO", Nus = "NUS", NusSs = "NUS_SS", Nyn = "NYN", NynUg = "NYN_UG", Om = "OM", OmEt = "OM_ET", OmKe = "OM_KE", Or = "OR", OrIn = "OR_IN", Os = "OS", OsGe = "OS_GE", OsRu = "OS_RU", Pa = "PA", PaArab = "PA_ARAB", PaArabPk = "PA_ARAB_PK", PaGuru = "PA_GURU", PaGuruIn = "PA_GURU_IN", Pcm = "PCM", PcmNg = "PCM_NG", Pl = "PL", PlPl = "PL_PL", Prg = "PRG", Ps = "PS", PsAf = "PS_AF", PsPk = "PS_PK", Pt = "PT", PtAo = "PT_AO", PtBr = "PT_BR", PtCh = "PT_CH", PtCv = "PT_CV", PtGq = "PT_GQ", PtGw = "PT_GW", PtLu = "PT_LU", PtMo = "PT_MO", PtMz = "PT_MZ", PtPt = "PT_PT", PtSt = "PT_ST", PtTl = "PT_TL", Qu = "QU", QuBo = "QU_BO", QuEc = "QU_EC", QuPe = "QU_PE", Rm = "RM", RmCh = "RM_CH", Rn = "RN", RnBi = "RN_BI", Ro = "RO", Rof = "ROF", RofTz = "ROF_TZ", RoMd = "RO_MD", RoRo = "RO_RO", Ru = "RU", RuBy = "RU_BY", RuKg = "RU_KG", RuKz = "RU_KZ", RuMd = "RU_MD", RuRu = "RU_RU", RuUa = "RU_UA", Rw = "RW", Rwk = "RWK", RwkTz = "RWK_TZ", RwRw = "RW_RW", Sah = "SAH", SahRu = "SAH_RU", Saq = "SAQ", SaqKe = "SAQ_KE", Sat = "SAT", SatOlck = "SAT_OLCK", SatOlckIn = "SAT_OLCK_IN", Sbp = "SBP", SbpTz = "SBP_TZ", Sd = "SD", SdArab = "SD_ARAB", SdArabPk = "SD_ARAB_PK", SdDeva = "SD_DEVA", SdDevaIn = "SD_DEVA_IN", Se = "SE", Seh = "SEH", SehMz = "SEH_MZ", Ses = "SES", SesMl = "SES_ML", SeFi = "SE_FI", SeNo = "SE_NO", SeSe = "SE_SE", Sg = "SG", SgCf = "SG_CF", Shi = "SHI", ShiLatn = "SHI_LATN", ShiLatnMa = "SHI_LATN_MA", ShiTfng = "SHI_TFNG", ShiTfngMa = "SHI_TFNG_MA", Si = "SI", SiLk = "SI_LK", Sk = "SK", SkSk = "SK_SK", Sl = "SL", SlSi = "SL_SI", Smn = "SMN", SmnFi = "SMN_FI", Sn = "SN", SnZw = "SN_ZW", So = "SO", SoDj = "SO_DJ", SoEt = "SO_ET", SoKe = "SO_KE", SoSo = "SO_SO", Sq = "SQ", SqAl = "SQ_AL", SqMk = "SQ_MK", SqXk = "SQ_XK", Sr = "SR", SrCyrl = "SR_CYRL", SrCyrlBa = "SR_CYRL_BA", SrCyrlMe = "SR_CYRL_ME", SrCyrlRs = "SR_CYRL_RS", SrCyrlXk = "SR_CYRL_XK", SrLatn = "SR_LATN", SrLatnBa = "SR_LATN_BA", SrLatnMe = "SR_LATN_ME", SrLatnRs = "SR_LATN_RS", SrLatnXk = "SR_LATN_XK", Su = "SU", SuLatn = "SU_LATN", SuLatnId = "SU_LATN_ID", Sv = "SV", SvAx = "SV_AX", SvFi = "SV_FI", SvSe = "SV_SE", Sw = "SW", SwCd = "SW_CD", SwKe = "SW_KE", SwTz = "SW_TZ", SwUg = "SW_UG", Ta = "TA", TaIn = "TA_IN", TaLk = "TA_LK", TaMy = "TA_MY", TaSg = "TA_SG", Te = "TE", Teo = "TEO", TeoKe = "TEO_KE", TeoUg = "TEO_UG", TeIn = "TE_IN", Tg = "TG", TgTj = "TG_TJ", Th = "TH", ThTh = "TH_TH", Ti = "TI", TiEr = "TI_ER", TiEt = "TI_ET", Tk = "TK", TkTm = "TK_TM", To = "TO", ToTo = "TO_TO", Tr = "TR", TrCy = "TR_CY", TrTr = "TR_TR", Tt = "TT", TtRu = "TT_RU", Twq = "TWQ", TwqNe = "TWQ_NE", Tzm = "TZM", TzmMa = "TZM_MA", Ug = "UG", UgCn = "UG_CN", Uk = "UK", UkUa = "UK_UA", Ur = "UR", UrIn = "UR_IN", UrPk = "UR_PK", Uz = "UZ", UzArab = "UZ_ARAB", UzArabAf = "UZ_ARAB_AF", UzCyrl = "UZ_CYRL", UzCyrlUz = "UZ_CYRL_UZ", UzLatn = "UZ_LATN", UzLatnUz = "UZ_LATN_UZ", Vai = "VAI", VaiLatn = "VAI_LATN", VaiLatnLr = "VAI_LATN_LR", VaiVaii = "VAI_VAII", VaiVaiiLr = "VAI_VAII_LR", Vi = "VI", ViVn = "VI_VN", Vo = "VO", Vun = "VUN", VunTz = "VUN_TZ", Wae = "WAE", WaeCh = "WAE_CH", Wo = "WO", WoSn = "WO_SN", Xh = "XH", XhZa = "XH_ZA", Xog = "XOG", XogUg = "XOG_UG", Yav = "YAV", YavCm = "YAV_CM", Yi = "YI", Yo = "YO", YoBj = "YO_BJ", YoNg = "YO_NG", Yue = "YUE", YueHans = "YUE_HANS", YueHansCn = "YUE_HANS_CN", YueHant = "YUE_HANT", YueHantHk = "YUE_HANT_HK", Zgh = "ZGH", ZghMa = "ZGH_MA", Zh = "ZH", ZhHans = "ZH_HANS", ZhHansCn = "ZH_HANS_CN", ZhHansHk = "ZH_HANS_HK", ZhHansMo = "ZH_HANS_MO", ZhHansSg = "ZH_HANS_SG", ZhHant = "ZH_HANT", ZhHantHk = "ZH_HANT_HK", ZhHantMo = "ZH_HANT_MO", ZhHantTw = "ZH_HANT_TW", Zu = "ZU", ZuZa = "ZU_ZA", } export type LanguageDisplay = { __typename?: "LanguageDisplay"; /** ISO 639 representation of the language name. */ code: LanguageCodeEnum; /** Full name of the language. */ language: Scalars["String"]; }; export type LimitInfo = { __typename?: "LimitInfo"; /** Defines the allowed maximum resource usage, null means unlimited. */ allowedUsage: Limits; /** Defines the current resource usage. */ currentUsage: Limits; }; export type Limits = { __typename?: "Limits"; channels?: Maybe; orders?: Maybe; productVariants?: Maybe; staffUsers?: Maybe; warehouses?: Maybe; }; /** The manifest definition. */ export type Manifest = { __typename?: "Manifest"; about?: Maybe; appUrl?: Maybe; configurationUrl?: Maybe; dataPrivacy?: Maybe; dataPrivacyUrl?: Maybe; extensions: Array; homepageUrl?: Maybe; identifier: Scalars["String"]; name: Scalars["String"]; permissions?: Maybe>; supportUrl?: Maybe; tokenTargetUrl?: Maybe; version: Scalars["String"]; }; export type Margin = { __typename?: "Margin"; start?: Maybe; stop?: Maybe; }; /** An enumeration. */ export enum MeasurementUnitsEnum { AcreFt = "ACRE_FT", AcreIn = "ACRE_IN", Cm = "CM", CubicCentimeter = "CUBIC_CENTIMETER", CubicDecimeter = "CUBIC_DECIMETER", CubicFoot = "CUBIC_FOOT", CubicInch = "CUBIC_INCH", CubicMeter = "CUBIC_METER", CubicMillimeter = "CUBIC_MILLIMETER", CubicYard = "CUBIC_YARD", FlOz = "FL_OZ", Ft = "FT", G = "G", Inch = "INCH", Kg = "KG", Km = "KM", Lb = "LB", Liter = "LITER", M = "M", Oz = "OZ", Pint = "PINT", Qt = "QT", SqCm = "SQ_CM", SqFt = "SQ_FT", SqInch = "SQ_INCH", SqKm = "SQ_KM", SqM = "SQ_M", SqYd = "SQ_YD", Tonne = "TONNE", Yd = "YD", } /** Represents a single menu - an object that is used to help navigate through the store. */ export type Menu = Node & ObjectWithMetadata & { __typename?: "Menu"; id: Scalars["ID"]; items?: Maybe>; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; slug: Scalars["String"]; }; /** Represents a single menu - an object that is used to help navigate through the store. */ export type MenuMetafieldArgs = { key: Scalars["String"]; }; /** Represents a single menu - an object that is used to help navigate through the store. */ export type MenuMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a single menu - an object that is used to help navigate through the store. */ export type MenuPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a single menu - an object that is used to help navigate through the store. */ export type MenuPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** * Deletes menus. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuBulkDelete = { __typename?: "MenuBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; }; export type MenuCountableConnection = { __typename?: "MenuCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type MenuCountableEdge = { __typename?: "MenuCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Menu; }; /** * Creates a new Menu. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuCreate = { __typename?: "MenuCreate"; errors: Array; menu?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; }; 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; }; export type MenuCreated = Event & { __typename?: "MenuCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The menu the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ menu?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type MenuCreatedMenuArgs = { channel?: InputMaybe; }; /** * Deletes a menu. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuDelete = { __typename?: "MenuDelete"; errors: Array; menu?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; }; export type MenuDeleted = Event & { __typename?: "MenuDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The menu the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ menu?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type MenuDeletedMenuArgs = { channel?: InputMaybe; }; export type MenuError = { __typename?: "MenuError"; /** The error code. */ code: MenuErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum MenuErrorCode { CannotAssignNode = "CANNOT_ASSIGN_NODE", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", InvalidMenuItem = "INVALID_MENU_ITEM", NotFound = "NOT_FOUND", NoMenuItemProvided = "NO_MENU_ITEM_PROVIDED", Required = "REQUIRED", TooManyMenuItems = "TOO_MANY_MENU_ITEMS", Unique = "UNIQUE", } export type MenuFilterInput = { metadata?: InputMaybe>; search?: InputMaybe; slug?: InputMaybe>; }; export type MenuInput = { /** Name of the menu. */ name?: InputMaybe; /** Slug of the menu. */ slug?: InputMaybe; }; /** Represents a single item of the related menu. Can store categories, collection or pages. */ export type MenuItem = Node & ObjectWithMetadata & { __typename?: "MenuItem"; category?: Maybe; children?: Maybe>; /** A collection associated with this menu item. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ collection?: Maybe; id: Scalars["ID"]; level: Scalars["Int"]; menu: Menu; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** A page associated with this menu item. Requires one of the following permissions to include unpublished items: MANAGE_PAGES. */ page?: Maybe; parent?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** Returns translated menu item fields for the given language code. */ translation?: Maybe; /** URL to the menu item. */ url?: Maybe; }; /** Represents a single item of the related menu. Can store categories, collection or pages. */ export type MenuItemMetafieldArgs = { key: Scalars["String"]; }; /** Represents a single item of the related menu. Can store categories, collection or pages. */ export type MenuItemMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a single item of the related menu. Can store categories, collection or pages. */ export type MenuItemPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a single item of the related menu. Can store categories, collection or pages. */ export type MenuItemPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a single item of the related menu. Can store categories, collection or pages. */ export type MenuItemTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Deletes menu items. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuItemBulkDelete = { __typename?: "MenuItemBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; }; export type MenuItemCountableConnection = { __typename?: "MenuItemCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type MenuItemCountableEdge = { __typename?: "MenuItemCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: MenuItem; }; /** * Creates a new menu item. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuItemCreate = { __typename?: "MenuItemCreate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; menuItem?: Maybe; }; export type MenuItemCreateInput = { /** 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; /** ID of the parent menu. If empty, menu will be top level menu. */ parent?: InputMaybe; /** URL of the pointed item. */ url?: InputMaybe; }; export type MenuItemCreated = Event & { __typename?: "MenuItemCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The menu item the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ menuItem?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type MenuItemCreatedMenuItemArgs = { channel?: InputMaybe; }; /** * Deletes a menu item. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuItemDelete = { __typename?: "MenuItemDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; menuItem?: Maybe; }; export type MenuItemDeleted = Event & { __typename?: "MenuItemDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The menu item the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ menuItem?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type MenuItemDeletedMenuItemArgs = { channel?: InputMaybe; }; export type MenuItemFilterInput = { metadata?: InputMaybe>; search?: InputMaybe; }; export type MenuItemInput = { /** 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; }; /** * Moves items of menus. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuItemMove = { __typename?: "MenuItemMove"; errors: Array; /** Assigned menu to move within. */ menu?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; }; export type MenuItemMoveInput = { /** The menu item ID to move. */ itemId: Scalars["ID"]; /** ID of the parent menu. If empty, menu will be top level menu. */ parentId?: InputMaybe; /** The new relative sorting position of the item (from -inf to +inf). 1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged. */ sortOrder?: InputMaybe; }; export type MenuItemSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort menu items by the selected field. */ field: MenuItemsSortField; }; export type MenuItemTranslatableContent = Node & { __typename?: "MenuItemTranslatableContent"; id: Scalars["ID"]; /** * Represents a single item of the related menu. Can store categories, collection or pages. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ menuItem?: Maybe; name: Scalars["String"]; /** Returns translated menu item fields for the given language code. */ translation?: Maybe; }; export type MenuItemTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for a menu item. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type MenuItemTranslate = { __typename?: "MenuItemTranslate"; errors: Array; menuItem?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type MenuItemTranslation = Node & { __typename?: "MenuItemTranslation"; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name: Scalars["String"]; }; /** * Updates a menu item. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuItemUpdate = { __typename?: "MenuItemUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; menuItem?: Maybe; }; export type MenuItemUpdated = Event & { __typename?: "MenuItemUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The menu item the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ menuItem?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type MenuItemUpdatedMenuItemArgs = { channel?: InputMaybe; }; export enum MenuItemsSortField { /** Sort menu items by name. */ Name = "NAME", } export enum MenuSortField { /** Sort menus by items count. */ ItemsCount = "ITEMS_COUNT", /** Sort menus by name. */ Name = "NAME", } export type MenuSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort menus by the selected field. */ field: MenuSortField; }; /** * Updates a menu. * * Requires one of the following permissions: MANAGE_MENUS. */ export type MenuUpdate = { __typename?: "MenuUpdate"; errors: Array; menu?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ menuErrors: Array; }; export type MenuUpdated = Event & { __typename?: "MenuUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The menu the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ menu?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type MenuUpdatedMenuArgs = { channel?: InputMaybe; }; export type MetadataError = { __typename?: "MetadataError"; /** The error code. */ code: MetadataErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum MetadataErrorCode { GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", NotUpdated = "NOT_UPDATED", Required = "REQUIRED", } export type MetadataFilter = { /** Key of a metadata item. */ key: Scalars["String"]; /** Value of a metadata item. */ value?: InputMaybe; }; export type MetadataInput = { /** Key of a metadata item. */ key: Scalars["String"]; /** Value of a metadata item. */ value: Scalars["String"]; }; export type MetadataItem = { __typename?: "MetadataItem"; /** Key of a metadata item. */ key: Scalars["String"]; /** Value of a metadata item. */ value: Scalars["String"]; }; /** Represents amount of money in specific currency. */ export type Money = { __typename?: "Money"; /** Amount of money. */ amount: Scalars["Float"]; /** Currency code. */ currency: Scalars["String"]; }; export type MoneyInput = { /** Amount of money. */ amount: Scalars["PositiveDecimal"]; /** Currency code. */ currency: Scalars["String"]; }; /** Represents a range of amounts of money. */ export type MoneyRange = { __typename?: "MoneyRange"; /** Lower bound of a price range. */ start?: Maybe; /** Upper bound of a price range. */ stop?: Maybe; }; export type MoveProductInput = { /** The ID of the product to move. */ productId: Scalars["ID"]; /** The relative sorting position of the product (from -inf to +inf) starting from the first given product's actual position.1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged. */ sortOrder?: InputMaybe; }; export type Mutation = { __typename?: "Mutation"; /** * Create a new address for the customer. * * Requires one of the following permissions: AUTHENTICATED_USER. */ accountAddressCreate?: Maybe; /** Delete an address of the logged-in user. Requires one of the following permissions: MANAGE_USERS, IS_OWNER. */ accountAddressDelete?: Maybe; /** Updates an address of the logged-in user. Requires one of the following permissions: MANAGE_USERS, IS_OWNER. */ accountAddressUpdate?: Maybe; /** * Remove user account. * * Requires one of the following permissions: AUTHENTICATED_USER. */ accountDelete?: Maybe; /** Register a new user. */ accountRegister?: Maybe; /** * Sends an email with the account removal link for the logged-in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ accountRequestDeletion?: Maybe; /** * Sets a default address for the authenticated user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ accountSetDefaultAddress?: Maybe; /** * Updates the account of the logged-in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ accountUpdate?: Maybe; /** * Creates user address. * * Requires one of the following permissions: MANAGE_USERS. */ addressCreate?: Maybe; /** * Deletes an address. * * Requires one of the following permissions: MANAGE_USERS. */ addressDelete?: Maybe; /** * Sets a default address for the given user. * * Requires one of the following permissions: MANAGE_USERS. */ addressSetDefault?: Maybe; /** * Updates an address. * * Requires one of the following permissions: MANAGE_USERS. */ addressUpdate?: Maybe; /** * Activate the app. * * Requires one of the following permissions: MANAGE_APPS. */ appActivate?: Maybe; /** Creates a new app. Requires the following permissions: AUTHENTICATED_STAFF_USER and MANAGE_APPS. */ appCreate?: Maybe; /** * Deactivate the app. * * Requires one of the following permissions: MANAGE_APPS. */ appDeactivate?: Maybe; /** * Deletes an app. * * Requires one of the following permissions: MANAGE_APPS. */ appDelete?: Maybe; /** * Delete failed installation. * * Requires one of the following permissions: MANAGE_APPS. */ appDeleteFailedInstallation?: Maybe; /** * Fetch and validate manifest. * * Requires one of the following permissions: MANAGE_APPS. */ appFetchManifest?: Maybe; /** Install new app by using app manifest. Requires the following permissions: AUTHENTICATED_STAFF_USER and MANAGE_APPS. */ appInstall?: Maybe; /** * Retry failed installation of new app. * * Requires one of the following permissions: MANAGE_APPS. */ appRetryInstall?: Maybe; /** * Creates a new token. * * Requires one of the following permissions: MANAGE_APPS. */ appTokenCreate?: Maybe; /** * Deletes an authentication token assigned to app. * * Requires one of the following permissions: MANAGE_APPS. */ appTokenDelete?: Maybe; /** Verify provided app token. */ appTokenVerify?: Maybe; /** * Updates an existing app. * * Requires one of the following permissions: MANAGE_APPS. */ appUpdate?: Maybe; /** * Assigns storefront's navigation menus. * * Requires one of the following permissions: MANAGE_MENUS, MANAGE_SETTINGS. */ assignNavigation?: Maybe; /** * Add shipping zone to given warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ assignWarehouseShippingZone?: Maybe; /** * Deletes attributes. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ attributeBulkDelete?: Maybe; /** Creates an attribute. */ attributeCreate?: Maybe; /** * Deletes an attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ attributeDelete?: Maybe; /** * Reorder the values of an attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ attributeReorderValues?: Maybe; /** * Creates/updates translations for an attribute. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ attributeTranslate?: Maybe; /** * Updates attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ attributeUpdate?: Maybe; /** * Deletes values of attributes. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ attributeValueBulkDelete?: Maybe; /** * Creates a value for an attribute. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ attributeValueCreate?: Maybe; /** * Deletes a value of an attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ attributeValueDelete?: Maybe; /** * Creates/updates translations for an attribute value. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ attributeValueTranslate?: Maybe; /** * Updates value of an attribute. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ attributeValueUpdate?: Maybe; /** * Deletes categories. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ categoryBulkDelete?: Maybe; /** * Creates a new category. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ categoryCreate?: Maybe; /** * Deletes a category. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ categoryDelete?: Maybe; /** * Creates/updates translations for a category. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ categoryTranslate?: Maybe; /** * Updates a category. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ categoryUpdate?: Maybe; /** * Activate a channel. * * Requires one of the following permissions: MANAGE_CHANNELS. */ channelActivate?: Maybe; /** * Creates new channel. * * Requires one of the following permissions: MANAGE_CHANNELS. */ channelCreate?: Maybe; /** * Deactivate a channel. * * Requires one of the following permissions: MANAGE_CHANNELS. */ channelDeactivate?: Maybe; /** * Delete a channel. Orders associated with the deleted channel will be moved to the target channel. Checkouts, product availability, and pricing will be removed. * * Requires one of the following permissions: MANAGE_CHANNELS. */ channelDelete?: Maybe; /** * Update a channel. * * Requires one of the following permissions: MANAGE_CHANNELS. */ channelUpdate?: Maybe; /** Adds a gift card or a voucher to a checkout. */ checkoutAddPromoCode?: Maybe; /** Update billing address in the existing checkout. */ checkoutBillingAddressUpdate?: Maybe; /** Completes the checkout. As a result a new order is created and a payment charge is made. This action requires a successful payment before it can be performed. In case additional confirmation step as 3D secure is required confirmationNeeded flag will be set to True and no order created until payment is confirmed with second call of this mutation. */ checkoutComplete?: Maybe; /** Create a new checkout. */ checkoutCreate?: Maybe; /** * Sets the customer as the owner of the checkout. * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_USER. */ checkoutCustomerAttach?: Maybe; /** * Removes the user assigned as the owner of the checkout. * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_USER. */ checkoutCustomerDetach?: Maybe; /** * Updates the delivery method (shipping method or pick up point) of the checkout. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ checkoutDeliveryMethodUpdate?: Maybe; /** Updates email address in the existing checkout object. */ checkoutEmailUpdate?: Maybe; /** Update language code in the existing checkout. */ checkoutLanguageCodeUpdate?: Maybe; /** * Deletes a CheckoutLine. * @deprecated DEPRECATED: Will be removed in Saleor 4.0. Use `checkoutLinesDelete` instead. */ checkoutLineDelete?: Maybe; /** Adds a checkout line to the existing checkout.If line was already in checkout, its quantity will be increased. */ checkoutLinesAdd?: Maybe; /** Deletes checkout lines. */ checkoutLinesDelete?: Maybe; /** Updates checkout line in the existing checkout. */ checkoutLinesUpdate?: Maybe; /** Create a new payment for given checkout. */ checkoutPaymentCreate?: Maybe; /** Remove a gift card or a voucher from a checkout. */ checkoutRemovePromoCode?: Maybe; /** Update shipping address in the existing checkout. */ checkoutShippingAddressUpdate?: Maybe; /** * Updates the shipping method of the checkout. * @deprecated This field will be removed in Saleor 4.0. Use `checkoutDeliveryMethodUpdate` instead. */ checkoutShippingMethodUpdate?: Maybe; /** * Adds products to a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ collectionAddProducts?: Maybe; /** * Deletes collections. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ collectionBulkDelete?: Maybe; /** * Manage collection's availability in channels. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ collectionChannelListingUpdate?: Maybe; /** * Creates a new collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ collectionCreate?: Maybe; /** * Deletes a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ collectionDelete?: Maybe; /** * Remove products from a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ collectionRemoveProducts?: Maybe; /** * Reorder the products of a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ collectionReorderProducts?: Maybe; /** * Creates/updates translations for a collection. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ collectionTranslate?: Maybe; /** * Updates a collection. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ collectionUpdate?: Maybe; /** Confirm user account with token sent by email during registration. */ confirmAccount?: Maybe; /** * Confirm the email change of the logged-in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ confirmEmailChange?: Maybe; /** * Creates new warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ createWarehouse?: Maybe; /** * Deletes customers. * * Requires one of the following permissions: MANAGE_USERS. */ customerBulkDelete?: Maybe; /** * Creates a new customer. * * Requires one of the following permissions: MANAGE_USERS. */ customerCreate?: Maybe; /** * Deletes a customer. * * Requires one of the following permissions: MANAGE_USERS. */ customerDelete?: Maybe; /** * Updates an existing customer. * * Requires one of the following permissions: MANAGE_USERS. */ customerUpdate?: Maybe; /** Delete metadata of an object. To use it, you need to have access to the modified object. */ deleteMetadata?: Maybe; /** Delete object's private metadata. To use it, you need to be an authenticated staff user or an app and have access to the modified object. */ deletePrivateMetadata?: Maybe; /** * Deletes selected warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ deleteWarehouse?: Maybe; /** * Create new digital content. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec * * Requires one of the following permissions: MANAGE_PRODUCTS. */ digitalContentCreate?: Maybe; /** * Remove digital content assigned to given variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ digitalContentDelete?: Maybe; /** * Update digital content. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ digitalContentUpdate?: Maybe; /** * Generate new URL to digital content. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ digitalContentUrlCreate?: Maybe; /** * Deletes draft orders. * * Requires one of the following permissions: MANAGE_ORDERS. */ draftOrderBulkDelete?: Maybe; /** * Completes creating an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ draftOrderComplete?: Maybe; /** * Creates a new draft order. * * Requires one of the following permissions: MANAGE_ORDERS. */ draftOrderCreate?: Maybe; /** * Deletes a draft order. * * Requires one of the following permissions: MANAGE_ORDERS. */ draftOrderDelete?: Maybe; /** * Deletes order lines. * * Requires one of the following permissions: MANAGE_ORDERS. * @deprecated This field will be removed in Saleor 4.0. */ draftOrderLinesBulkDelete?: Maybe; /** * Updates a draft order. * * Requires one of the following permissions: MANAGE_ORDERS. */ draftOrderUpdate?: Maybe; /** * Retries event delivery. * * Requires one of the following permissions: MANAGE_APPS. */ eventDeliveryRetry?: Maybe; /** * Export gift cards to csv file. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ exportGiftCards?: Maybe; /** * Export products to csv file. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ exportProducts?: Maybe; /** Prepare external authentication url for user by custom plugin. */ externalAuthenticationUrl?: Maybe; /** Logout user by custom plugin. */ externalLogout?: Maybe; /** * Trigger sending a notification with the notify plugin method. Serializes nodes provided as ids parameter and includes this data in the notification payload. * * Added in Saleor 3.1. */ externalNotificationTrigger?: Maybe; /** Obtain external access tokens for user by custom plugin. */ externalObtainAccessTokens?: Maybe; /** Refresh user's access by custom plugin. */ externalRefresh?: Maybe; /** Verify external authentication data by plugin. */ externalVerify?: Maybe; /** * Upload a file. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_STAFF_USER. */ fileUpload?: Maybe; /** * Activate a gift card. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardActivate?: Maybe; /** * Adds note to the gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardAddNote?: Maybe; /** * Activate gift cards. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardBulkActivate?: Maybe; /** * Create gift cards. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardBulkCreate?: Maybe; /** * Deactivate gift cards. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardBulkDeactivate?: Maybe; /** * Delete gift cards. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardBulkDelete?: Maybe; /** * Creates a new gift card. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardCreate?: Maybe; /** * Deactivate a gift card. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardDeactivate?: Maybe; /** * Delete gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardDelete?: Maybe; /** * Resend a gift card. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardResend?: Maybe; /** * Update gift card settings. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardSettingsUpdate?: Maybe; /** * Update a gift card. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardUpdate?: Maybe; /** * Creates a ready to send invoice. * * Requires one of the following permissions: MANAGE_ORDERS. */ invoiceCreate?: Maybe; /** * Deletes an invoice. * * Requires one of the following permissions: MANAGE_ORDERS. */ invoiceDelete?: Maybe; /** * Request an invoice for the order using plugin. * * Requires one of the following permissions: MANAGE_ORDERS. */ invoiceRequest?: Maybe; /** * Requests deletion of an invoice. * * Requires one of the following permissions: MANAGE_ORDERS. */ invoiceRequestDelete?: Maybe; /** * Send an invoice notification to the customer. * * Requires one of the following permissions: MANAGE_ORDERS. */ invoiceSendNotification?: Maybe; /** * Updates an invoice. * * Requires one of the following permissions: MANAGE_ORDERS. */ invoiceUpdate?: Maybe; /** * Deletes menus. * * Requires one of the following permissions: MANAGE_MENUS. */ menuBulkDelete?: Maybe; /** * Creates a new Menu. * * Requires one of the following permissions: MANAGE_MENUS. */ menuCreate?: Maybe; /** * Deletes a menu. * * Requires one of the following permissions: MANAGE_MENUS. */ menuDelete?: Maybe; /** * Deletes menu items. * * Requires one of the following permissions: MANAGE_MENUS. */ menuItemBulkDelete?: Maybe; /** * Creates a new menu item. * * Requires one of the following permissions: MANAGE_MENUS. */ menuItemCreate?: Maybe; /** * Deletes a menu item. * * Requires one of the following permissions: MANAGE_MENUS. */ menuItemDelete?: Maybe; /** * Moves items of menus. * * Requires one of the following permissions: MANAGE_MENUS. */ menuItemMove?: Maybe; /** * Creates/updates translations for a menu item. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ menuItemTranslate?: Maybe; /** * Updates a menu item. * * Requires one of the following permissions: MANAGE_MENUS. */ menuItemUpdate?: Maybe; /** * Updates a menu. * * Requires one of the following permissions: MANAGE_MENUS. */ menuUpdate?: Maybe; /** * Adds note to the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderAddNote?: Maybe; /** * Cancels orders. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderBulkCancel?: Maybe; /** * Cancel an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderCancel?: Maybe; /** * Capture an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderCapture?: Maybe; /** * Confirms an unconfirmed order by changing status to unfulfilled. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderConfirm?: Maybe; /** * Create new order from existing checkout. Requires the following permissions: AUTHENTICATED_APP and HANDLE_CHECKOUTS. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ orderCreateFromCheckout?: Maybe; /** * Adds discount to the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderDiscountAdd?: Maybe; /** * Remove discount from the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderDiscountDelete?: Maybe; /** * Update discount for the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderDiscountUpdate?: Maybe; /** * Creates new fulfillments for an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderFulfill?: Maybe; /** * Approve existing fulfillment. * * Added in Saleor 3.1. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderFulfillmentApprove?: Maybe; /** * Cancels existing fulfillment and optionally restocks items. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderFulfillmentCancel?: Maybe; /** * Refund products. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderFulfillmentRefundProducts?: Maybe; /** * Return products. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderFulfillmentReturnProducts?: Maybe; /** * Updates a fulfillment for an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderFulfillmentUpdateTracking?: Maybe; /** * Deletes an order line from an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderLineDelete?: Maybe; /** * Remove discount applied to the order line. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderLineDiscountRemove?: Maybe; /** * Update discount for the order line. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderLineDiscountUpdate?: Maybe; /** * Updates an order line of an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderLineUpdate?: Maybe; /** * Create order lines for an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderLinesCreate?: Maybe; /** * Mark order as manually paid. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderMarkAsPaid?: Maybe; /** * Refund an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderRefund?: Maybe; /** * Update shop order settings. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderSettingsUpdate?: Maybe; /** * Updates an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderUpdate?: Maybe; /** * Updates a shipping method of the order. Requires shipping method ID to update, when null is passed then currently assigned shipping method is removed. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderUpdateShipping?: Maybe; /** * Void an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderVoid?: Maybe; /** * Assign attributes to a given page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ pageAttributeAssign?: Maybe; /** * Unassign attributes from a given page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ pageAttributeUnassign?: Maybe; /** * Deletes pages. * * Requires one of the following permissions: MANAGE_PAGES. */ pageBulkDelete?: Maybe; /** * Publish pages. * * Requires one of the following permissions: MANAGE_PAGES. */ pageBulkPublish?: Maybe; /** * Creates a new page. * * Requires one of the following permissions: MANAGE_PAGES. */ pageCreate?: Maybe; /** * Deletes a page. * * Requires one of the following permissions: MANAGE_PAGES. */ pageDelete?: Maybe; /** * Reorder page attribute values. * * Requires one of the following permissions: MANAGE_PAGES. */ pageReorderAttributeValues?: Maybe; /** * Creates/updates translations for a page. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ pageTranslate?: Maybe; /** * Delete page types. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ pageTypeBulkDelete?: Maybe; /** * Create a new page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ pageTypeCreate?: Maybe; /** * Delete a page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ pageTypeDelete?: Maybe; /** * Reorder the attributes of a page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ pageTypeReorderAttributes?: Maybe; /** * Update page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ pageTypeUpdate?: Maybe; /** * Updates an existing page. * * Requires one of the following permissions: MANAGE_PAGES. */ pageUpdate?: Maybe; /** * Change the password of the logged in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ passwordChange?: Maybe; /** * Captures the authorized payment amount. * * Requires one of the following permissions: MANAGE_ORDERS. */ paymentCapture?: Maybe; /** Check payment balance. */ paymentCheckBalance?: Maybe; /** Initializes payment process when it is required by gateway. */ paymentInitialize?: Maybe; /** * Refunds the captured payment amount. * * Requires one of the following permissions: MANAGE_ORDERS. */ paymentRefund?: Maybe; /** * Voids the authorized payment. * * Requires one of the following permissions: MANAGE_ORDERS. */ paymentVoid?: Maybe; /** * Create new permission group. * * Requires one of the following permissions: MANAGE_STAFF. */ permissionGroupCreate?: Maybe; /** * Delete permission group. * * Requires one of the following permissions: MANAGE_STAFF. */ permissionGroupDelete?: Maybe; /** * Update permission group. * * Requires one of the following permissions: MANAGE_STAFF. */ permissionGroupUpdate?: Maybe; /** * Update plugin configuration. * * Requires one of the following permissions: MANAGE_PLUGINS. */ pluginUpdate?: Maybe; /** * Assign attributes to a given product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ productAttributeAssign?: Maybe; /** * Update attributes assigned to product variant for given product type. * * Added in Saleor 3.1. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ productAttributeAssignmentUpdate?: Maybe; /** * Un-assign attributes from a given product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ productAttributeUnassign?: Maybe; /** * Deletes products. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productBulkDelete?: Maybe; /** * Manage product's availability in channels. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productChannelListingUpdate?: Maybe; /** * Creates a new product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productCreate?: Maybe; /** * Deletes a product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productDelete?: Maybe; /** * Deletes product media. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productMediaBulkDelete?: Maybe; /** * Create a media object (image or video URL) associated with product. For image, this mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productMediaCreate?: Maybe; /** * Deletes a product media. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productMediaDelete?: Maybe; /** * Changes ordering of the product media. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productMediaReorder?: Maybe; /** * Updates a product media. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productMediaUpdate?: Maybe; /** * Reorder product attribute values. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productReorderAttributeValues?: Maybe; /** * Creates/updates translations for a product. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ productTranslate?: Maybe; /** * Deletes product types. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ productTypeBulkDelete?: Maybe; /** * Creates a new product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ productTypeCreate?: Maybe; /** * Deletes a product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ productTypeDelete?: Maybe; /** * Reorder the attributes of a product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ productTypeReorderAttributes?: Maybe; /** * Updates an existing product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ productTypeUpdate?: Maybe; /** * Updates an existing product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productUpdate?: Maybe; /** * Creates product variants for a given product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantBulkCreate?: Maybe; /** * Deletes product variants. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantBulkDelete?: Maybe; /** * Manage product variant prices in channels. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantChannelListingUpdate?: Maybe; /** * Creates a new variant for a product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantCreate?: Maybe; /** * Deletes a product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantDelete?: Maybe; /** * Deactivates product variant preorder. It changes all preorder allocation into regular allocation. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantPreorderDeactivate?: Maybe; /** * Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantReorder?: Maybe; /** * Reorder product variant attribute values. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantReorderAttributeValues?: Maybe; /** * Set default variant for a product. Mutation triggers PRODUCT_UPDATED webhook. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantSetDefault?: Maybe; /** * Creates stocks for product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantStocksCreate?: Maybe; /** * Delete stocks from product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantStocksDelete?: Maybe; /** * Update stocks for product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantStocksUpdate?: Maybe; /** * Creates/updates translations for a product variant. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ productVariantTranslate?: Maybe; /** * Updates an existing variant for product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ productVariantUpdate?: Maybe; /** * Request email change of the logged in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ requestEmailChange?: Maybe; /** Sends an email with the account password modification link. */ requestPasswordReset?: Maybe; /** * Deletes sales. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ saleBulkDelete?: Maybe; /** * Adds products, categories, collections to a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ saleCataloguesAdd?: Maybe; /** * Removes products, categories, collections from a sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ saleCataloguesRemove?: Maybe; /** * Manage sale's availability in channels. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ saleChannelListingUpdate?: Maybe; /** * Creates a new sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ saleCreate?: Maybe; /** * Deletes a sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ saleDelete?: Maybe; /** * Creates/updates translations for a sale. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ saleTranslate?: Maybe; /** * Updates a sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ saleUpdate?: Maybe; /** Sets the user's password from the token sent by email using the RequestPasswordReset mutation. */ setPassword?: Maybe; /** * Manage shipping method's availability in channels. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingMethodChannelListingUpdate?: Maybe; /** * Deletes shipping prices. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingPriceBulkDelete?: Maybe; /** * Creates a new shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingPriceCreate?: Maybe; /** * Deletes a shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingPriceDelete?: Maybe; /** * Exclude products from shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingPriceExcludeProducts?: Maybe; /** * Remove product from excluded list for shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingPriceRemoveProductFromExclude?: Maybe; /** * Creates/updates translations for a shipping method. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ shippingPriceTranslate?: Maybe; /** * Updates a new shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingPriceUpdate?: Maybe; /** * Deletes shipping zones. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingZoneBulkDelete?: Maybe; /** * Creates a new shipping zone. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingZoneCreate?: Maybe; /** * Deletes a shipping zone. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingZoneDelete?: Maybe; /** * Updates a new shipping zone. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingZoneUpdate?: Maybe; /** * Update the shop's address. If the `null` value is passed, the currently selected address will be deleted. * * Requires one of the following permissions: MANAGE_SETTINGS. */ shopAddressUpdate?: Maybe; /** * Updates site domain of the shop. * * Requires one of the following permissions: MANAGE_SETTINGS. */ shopDomainUpdate?: Maybe; /** * Fetch tax rates. * * Requires one of the following permissions: MANAGE_SETTINGS. */ shopFetchTaxRates?: Maybe; /** * Creates/updates translations for shop settings. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ shopSettingsTranslate?: Maybe; /** * Updates shop settings. * * Requires one of the following permissions: MANAGE_SETTINGS. */ shopSettingsUpdate?: Maybe; /** * Deletes staff users. * * Requires one of the following permissions: MANAGE_STAFF. */ staffBulkDelete?: Maybe; /** * Creates a new staff user. * * Requires one of the following permissions: MANAGE_STAFF. */ staffCreate?: Maybe; /** * Deletes a staff user. * * Requires one of the following permissions: MANAGE_STAFF. */ staffDelete?: Maybe; /** * Creates a new staff notification recipient. * * Requires one of the following permissions: MANAGE_SETTINGS. */ staffNotificationRecipientCreate?: Maybe; /** * Delete staff notification recipient. * * Requires one of the following permissions: MANAGE_SETTINGS. */ staffNotificationRecipientDelete?: Maybe; /** * Updates a staff notification recipient. * * Requires one of the following permissions: MANAGE_SETTINGS. */ staffNotificationRecipientUpdate?: Maybe; /** * Updates an existing staff user. * * Requires one of the following permissions: MANAGE_STAFF. */ staffUpdate?: Maybe; /** Create JWT token. */ tokenCreate?: Maybe; /** Refresh JWT token. Mutation tries to take refreshToken from the input.If it fails it will try to take refreshToken from the http-only cookie -refreshToken. csrfToken is required when refreshToken is provided as a cookie. */ tokenRefresh?: Maybe; /** Verify JWT token. */ tokenVerify?: Maybe; /** * Deactivate all JWT tokens of the currently authenticated user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ tokensDeactivateAll?: Maybe; /** * Create transaction for checkout or order. Requires the following permissions: AUTHENTICATED_APP and HANDLE_PAYMENTS. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ transactionCreate?: Maybe; /** * Request an action for payment transaction. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: HANDLE_PAYMENTS, MANAGE_ORDERS. */ transactionRequestAction?: Maybe; /** * Create transaction for checkout or order. Requires the following permissions: AUTHENTICATED_APP and HANDLE_PAYMENTS. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ transactionUpdate?: Maybe; /** * Remove shipping zone from given warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ unassignWarehouseShippingZone?: Maybe; /** Updates metadata of an object. To use it, you need to have access to the modified object. */ updateMetadata?: Maybe; /** Updates private metadata of an object. To use it, you need to be an authenticated staff user or an app and have access to the modified object. */ updatePrivateMetadata?: Maybe; /** * Updates given warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ updateWarehouse?: Maybe; /** * Deletes a user avatar. Only for staff members. * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER. */ userAvatarDelete?: Maybe; /** * Create a user avatar. Only for staff members. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER. */ userAvatarUpdate?: Maybe; /** * Activate or deactivate users. * * Requires one of the following permissions: MANAGE_USERS. */ userBulkSetActive?: Maybe; /** * Assign an media to a product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ variantMediaAssign?: Maybe; /** * Unassign an media from a product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ variantMediaUnassign?: Maybe; /** * Deletes vouchers. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ voucherBulkDelete?: Maybe; /** * Adds products, categories, collections to a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ voucherCataloguesAdd?: Maybe; /** * Removes products, categories, collections from a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ voucherCataloguesRemove?: Maybe; /** * Manage voucher's availability in channels. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ voucherChannelListingUpdate?: Maybe; /** * Creates a new voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ voucherCreate?: Maybe; /** * Deletes a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ voucherDelete?: Maybe; /** * Creates/updates translations for a voucher. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ voucherTranslate?: Maybe; /** * Updates a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ voucherUpdate?: Maybe; /** * Creates a new webhook subscription. * * Requires one of the following permissions: MANAGE_APPS, AUTHENTICATED_APP. */ webhookCreate?: Maybe; /** * Deletes a webhook subscription. * * Requires one of the following permissions: MANAGE_APPS, AUTHENTICATED_APP. */ webhookDelete?: Maybe; /** * Updates a webhook subscription. * * Requires one of the following permissions: MANAGE_APPS. */ webhookUpdate?: Maybe; }; export type MutationAccountAddressCreateArgs = { input: AddressInput; type?: InputMaybe; }; export type MutationAccountAddressDeleteArgs = { id: Scalars["ID"]; }; export type MutationAccountAddressUpdateArgs = { id: Scalars["ID"]; input: AddressInput; }; export type MutationAccountDeleteArgs = { token: Scalars["String"]; }; export type MutationAccountRegisterArgs = { input: AccountRegisterInput; }; export type MutationAccountRequestDeletionArgs = { channel?: InputMaybe; redirectUrl: Scalars["String"]; }; export type MutationAccountSetDefaultAddressArgs = { id: Scalars["ID"]; type: AddressTypeEnum; }; export type MutationAccountUpdateArgs = { input: AccountInput; }; export type MutationAddressCreateArgs = { input: AddressInput; userId: Scalars["ID"]; }; export type MutationAddressDeleteArgs = { id: Scalars["ID"]; }; export type MutationAddressSetDefaultArgs = { addressId: Scalars["ID"]; type: AddressTypeEnum; userId: Scalars["ID"]; }; export type MutationAddressUpdateArgs = { id: Scalars["ID"]; input: AddressInput; }; export type MutationAppActivateArgs = { id: Scalars["ID"]; }; export type MutationAppCreateArgs = { input: AppInput; }; export type MutationAppDeactivateArgs = { id: Scalars["ID"]; }; export type MutationAppDeleteArgs = { id: Scalars["ID"]; }; export type MutationAppDeleteFailedInstallationArgs = { id: Scalars["ID"]; }; export type MutationAppFetchManifestArgs = { manifestUrl: Scalars["String"]; }; export type MutationAppInstallArgs = { input: AppInstallInput; }; export type MutationAppRetryInstallArgs = { activateAfterInstallation?: InputMaybe; id: Scalars["ID"]; }; export type MutationAppTokenCreateArgs = { input: AppTokenInput; }; export type MutationAppTokenDeleteArgs = { id: Scalars["ID"]; }; export type MutationAppTokenVerifyArgs = { token: Scalars["String"]; }; export type MutationAppUpdateArgs = { id: Scalars["ID"]; input: AppInput; }; export type MutationAssignNavigationArgs = { menu?: InputMaybe; navigationType: NavigationType; }; export type MutationAssignWarehouseShippingZoneArgs = { id: Scalars["ID"]; shippingZoneIds: Array; }; export type MutationAttributeBulkDeleteArgs = { ids: Array; }; export type MutationAttributeCreateArgs = { input: AttributeCreateInput; }; export type MutationAttributeDeleteArgs = { id: Scalars["ID"]; }; export type MutationAttributeReorderValuesArgs = { attributeId: Scalars["ID"]; moves: Array; }; export type MutationAttributeTranslateArgs = { id: Scalars["ID"]; input: NameTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationAttributeUpdateArgs = { id: Scalars["ID"]; input: AttributeUpdateInput; }; export type MutationAttributeValueBulkDeleteArgs = { ids: Array; }; export type MutationAttributeValueCreateArgs = { attribute: Scalars["ID"]; input: AttributeValueCreateInput; }; export type MutationAttributeValueDeleteArgs = { id: Scalars["ID"]; }; export type MutationAttributeValueTranslateArgs = { id: Scalars["ID"]; input: AttributeValueTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationAttributeValueUpdateArgs = { id: Scalars["ID"]; input: AttributeValueUpdateInput; }; export type MutationCategoryBulkDeleteArgs = { ids: Array; }; export type MutationCategoryCreateArgs = { input: CategoryInput; parent?: InputMaybe; }; export type MutationCategoryDeleteArgs = { id: Scalars["ID"]; }; export type MutationCategoryTranslateArgs = { id: Scalars["ID"]; input: TranslationInput; languageCode: LanguageCodeEnum; }; export type MutationCategoryUpdateArgs = { id: Scalars["ID"]; input: CategoryInput; }; export type MutationChannelActivateArgs = { id: Scalars["ID"]; }; export type MutationChannelCreateArgs = { input: ChannelCreateInput; }; export type MutationChannelDeactivateArgs = { id: Scalars["ID"]; }; export type MutationChannelDeleteArgs = { id: Scalars["ID"]; input?: InputMaybe; }; export type MutationChannelUpdateArgs = { id: Scalars["ID"]; input: ChannelUpdateInput; }; export type MutationCheckoutAddPromoCodeArgs = { checkoutId?: InputMaybe; id?: InputMaybe; promoCode: Scalars["String"]; token?: InputMaybe; }; export type MutationCheckoutBillingAddressUpdateArgs = { billingAddress: AddressInput; checkoutId?: InputMaybe; id?: InputMaybe; token?: InputMaybe; }; export type MutationCheckoutCompleteArgs = { checkoutId?: InputMaybe; id?: InputMaybe; paymentData?: InputMaybe; redirectUrl?: InputMaybe; storeSource?: InputMaybe; token?: InputMaybe; }; export type MutationCheckoutCreateArgs = { input: CheckoutCreateInput; }; export type MutationCheckoutCustomerAttachArgs = { checkoutId?: InputMaybe; customerId?: InputMaybe; id?: InputMaybe; token?: InputMaybe; }; export type MutationCheckoutCustomerDetachArgs = { checkoutId?: InputMaybe; id?: InputMaybe; token?: InputMaybe; }; export type MutationCheckoutDeliveryMethodUpdateArgs = { deliveryMethodId?: InputMaybe; id?: InputMaybe; token?: InputMaybe; }; export type MutationCheckoutEmailUpdateArgs = { checkoutId?: InputMaybe; email: Scalars["String"]; id?: InputMaybe; token?: InputMaybe; }; export type MutationCheckoutLanguageCodeUpdateArgs = { checkoutId?: InputMaybe; id?: InputMaybe; languageCode: LanguageCodeEnum; token?: InputMaybe; }; export type MutationCheckoutLineDeleteArgs = { checkoutId?: InputMaybe; id?: InputMaybe; lineId?: InputMaybe; token?: InputMaybe; }; export type MutationCheckoutLinesAddArgs = { checkoutId?: InputMaybe; id?: InputMaybe; lines: Array; token?: InputMaybe; }; export type MutationCheckoutLinesDeleteArgs = { id?: InputMaybe; linesIds: Array; token?: InputMaybe; }; export type MutationCheckoutLinesUpdateArgs = { checkoutId?: InputMaybe; id?: InputMaybe; lines: Array; token?: InputMaybe; }; export type MutationCheckoutPaymentCreateArgs = { checkoutId?: InputMaybe; id?: InputMaybe; input: PaymentInput; token?: InputMaybe; }; export type MutationCheckoutRemovePromoCodeArgs = { checkoutId?: InputMaybe; id?: InputMaybe; promoCode?: InputMaybe; promoCodeId?: InputMaybe; token?: InputMaybe; }; export type MutationCheckoutShippingAddressUpdateArgs = { checkoutId?: InputMaybe; id?: InputMaybe; shippingAddress: AddressInput; token?: InputMaybe; }; export type MutationCheckoutShippingMethodUpdateArgs = { checkoutId?: InputMaybe; id?: InputMaybe; shippingMethodId: Scalars["ID"]; token?: InputMaybe; }; export type MutationCollectionAddProductsArgs = { collectionId: Scalars["ID"]; products: Array; }; export type MutationCollectionBulkDeleteArgs = { ids: Array; }; export type MutationCollectionChannelListingUpdateArgs = { id: Scalars["ID"]; input: CollectionChannelListingUpdateInput; }; export type MutationCollectionCreateArgs = { input: CollectionCreateInput; }; export type MutationCollectionDeleteArgs = { id: Scalars["ID"]; }; export type MutationCollectionRemoveProductsArgs = { collectionId: Scalars["ID"]; products: Array; }; export type MutationCollectionReorderProductsArgs = { collectionId: Scalars["ID"]; moves: Array; }; export type MutationCollectionTranslateArgs = { id: Scalars["ID"]; input: TranslationInput; languageCode: LanguageCodeEnum; }; export type MutationCollectionUpdateArgs = { id: Scalars["ID"]; input: CollectionInput; }; export type MutationConfirmAccountArgs = { email: Scalars["String"]; token: Scalars["String"]; }; export type MutationConfirmEmailChangeArgs = { channel?: InputMaybe; token: Scalars["String"]; }; export type MutationCreateWarehouseArgs = { input: WarehouseCreateInput; }; export type MutationCustomerBulkDeleteArgs = { ids: Array; }; export type MutationCustomerCreateArgs = { input: UserCreateInput; }; export type MutationCustomerDeleteArgs = { id: Scalars["ID"]; }; export type MutationCustomerUpdateArgs = { id: Scalars["ID"]; input: CustomerInput; }; export type MutationDeleteMetadataArgs = { id: Scalars["ID"]; keys: Array; }; export type MutationDeletePrivateMetadataArgs = { id: Scalars["ID"]; keys: Array; }; export type MutationDeleteWarehouseArgs = { id: Scalars["ID"]; }; export type MutationDigitalContentCreateArgs = { input: DigitalContentUploadInput; variantId: Scalars["ID"]; }; export type MutationDigitalContentDeleteArgs = { variantId: Scalars["ID"]; }; export type MutationDigitalContentUpdateArgs = { input: DigitalContentInput; variantId: Scalars["ID"]; }; export type MutationDigitalContentUrlCreateArgs = { input: DigitalContentUrlCreateInput; }; export type MutationDraftOrderBulkDeleteArgs = { ids: Array; }; export type MutationDraftOrderCompleteArgs = { id: Scalars["ID"]; }; export type MutationDraftOrderCreateArgs = { input: DraftOrderCreateInput; }; export type MutationDraftOrderDeleteArgs = { id: Scalars["ID"]; }; export type MutationDraftOrderLinesBulkDeleteArgs = { ids: Array; }; export type MutationDraftOrderUpdateArgs = { id: Scalars["ID"]; input: DraftOrderInput; }; export type MutationEventDeliveryRetryArgs = { id: Scalars["ID"]; }; export type MutationExportGiftCardsArgs = { input: ExportGiftCardsInput; }; export type MutationExportProductsArgs = { input: ExportProductsInput; }; export type MutationExternalAuthenticationUrlArgs = { input: Scalars["JSONString"]; pluginId: Scalars["String"]; }; export type MutationExternalLogoutArgs = { input: Scalars["JSONString"]; pluginId: Scalars["String"]; }; export type MutationExternalNotificationTriggerArgs = { channel: Scalars["String"]; input: ExternalNotificationTriggerInput; pluginId?: InputMaybe; }; export type MutationExternalObtainAccessTokensArgs = { input: Scalars["JSONString"]; pluginId: Scalars["String"]; }; export type MutationExternalRefreshArgs = { input: Scalars["JSONString"]; pluginId: Scalars["String"]; }; export type MutationExternalVerifyArgs = { input: Scalars["JSONString"]; pluginId: Scalars["String"]; }; export type MutationFileUploadArgs = { file: Scalars["Upload"]; }; export type MutationGiftCardActivateArgs = { id: Scalars["ID"]; }; export type MutationGiftCardAddNoteArgs = { id: Scalars["ID"]; input: GiftCardAddNoteInput; }; export type MutationGiftCardBulkActivateArgs = { ids: Array; }; export type MutationGiftCardBulkCreateArgs = { input: GiftCardBulkCreateInput; }; export type MutationGiftCardBulkDeactivateArgs = { ids: Array; }; export type MutationGiftCardBulkDeleteArgs = { ids: Array; }; export type MutationGiftCardCreateArgs = { input: GiftCardCreateInput; }; export type MutationGiftCardDeactivateArgs = { id: Scalars["ID"]; }; export type MutationGiftCardDeleteArgs = { id: Scalars["ID"]; }; export type MutationGiftCardResendArgs = { input: GiftCardResendInput; }; export type MutationGiftCardSettingsUpdateArgs = { input: GiftCardSettingsUpdateInput; }; export type MutationGiftCardUpdateArgs = { id: Scalars["ID"]; input: GiftCardUpdateInput; }; export type MutationInvoiceCreateArgs = { input: InvoiceCreateInput; orderId: Scalars["ID"]; }; export type MutationInvoiceDeleteArgs = { id: Scalars["ID"]; }; export type MutationInvoiceRequestArgs = { number?: InputMaybe; orderId: Scalars["ID"]; }; export type MutationInvoiceRequestDeleteArgs = { id: Scalars["ID"]; }; export type MutationInvoiceSendNotificationArgs = { id: Scalars["ID"]; }; export type MutationInvoiceUpdateArgs = { id: Scalars["ID"]; input: UpdateInvoiceInput; }; export type MutationMenuBulkDeleteArgs = { ids: Array; }; export type MutationMenuCreateArgs = { input: MenuCreateInput; }; export type MutationMenuDeleteArgs = { id: Scalars["ID"]; }; export type MutationMenuItemBulkDeleteArgs = { ids: Array; }; export type MutationMenuItemCreateArgs = { input: MenuItemCreateInput; }; export type MutationMenuItemDeleteArgs = { id: Scalars["ID"]; }; export type MutationMenuItemMoveArgs = { menu: Scalars["ID"]; moves: Array; }; export type MutationMenuItemTranslateArgs = { id: Scalars["ID"]; input: NameTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationMenuItemUpdateArgs = { id: Scalars["ID"]; input: MenuItemInput; }; export type MutationMenuUpdateArgs = { id: Scalars["ID"]; input: MenuInput; }; export type MutationOrderAddNoteArgs = { input: OrderAddNoteInput; order: Scalars["ID"]; }; export type MutationOrderBulkCancelArgs = { ids: Array; }; export type MutationOrderCancelArgs = { id: Scalars["ID"]; }; export type MutationOrderCaptureArgs = { amount: Scalars["PositiveDecimal"]; id: Scalars["ID"]; }; export type MutationOrderConfirmArgs = { id: Scalars["ID"]; }; export type MutationOrderCreateFromCheckoutArgs = { id: Scalars["ID"]; removeCheckout?: InputMaybe; }; export type MutationOrderDiscountAddArgs = { input: OrderDiscountCommonInput; orderId: Scalars["ID"]; }; export type MutationOrderDiscountDeleteArgs = { discountId: Scalars["ID"]; }; export type MutationOrderDiscountUpdateArgs = { discountId: Scalars["ID"]; input: OrderDiscountCommonInput; }; export type MutationOrderFulfillArgs = { input: OrderFulfillInput; order?: InputMaybe; }; export type MutationOrderFulfillmentApproveArgs = { allowStockToBeExceeded?: InputMaybe; id: Scalars["ID"]; notifyCustomer: Scalars["Boolean"]; }; export type MutationOrderFulfillmentCancelArgs = { id: Scalars["ID"]; input?: InputMaybe; }; export type MutationOrderFulfillmentRefundProductsArgs = { input: OrderRefundProductsInput; order: Scalars["ID"]; }; export type MutationOrderFulfillmentReturnProductsArgs = { input: OrderReturnProductsInput; order: Scalars["ID"]; }; export type MutationOrderFulfillmentUpdateTrackingArgs = { id: Scalars["ID"]; input: FulfillmentUpdateTrackingInput; }; export type MutationOrderLineDeleteArgs = { id: Scalars["ID"]; }; export type MutationOrderLineDiscountRemoveArgs = { orderLineId: Scalars["ID"]; }; export type MutationOrderLineDiscountUpdateArgs = { input: OrderDiscountCommonInput; orderLineId: Scalars["ID"]; }; export type MutationOrderLineUpdateArgs = { id: Scalars["ID"]; input: OrderLineInput; }; export type MutationOrderLinesCreateArgs = { id: Scalars["ID"]; input: Array; }; export type MutationOrderMarkAsPaidArgs = { id: Scalars["ID"]; transactionReference?: InputMaybe; }; export type MutationOrderRefundArgs = { amount: Scalars["PositiveDecimal"]; id: Scalars["ID"]; }; export type MutationOrderSettingsUpdateArgs = { input: OrderSettingsUpdateInput; }; export type MutationOrderUpdateArgs = { id: Scalars["ID"]; input: OrderUpdateInput; }; export type MutationOrderUpdateShippingArgs = { input: OrderUpdateShippingInput; order: Scalars["ID"]; }; export type MutationOrderVoidArgs = { id: Scalars["ID"]; }; export type MutationPageAttributeAssignArgs = { attributeIds: Array; pageTypeId: Scalars["ID"]; }; export type MutationPageAttributeUnassignArgs = { attributeIds: Array; pageTypeId: Scalars["ID"]; }; export type MutationPageBulkDeleteArgs = { ids: Array; }; export type MutationPageBulkPublishArgs = { ids: Array; isPublished: Scalars["Boolean"]; }; export type MutationPageCreateArgs = { input: PageCreateInput; }; export type MutationPageDeleteArgs = { id: Scalars["ID"]; }; export type MutationPageReorderAttributeValuesArgs = { attributeId: Scalars["ID"]; moves: Array; pageId: Scalars["ID"]; }; export type MutationPageTranslateArgs = { id: Scalars["ID"]; input: PageTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationPageTypeBulkDeleteArgs = { ids: Array; }; export type MutationPageTypeCreateArgs = { input: PageTypeCreateInput; }; export type MutationPageTypeDeleteArgs = { id: Scalars["ID"]; }; export type MutationPageTypeReorderAttributesArgs = { moves: Array; pageTypeId: Scalars["ID"]; }; export type MutationPageTypeUpdateArgs = { id?: InputMaybe; input: PageTypeUpdateInput; }; export type MutationPageUpdateArgs = { id: Scalars["ID"]; input: PageInput; }; export type MutationPasswordChangeArgs = { newPassword: Scalars["String"]; oldPassword: Scalars["String"]; }; export type MutationPaymentCaptureArgs = { amount?: InputMaybe; paymentId: Scalars["ID"]; }; export type MutationPaymentCheckBalanceArgs = { input: PaymentCheckBalanceInput; }; export type MutationPaymentInitializeArgs = { channel?: InputMaybe; gateway: Scalars["String"]; paymentData?: InputMaybe; }; export type MutationPaymentRefundArgs = { amount?: InputMaybe; paymentId: Scalars["ID"]; }; export type MutationPaymentVoidArgs = { paymentId: Scalars["ID"]; }; export type MutationPermissionGroupCreateArgs = { input: PermissionGroupCreateInput; }; export type MutationPermissionGroupDeleteArgs = { id: Scalars["ID"]; }; export type MutationPermissionGroupUpdateArgs = { id: Scalars["ID"]; input: PermissionGroupUpdateInput; }; export type MutationPluginUpdateArgs = { channelId?: InputMaybe; id: Scalars["ID"]; input: PluginUpdateInput; }; export type MutationProductAttributeAssignArgs = { operations: Array; productTypeId: Scalars["ID"]; }; export type MutationProductAttributeAssignmentUpdateArgs = { operations: Array; productTypeId: Scalars["ID"]; }; export type MutationProductAttributeUnassignArgs = { attributeIds: Array; productTypeId: Scalars["ID"]; }; export type MutationProductBulkDeleteArgs = { ids: Array; }; export type MutationProductChannelListingUpdateArgs = { id: Scalars["ID"]; input: ProductChannelListingUpdateInput; }; export type MutationProductCreateArgs = { input: ProductCreateInput; }; export type MutationProductDeleteArgs = { id: Scalars["ID"]; }; export type MutationProductMediaBulkDeleteArgs = { ids: Array; }; export type MutationProductMediaCreateArgs = { input: ProductMediaCreateInput; }; export type MutationProductMediaDeleteArgs = { id: Scalars["ID"]; }; export type MutationProductMediaReorderArgs = { mediaIds: Array; productId: Scalars["ID"]; }; export type MutationProductMediaUpdateArgs = { id: Scalars["ID"]; input: ProductMediaUpdateInput; }; export type MutationProductReorderAttributeValuesArgs = { attributeId: Scalars["ID"]; moves: Array; productId: Scalars["ID"]; }; export type MutationProductTranslateArgs = { id: Scalars["ID"]; input: TranslationInput; languageCode: LanguageCodeEnum; }; export type MutationProductTypeBulkDeleteArgs = { ids: Array; }; export type MutationProductTypeCreateArgs = { input: ProductTypeInput; }; export type MutationProductTypeDeleteArgs = { id: Scalars["ID"]; }; export type MutationProductTypeReorderAttributesArgs = { moves: Array; productTypeId: Scalars["ID"]; type: ProductAttributeType; }; export type MutationProductTypeUpdateArgs = { id: Scalars["ID"]; input: ProductTypeInput; }; export type MutationProductUpdateArgs = { id: Scalars["ID"]; input: ProductInput; }; export type MutationProductVariantBulkCreateArgs = { product: Scalars["ID"]; variants: Array; }; export type MutationProductVariantBulkDeleteArgs = { ids: Array; }; export type MutationProductVariantChannelListingUpdateArgs = { id: Scalars["ID"]; input: Array; }; export type MutationProductVariantCreateArgs = { input: ProductVariantCreateInput; }; export type MutationProductVariantDeleteArgs = { id: Scalars["ID"]; }; export type MutationProductVariantPreorderDeactivateArgs = { id: Scalars["ID"]; }; export type MutationProductVariantReorderArgs = { moves: Array; productId: Scalars["ID"]; }; export type MutationProductVariantReorderAttributeValuesArgs = { attributeId: Scalars["ID"]; moves: Array; variantId: Scalars["ID"]; }; export type MutationProductVariantSetDefaultArgs = { productId: Scalars["ID"]; variantId: Scalars["ID"]; }; export type MutationProductVariantStocksCreateArgs = { stocks: Array; variantId: Scalars["ID"]; }; export type MutationProductVariantStocksDeleteArgs = { variantId: Scalars["ID"]; warehouseIds?: InputMaybe>; }; export type MutationProductVariantStocksUpdateArgs = { stocks: Array; variantId: Scalars["ID"]; }; export type MutationProductVariantTranslateArgs = { id: Scalars["ID"]; input: NameTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationProductVariantUpdateArgs = { id: Scalars["ID"]; input: ProductVariantInput; }; export type MutationRequestEmailChangeArgs = { channel?: InputMaybe; newEmail: Scalars["String"]; password: Scalars["String"]; redirectUrl: Scalars["String"]; }; export type MutationRequestPasswordResetArgs = { channel?: InputMaybe; email: Scalars["String"]; redirectUrl: Scalars["String"]; }; export type MutationSaleBulkDeleteArgs = { ids: Array; }; export type MutationSaleCataloguesAddArgs = { id: Scalars["ID"]; input: CatalogueInput; }; export type MutationSaleCataloguesRemoveArgs = { id: Scalars["ID"]; input: CatalogueInput; }; export type MutationSaleChannelListingUpdateArgs = { id: Scalars["ID"]; input: SaleChannelListingInput; }; export type MutationSaleCreateArgs = { input: SaleInput; }; export type MutationSaleDeleteArgs = { id: Scalars["ID"]; }; export type MutationSaleTranslateArgs = { id: Scalars["ID"]; input: NameTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationSaleUpdateArgs = { id: Scalars["ID"]; input: SaleInput; }; export type MutationSetPasswordArgs = { email: Scalars["String"]; password: Scalars["String"]; token: Scalars["String"]; }; export type MutationShippingMethodChannelListingUpdateArgs = { id: Scalars["ID"]; input: ShippingMethodChannelListingInput; }; export type MutationShippingPriceBulkDeleteArgs = { ids: Array; }; export type MutationShippingPriceCreateArgs = { input: ShippingPriceInput; }; export type MutationShippingPriceDeleteArgs = { id: Scalars["ID"]; }; export type MutationShippingPriceExcludeProductsArgs = { id: Scalars["ID"]; input: ShippingPriceExcludeProductsInput; }; export type MutationShippingPriceRemoveProductFromExcludeArgs = { id: Scalars["ID"]; products: Array; }; export type MutationShippingPriceTranslateArgs = { id: Scalars["ID"]; input: ShippingPriceTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationShippingPriceUpdateArgs = { id: Scalars["ID"]; input: ShippingPriceInput; }; export type MutationShippingZoneBulkDeleteArgs = { ids: Array; }; export type MutationShippingZoneCreateArgs = { input: ShippingZoneCreateInput; }; export type MutationShippingZoneDeleteArgs = { id: Scalars["ID"]; }; export type MutationShippingZoneUpdateArgs = { id: Scalars["ID"]; input: ShippingZoneUpdateInput; }; export type MutationShopAddressUpdateArgs = { input?: InputMaybe; }; export type MutationShopDomainUpdateArgs = { input?: InputMaybe; }; export type MutationShopSettingsTranslateArgs = { input: ShopSettingsTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationShopSettingsUpdateArgs = { input: ShopSettingsInput; }; export type MutationStaffBulkDeleteArgs = { ids: Array; }; export type MutationStaffCreateArgs = { input: StaffCreateInput; }; export type MutationStaffDeleteArgs = { id: Scalars["ID"]; }; export type MutationStaffNotificationRecipientCreateArgs = { input: StaffNotificationRecipientInput; }; export type MutationStaffNotificationRecipientDeleteArgs = { id: Scalars["ID"]; }; export type MutationStaffNotificationRecipientUpdateArgs = { id: Scalars["ID"]; input: StaffNotificationRecipientInput; }; export type MutationStaffUpdateArgs = { id: Scalars["ID"]; input: StaffUpdateInput; }; export type MutationTokenCreateArgs = { email: Scalars["String"]; password: Scalars["String"]; }; export type MutationTokenRefreshArgs = { csrfToken?: InputMaybe; refreshToken?: InputMaybe; }; export type MutationTokenVerifyArgs = { token: Scalars["String"]; }; export type MutationTransactionCreateArgs = { id: Scalars["ID"]; transaction: TransactionCreateInput; transactionEvent?: InputMaybe; }; export type MutationTransactionRequestActionArgs = { actionType: TransactionActionEnum; amount?: InputMaybe; id: Scalars["ID"]; }; export type MutationTransactionUpdateArgs = { id: Scalars["ID"]; transaction?: InputMaybe; transactionEvent?: InputMaybe; }; export type MutationUnassignWarehouseShippingZoneArgs = { id: Scalars["ID"]; shippingZoneIds: Array; }; export type MutationUpdateMetadataArgs = { id: Scalars["ID"]; input: Array; }; export type MutationUpdatePrivateMetadataArgs = { id: Scalars["ID"]; input: Array; }; export type MutationUpdateWarehouseArgs = { id: Scalars["ID"]; input: WarehouseUpdateInput; }; export type MutationUserAvatarUpdateArgs = { image: Scalars["Upload"]; }; export type MutationUserBulkSetActiveArgs = { ids: Array; isActive: Scalars["Boolean"]; }; export type MutationVariantMediaAssignArgs = { mediaId: Scalars["ID"]; variantId: Scalars["ID"]; }; export type MutationVariantMediaUnassignArgs = { mediaId: Scalars["ID"]; variantId: Scalars["ID"]; }; export type MutationVoucherBulkDeleteArgs = { ids: Array; }; export type MutationVoucherCataloguesAddArgs = { id: Scalars["ID"]; input: CatalogueInput; }; export type MutationVoucherCataloguesRemoveArgs = { id: Scalars["ID"]; input: CatalogueInput; }; export type MutationVoucherChannelListingUpdateArgs = { id: Scalars["ID"]; input: VoucherChannelListingInput; }; export type MutationVoucherCreateArgs = { input: VoucherInput; }; export type MutationVoucherDeleteArgs = { id: Scalars["ID"]; }; export type MutationVoucherTranslateArgs = { id: Scalars["ID"]; input: NameTranslationInput; languageCode: LanguageCodeEnum; }; export type MutationVoucherUpdateArgs = { id: Scalars["ID"]; input: VoucherInput; }; export type MutationWebhookCreateArgs = { input: WebhookCreateInput; }; export type MutationWebhookDeleteArgs = { id: Scalars["ID"]; }; export type MutationWebhookUpdateArgs = { id: Scalars["ID"]; input: WebhookUpdateInput; }; export type NameTranslationInput = { name?: InputMaybe; }; export enum NavigationType { /** Main storefront navigation. */ Main = "MAIN", /** Secondary storefront navigation. */ Secondary = "SECONDARY", } /** An object with an ID */ export type Node = { /** The ID of the object. */ id: Scalars["ID"]; }; export type ObjectWithMetadata = { /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; }; export type ObjectWithMetadataMetafieldArgs = { key: Scalars["String"]; }; export type ObjectWithMetadataMetafieldsArgs = { keys?: InputMaybe>; }; export type ObjectWithMetadataPrivateMetafieldArgs = { key: Scalars["String"]; }; export type ObjectWithMetadataPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents an order in the shop. */ export type Order = Node & ObjectWithMetadata & { __typename?: "Order"; /** List of actions that can be performed in the current state of an order. */ actions: Array; /** * The authorize status of the order. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ authorizeStatus: OrderAuthorizeStatusEnum; /** * Collection points that can be used for this order. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ availableCollectionPoints: Array; /** * Shipping methods that can be used with this order. * @deprecated Use `shippingMethods`, this field will be removed in 4.0 */ availableShippingMethods?: Maybe>; /** Billing address. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER. */ billingAddress?: Maybe
; /** Informs whether a draft order can be finalized(turned into a regular order). */ canFinalize: Scalars["Boolean"]; channel: Channel; /** * The charge status of the order. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ chargeStatus: OrderChargeStatusEnum; collectionPointName?: Maybe; created: Scalars["DateTime"]; customerNote: Scalars["String"]; /** * The delivery method selected for this checkout. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ deliveryMethod?: Maybe; /** * Returns applied discount. * @deprecated This field will be removed in Saleor 4.0. Use the `discounts` field instead. */ discount?: Maybe; /** * Discount name. * @deprecated This field will be removed in Saleor 4.0. Use the `discounts` field instead. */ discountName?: Maybe; /** List of all discounts assigned to the order. */ discounts: Array; displayGrossPrices: Scalars["Boolean"]; /** List of errors that occurred during order validation. */ errors: Array; /** * List of events associated with the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ events: Array; /** List of shipments for the order. */ fulfillments: Array; /** List of user gift cards. */ giftCards: Array; id: Scalars["ID"]; /** List of order invoices. Can be fetched for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER. */ invoices: Array; /** Informs if an order is fully paid. */ isPaid: Scalars["Boolean"]; /** Returns True, if order requires shipping. */ isShippingRequired: Scalars["Boolean"]; /** @deprecated This field will be removed in Saleor 4.0. Use the `languageCodeEnum` field to fetch the language code. */ languageCode: Scalars["String"]; /** Order language code. */ languageCodeEnum: LanguageCodeEnum; /** List of order lines. */ lines: Array; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** User-friendly number of an order. */ number: Scalars["String"]; /** The order origin. */ origin: OrderOriginEnum; /** The ID of the order that was the base for this order. */ original?: Maybe; /** Internal payment status. */ paymentStatus: PaymentChargeStatusEnum; /** User-friendly payment status. */ paymentStatusDisplay: Scalars["String"]; /** List of payments for the order. */ payments: Array; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; redirectUrl?: Maybe; /** Shipping address. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER. */ shippingAddress?: Maybe
; /** * Shipping method for this order. * @deprecated This field will be removed in Saleor 4.0. Use `deliveryMethod` instead. */ shippingMethod?: Maybe; shippingMethodName?: Maybe; /** Shipping methods related to this order. */ shippingMethods: Array; /** Total price of shipping. */ shippingPrice: TaxedMoney; shippingTaxRate: Scalars["Float"]; status: OrderStatus; /** User-friendly order status. */ statusDisplay: Scalars["String"]; /** The sum of line prices not including shipping. */ subtotal: TaxedMoney; /** @deprecated This field will be removed in Saleor 4.0. Use `id` instead. */ token: Scalars["String"]; /** Total amount of the order. */ total: TaxedMoney; /** Amount authorized for the order. */ totalAuthorized: Money; /** The difference between the paid and the order total amount. */ totalBalance: Money; /** Amount captured by payment. */ totalCaptured: Money; trackingClientId: Scalars["String"]; /** * List of transactions for the order. Requires one of the following permissions: MANAGE_ORDERS, HANDLE_PAYMENTS. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ transactions: Array; /** * Translated discount name. * @deprecated This field will be removed in Saleor 4.0. Use the `discounts` field instead. */ translatedDiscountName?: Maybe; /** Undiscounted total amount of the order. */ undiscountedTotal: TaxedMoney; updatedAt: Scalars["DateTime"]; /** User who placed the order. This field is set only for orders placed by authenticated users. Can be fetched for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_USERS, MANAGE_ORDERS, OWNER. */ user?: Maybe; /** Email address of the customer. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER. */ userEmail?: Maybe; voucher?: Maybe; weight: Weight; }; /** Represents an order in the shop. */ export type OrderMetafieldArgs = { key: Scalars["String"]; }; /** Represents an order in the shop. */ export type OrderMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents an order in the shop. */ export type OrderPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents an order in the shop. */ export type OrderPrivateMetafieldsArgs = { keys?: InputMaybe>; }; export enum OrderAction { /** Represents the capture action. */ Capture = "CAPTURE", /** Represents a mark-as-paid action. */ MarkAsPaid = "MARK_AS_PAID", /** Represents a refund action. */ Refund = "REFUND", /** Represents a void action. */ Void = "VOID", } /** * Adds note to the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderAddNote = { __typename?: "OrderAddNote"; errors: Array; /** Order note created. */ event?: Maybe; /** Order with the note added. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type OrderAddNoteInput = { /** Note message. */ message: Scalars["String"]; }; /** * Determine a current authorize status for order. * * We treat the order as fully authorized when the sum of authorized and charged funds * cover the order.total. * We treat the order as partially authorized when the sum of authorized and charged * funds covers only part of the order.total * We treat the order as not authorized when the sum of authorized and charged funds is * 0. * * NONE - the funds are not authorized * PARTIAL - the funds that are authorized or charged don't cover fully the order's * total * FULL - the funds that are authorized or charged fully cover the order's total */ export enum OrderAuthorizeStatusEnum { Full = "FULL", None = "NONE", Partial = "PARTIAL", } /** * Cancels orders. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderBulkCancel = { __typename?: "OrderBulkCancel"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** * Cancel an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderCancel = { __typename?: "OrderCancel"; errors: Array; /** Canceled order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type OrderCancelled = Event & { __typename?: "OrderCancelled"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Capture an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderCapture = { __typename?: "OrderCapture"; errors: Array; /** Captured order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** * Determine the current charge status for the order. * * We treat the order as overcharged when the charged amount is bigger that order.total * We treat the order as fully charged when the charged amount is equal to order.total. * We treat the order as partially charged when the charged amount covers only part of * the order.total * * NONE - the funds are not charged. * PARTIAL - the funds that are charged don't cover the order's total * FULL - the funds that are charged fully cover the order's total * OVERCHARGED - the charged funds are bigger than order's total */ export enum OrderChargeStatusEnum { Full = "FULL", None = "NONE", Overcharged = "OVERCHARGED", Partial = "PARTIAL", } /** * Confirms an unconfirmed order by changing status to unfulfilled. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderConfirm = { __typename?: "OrderConfirm"; errors: Array; order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type OrderConfirmed = Event & { __typename?: "OrderConfirmed"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type OrderCountableConnection = { __typename?: "OrderCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type OrderCountableEdge = { __typename?: "OrderCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Order; }; /** * Create new order from existing checkout. Requires the following permissions: AUTHENTICATED_APP and HANDLE_CHECKOUTS. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type OrderCreateFromCheckout = { __typename?: "OrderCreateFromCheckout"; errors: Array; /** Placed order. */ order?: Maybe; }; export type OrderCreateFromCheckoutError = { __typename?: "OrderCreateFromCheckoutError"; /** The error code. */ code: OrderCreateFromCheckoutErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** List of line Ids which cause the error. */ lines?: Maybe>; /** The error message. */ message?: Maybe; /** List of variant IDs which causes the error. */ variants?: Maybe>; }; /** An enumeration. */ export enum OrderCreateFromCheckoutErrorCode { BillingAddressNotSet = "BILLING_ADDRESS_NOT_SET", ChannelInactive = "CHANNEL_INACTIVE", CheckoutNotFound = "CHECKOUT_NOT_FOUND", EmailNotSet = "EMAIL_NOT_SET", GiftCardNotApplicable = "GIFT_CARD_NOT_APPLICABLE", GraphqlError = "GRAPHQL_ERROR", InsufficientStock = "INSUFFICIENT_STOCK", InvalidShippingMethod = "INVALID_SHIPPING_METHOD", NoLines = "NO_LINES", ShippingAddressNotSet = "SHIPPING_ADDRESS_NOT_SET", ShippingMethodNotSet = "SHIPPING_METHOD_NOT_SET", TaxError = "TAX_ERROR", UnavailableVariantInChannel = "UNAVAILABLE_VARIANT_IN_CHANNEL", VoucherNotApplicable = "VOUCHER_NOT_APPLICABLE", } export type OrderCreated = Event & { __typename?: "OrderCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export enum OrderDirection { /** Specifies an ascending sort order. */ Asc = "ASC", /** Specifies a descending sort order. */ Desc = "DESC", } /** Contains all details related to the applied discount to the order. */ export type OrderDiscount = Node & { __typename?: "OrderDiscount"; /** Returns amount of discount. */ amount: Money; id: Scalars["ID"]; name?: Maybe; /** * Explanation for the applied discount. * * Requires one of the following permissions: MANAGE_ORDERS. */ reason?: Maybe; translatedName?: Maybe; type: OrderDiscountType; /** Value of the discount. Can store fixed value or percent value */ value: Scalars["PositiveDecimal"]; /** Type of the discount: fixed or percent */ valueType: DiscountValueTypeEnum; }; /** * Adds discount to the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderDiscountAdd = { __typename?: "OrderDiscountAdd"; errors: Array; /** Order which has been discounted. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; 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; }; /** * Remove discount from the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderDiscountDelete = { __typename?: "OrderDiscountDelete"; errors: Array; /** Order which has removed discount. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** An enumeration. */ export enum OrderDiscountType { Manual = "MANUAL", Voucher = "VOUCHER", } /** * Update discount for the order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderDiscountUpdate = { __typename?: "OrderDiscountUpdate"; errors: Array; /** Order which has been discounted. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type OrderDraftFilterInput = { channels?: InputMaybe>; created?: InputMaybe; customer?: InputMaybe; metadata?: InputMaybe>; search?: InputMaybe; }; export type OrderError = { __typename?: "OrderError"; /** A type of address that causes the error. */ addressType?: Maybe; /** The error code. */ code: OrderErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of order line IDs that cause the error. */ orderLines?: Maybe>; /** List of product variants that are associated with the error */ variants?: Maybe>; /** Warehouse ID which causes the error. */ warehouse?: Maybe; }; /** An enumeration. */ export enum OrderErrorCode { BillingAddressNotSet = "BILLING_ADDRESS_NOT_SET", CannotCancelFulfillment = "CANNOT_CANCEL_FULFILLMENT", CannotCancelOrder = "CANNOT_CANCEL_ORDER", CannotDelete = "CANNOT_DELETE", CannotDiscount = "CANNOT_DISCOUNT", CannotFulfillUnpaidOrder = "CANNOT_FULFILL_UNPAID_ORDER", CannotRefund = "CANNOT_REFUND", CaptureInactivePayment = "CAPTURE_INACTIVE_PAYMENT", ChannelInactive = "CHANNEL_INACTIVE", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", FulfillOrderLine = "FULFILL_ORDER_LINE", GiftCardLine = "GIFT_CARD_LINE", GraphqlError = "GRAPHQL_ERROR", InsufficientStock = "INSUFFICIENT_STOCK", Invalid = "INVALID", InvalidQuantity = "INVALID_QUANTITY", MissingTransactionActionRequestWebhook = "MISSING_TRANSACTION_ACTION_REQUEST_WEBHOOK", NotAvailableInChannel = "NOT_AVAILABLE_IN_CHANNEL", NotEditable = "NOT_EDITABLE", NotFound = "NOT_FOUND", OrderNoShippingAddress = "ORDER_NO_SHIPPING_ADDRESS", PaymentError = "PAYMENT_ERROR", PaymentMissing = "PAYMENT_MISSING", ProductNotPublished = "PRODUCT_NOT_PUBLISHED", ProductUnavailableForPurchase = "PRODUCT_UNAVAILABLE_FOR_PURCHASE", Required = "REQUIRED", ShippingMethodNotApplicable = "SHIPPING_METHOD_NOT_APPLICABLE", ShippingMethodRequired = "SHIPPING_METHOD_REQUIRED", TaxError = "TAX_ERROR", Unique = "UNIQUE", VoidInactivePayment = "VOID_INACTIVE_PAYMENT", ZeroQuantity = "ZERO_QUANTITY", } /** History log of the order. */ export type OrderEvent = Node & { __typename?: "OrderEvent"; /** Amount of money. */ amount?: Maybe; /** App that performed the action. Requires of of the following permissions: MANAGE_APPS, MANAGE_ORDERS, OWNER. */ app?: Maybe; /** Composed ID of the Fulfillment. */ composedId?: Maybe; /** Date when event happened at in ISO 8601 format. */ date?: Maybe; /** The discount applied to the order. */ discount?: Maybe; /** Email of the customer. */ email?: Maybe; /** Type of an email sent to the customer. */ emailType?: Maybe; /** The lines fulfilled. */ fulfilledItems?: Maybe>; id: Scalars["ID"]; /** Number of an invoice related to the order. */ invoiceNumber?: Maybe; /** The concerned lines. */ lines?: Maybe>; /** Content of the event. */ message?: Maybe; /** User-friendly number of an order. */ orderNumber?: Maybe; /** List of oversold lines names. */ oversoldItems?: Maybe>; /** The payment gateway of the payment. */ paymentGateway?: Maybe; /** The payment reference from the payment provider. */ paymentId?: Maybe; /** Number of items. */ quantity?: Maybe; /** The reference of payment's transaction. */ reference?: Maybe; /** The order which is related to this order. */ relatedOrder?: Maybe; /** Define if shipping costs were included to the refund. */ shippingCostsIncluded?: Maybe; /** The status of payment's transaction. */ status?: Maybe; /** The transaction reference of captured payment. */ transactionReference?: Maybe; /** Order event type. */ type?: Maybe; /** User who performed the action. */ user?: Maybe; /** The warehouse were items were restocked. */ warehouse?: Maybe; }; export type OrderEventCountableConnection = { __typename?: "OrderEventCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type OrderEventCountableEdge = { __typename?: "OrderEventCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: OrderEvent; }; export type OrderEventDiscountObject = { __typename?: "OrderEventDiscountObject"; /** Returns amount of discount. */ amount?: Maybe; /** Returns amount of discount. */ oldAmount?: Maybe; /** Value of the discount. Can store fixed value or percent value. */ oldValue?: Maybe; /** Type of the discount: fixed or percent. */ oldValueType?: Maybe; /** Explanation for the applied discount. */ reason?: Maybe; /** Value of the discount. Can store fixed value or percent value. */ value: Scalars["PositiveDecimal"]; /** Type of the discount: fixed or percent. */ valueType: DiscountValueTypeEnum; }; export type OrderEventOrderLineObject = { __typename?: "OrderEventOrderLineObject"; /** The discount applied to the order line. */ discount?: Maybe; /** The variant name. */ itemName?: Maybe; /** The order line. */ orderLine?: Maybe; /** The variant quantity. */ quantity?: Maybe; }; /** An enumeration. */ export enum OrderEventsEmailsEnum { Confirmed = "CONFIRMED", DigitalLinks = "DIGITAL_LINKS", FulfillmentConfirmation = "FULFILLMENT_CONFIRMATION", OrderCancel = "ORDER_CANCEL", OrderConfirmation = "ORDER_CONFIRMATION", OrderRefund = "ORDER_REFUND", PaymentConfirmation = "PAYMENT_CONFIRMATION", ShippingConfirmation = "SHIPPING_CONFIRMATION", TrackingUpdated = "TRACKING_UPDATED", } /** An enumeration. */ export enum OrderEventsEnum { AddedProducts = "ADDED_PRODUCTS", Canceled = "CANCELED", Confirmed = "CONFIRMED", DraftCreated = "DRAFT_CREATED", DraftCreatedFromReplace = "DRAFT_CREATED_FROM_REPLACE", EmailSent = "EMAIL_SENT", ExternalServiceNotification = "EXTERNAL_SERVICE_NOTIFICATION", FulfillmentAwaitsApproval = "FULFILLMENT_AWAITS_APPROVAL", FulfillmentCanceled = "FULFILLMENT_CANCELED", FulfillmentFulfilledItems = "FULFILLMENT_FULFILLED_ITEMS", FulfillmentRefunded = "FULFILLMENT_REFUNDED", FulfillmentReplaced = "FULFILLMENT_REPLACED", FulfillmentRestockedItems = "FULFILLMENT_RESTOCKED_ITEMS", FulfillmentReturned = "FULFILLMENT_RETURNED", InvoiceGenerated = "INVOICE_GENERATED", InvoiceRequested = "INVOICE_REQUESTED", InvoiceSent = "INVOICE_SENT", InvoiceUpdated = "INVOICE_UPDATED", NoteAdded = "NOTE_ADDED", OrderDiscountAdded = "ORDER_DISCOUNT_ADDED", OrderDiscountAutomaticallyUpdated = "ORDER_DISCOUNT_AUTOMATICALLY_UPDATED", OrderDiscountDeleted = "ORDER_DISCOUNT_DELETED", OrderDiscountUpdated = "ORDER_DISCOUNT_UPDATED", OrderFullyPaid = "ORDER_FULLY_PAID", OrderLineDiscountRemoved = "ORDER_LINE_DISCOUNT_REMOVED", OrderLineDiscountUpdated = "ORDER_LINE_DISCOUNT_UPDATED", OrderLineProductDeleted = "ORDER_LINE_PRODUCT_DELETED", OrderLineVariantDeleted = "ORDER_LINE_VARIANT_DELETED", OrderMarkedAsPaid = "ORDER_MARKED_AS_PAID", OrderReplacementCreated = "ORDER_REPLACEMENT_CREATED", Other = "OTHER", OversoldItems = "OVERSOLD_ITEMS", PaymentAuthorized = "PAYMENT_AUTHORIZED", PaymentCaptured = "PAYMENT_CAPTURED", PaymentFailed = "PAYMENT_FAILED", PaymentRefunded = "PAYMENT_REFUNDED", PaymentVoided = "PAYMENT_VOIDED", Placed = "PLACED", PlacedFromDraft = "PLACED_FROM_DRAFT", RemovedProducts = "REMOVED_PRODUCTS", TrackingUpdated = "TRACKING_UPDATED", TransactionCaptureRequested = "TRANSACTION_CAPTURE_REQUESTED", TransactionEvent = "TRANSACTION_EVENT", TransactionRefundRequested = "TRANSACTION_REFUND_REQUESTED", TransactionVoidRequested = "TRANSACTION_VOID_REQUESTED", UpdatedAddress = "UPDATED_ADDRESS", } export type OrderFilterInput = { authorizeStatus?: InputMaybe>; channels?: InputMaybe>; chargeStatus?: InputMaybe>; created?: InputMaybe; customer?: InputMaybe; giftCardBought?: InputMaybe; giftCardUsed?: InputMaybe; ids?: InputMaybe>; isClickAndCollect?: InputMaybe; isPreorder?: InputMaybe; metadata?: InputMaybe>; numbers?: InputMaybe>; paymentStatus?: InputMaybe>; search?: InputMaybe; status?: InputMaybe>; updatedAt?: InputMaybe; }; /** * Creates new fulfillments for an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderFulfill = { __typename?: "OrderFulfill"; errors: Array; /** List of created fulfillments. */ fulfillments?: Maybe>; /** Fulfilled order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; 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; }; export type OrderFulfillLineInput = { /** The ID of the order line. */ orderLineId?: InputMaybe; /** List of stock items to create. */ stocks: Array; }; export type OrderFulfillStockInput = { /** The number of line items to be fulfilled from given warehouse. */ quantity: Scalars["Int"]; /** ID of the warehouse from which the item will be fulfilled. */ warehouse: Scalars["ID"]; }; export type OrderFulfilled = Event & { __typename?: "OrderFulfilled"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type OrderFullyPaid = Event & { __typename?: "OrderFullyPaid"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** Represents order line of particular order. */ export type OrderLine = Node & { __typename?: "OrderLine"; /** * List of allocations across warehouses. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS. */ allocations?: Maybe>; digitalContentUrl?: Maybe; id: Scalars["ID"]; isShippingRequired: Scalars["Boolean"]; productName: Scalars["String"]; productSku?: Maybe; productVariantId?: Maybe; quantity: Scalars["Int"]; quantityFulfilled: Scalars["Int"]; /** * A quantity of items remaining to be fulfilled. * * Added in Saleor 3.1. */ quantityToFulfill: Scalars["Int"]; taxRate: Scalars["Float"]; /** The main thumbnail for the ordered product. */ thumbnail?: Maybe; /** Price of the order line. */ totalPrice: TaxedMoney; /** Product name in the customer's language */ translatedProductName: Scalars["String"]; /** Variant name in the customer's language */ translatedVariantName: Scalars["String"]; /** Price of the single item in the order line without applied an order line discount. */ undiscountedUnitPrice: TaxedMoney; /** The discount applied to the single order line. */ unitDiscount: Money; unitDiscountReason?: Maybe; /** Type of the discount: fixed or percent */ unitDiscountType?: Maybe; /** Value of the discount. Can store fixed value or percent value */ unitDiscountValue: Scalars["PositiveDecimal"]; /** Price of the single item in the order line. */ unitPrice: TaxedMoney; /** A purchased product variant. Note: this field may be null if the variant has been removed from stock at all. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ variant?: Maybe; variantName: Scalars["String"]; }; /** Represents order line of particular order. */ export type OrderLineThumbnailArgs = { size?: InputMaybe; }; export type OrderLineCreateInput = { /** Number of variant items ordered. */ quantity: Scalars["Int"]; /** Product variant ID. */ variantId: Scalars["ID"]; }; /** * Deletes an order line from an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderLineDelete = { __typename?: "OrderLineDelete"; errors: Array; /** A related order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; /** An order line that was deleted. */ orderLine?: Maybe; }; /** * Remove discount applied to the order line. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderLineDiscountRemove = { __typename?: "OrderLineDiscountRemove"; errors: Array; /** Order which is related to line which has removed discount. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; /** Order line which has removed discount. */ orderLine?: Maybe; }; /** * Update discount for the order line. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderLineDiscountUpdate = { __typename?: "OrderLineDiscountUpdate"; errors: Array; /** Order which is related to the discounted line. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; /** Order line which has been discounted. */ orderLine?: Maybe; }; export type OrderLineInput = { /** Number of variant items ordered. */ quantity: Scalars["Int"]; }; /** * Updates an order line of an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderLineUpdate = { __typename?: "OrderLineUpdate"; errors: Array; /** Related order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; orderLine?: Maybe; }; /** * Create order lines for an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderLinesCreate = { __typename?: "OrderLinesCreate"; errors: Array; /** Related order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; /** List of added order lines. */ orderLines?: Maybe>; }; /** * Mark order as manually paid. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderMarkAsPaid = { __typename?: "OrderMarkAsPaid"; errors: Array; /** Order marked as paid. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** An enumeration. */ export enum OrderOriginEnum { Checkout = "CHECKOUT", Draft = "DRAFT", Reissue = "REISSUE", } /** * Refund an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderRefund = { __typename?: "OrderRefund"; errors: Array; /** A refunded order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type OrderRefundFulfillmentLineInput = { /** The ID of the fulfillment line to refund. */ fulfillmentLineId: Scalars["ID"]; /** The number of items to be refunded. */ quantity: Scalars["Int"]; }; export type OrderRefundLineInput = { /** The ID of the order line to refund. */ orderLineId: Scalars["ID"]; /** The number of items to be refunded. */ quantity: Scalars["Int"]; }; 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>; }; export type OrderReturnFulfillmentLineInput = { /** The ID of the fulfillment line to return. */ fulfillmentLineId: Scalars["ID"]; /** The number of items to be returned. */ quantity: Scalars["Int"]; /** Determines, if the line should be added to replace order. */ replace?: InputMaybe; }; export type OrderReturnLineInput = { /** The ID of the order line to return. */ orderLineId: Scalars["ID"]; /** The number of items to be returned. */ quantity: Scalars["Int"]; /** Determines, if the line should be added to replace order. */ replace?: InputMaybe; }; 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>; /** If true, Saleor will call refund action for all lines. */ refund?: InputMaybe; }; /** Order related settings from site settings. */ export type OrderSettings = { __typename?: "OrderSettings"; automaticallyConfirmAllNewOrders: Scalars["Boolean"]; automaticallyFulfillNonShippableGiftCard: Scalars["Boolean"]; }; export type OrderSettingsError = { __typename?: "OrderSettingsError"; /** The error code. */ code: OrderSettingsErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum OrderSettingsErrorCode { Invalid = "INVALID", } /** * Update shop order settings. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderSettingsUpdate = { __typename?: "OrderSettingsUpdate"; errors: Array; /** Order settings. */ orderSettings?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderSettingsErrors: Array; }; export type OrderSettingsUpdateInput = { /** When disabled, all new orders from checkout will be marked as unconfirmed. When enabled orders from checkout will become unfulfilled immediately. */ automaticallyConfirmAllNewOrders?: InputMaybe; /** When enabled, all non-shippable gift card orders will be fulfilled automatically. */ automaticallyFulfillNonShippableGiftCard?: InputMaybe; }; export enum OrderSortField { /** * Sort orders by creation date. * * DEPRECATED: this field will be removed in Saleor 4.0. */ CreatedAt = "CREATED_AT", /** * Sort orders by creation date. * * DEPRECATED: this field will be removed in Saleor 4.0. */ CreationDate = "CREATION_DATE", /** Sort orders by customer. */ Customer = "CUSTOMER", /** Sort orders by fulfillment status. */ FulfillmentStatus = "FULFILLMENT_STATUS", /** Sort orders by last modified at. */ LastModifiedAt = "LAST_MODIFIED_AT", /** Sort orders by number. */ Number = "NUMBER", /** Sort orders by payment. */ Payment = "PAYMENT", } export type OrderSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort orders by the selected field. */ field: OrderSortField; }; /** An enumeration. */ export enum OrderStatus { Canceled = "CANCELED", Draft = "DRAFT", Fulfilled = "FULFILLED", PartiallyFulfilled = "PARTIALLY_FULFILLED", PartiallyReturned = "PARTIALLY_RETURNED", Returned = "RETURNED", Unconfirmed = "UNCONFIRMED", Unfulfilled = "UNFULFILLED", } export enum OrderStatusFilter { Canceled = "CANCELED", Fulfilled = "FULFILLED", PartiallyFulfilled = "PARTIALLY_FULFILLED", ReadyToCapture = "READY_TO_CAPTURE", ReadyToFulfill = "READY_TO_FULFILL", Unconfirmed = "UNCONFIRMED", Unfulfilled = "UNFULFILLED", } /** * Updates an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderUpdate = { __typename?: "OrderUpdate"; errors: Array; order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type OrderUpdateInput = { /** Billing address of the customer. */ billingAddress?: InputMaybe; /** Shipping address of the customer. */ shippingAddress?: InputMaybe; /** Email address of the customer. */ userEmail?: InputMaybe; }; /** * Updates a shipping method of the order. Requires shipping method ID to update, when null is passed then currently assigned shipping method is removed. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderUpdateShipping = { __typename?: "OrderUpdateShipping"; errors: Array; /** Order with updated shipping method. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; export type OrderUpdateShippingInput = { /** ID of the selected shipping method, pass null to remove currently assigned shipping method. */ shippingMethod?: InputMaybe; }; export type OrderUpdated = Event & { __typename?: "OrderUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The order the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ order?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Void an order. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type OrderVoid = { __typename?: "OrderVoid"; errors: Array; /** A voided order. */ order?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ orderErrors: Array; }; /** A static page that can be manually added by a shop operator through the dashboard. */ export type Page = Node & ObjectWithMetadata & { __typename?: "Page"; /** List of attributes assigned to this product. */ attributes: Array; /** * Content of the page. * * Rich text format. For reference see https://editorjs.io/ */ content?: Maybe; /** * Content of the page. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `content` field instead. */ contentJson: Scalars["JSONString"]; created: Scalars["DateTime"]; id: Scalars["ID"]; isPublished: Scalars["Boolean"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; pageType: PageType; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use the `publishedAt` field to fetch the publication date. */ publicationDate?: Maybe; /** * The page publication date. * * Added in Saleor 3.3. */ publishedAt?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; slug: Scalars["String"]; title: Scalars["String"]; /** Returns translated page fields for the given language code. */ translation?: Maybe; }; /** A static page that can be manually added by a shop operator through the dashboard. */ export type PageMetafieldArgs = { key: Scalars["String"]; }; /** A static page that can be manually added by a shop operator through the dashboard. */ export type PageMetafieldsArgs = { keys?: InputMaybe>; }; /** A static page that can be manually added by a shop operator through the dashboard. */ export type PagePrivateMetafieldArgs = { key: Scalars["String"]; }; /** A static page that can be manually added by a shop operator through the dashboard. */ export type PagePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** A static page that can be manually added by a shop operator through the dashboard. */ export type PageTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Assign attributes to a given page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type PageAttributeAssign = { __typename?: "PageAttributeAssign"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; /** The updated page type. */ pageType?: Maybe; }; /** * Unassign attributes from a given page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type PageAttributeUnassign = { __typename?: "PageAttributeUnassign"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; /** The updated page type. */ pageType?: Maybe; }; /** * Deletes pages. * * Requires one of the following permissions: MANAGE_PAGES. */ export type PageBulkDelete = { __typename?: "PageBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; }; /** * Publish pages. * * Requires one of the following permissions: MANAGE_PAGES. */ export type PageBulkPublish = { __typename?: "PageBulkPublish"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; }; export type PageCountableConnection = { __typename?: "PageCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type PageCountableEdge = { __typename?: "PageCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Page; }; /** * Creates a new page. * * Requires one of the following permissions: MANAGE_PAGES. */ export type PageCreate = { __typename?: "PageCreate"; errors: Array; page?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; }; export type PageCreateInput = { /** List of attributes. */ attributes?: InputMaybe>; /** * Page content. * * Rich text format. For reference see https://editorjs.io/ */ content?: 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. * * DEPRECATED: this field will be removed in Saleor 4.0. Use `publishedAt` field instead. */ publicationDate?: InputMaybe; /** * Publication date time. ISO 8601 standard. * * Added in Saleor 3.3. */ publishedAt?: InputMaybe; /** Search engine optimization fields. */ seo?: InputMaybe; /** Page internal name. */ slug?: InputMaybe; /** Page title. */ title?: InputMaybe; }; export type PageCreated = Event & { __typename?: "PageCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The page the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ page?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Deletes a page. * * Requires one of the following permissions: MANAGE_PAGES. */ export type PageDelete = { __typename?: "PageDelete"; errors: Array; page?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; }; export type PageDeleted = Event & { __typename?: "PageDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The page the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ page?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type PageError = { __typename?: "PageError"; /** List of attributes IDs which causes the error. */ attributes?: Maybe>; /** The error code. */ code: PageErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of attribute values IDs which causes the error. */ values?: Maybe>; }; /** An enumeration. */ export enum PageErrorCode { AttributeAlreadyAssigned = "ATTRIBUTE_ALREADY_ASSIGNED", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } export type PageFilterInput = { ids?: InputMaybe>; metadata?: InputMaybe>; pageTypes?: InputMaybe>; search?: InputMaybe; }; /** The Relay compliant `PageInfo` type, containing data necessary to paginate this connection. */ export type PageInfo = { __typename?: "PageInfo"; /** When paginating forwards, the cursor to continue. */ endCursor?: Maybe; /** When paginating forwards, are there more items? */ hasNextPage: Scalars["Boolean"]; /** When paginating backwards, are there more items? */ hasPreviousPage: Scalars["Boolean"]; /** When paginating backwards, the cursor to continue. */ startCursor?: Maybe; }; export type PageInput = { /** List of attributes. */ attributes?: InputMaybe>; /** * Page content. * * Rich text format. For reference see https://editorjs.io/ */ content?: InputMaybe; /** Determines if page is visible in the storefront. */ isPublished?: InputMaybe; /** * Publication date. ISO 8601 standard. * * DEPRECATED: this field will be removed in Saleor 4.0. Use `publishedAt` field instead. */ publicationDate?: InputMaybe; /** * Publication date time. ISO 8601 standard. * * Added in Saleor 3.3. */ publishedAt?: InputMaybe; /** Search engine optimization fields. */ seo?: InputMaybe; /** Page internal name. */ slug?: InputMaybe; /** Page title. */ title?: InputMaybe; }; /** * Reorder page attribute values. * * Requires one of the following permissions: MANAGE_PAGES. */ export type PageReorderAttributeValues = { __typename?: "PageReorderAttributeValues"; errors: Array; /** Page from which attribute values are reordered. */ page?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; }; export enum PageSortField { /** Sort pages by creation date. */ CreationDate = "CREATION_DATE", /** * Sort pages by publication date. * * DEPRECATED: this field will be removed in Saleor 4.0. */ PublicationDate = "PUBLICATION_DATE", /** * Sort pages by publication date. * * DEPRECATED: this field will be removed in Saleor 4.0. */ PublishedAt = "PUBLISHED_AT", /** Sort pages by slug. */ Slug = "SLUG", /** Sort pages by title. */ Title = "TITLE", /** Sort pages by visibility. */ Visibility = "VISIBILITY", } export type PageSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort pages by the selected field. */ field: PageSortField; }; export type PageTranslatableContent = Node & { __typename?: "PageTranslatableContent"; /** List of page content attribute values that can be translated. */ attributeValues: Array; /** * Content of the page. * * Rich text format. For reference see https://editorjs.io/ */ content?: Maybe; /** * Content of the page. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `content` field instead. */ contentJson?: Maybe; id: Scalars["ID"]; /** * A static page that can be manually added by a shop operator through the dashboard. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ page?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; title: Scalars["String"]; /** Returns translated page fields for the given language code. */ translation?: Maybe; }; export type PageTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for a page. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type PageTranslate = { __typename?: "PageTranslate"; errors: Array; page?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type PageTranslation = Node & { __typename?: "PageTranslation"; /** * Translated content of the page. * * Rich text format. For reference see https://editorjs.io/ */ content?: Maybe; /** * Translated description of the page. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `content` field instead. */ contentJson?: Maybe; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; seoDescription?: Maybe; seoTitle?: Maybe; title?: Maybe; }; export type PageTranslationInput = { /** * Translated page content. * * Rich text format. For reference see https://editorjs.io/ */ content?: InputMaybe; seoDescription?: InputMaybe; seoTitle?: InputMaybe; title?: InputMaybe; }; /** Represents a type of page. It defines what attributes are available to pages of this type. */ export type PageType = Node & ObjectWithMetadata & { __typename?: "PageType"; /** Page attributes of that page type. */ attributes?: Maybe>; /** * Attributes that can be assigned to the page type. * * Requires one of the following permissions: MANAGE_PAGES. */ availableAttributes?: Maybe; /** * Whether page type has pages assigned. * * Requires one of the following permissions: MANAGE_PAGES. */ hasPages?: Maybe; id: Scalars["ID"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; slug: Scalars["String"]; }; /** Represents a type of page. It defines what attributes are available to pages of this type. */ export type PageTypeAvailableAttributesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a type of page. It defines what attributes are available to pages of this type. */ export type PageTypeMetafieldArgs = { key: Scalars["String"]; }; /** Represents a type of page. It defines what attributes are available to pages of this type. */ export type PageTypeMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a type of page. It defines what attributes are available to pages of this type. */ export type PageTypePrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a type of page. It defines what attributes are available to pages of this type. */ export type PageTypePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** * Delete page types. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type PageTypeBulkDelete = { __typename?: "PageTypeBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; }; export type PageTypeCountableConnection = { __typename?: "PageTypeCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type PageTypeCountableEdge = { __typename?: "PageTypeCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: PageType; }; /** * Create a new page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type PageTypeCreate = { __typename?: "PageTypeCreate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; pageType?: Maybe; }; 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; }; /** * Delete a page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type PageTypeDelete = { __typename?: "PageTypeDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; pageType?: Maybe; }; export type PageTypeFilterInput = { search?: InputMaybe; }; /** * Reorder the attributes of a page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type PageTypeReorderAttributes = { __typename?: "PageTypeReorderAttributes"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; /** Page type from which attributes are reordered. */ pageType?: Maybe; }; export enum PageTypeSortField { /** Sort page types by name. */ Name = "NAME", /** Sort page types by slug. */ Slug = "SLUG", } export type PageTypeSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort page types by the selected field. */ field: PageTypeSortField; }; /** * Update page type. * * Requires one of the following permissions: MANAGE_PAGE_TYPES_AND_ATTRIBUTES. */ export type PageTypeUpdate = { __typename?: "PageTypeUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; pageType?: Maybe; }; 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; }; /** * Updates an existing page. * * Requires one of the following permissions: MANAGE_PAGES. */ export type PageUpdate = { __typename?: "PageUpdate"; errors: Array; page?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pageErrors: Array; }; export type PageUpdated = Event & { __typename?: "PageUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The page the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ page?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Change the password of the logged in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type PasswordChange = { __typename?: "PasswordChange"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** A user instance with a new password. */ user?: Maybe; }; /** Represents a payment of a given type. */ export type Payment = Node & ObjectWithMetadata & { __typename?: "Payment"; /** * List of actions that can be performed in the current state of a payment. * * Requires one of the following permissions: MANAGE_ORDERS. */ actions: Array; /** * Maximum amount of money that can be captured. * * Requires one of the following permissions: MANAGE_ORDERS. */ availableCaptureAmount?: Maybe; /** * Maximum amount of money that can be refunded. * * Requires one of the following permissions: MANAGE_ORDERS. */ availableRefundAmount?: Maybe; /** Total amount captured for this payment. */ capturedAmount?: Maybe; /** Internal payment status. */ chargeStatus: PaymentChargeStatusEnum; checkout?: Maybe; created: Scalars["DateTime"]; /** The details of the card used for this payment. */ creditCard?: Maybe; /** * IP address of the user who created the payment. * * Requires one of the following permissions: MANAGE_ORDERS. */ customerIpAddress?: Maybe; gateway: Scalars["String"]; id: Scalars["ID"]; isActive: Scalars["Boolean"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; modified: Scalars["DateTime"]; order?: Maybe; paymentMethodType: Scalars["String"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; token: Scalars["String"]; /** Total amount of the payment. */ total?: Maybe; /** * List of all transactions within this payment. * * Requires one of the following permissions: MANAGE_ORDERS. */ transactions?: Maybe>; }; /** Represents a payment of a given type. */ export type PaymentMetafieldArgs = { key: Scalars["String"]; }; /** Represents a payment of a given type. */ export type PaymentMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a payment of a given type. */ export type PaymentPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a payment of a given type. */ export type PaymentPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** * Captures the authorized payment amount. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type PaymentCapture = { __typename?: "PaymentCapture"; errors: Array; /** Updated payment. */ payment?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ paymentErrors: Array; }; /** An enumeration. */ export enum PaymentChargeStatusEnum { Cancelled = "CANCELLED", FullyCharged = "FULLY_CHARGED", FullyRefunded = "FULLY_REFUNDED", NotCharged = "NOT_CHARGED", PartiallyCharged = "PARTIALLY_CHARGED", PartiallyRefunded = "PARTIALLY_REFUNDED", Pending = "PENDING", Refused = "REFUSED", } /** Check payment balance. */ export type PaymentCheckBalance = { __typename?: "PaymentCheckBalance"; /** Response from the gateway. */ data?: Maybe; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ paymentErrors: Array; }; 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"]; }; export type PaymentCountableConnection = { __typename?: "PaymentCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type PaymentCountableEdge = { __typename?: "PaymentCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Payment; }; export type PaymentError = { __typename?: "PaymentError"; /** The error code. */ code: PaymentErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of varint IDs which causes the error. */ variants?: Maybe>; }; /** An enumeration. */ export enum PaymentErrorCode { BalanceCheckError = "BALANCE_CHECK_ERROR", BillingAddressNotSet = "BILLING_ADDRESS_NOT_SET", ChannelInactive = "CHANNEL_INACTIVE", CheckoutEmailNotSet = "CHECKOUT_EMAIL_NOT_SET", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", InvalidShippingMethod = "INVALID_SHIPPING_METHOD", NotFound = "NOT_FOUND", NotSupportedGateway = "NOT_SUPPORTED_GATEWAY", NoCheckoutLines = "NO_CHECKOUT_LINES", PartialPaymentNotAllowed = "PARTIAL_PAYMENT_NOT_ALLOWED", PaymentError = "PAYMENT_ERROR", Required = "REQUIRED", ShippingAddressNotSet = "SHIPPING_ADDRESS_NOT_SET", ShippingMethodNotSet = "SHIPPING_METHOD_NOT_SET", UnavailableVariantInChannel = "UNAVAILABLE_VARIANT_IN_CHANNEL", Unique = "UNIQUE", } export type PaymentFilterInput = { checkouts?: InputMaybe>; }; /** Available payment gateway backend with configuration necessary to setup client. */ export type PaymentGateway = { __typename?: "PaymentGateway"; /** Payment gateway client configuration. */ config: Array; /** Payment gateway supported currencies. */ currencies: Array; /** Payment gateway ID. */ id: Scalars["ID"]; /** Payment gateway name. */ name: Scalars["String"]; }; /** Initializes payment process when it is required by gateway. */ export type PaymentInitialize = { __typename?: "PaymentInitialize"; errors: Array; initializedPayment?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ paymentErrors: Array; }; /** Server-side data generated by a payment gateway. Optional step when the payment provider requires an additional action to initialize payment session. */ export type PaymentInitialized = { __typename?: "PaymentInitialized"; /** Initialized data by gateway. */ data?: Maybe; /** ID of a payment gateway. */ gateway: Scalars["String"]; /** Payment gateway name. */ name: Scalars["String"]; }; 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>; /** 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; /** * Payment store type. * * Added in Saleor 3.1. */ storePaymentMethod?: InputMaybe; /** Client-side generated payment token, representing customer's billing data in a secure manner. */ token?: InputMaybe; }; /** * Refunds the captured payment amount. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type PaymentRefund = { __typename?: "PaymentRefund"; errors: Array; /** Updated payment. */ payment?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ paymentErrors: Array; }; /** Represents a payment source stored for user in payment gateway, such as credit card. */ export type PaymentSource = { __typename?: "PaymentSource"; /** Stored credit card details if available. */ creditCardInfo?: Maybe; /** Payment gateway name. */ gateway: Scalars["String"]; /** * List of public metadata items. * * Added in Saleor 3.1. * * Can be accessed without permissions. */ metadata: Array; /** ID of stored payment method. */ paymentMethodId?: Maybe; }; /** * Voids the authorized payment. * * Requires one of the following permissions: MANAGE_ORDERS. */ export type PaymentVoid = { __typename?: "PaymentVoid"; errors: Array; /** Updated payment. */ payment?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ paymentErrors: Array; }; /** Represents a permission object in a friendly form. */ export type Permission = { __typename?: "Permission"; /** Internal code for permission. */ code: PermissionEnum; /** Describe action(s) allowed to do by permission. */ name: Scalars["String"]; }; /** An enumeration. */ export enum PermissionEnum { HandleCheckouts = "HANDLE_CHECKOUTS", HandlePayments = "HANDLE_PAYMENTS", ImpersonateUser = "IMPERSONATE_USER", ManageApps = "MANAGE_APPS", ManageChannels = "MANAGE_CHANNELS", ManageCheckouts = "MANAGE_CHECKOUTS", ManageDiscounts = "MANAGE_DISCOUNTS", ManageGiftCard = "MANAGE_GIFT_CARD", ManageMenus = "MANAGE_MENUS", ManageObservability = "MANAGE_OBSERVABILITY", ManageOrders = "MANAGE_ORDERS", ManagePages = "MANAGE_PAGES", ManagePageTypesAndAttributes = "MANAGE_PAGE_TYPES_AND_ATTRIBUTES", ManagePlugins = "MANAGE_PLUGINS", ManageProducts = "MANAGE_PRODUCTS", ManageProductTypesAndAttributes = "MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES", ManageSettings = "MANAGE_SETTINGS", ManageShipping = "MANAGE_SHIPPING", ManageStaff = "MANAGE_STAFF", ManageTranslations = "MANAGE_TRANSLATIONS", ManageUsers = "MANAGE_USERS", } /** * Create new permission group. * * Requires one of the following permissions: MANAGE_STAFF. */ export type PermissionGroupCreate = { __typename?: "PermissionGroupCreate"; errors: Array; group?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ permissionGroupErrors: Array; }; export type PermissionGroupCreateInput = { /** List of permission code names to assign to this group. */ addPermissions?: InputMaybe>; /** List of users to assign to this group. */ addUsers?: InputMaybe>; /** Group name. */ name: Scalars["String"]; }; /** * Delete permission group. * * Requires one of the following permissions: MANAGE_STAFF. */ export type PermissionGroupDelete = { __typename?: "PermissionGroupDelete"; errors: Array; group?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ permissionGroupErrors: Array; }; export type PermissionGroupError = { __typename?: "PermissionGroupError"; /** The error code. */ code: PermissionGroupErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of permissions which causes the error. */ permissions?: Maybe>; /** List of user IDs which causes the error. */ users?: Maybe>; }; /** An enumeration. */ export enum PermissionGroupErrorCode { AssignNonStaffMember = "ASSIGN_NON_STAFF_MEMBER", CannotRemoveFromLastGroup = "CANNOT_REMOVE_FROM_LAST_GROUP", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", LeftNotManageablePermission = "LEFT_NOT_MANAGEABLE_PERMISSION", OutOfScopePermission = "OUT_OF_SCOPE_PERMISSION", OutOfScopeUser = "OUT_OF_SCOPE_USER", Required = "REQUIRED", Unique = "UNIQUE", } export type PermissionGroupFilterInput = { ids?: InputMaybe>; search?: InputMaybe; }; export enum PermissionGroupSortField { /** Sort permission group accounts by name. */ Name = "NAME", } export type PermissionGroupSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort permission group by the selected field. */ field: PermissionGroupSortField; }; /** * Update permission group. * * Requires one of the following permissions: MANAGE_STAFF. */ export type PermissionGroupUpdate = { __typename?: "PermissionGroupUpdate"; errors: Array; group?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ permissionGroupErrors: Array; }; export type PermissionGroupUpdateInput = { /** List of permission code names to assign to this group. */ addPermissions?: InputMaybe>; /** List of users to assign to this group. */ addUsers?: InputMaybe>; /** Group name. */ name?: InputMaybe; /** List of permission code names to unassign from this group. */ removePermissions?: InputMaybe>; /** List of users to unassign from this group. */ removeUsers?: InputMaybe>; }; /** Plugin. */ export type Plugin = { __typename?: "Plugin"; /** Channel-specific plugin configuration. */ channelConfigurations: Array; /** Description of the plugin. */ description: Scalars["String"]; /** Global configuration of the plugin (not channel-specific). */ globalConfiguration?: Maybe; /** Identifier of the plugin. */ id: Scalars["ID"]; /** Name of the plugin. */ name: Scalars["String"]; }; /** Stores information about a configuration of plugin. */ export type PluginConfiguration = { __typename?: "PluginConfiguration"; /** Determines if plugin is active or not. */ active: Scalars["Boolean"]; /** The channel to which the plugin configuration is assigned to. */ channel?: Maybe; /** Configuration of the plugin. */ configuration?: Maybe>; }; export enum PluginConfigurationType { Global = "GLOBAL", PerChannel = "PER_CHANNEL", } export type PluginCountableConnection = { __typename?: "PluginCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type PluginCountableEdge = { __typename?: "PluginCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Plugin; }; export type PluginError = { __typename?: "PluginError"; /** The error code. */ code: PluginErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum PluginErrorCode { GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", PluginMisconfigured = "PLUGIN_MISCONFIGURED", Required = "REQUIRED", Unique = "UNIQUE", } export type PluginFilterInput = { search?: InputMaybe; statusInChannels?: InputMaybe; type?: InputMaybe; }; export enum PluginSortField { IsActive = "IS_ACTIVE", Name = "NAME", } export type PluginSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort plugins by the selected field. */ field: PluginSortField; }; export type PluginStatusInChannelsInput = { active: Scalars["Boolean"]; channels: Array; }; /** * Update plugin configuration. * * Requires one of the following permissions: MANAGE_PLUGINS. */ export type PluginUpdate = { __typename?: "PluginUpdate"; errors: Array; plugin?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ pluginsErrors: Array; }; export type PluginUpdateInput = { /** Indicates whether the plugin should be enabled. */ active?: InputMaybe; /** Configuration of the plugin. */ configuration?: InputMaybe>; }; /** An enumeration. */ export enum PostalCodeRuleInclusionTypeEnum { Exclude = "EXCLUDE", Include = "INCLUDE", } /** Represents preorder settings for product variant. */ export type PreorderData = { __typename?: "PreorderData"; /** Preorder end date. */ endDate?: Maybe; /** * Total number of sold product variant during preorder. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ globalSoldUnits: Scalars["Int"]; /** * The global preorder threshold for product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ globalThreshold?: Maybe; }; export type PreorderSettingsInput = { /** The end date for preorder. */ endDate?: InputMaybe; /** The global threshold for preorder variant. */ globalThreshold?: InputMaybe; }; /** Represents preorder variant data for channel. */ export type PreorderThreshold = { __typename?: "PreorderThreshold"; /** Preorder threshold for product variant in this channel. */ quantity?: Maybe; /** Number of sold product variant in this channel. */ soldUnits: Scalars["Int"]; }; export type PriceInput = { /** Amount of money. */ amount: Scalars["PositiveDecimal"]; /** Currency code. */ currency: Scalars["String"]; }; export type PriceRangeInput = { /** Price greater than or equal to. */ gte?: InputMaybe; /** Price less than or equal to. */ lte?: InputMaybe; }; /** Represents an individual item for sale in the storefront. */ export type Product = Node & ObjectWithMetadata & { __typename?: "Product"; /** List of attributes assigned to this product. */ attributes: Array; /** * Date when product is available for purchase. * @deprecated This field will be removed in Saleor 4.0. Use the `availableForPurchaseAt` field to fetch the available for purchase date. */ availableForPurchase?: Maybe; /** Date when product is available for purchase. */ availableForPurchaseAt?: Maybe; category?: Maybe; /** Channel given to retrieve this product. Also used by federation gateway to resolve this object in a federated query. */ channel?: Maybe; /** * List of availability in channels for the product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ channelListings?: Maybe>; chargeTaxes: Scalars["Boolean"]; /** List of collections for the product. Requires the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ collections?: Maybe>; created: Scalars["DateTime"]; defaultVariant?: Maybe; /** * Description of the product. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Description of the product. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; /** * Get a single product image by ID. * @deprecated This field will be removed in Saleor 4.0. Use the `mediaById` field instead. */ imageById?: Maybe; /** * List of images for the product. * @deprecated This field will be removed in Saleor 4.0. Use the `media` field instead. */ images?: Maybe>; /** Whether the product is in stock and visible or not. */ isAvailable?: Maybe; /** Whether the product is available for purchase. */ isAvailableForPurchase?: Maybe; /** List of media for the product. */ media?: Maybe>; /** Get a single product media by ID. */ mediaById?: Maybe; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** Lists the storefront product's pricing, the current price and discounts, only meant for displaying. */ pricing?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; productType: ProductType; rating?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; slug: Scalars["String"]; /** A type of tax. Assigned by enabled tax gateway */ taxType?: Maybe; /** The main thumbnail for a product. */ thumbnail?: Maybe; /** Returns translated product fields for the given language code. */ translation?: Maybe; updatedAt: Scalars["DateTime"]; /** List of variants for the product. Requires the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ variants?: Maybe>; weight?: Maybe; }; /** Represents an individual item for sale in the storefront. */ export type ProductImageByIdArgs = { id?: InputMaybe; }; /** Represents an individual item for sale in the storefront. */ export type ProductIsAvailableArgs = { address?: InputMaybe; }; /** Represents an individual item for sale in the storefront. */ export type ProductMediaByIdArgs = { id?: InputMaybe; }; /** Represents an individual item for sale in the storefront. */ export type ProductMetafieldArgs = { key: Scalars["String"]; }; /** Represents an individual item for sale in the storefront. */ export type ProductMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents an individual item for sale in the storefront. */ export type ProductPricingArgs = { address?: InputMaybe; }; /** Represents an individual item for sale in the storefront. */ export type ProductPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents an individual item for sale in the storefront. */ export type ProductPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents an individual item for sale in the storefront. */ export type ProductThumbnailArgs = { size?: InputMaybe; }; /** Represents an individual item for sale in the storefront. */ export type ProductTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Assign attributes to a given product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type ProductAttributeAssign = { __typename?: "ProductAttributeAssign"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; /** The updated product type. */ productType?: Maybe; }; export type ProductAttributeAssignInput = { /** The ID of the attribute to assign. */ id: Scalars["ID"]; /** The attribute type to be assigned as. */ type: ProductAttributeType; /** * Whether attribute is allowed in variant selection. Allowed types are: ['dropdown', 'boolean', 'swatch', 'numeric']. * * Added in Saleor 3.1. */ variantSelection?: InputMaybe; }; /** * Update attributes assigned to product variant for given product type. * * Added in Saleor 3.1. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type ProductAttributeAssignmentUpdate = { __typename?: "ProductAttributeAssignmentUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; /** The updated product type. */ productType?: Maybe; }; export type ProductAttributeAssignmentUpdateInput = { /** The ID of the attribute to assign. */ id: Scalars["ID"]; /** * Whether attribute is allowed in variant selection. Allowed types are: ['dropdown', 'boolean', 'swatch', 'numeric']. * * Added in Saleor 3.1. */ variantSelection: Scalars["Boolean"]; }; export enum ProductAttributeType { Product = "PRODUCT", Variant = "VARIANT", } /** * Un-assign attributes from a given product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type ProductAttributeUnassign = { __typename?: "ProductAttributeUnassign"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; /** The updated product type. */ productType?: Maybe; }; /** * Deletes products. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductBulkDelete = { __typename?: "ProductBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; /** Represents product channel listing. */ export type ProductChannelListing = Node & { __typename?: "ProductChannelListing"; /** @deprecated This field will be removed in Saleor 4.0. Use the `availableForPurchaseAt` field to fetch the available for purchase date. */ availableForPurchase?: Maybe; /** * The product available for purchase date time. * * Added in Saleor 3.3. */ availableForPurchaseAt?: Maybe; channel: Channel; /** The price of the cheapest variant (including discounts). */ discountedPrice?: Maybe; id: Scalars["ID"]; /** Whether the product is available for purchase. */ isAvailableForPurchase?: Maybe; isPublished: Scalars["Boolean"]; /** * Range of margin percentage value. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ margin?: Maybe; /** Lists the storefront product's pricing, the current price and discounts, only meant for displaying. */ pricing?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use the `publishedAt` field to fetch the publication date. */ publicationDate?: Maybe; /** * The product publication date time. * * Added in Saleor 3.3. */ publishedAt?: Maybe; /** * Purchase cost of product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ purchaseCost?: Maybe; visibleInListings: Scalars["Boolean"]; }; /** Represents product channel listing. */ export type ProductChannelListingPricingArgs = { address?: 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; /** * Publication date. ISO 8601 standard. * * DEPRECATED: this field will be removed in Saleor 4.0. Use `publishedAt` field instead. */ publicationDate?: InputMaybe; /** * Publication date time. ISO 8601 standard. * * 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; }; export type ProductChannelListingError = { __typename?: "ProductChannelListingError"; /** List of attributes IDs which causes the error. */ attributes?: Maybe>; /** List of channels IDs which causes the error. */ channels?: Maybe>; /** The error code. */ code: ProductErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of attribute values IDs which causes the error. */ values?: Maybe>; /** List of variants IDs which causes the error. */ variants?: Maybe>; }; /** * Manage product's availability in channels. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductChannelListingUpdate = { __typename?: "ProductChannelListingUpdate"; errors: Array; /** An updated product instance. */ product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productChannelListingErrors: Array; }; 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>; }; export type ProductCountableConnection = { __typename?: "ProductCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type ProductCountableEdge = { __typename?: "ProductCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Product; }; /** * Creates a new product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductCreate = { __typename?: "ProductCreate"; errors: Array; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type ProductCreateInput = { /** List of attributes. */ attributes?: InputMaybe>; /** ID of the product's category. */ category?: InputMaybe; /** Determine if taxes are being charged for the product. */ chargeTaxes?: InputMaybe; /** List of IDs of collections that the product belongs to. */ collections?: InputMaybe>; /** * Product description. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; /** Product name. */ name?: 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; /** Tax rate for enabled tax gateway. */ taxCode?: InputMaybe; /** Weight of the Product. */ weight?: InputMaybe; }; export type ProductCreated = Event & { __typename?: "ProductCreated"; /** * The category of the product. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ category?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The product the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ product?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ProductCreatedProductArgs = { channel?: InputMaybe; }; /** * Deletes a product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductDelete = { __typename?: "ProductDelete"; errors: Array; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type ProductDeleted = Event & { __typename?: "ProductDeleted"; /** * The category of the product. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ category?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The product the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ product?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ProductDeletedProductArgs = { channel?: InputMaybe; }; export type ProductError = { __typename?: "ProductError"; /** List of attributes IDs which causes the error. */ attributes?: Maybe>; /** The error code. */ code: ProductErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of attribute values IDs which causes the error. */ values?: Maybe>; }; /** An enumeration. */ export enum ProductErrorCode { AlreadyExists = "ALREADY_EXISTS", AttributeAlreadyAssigned = "ATTRIBUTE_ALREADY_ASSIGNED", AttributeCannotBeAssigned = "ATTRIBUTE_CANNOT_BE_ASSIGNED", AttributeVariantsDisabled = "ATTRIBUTE_VARIANTS_DISABLED", CannotManageProductWithoutVariant = "CANNOT_MANAGE_PRODUCT_WITHOUT_VARIANT", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", MediaAlreadyAssigned = "MEDIA_ALREADY_ASSIGNED", NotFound = "NOT_FOUND", NotProductsImage = "NOT_PRODUCTS_IMAGE", NotProductsVariant = "NOT_PRODUCTS_VARIANT", PreorderVariantCannotBeDeactivated = "PREORDER_VARIANT_CANNOT_BE_DEACTIVATED", ProductNotAssignedToChannel = "PRODUCT_NOT_ASSIGNED_TO_CHANNEL", ProductWithoutCategory = "PRODUCT_WITHOUT_CATEGORY", Required = "REQUIRED", Unique = "UNIQUE", UnsupportedMediaProvider = "UNSUPPORTED_MEDIA_PROVIDER", VariantNoDigitalContent = "VARIANT_NO_DIGITAL_CONTENT", } export enum ProductFieldEnum { Category = "CATEGORY", ChargeTaxes = "CHARGE_TAXES", Collections = "COLLECTIONS", Description = "DESCRIPTION", Name = "NAME", ProductMedia = "PRODUCT_MEDIA", ProductType = "PRODUCT_TYPE", ProductWeight = "PRODUCT_WEIGHT", VariantId = "VARIANT_ID", VariantMedia = "VARIANT_MEDIA", VariantSku = "VARIANT_SKU", VariantWeight = "VARIANT_WEIGHT", } export type ProductFilterInput = { attributes?: 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>; giftCard?: InputMaybe; hasCategory?: InputMaybe; hasPreorderedVariants?: InputMaybe; ids?: InputMaybe>; isPublished?: InputMaybe; metadata?: InputMaybe>; minimalPrice?: InputMaybe; price?: InputMaybe; productTypes?: InputMaybe>; search?: InputMaybe; stockAvailability?: InputMaybe; stocks?: InputMaybe; updatedAt?: InputMaybe; }; /** Represents a product image. */ export type ProductImage = { __typename?: "ProductImage"; /** The alt text of the image. */ alt?: Maybe; /** The ID of the image. */ id: Scalars["ID"]; /** The new relative sorting position of the item (from -inf to +inf). 1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged. */ sortOrder?: Maybe; /** The URL of the image. */ url: Scalars["String"]; }; /** Represents a product image. */ export type ProductImageUrlArgs = { size?: InputMaybe; }; export type ProductInput = { /** List of attributes. */ attributes?: InputMaybe>; /** ID of the product's category. */ category?: InputMaybe; /** Determine if taxes are being charged for the product. */ chargeTaxes?: InputMaybe; /** List of IDs of collections that the product belongs to. */ collections?: InputMaybe>; /** * Product description. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; /** Product name. */ name?: InputMaybe; /** Defines the product rating value. */ rating?: InputMaybe; /** Search engine optimization fields. */ seo?: InputMaybe; /** Product slug. */ slug?: InputMaybe; /** Tax rate for enabled tax gateway. */ taxCode?: InputMaybe; /** Weight of the Product. */ weight?: InputMaybe; }; /** Represents a product media. */ export type ProductMedia = Node & { __typename?: "ProductMedia"; alt: Scalars["String"]; id: Scalars["ID"]; oembedData: Scalars["JSONString"]; sortOrder?: Maybe; type: ProductMediaType; /** The URL of the media. */ url: Scalars["String"]; }; /** Represents a product media. */ export type ProductMediaUrlArgs = { size?: InputMaybe; }; /** * Deletes product media. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductMediaBulkDelete = { __typename?: "ProductMediaBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; /** * Create a media object (image or video URL) associated with product. For image, this mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductMediaCreate = { __typename?: "ProductMediaCreate"; errors: Array; media?: Maybe; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type ProductMediaCreateInput = { /** Alt text for a product media. */ 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"]; }; /** * Deletes a product media. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductMediaDelete = { __typename?: "ProductMediaDelete"; errors: Array; media?: Maybe; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; /** * Changes ordering of the product media. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductMediaReorder = { __typename?: "ProductMediaReorder"; errors: Array; media?: Maybe>; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; /** An enumeration. */ export enum ProductMediaType { Image = "IMAGE", Video = "VIDEO", } /** * Updates a product media. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductMediaUpdate = { __typename?: "ProductMediaUpdate"; errors: Array; media?: Maybe; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type ProductMediaUpdateInput = { /** Alt text for a product media. */ alt?: InputMaybe; }; export type ProductOrder = { /** * Sort product by the selected attribute's values. * Note: this doesn't take translations into account yet. */ attributeId?: InputMaybe; /** * 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 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 update date. */ Date = "DATE", /** Sort products by update date. */ LastModified = "LAST_MODIFIED", /** Sort products by update date. */ LastModifiedAt = "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. */ MinimalPrice = "MINIMAL_PRICE", /** Sort products by name. */ Name = "NAME", /** * Sort products by price. * * This option requires a channel filter to work as the values can vary between channels. */ Price = "PRICE", /** * Sort products by publication date. * * This option requires a channel filter to work as the values can vary between channels. */ PublicationDate = "PUBLICATION_DATE", /** * 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. */ PublishedAt = "PUBLISHED_AT", /** Sort products by rank. Note: This option is available only with the `search` filter. */ Rank = "RANK", /** Sort products by rating. */ Rating = "RATING", /** Sort products by type. */ Type = "TYPE", } /** Represents availability of a product in the storefront. */ export type ProductPricingInfo = { __typename?: "ProductPricingInfo"; /** The discount amount if in sale (null otherwise). */ discount?: Maybe; /** The discount amount in the local currency. */ discountLocalCurrency?: Maybe; /** Whether it is in sale or not. */ onSale?: Maybe; /** The discounted price range of the product variants. */ priceRange?: Maybe; /** The discounted price range of the product variants in the local currency. */ priceRangeLocalCurrency?: Maybe; /** The undiscounted price range of the product variants. */ priceRangeUndiscounted?: Maybe; }; /** * Reorder product attribute values. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductReorderAttributeValues = { __typename?: "ProductReorderAttributeValues"; errors: Array; /** Product from which attribute values are reordered. */ product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type ProductStockFilterInput = { quantity?: InputMaybe; warehouseIds?: InputMaybe>; }; export type ProductTranslatableContent = Node & { __typename?: "ProductTranslatableContent"; /** List of product attribute values that can be translated. */ attributeValues: Array; /** * Description of the product. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Description of the product. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; name: Scalars["String"]; /** * Represents an individual item for sale in the storefront. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ product?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; /** Returns translated product fields for the given language code. */ translation?: Maybe; }; export type ProductTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for a product. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type ProductTranslate = { __typename?: "ProductTranslate"; errors: Array; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type ProductTranslation = Node & { __typename?: "ProductTranslation"; /** * Translated description of the product. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * Translated description of the product. * * Rich text format. For reference see https://editorjs.io/ * @deprecated This field will be removed in Saleor 4.0. Use the `description` field instead. */ descriptionJson?: Maybe; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name?: Maybe; seoDescription?: Maybe; seoTitle?: Maybe; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductType = Node & ObjectWithMetadata & { __typename?: "ProductType"; /** * Variant attributes of that product type with attached variant selection. * * Added in Saleor 3.1. */ assignedVariantAttributes?: Maybe>; /** * List of attributes which can be assigned to this product type. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ availableAttributes?: Maybe; hasVariants: Scalars["Boolean"]; id: Scalars["ID"]; isDigital: Scalars["Boolean"]; isShippingRequired: Scalars["Boolean"]; /** The product type kind. */ kind: ProductTypeKindEnum; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** Product attributes of that product type. */ productAttributes?: Maybe>; /** * List of products of this type. * @deprecated This field will be removed in Saleor 4.0. Use the top-level `products` query with the `productTypes` filter. */ products?: Maybe; slug: Scalars["String"]; /** A type of tax. Assigned by enabled tax gateway */ taxType?: Maybe; /** * Variant attributes of that product type. * @deprecated This field will be removed in Saleor 4.0. Use `assignedVariantAttributes` instead. */ variantAttributes?: Maybe>; weight?: Maybe; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductTypeAssignedVariantAttributesArgs = { variantSelection?: InputMaybe; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductTypeAvailableAttributesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductTypeMetafieldArgs = { key: Scalars["String"]; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductTypeMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductTypePrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductTypePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductTypeProductsArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents a type of product. It defines what attributes are available to products of this type. */ export type ProductTypeVariantAttributesArgs = { variantSelection?: InputMaybe; }; /** * Deletes product types. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type ProductTypeBulkDelete = { __typename?: "ProductTypeBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export enum ProductTypeConfigurable { Configurable = "CONFIGURABLE", Simple = "SIMPLE", } export type ProductTypeCountableConnection = { __typename?: "ProductTypeCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type ProductTypeCountableEdge = { __typename?: "ProductTypeCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: ProductType; }; /** * Creates a new product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type ProductTypeCreate = { __typename?: "ProductTypeCreate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; productType?: Maybe; }; /** * Deletes a product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type ProductTypeDelete = { __typename?: "ProductTypeDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; productType?: Maybe; }; export enum ProductTypeEnum { Digital = "DIGITAL", Shippable = "SHIPPABLE", } export type ProductTypeFilterInput = { configurable?: InputMaybe; ids?: InputMaybe>; kind?: InputMaybe; metadata?: InputMaybe>; productType?: InputMaybe; search?: 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; /** Tax rate for enabled tax gateway. */ taxCode?: InputMaybe; /** List of attributes used to distinguish between different variants of a product. */ variantAttributes?: InputMaybe>; /** Weight of the ProductType items. */ weight?: InputMaybe; }; /** An enumeration. */ export enum ProductTypeKindEnum { GiftCard = "GIFT_CARD", Normal = "NORMAL", } /** * Reorder the attributes of a product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type ProductTypeReorderAttributes = { __typename?: "ProductTypeReorderAttributes"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; /** Product type from which attributes are reordered. */ productType?: Maybe; }; export enum ProductTypeSortField { /** Sort products by type. */ Digital = "DIGITAL", /** Sort products by name. */ Name = "NAME", /** Sort products by shipping. */ ShippingRequired = "SHIPPING_REQUIRED", } export type ProductTypeSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort product types by the selected field. */ field: ProductTypeSortField; }; /** * Updates an existing product type. * * Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES. */ export type ProductTypeUpdate = { __typename?: "ProductTypeUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; productType?: Maybe; }; /** * Updates an existing product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductUpdate = { __typename?: "ProductUpdate"; errors: Array; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export type ProductUpdated = Event & { __typename?: "ProductUpdated"; /** * The category of the product. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ category?: Maybe; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The product the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ product?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ProductUpdatedProductArgs = { channel?: InputMaybe; }; /** Represents a version of a product such as different size or color. */ export type ProductVariant = Node & ObjectWithMetadata & { __typename?: "ProductVariant"; /** List of attributes assigned to this variant. */ attributes: Array; /** Channel given to retrieve this product variant. Also used by federation gateway to resolve this object in a federated query. */ channel?: Maybe; /** * List of price information in channels for the product. * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_STAFF_USER. */ channelListings?: Maybe>; created: Scalars["DateTime"]; /** * Digital content for the product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ digitalContent?: Maybe; id: Scalars["ID"]; /** * List of images for the product variant. * @deprecated This field will be removed in Saleor 4.0. Use the `media` field instead. */ images?: Maybe>; /** Gross margin percentage value. */ margin?: Maybe; /** List of media for the product variant. */ media?: Maybe>; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** * Preorder data for product variant. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ preorder?: Maybe; /** Lists the storefront variant's pricing, the current price and discounts, only meant for displaying. */ pricing?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; product: Product; /** Quantity of a product available for sale in one checkout. Field value will be `null` when no `limitQuantityPerCheckout` in global settings has been set, and `productVariant` stocks are not tracked. */ quantityAvailable?: Maybe; quantityLimitPerCustomer?: Maybe; /** * Total quantity ordered. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ quantityOrdered?: Maybe; /** * Total revenue generated by a variant in given period of time. Note: this field should be queried using `reportProductSales` query as it uses optimizations suitable for such calculations. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ revenue?: Maybe; sku?: Maybe; /** * Stocks for the product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS. */ stocks?: Maybe>; trackInventory: Scalars["Boolean"]; /** Returns translated product variant fields for the given language code. */ translation?: Maybe; updatedAt: Scalars["DateTime"]; weight?: Maybe; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantAttributesArgs = { variantSelection?: InputMaybe; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantMetafieldArgs = { key: Scalars["String"]; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantPricingArgs = { address?: InputMaybe; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantQuantityAvailableArgs = { address?: InputMaybe; countryCode?: InputMaybe; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantRevenueArgs = { period?: InputMaybe; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantStocksArgs = { address?: InputMaybe; countryCode?: InputMaybe; }; /** Represents a version of a product such as different size or color. */ export type ProductVariantTranslationArgs = { languageCode: LanguageCodeEnum; }; export type ProductVariantBackInStock = Event & { __typename?: "ProductVariantBackInStock"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The product variant the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ productVariant?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; /** * Look up a warehouse. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ warehouse?: Maybe; }; export type ProductVariantBackInStockProductVariantArgs = { channel?: InputMaybe; }; /** * Creates product variants for a given product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantBulkCreate = { __typename?: "ProductVariantBulkCreate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ bulkProductErrors: Array; /** Returns how many objects were created. */ count: Scalars["Int"]; errors: Array; /** List of the created variants. */ productVariants: Array; }; export type ProductVariantBulkCreateInput = { /** List of attributes specific to this variant. */ attributes: Array; /** List of prices assigned to channels. */ channelListings?: InputMaybe>; /** * Determines if variant is in preorder. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ preorder?: InputMaybe; /** * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ quantityLimitPerCustomer?: InputMaybe; /** Stock keeping unit. */ sku?: 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; }; /** * Deletes product variants. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantBulkDelete = { __typename?: "ProductVariantBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; /** Represents product varaint channel listing. */ export type ProductVariantChannelListing = Node & { __typename?: "ProductVariantChannelListing"; channel: Channel; /** Cost price of the variant. */ costPrice?: Maybe; id: Scalars["ID"]; /** * Gross margin percentage value. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ margin?: Maybe; /** * Preorder variant data. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ preorderThreshold?: Maybe; price?: Maybe; }; export type ProductVariantChannelListingAddInput = { /** ID of a channel. */ channelId: Scalars["ID"]; /** Cost price of the variant in channel. */ costPrice?: InputMaybe; /** * The threshold for preorder variant in channel. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ preorderThreshold?: InputMaybe; /** Price of the particular variant in channel. */ price: Scalars["PositiveDecimal"]; }; /** * Manage product variant prices in channels. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantChannelListingUpdate = { __typename?: "ProductVariantChannelListingUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productChannelListingErrors: Array; /** An updated product variant instance. */ variant?: Maybe; }; export type ProductVariantCountableConnection = { __typename?: "ProductVariantCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type ProductVariantCountableEdge = { __typename?: "ProductVariantCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: ProductVariant; }; /** * Creates a new variant for a product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantCreate = { __typename?: "ProductVariantCreate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; productVariant?: Maybe; }; export type ProductVariantCreateInput = { /** List of attributes specific to this variant. */ attributes: Array; /** * Determines if variant is in preorder. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ preorder?: 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. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ quantityLimitPerCustomer?: InputMaybe; /** Stock keeping unit. */ sku?: 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; }; export type ProductVariantCreated = Event & { __typename?: "ProductVariantCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The product variant the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ productVariant?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ProductVariantCreatedProductVariantArgs = { channel?: InputMaybe; }; /** * Deletes a product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantDelete = { __typename?: "ProductVariantDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; productVariant?: Maybe; }; export type ProductVariantDeleted = Event & { __typename?: "ProductVariantDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The product variant the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ productVariant?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ProductVariantDeletedProductVariantArgs = { channel?: InputMaybe; }; export type ProductVariantFilterInput = { isPreorder?: InputMaybe; metadata?: InputMaybe>; search?: InputMaybe; sku?: InputMaybe>; updatedAt?: InputMaybe; }; export type ProductVariantInput = { /** List of attributes specific to this variant. */ attributes?: InputMaybe>; /** * Determines if variant is in preorder. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ preorder?: InputMaybe; /** * Determines maximum quantity of `ProductVariant`,that can be bought in a single checkout. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ 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; }; export type ProductVariantOutOfStock = Event & { __typename?: "ProductVariantOutOfStock"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The product variant the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ productVariant?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; /** * Look up a warehouse. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ warehouse?: Maybe; }; export type ProductVariantOutOfStockProductVariantArgs = { channel?: InputMaybe; }; /** * Deactivates product variant preorder. It changes all preorder allocation into regular allocation. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantPreorderDeactivate = { __typename?: "ProductVariantPreorderDeactivate"; errors: Array; /** Product variant with ended preorder. */ productVariant?: Maybe; }; /** * Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantReorder = { __typename?: "ProductVariantReorder"; errors: Array; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; /** * Reorder product variant attribute values. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantReorderAttributeValues = { __typename?: "ProductVariantReorderAttributeValues"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; /** Product variant from which attribute values are reordered. */ productVariant?: Maybe; }; /** * Set default variant for a product. Mutation triggers PRODUCT_UPDATED webhook. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantSetDefault = { __typename?: "ProductVariantSetDefault"; errors: Array; product?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; }; export enum ProductVariantSortField { /** Sort products variants by last modified at. */ LastModifiedAt = "LAST_MODIFIED_AT", } export type ProductVariantSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort productVariants by the selected field. */ field: ProductVariantSortField; }; /** * Creates stocks for product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantStocksCreate = { __typename?: "ProductVariantStocksCreate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ bulkStockErrors: Array; errors: Array; /** Updated product variant. */ productVariant?: Maybe; }; /** * Delete stocks from product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantStocksDelete = { __typename?: "ProductVariantStocksDelete"; errors: Array; /** Updated product variant. */ productVariant?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ stockErrors: Array; }; /** * Update stocks for product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantStocksUpdate = { __typename?: "ProductVariantStocksUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ bulkStockErrors: Array; errors: Array; /** Updated product variant. */ productVariant?: Maybe; }; export type ProductVariantTranslatableContent = Node & { __typename?: "ProductVariantTranslatableContent"; /** List of product variant attribute values that can be translated. */ attributeValues: Array; id: Scalars["ID"]; name: Scalars["String"]; /** * Represents a version of a product such as different size or color. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ productVariant?: Maybe; /** Returns translated product variant fields for the given language code. */ translation?: Maybe; }; export type ProductVariantTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for a product variant. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type ProductVariantTranslate = { __typename?: "ProductVariantTranslate"; errors: Array; productVariant?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type ProductVariantTranslation = Node & { __typename?: "ProductVariantTranslation"; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name: Scalars["String"]; }; /** * Updates an existing variant for product. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type ProductVariantUpdate = { __typename?: "ProductVariantUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; productVariant?: Maybe; }; export type ProductVariantUpdated = Event & { __typename?: "ProductVariantUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** * The product variant the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ productVariant?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ProductVariantUpdatedProductVariantArgs = { channel?: InputMaybe; }; export type PublishableChannelListingInput = { /** ID of a channel. */ channelId: Scalars["ID"]; /** Determines if object is visible to customers. */ isPublished?: InputMaybe; /** * Publication date. ISO 8601 standard. * * DEPRECATED: this field will be removed in Saleor 4.0. Use `publishedAt` field instead. */ publicationDate?: InputMaybe; /** * Publication date time. ISO 8601 standard. * * Added in Saleor 3.3. */ publishedAt?: InputMaybe; }; export type Query = { __typename?: "Query"; _entities?: Maybe>>; _service?: Maybe<_Service>; /** Look up an address by ID. */ address?: Maybe
; /** Returns address validation rules. */ addressValidationRules?: Maybe; /** * Look up an app by ID. If ID is not provided, return the currently authenticated app. * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER AUTHENTICATED_APP. The authenticated app has access to its resources. Fetching different apps requires MANAGE_APPS permission. */ app?: Maybe; /** * Look up an app extension by ID. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. */ appExtension?: Maybe; /** * List of all extensions. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. */ appExtensions?: Maybe; /** * List of the apps. * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER, MANAGE_APPS. */ apps?: Maybe; /** * List of all apps installations * * Requires one of the following permissions: MANAGE_APPS. */ appsInstallations: Array; /** Look up an attribute by ID. */ attribute?: Maybe; /** List of the shop's attributes. */ attributes?: Maybe; /** List of the shop's categories. */ categories?: Maybe; /** Look up a category by ID or slug. */ category?: Maybe; /** * Look up a channel by ID. * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_STAFF_USER. */ channel?: Maybe; /** * List of all channels. * * Requires one of the following permissions: AUTHENTICATED_APP, AUTHENTICATED_STAFF_USER. */ channels?: Maybe>; /** Look up a checkout by token and slug of channel. */ checkout?: Maybe; /** * List of checkout lines. * * Requires one of the following permissions: MANAGE_CHECKOUTS. */ checkoutLines?: Maybe; /** * List of checkouts. * * Requires one of the following permissions: MANAGE_CHECKOUTS. */ checkouts?: Maybe; /** Look up a collection by ID. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ collection?: Maybe; /** List of the shop's collections. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ collections?: Maybe; /** * List of the shop's customers. * * Requires one of the following permissions: MANAGE_ORDERS, MANAGE_USERS. */ customers?: Maybe; /** * Look up digital content by ID. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ digitalContent?: Maybe; /** * List of digital content. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ digitalContents?: Maybe; /** * List of draft orders. * * Requires one of the following permissions: MANAGE_ORDERS. */ draftOrders?: Maybe; /** * Look up a export file by ID. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ exportFile?: Maybe; /** * List of export files. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ exportFiles?: Maybe; /** * Look up a gift card by ID. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCard?: Maybe; /** * List of gift card currencies. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardCurrencies: Array; /** * Gift card related settings from site settings. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardSettings: GiftCardSettings; /** * List of gift card tags. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCardTags?: Maybe; /** * List of gift cards. * * Requires one of the following permissions: MANAGE_GIFT_CARD. */ giftCards?: Maybe; /** * List of activity events to display on homepage (at the moment it only contains order-events). * * Requires one of the following permissions: MANAGE_ORDERS. */ homepageEvents?: Maybe; /** Return the currently authenticated user. */ me?: Maybe; /** Look up a navigation menu by ID or name. */ menu?: Maybe; /** Look up a menu item by ID. */ menuItem?: Maybe; /** List of the storefronts's menu items. */ menuItems?: Maybe; /** List of the storefront's menus. */ menus?: Maybe; /** Look up an order by ID. */ order?: Maybe; /** * Look up an order by token. * @deprecated This field will be removed in Saleor 4.0. */ orderByToken?: Maybe; /** * Order related settings from site settings. * * Requires one of the following permissions: MANAGE_ORDERS. */ orderSettings?: Maybe; /** * List of orders. * * Requires one of the following permissions: MANAGE_ORDERS. */ orders?: Maybe; /** * Return the total sales amount from a specific period. * * Requires one of the following permissions: MANAGE_ORDERS. */ ordersTotal?: Maybe; /** Look up a page by ID or slug. */ page?: Maybe; /** Look up a page type by ID. */ pageType?: Maybe; /** List of the page types. */ pageTypes?: Maybe; /** List of the shop's pages. */ pages?: Maybe; /** * Look up a payment by ID. * * Requires one of the following permissions: MANAGE_ORDERS. */ payment?: Maybe; /** * List of payments. * * Requires one of the following permissions: MANAGE_ORDERS. */ payments?: Maybe; /** * Look up permission group by ID. * * Requires one of the following permissions: MANAGE_STAFF. */ permissionGroup?: Maybe; /** * List of permission groups. * * Requires one of the following permissions: MANAGE_STAFF. */ permissionGroups?: Maybe; /** * Look up a plugin by ID. * * Requires one of the following permissions: MANAGE_PLUGINS. */ plugin?: Maybe; /** * List of plugins. * * Requires one of the following permissions: MANAGE_PLUGINS. */ plugins?: Maybe; /** Look up a product by ID. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ product?: Maybe; /** Look up a product type by ID. */ productType?: Maybe; /** List of the shop's product types. */ productTypes?: Maybe; /** Look up a product variant by ID or SKU. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ productVariant?: Maybe; /** List of product variants. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ productVariants?: Maybe; /** List of the shop's products. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS. */ products?: Maybe; /** * List of top selling products. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ reportProductSales?: Maybe; /** * Look up a sale by ID. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ sale?: Maybe; /** * List of the shop's sales. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ sales?: Maybe; /** * Look up a shipping zone by ID. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingZone?: Maybe; /** * List of the shop's shipping zones. * * Requires one of the following permissions: MANAGE_SHIPPING. */ shippingZones?: Maybe; /** Return information about the shop. */ shop: Shop; /** * List of the shop's staff users. * * Requires one of the following permissions: MANAGE_STAFF. */ staffUsers?: Maybe; /** * Look up a stock by ID * * Requires one of the following permissions: MANAGE_PRODUCTS. */ stock?: Maybe; /** * List of stocks. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ stocks?: Maybe; /** List of all tax rates available from tax gateway. */ taxTypes?: Maybe>; /** * Lookup a translatable item by ID. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ translation?: Maybe; /** * Returns a list of all translatable items of a given kind. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ translations?: Maybe; /** * Look up a user by ID or email address. * * Requires one of the following permissions: MANAGE_STAFF, MANAGE_USERS, MANAGE_ORDERS. */ user?: Maybe; /** * Look up a voucher by ID. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ voucher?: Maybe; /** * List of the shop's vouchers. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ vouchers?: Maybe; /** * Look up a warehouse by ID. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS, MANAGE_SHIPPING. */ warehouse?: Maybe; /** * List of warehouses. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS, MANAGE_SHIPPING. */ warehouses?: Maybe; /** Look up a webhook by ID. Requires one of the following permissions: MANAGE_APPS, OWNER. */ webhook?: Maybe; /** * List of all available webhook events. * * Requires one of the following permissions: MANAGE_APPS. * @deprecated This field will be removed in Saleor 4.0. Use `WebhookEventTypeAsyncEnum` and `WebhookEventTypeSyncEnum` to get available event types. */ webhookEvents?: Maybe>; /** Retrieve a sample payload for a given webhook event based on real data. It can be useful for some integrations where sample payload is required. */ webhookSamplePayload?: Maybe; }; export type Query_EntitiesArgs = { representations?: InputMaybe>>; }; export type QueryAddressArgs = { id: Scalars["ID"]; }; export type QueryAddressValidationRulesArgs = { city?: InputMaybe; cityArea?: InputMaybe; countryArea?: InputMaybe; countryCode: CountryCode; }; export type QueryAppArgs = { id?: InputMaybe; }; export type QueryAppExtensionArgs = { id: Scalars["ID"]; }; export type QueryAppExtensionsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryAppsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryAttributeArgs = { id?: InputMaybe; slug?: InputMaybe; }; export type QueryAttributesArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryCategoriesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; level?: InputMaybe; sortBy?: InputMaybe; }; export type QueryCategoryArgs = { id?: InputMaybe; slug?: InputMaybe; }; export type QueryChannelArgs = { id?: InputMaybe; }; export type QueryCheckoutArgs = { id?: InputMaybe; token?: InputMaybe; }; export type QueryCheckoutLinesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryCheckoutsArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryCollectionArgs = { channel?: InputMaybe; id?: InputMaybe; slug?: InputMaybe; }; export type QueryCollectionsArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryCustomersArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryDigitalContentArgs = { id: Scalars["ID"]; }; export type QueryDigitalContentsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryDraftOrdersArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryExportFileArgs = { id: Scalars["ID"]; }; export type QueryExportFilesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryGiftCardArgs = { id: Scalars["ID"]; }; export type QueryGiftCardTagsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryGiftCardsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryHomepageEventsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryMenuArgs = { channel?: InputMaybe; id?: InputMaybe; name?: InputMaybe; slug?: InputMaybe; }; export type QueryMenuItemArgs = { channel?: InputMaybe; id: Scalars["ID"]; }; export type QueryMenuItemsArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryMenusArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryOrderArgs = { id: Scalars["ID"]; }; export type QueryOrderByTokenArgs = { token: Scalars["UUID"]; }; export type QueryOrdersArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryOrdersTotalArgs = { channel?: InputMaybe; period?: InputMaybe; }; export type QueryPageArgs = { id?: InputMaybe; slug?: InputMaybe; }; export type QueryPageTypeArgs = { id: Scalars["ID"]; }; export type QueryPageTypesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryPagesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryPaymentArgs = { id: Scalars["ID"]; }; export type QueryPaymentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryPermissionGroupArgs = { id: Scalars["ID"]; }; export type QueryPermissionGroupsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryPluginArgs = { id: Scalars["ID"]; }; export type QueryPluginsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryProductArgs = { channel?: InputMaybe; id?: InputMaybe; slug?: InputMaybe; }; export type QueryProductTypeArgs = { id: Scalars["ID"]; }; export type QueryProductTypesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryProductVariantArgs = { channel?: InputMaybe; id?: InputMaybe; sku?: InputMaybe; }; export type QueryProductVariantsArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; ids?: InputMaybe>; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryProductsArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryReportProductSalesArgs = { after?: InputMaybe; before?: InputMaybe; channel: Scalars["String"]; first?: InputMaybe; last?: InputMaybe; period: ReportingPeriod; }; export type QuerySaleArgs = { channel?: InputMaybe; id: Scalars["ID"]; }; export type QuerySalesArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; sortBy?: InputMaybe; }; export type QueryShippingZoneArgs = { channel?: InputMaybe; id: Scalars["ID"]; }; export type QueryShippingZonesArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryStaffUsersArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryStockArgs = { id: Scalars["ID"]; }; export type QueryStocksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; export type QueryTranslationArgs = { id: Scalars["ID"]; kind: TranslatableKinds; }; export type QueryTranslationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; kind: TranslatableKinds; last?: InputMaybe; }; export type QueryUserArgs = { email?: InputMaybe; id?: InputMaybe; }; export type QueryVoucherArgs = { channel?: InputMaybe; id: Scalars["ID"]; }; export type QueryVouchersArgs = { after?: InputMaybe; before?: InputMaybe; channel?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; sortBy?: InputMaybe; }; export type QueryWarehouseArgs = { id: Scalars["ID"]; }; export type QueryWarehousesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; export type QueryWebhookArgs = { id: Scalars["ID"]; }; export type QueryWebhookSamplePayloadArgs = { eventType: WebhookSampleEventTypeEnum; }; /** Represents a reduced VAT rate for a particular type of goods. */ export type ReducedRate = { __typename?: "ReducedRate"; /** Reduced VAT rate in percent. */ rate: Scalars["Float"]; /** A type of goods. */ rateType: Scalars["String"]; }; /** Refresh JWT token. Mutation tries to take refreshToken from the input.If it fails it will try to take refreshToken from the http-only cookie -refreshToken. csrfToken is required when refreshToken is provided as a cookie. */ export type RefreshToken = { __typename?: "RefreshToken"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** JWT token, required to authenticate. */ token?: Maybe; /** A user instance. */ user?: Maybe; }; export type ReorderInput = { /** The ID of the item to move. */ id: Scalars["ID"]; /** The new relative sorting position of the item (from -inf to +inf). 1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged. */ sortOrder?: InputMaybe; }; export enum ReportingPeriod { ThisMonth = "THIS_MONTH", Today = "TODAY", } /** * Request email change of the logged in user. * * Requires one of the following permissions: AUTHENTICATED_USER. */ export type RequestEmailChange = { __typename?: "RequestEmailChange"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** A user instance. */ user?: Maybe; }; /** Sends an email with the account password modification link. */ export type RequestPasswordReset = { __typename?: "RequestPasswordReset"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type Sale = Node & ObjectWithMetadata & { __typename?: "Sale"; /** List of categories this sale applies to. */ categories?: Maybe; /** * List of channels available for the sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ channelListings?: Maybe>; /** * List of collections this sale applies to. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ collections?: Maybe; created: Scalars["DateTime"]; /** Currency code for sale. */ currency?: Maybe; /** Sale value. */ discountValue?: Maybe; endDate?: Maybe; id: Scalars["ID"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** * List of products this sale applies to. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ products?: Maybe; startDate: Scalars["DateTime"]; /** Returns translated sale fields for the given language code. */ translation?: Maybe; type: SaleType; updatedAt: Scalars["DateTime"]; /** * List of product variants this sale applies to. * * Added in Saleor 3.1. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ variants?: Maybe; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SaleCategoriesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SaleCollectionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SaleMetafieldArgs = { key: Scalars["String"]; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SaleMetafieldsArgs = { keys?: InputMaybe>; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SalePrivateMetafieldArgs = { key: Scalars["String"]; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SalePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SaleProductsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SaleTranslationArgs = { languageCode: LanguageCodeEnum; }; /** Sales allow creating discounts for categories, collections or products and are visible to all the customers. */ export type SaleVariantsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Adds products, categories, collections to a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type SaleAddCatalogues = { __typename?: "SaleAddCatalogues"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; /** Sale of which catalogue IDs will be modified. */ sale?: Maybe; }; /** * Deletes sales. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type SaleBulkDelete = { __typename?: "SaleBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; }; /** Represents sale channel listing. */ export type SaleChannelListing = Node & { __typename?: "SaleChannelListing"; channel: Channel; currency: Scalars["String"]; discountValue: Scalars["Float"]; id: Scalars["ID"]; }; export type SaleChannelListingAddInput = { /** ID of a channel. */ channelId: Scalars["ID"]; /** The value of the discount. */ discountValue: Scalars["PositiveDecimal"]; }; export type SaleChannelListingInput = { /** List of channels to which the sale should be assigned. */ addChannels?: InputMaybe>; /** List of channels from which the sale should be unassigned. */ removeChannels?: InputMaybe>; }; /** * Manage sale's availability in channels. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type SaleChannelListingUpdate = { __typename?: "SaleChannelListingUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; /** An updated sale instance. */ sale?: Maybe; }; export type SaleCountableConnection = { __typename?: "SaleCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type SaleCountableEdge = { __typename?: "SaleCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Sale; }; /** * Creates a new sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type SaleCreate = { __typename?: "SaleCreate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; sale?: Maybe; }; export type SaleCreated = Event & { __typename?: "SaleCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The sale the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ sale?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type SaleCreatedSaleArgs = { channel?: InputMaybe; }; /** * Deletes a sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type SaleDelete = { __typename?: "SaleDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; sale?: Maybe; }; export type SaleDeleted = Event & { __typename?: "SaleDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The sale the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ sale?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type SaleDeletedSaleArgs = { channel?: InputMaybe; }; export type SaleFilterInput = { metadata?: InputMaybe>; saleType?: InputMaybe; search?: InputMaybe; started?: InputMaybe; status?: 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; variants?: InputMaybe>; }; /** * Removes products, categories, collections from a sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type SaleRemoveCatalogues = { __typename?: "SaleRemoveCatalogues"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; /** Sale of which catalogue IDs will be modified. */ sale?: Maybe; }; export enum SaleSortField { /** Sort sales by created at. */ CreatedAt = "CREATED_AT", /** Sort sales by end date. */ EndDate = "END_DATE", /** Sort sales by last modified at. */ LastModifiedAt = "LAST_MODIFIED_AT", /** Sort sales by name. */ Name = "NAME", /** Sort sales by start date. */ StartDate = "START_DATE", /** Sort sales by type. */ Type = "TYPE", /** * Sort sales by value. * * This option requires a channel filter to work as the values can vary between channels. */ Value = "VALUE", } export type SaleSortingInput = { /** * 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 sales by the selected field. */ field: SaleSortField; }; export type SaleTranslatableContent = Node & { __typename?: "SaleTranslatableContent"; id: Scalars["ID"]; name: Scalars["String"]; /** * Sales allow creating discounts for categories, collections or products and are visible to all the customers. * * Requires one of the following permissions: MANAGE_DISCOUNTS. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ sale?: Maybe; /** Returns translated sale fields for the given language code. */ translation?: Maybe; }; export type SaleTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for a sale. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type SaleTranslate = { __typename?: "SaleTranslate"; errors: Array; sale?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type SaleTranslation = Node & { __typename?: "SaleTranslation"; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name?: Maybe; }; export enum SaleType { Fixed = "FIXED", Percentage = "PERCENTAGE", } /** * Updates a sale. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type SaleUpdate = { __typename?: "SaleUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; sale?: Maybe; }; export type SaleUpdated = Event & { __typename?: "SaleUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The sale the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ sale?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type SaleUpdatedSaleArgs = { channel?: InputMaybe; }; /** Represents a custom attribute. */ export type SelectedAttribute = { __typename?: "SelectedAttribute"; /** Name of an attribute displayed in the interface. */ attribute: Attribute; /** Values of an attribute. */ values: Array; }; export type SeoInput = { /** SEO description. */ description?: InputMaybe; /** SEO title. */ title?: InputMaybe; }; /** Sets the user's password from the token sent by email using the RequestPasswordReset mutation. */ export type SetPassword = { __typename?: "SetPassword"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; /** CSRF token required to re-generate access token. */ csrfToken?: Maybe; errors: Array; /** JWT refresh token, required to re-generate access token. */ refreshToken?: Maybe; /** JWT token, required to authenticate. */ token?: Maybe; /** A user instance. */ user?: Maybe; }; export type ShippingError = { __typename?: "ShippingError"; /** List of channels IDs which causes the error. */ channels?: Maybe>; /** The error code. */ code: ShippingErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; /** List of warehouse IDs which causes the error. */ warehouses?: Maybe>; }; /** An enumeration. */ export enum ShippingErrorCode { AlreadyExists = "ALREADY_EXISTS", DuplicatedInputItem = "DUPLICATED_INPUT_ITEM", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", MaxLessThanMin = "MAX_LESS_THAN_MIN", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } /** Shipping methods that can be used as means of shipping for orders and checkouts. */ export type ShippingMethod = Node & ObjectWithMetadata & { __typename?: "ShippingMethod"; /** Describes if this shipping method is active and can be selected. */ active: Scalars["Boolean"]; /** * Shipping method description. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** Unique ID of ShippingMethod available for Order. */ id: Scalars["ID"]; /** Maximum delivery days for this shipping method. */ maximumDeliveryDays?: Maybe; /** Maximum order price for this shipping method. */ maximumOrderPrice?: Maybe; /** * Maximum order weight for this shipping method. * @deprecated This field will be removed in Saleor 4.0. */ maximumOrderWeight?: Maybe; /** Message connected to this shipping method. */ message?: Maybe; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** Minimum delivery days for this shipping method. */ minimumDeliveryDays?: Maybe; /** Minimal order price for this shipping method. */ minimumOrderPrice?: Maybe; /** * Minimum order weight for this shipping method. * @deprecated This field will be removed in Saleor 4.0. */ minimumOrderWeight?: Maybe; /** Shipping method name. */ name: Scalars["String"]; /** The price of selected shipping method. */ price: Money; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** Returns translated shipping method fields for the given language code. */ translation?: Maybe; /** * Type of the shipping method. * @deprecated This field will be removed in Saleor 4.0. */ type?: Maybe; }; /** Shipping methods that can be used as means of shipping for orders and checkouts. */ export type ShippingMethodMetafieldArgs = { key: Scalars["String"]; }; /** Shipping methods that can be used as means of shipping for orders and checkouts. */ export type ShippingMethodMetafieldsArgs = { keys?: InputMaybe>; }; /** Shipping methods that can be used as means of shipping for orders and checkouts. */ export type ShippingMethodPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Shipping methods that can be used as means of shipping for orders and checkouts. */ export type ShippingMethodPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Shipping methods that can be used as means of shipping for orders and checkouts. */ export type ShippingMethodTranslationArgs = { languageCode: LanguageCodeEnum; }; /** Represents shipping method channel listing. */ export type ShippingMethodChannelListing = Node & { __typename?: "ShippingMethodChannelListing"; channel: Channel; id: Scalars["ID"]; maximumOrderPrice?: Maybe; minimumOrderPrice?: Maybe; price?: Maybe; }; 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; }; export type ShippingMethodChannelListingInput = { /** List of channels to which the shipping method should be assigned. */ addChannels?: InputMaybe>; /** List of channels from which the shipping method should be unassigned. */ removeChannels?: InputMaybe>; }; /** * Manage shipping method's availability in channels. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingMethodChannelListingUpdate = { __typename?: "ShippingMethodChannelListingUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; /** An updated shipping method instance. */ shippingMethod?: Maybe; }; /** Represents shipping method postal code rule. */ export type ShippingMethodPostalCodeRule = Node & { __typename?: "ShippingMethodPostalCodeRule"; /** End address range. */ end?: Maybe; /** The ID of the object. */ id: Scalars["ID"]; /** Inclusion type of the postal code rule. */ inclusionType?: Maybe; /** Start address range. */ start?: Maybe; }; export type ShippingMethodTranslatableContent = Node & { __typename?: "ShippingMethodTranslatableContent"; /** * Description of the shipping method. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; id: Scalars["ID"]; name: Scalars["String"]; /** * Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers. * * Requires one of the following permissions: MANAGE_SHIPPING. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ shippingMethod?: Maybe; /** Returns translated shipping method fields for the given language code. */ translation?: Maybe; }; export type ShippingMethodTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; export type ShippingMethodTranslation = Node & { __typename?: "ShippingMethodTranslation"; /** * Translated description of the shipping method. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name?: Maybe; }; /** Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers. */ export type ShippingMethodType = Node & ObjectWithMetadata & { __typename?: "ShippingMethodType"; /** * List of channels available for the method. * * Requires one of the following permissions: MANAGE_SHIPPING. */ channelListings?: Maybe>; /** * Shipping method description. * * Rich text format. For reference see https://editorjs.io/ */ description?: Maybe; /** * List of excluded products for the shipping method. * * Requires one of the following permissions: MANAGE_SHIPPING. */ excludedProducts?: Maybe; /** Shipping method ID. */ id: Scalars["ID"]; /** Maximum number of days for delivery. */ maximumDeliveryDays?: Maybe; /** The price of the cheapest variant (including discounts). */ maximumOrderPrice?: Maybe; /** Maximum order weight to use this shipping method. */ maximumOrderWeight?: Maybe; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** Minimal number of days for delivery. */ minimumDeliveryDays?: Maybe; /** The price of the cheapest variant (including discounts). */ minimumOrderPrice?: Maybe; /** Minimum order weight to use this shipping method. */ minimumOrderWeight?: Maybe; /** Shipping method name. */ name: Scalars["String"]; /** Postal code ranges rule of exclusion or inclusion of the shipping method. */ postalCodeRules?: Maybe>; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** Returns translated shipping method fields for the given language code. */ translation?: Maybe; /** Type of the shipping method. */ type?: Maybe; }; /** Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers. */ export type ShippingMethodTypeExcludedProductsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers. */ export type ShippingMethodTypeMetafieldArgs = { key: Scalars["String"]; }; /** Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers. */ export type ShippingMethodTypeMetafieldsArgs = { keys?: InputMaybe>; }; /** Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers. */ export type ShippingMethodTypePrivateMetafieldArgs = { key: Scalars["String"]; }; /** Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers. */ export type ShippingMethodTypePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers. */ export type ShippingMethodTypeTranslationArgs = { languageCode: LanguageCodeEnum; }; /** An enumeration. */ export enum ShippingMethodTypeEnum { Price = "PRICE", Weight = "WEIGHT", } export type ShippingPostalCodeRulesCreateInputRange = { /** End range of the postal code. */ end?: InputMaybe; /** Start range of the postal code. */ start: Scalars["String"]; }; /** * Deletes shipping prices. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingPriceBulkDelete = { __typename?: "ShippingPriceBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; }; /** * Creates a new shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingPriceCreate = { __typename?: "ShippingPriceCreate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; shippingMethod?: Maybe; /** A shipping zone to which the shipping method belongs. */ shippingZone?: Maybe; }; export type ShippingPriceCreated = Event & { __typename?: "ShippingPriceCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The shipping method the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingMethod?: Maybe; /** * The shipping zone the shipping method belongs to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingZone?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ShippingPriceCreatedShippingMethodArgs = { channel?: InputMaybe; }; export type ShippingPriceCreatedShippingZoneArgs = { channel?: InputMaybe; }; /** * Deletes a shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingPriceDelete = { __typename?: "ShippingPriceDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; /** A shipping method to delete. */ shippingMethod?: Maybe; /** A shipping zone to which the shipping method belongs. */ shippingZone?: Maybe; }; export type ShippingPriceDeleted = Event & { __typename?: "ShippingPriceDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The shipping method the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingMethod?: Maybe; /** * The shipping zone the shipping method belongs to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingZone?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ShippingPriceDeletedShippingMethodArgs = { channel?: InputMaybe; }; export type ShippingPriceDeletedShippingZoneArgs = { channel?: InputMaybe; }; /** * Exclude products from shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingPriceExcludeProducts = { __typename?: "ShippingPriceExcludeProducts"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; /** A shipping method with new list of excluded products. */ shippingMethod?: Maybe; }; export type ShippingPriceExcludeProductsInput = { /** List of products which will be excluded. */ products: Array; }; export type ShippingPriceInput = { /** 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; /** Shipping type: price or weight based. */ type?: InputMaybe; }; /** * Remove product from excluded list for shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingPriceRemoveProductFromExclude = { __typename?: "ShippingPriceRemoveProductFromExclude"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; /** A shipping method with new list of excluded products. */ shippingMethod?: Maybe; }; /** * Creates/updates translations for a shipping method. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type ShippingPriceTranslate = { __typename?: "ShippingPriceTranslate"; errors: Array; shippingMethod?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type ShippingPriceTranslationInput = { /** * Translated shipping method description. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; name?: InputMaybe; }; /** * Updates a new shipping price. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingPriceUpdate = { __typename?: "ShippingPriceUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; shippingMethod?: Maybe; /** A shipping zone to which the shipping method belongs. */ shippingZone?: Maybe; }; export type ShippingPriceUpdated = Event & { __typename?: "ShippingPriceUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The shipping method the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingMethod?: Maybe; /** * The shipping zone the shipping method belongs to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingZone?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ShippingPriceUpdatedShippingMethodArgs = { channel?: InputMaybe; }; export type ShippingPriceUpdatedShippingZoneArgs = { channel?: InputMaybe; }; /** Represents a shipping zone in the shop. Zones are the concept used only for grouping shipping methods in the dashboard, and are never exposed to the customers directly. */ export type ShippingZone = Node & ObjectWithMetadata & { __typename?: "ShippingZone"; /** List of channels for shipping zone. */ channels: Array; /** List of countries available for the method. */ countries: Array; default: Scalars["Boolean"]; /** Description of a shipping zone. */ description?: Maybe; id: Scalars["ID"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** Lowest and highest prices for the shipping. */ priceRange?: Maybe; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** List of shipping methods available for orders shipped to countries within this shipping zone. */ shippingMethods?: Maybe>; /** List of warehouses for shipping zone. */ warehouses: Array; }; /** Represents a shipping zone in the shop. Zones are the concept used only for grouping shipping methods in the dashboard, and are never exposed to the customers directly. */ export type ShippingZoneMetafieldArgs = { key: Scalars["String"]; }; /** Represents a shipping zone in the shop. Zones are the concept used only for grouping shipping methods in the dashboard, and are never exposed to the customers directly. */ export type ShippingZoneMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents a shipping zone in the shop. Zones are the concept used only for grouping shipping methods in the dashboard, and are never exposed to the customers directly. */ export type ShippingZonePrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents a shipping zone in the shop. Zones are the concept used only for grouping shipping methods in the dashboard, and are never exposed to the customers directly. */ export type ShippingZonePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** * Deletes shipping zones. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingZoneBulkDelete = { __typename?: "ShippingZoneBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; }; export type ShippingZoneCountableConnection = { __typename?: "ShippingZoneCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type ShippingZoneCountableEdge = { __typename?: "ShippingZoneCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: ShippingZone; }; /** * Creates a new shipping zone. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingZoneCreate = { __typename?: "ShippingZoneCreate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; shippingZone?: Maybe; }; 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>; /** 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; }; export type ShippingZoneCreated = Event & { __typename?: "ShippingZoneCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The shipping zone the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingZone?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ShippingZoneCreatedShippingZoneArgs = { channel?: InputMaybe; }; /** * Deletes a shipping zone. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingZoneDelete = { __typename?: "ShippingZoneDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; shippingZone?: Maybe; }; export type ShippingZoneDeleted = Event & { __typename?: "ShippingZoneDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The shipping zone the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingZone?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ShippingZoneDeletedShippingZoneArgs = { channel?: InputMaybe; }; export type ShippingZoneFilterInput = { channels?: InputMaybe>; search?: InputMaybe; }; /** * Updates a new shipping zone. * * Requires one of the following permissions: MANAGE_SHIPPING. */ export type ShippingZoneUpdate = { __typename?: "ShippingZoneUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shippingErrors: Array; shippingZone?: Maybe; }; 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>; /** 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 unassign from a shipping zone */ removeWarehouses?: InputMaybe>; }; export type ShippingZoneUpdated = Event & { __typename?: "ShippingZoneUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The shipping zone the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ shippingZone?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type ShippingZoneUpdatedShippingZoneArgs = { channel?: InputMaybe; }; /** Represents a shop resource containing general shop data and configuration. */ export type Shop = { __typename?: "Shop"; /** * Enable automatic fulfillment for all digital products. * * Requires one of the following permissions: MANAGE_SETTINGS. */ automaticFulfillmentDigitalProducts?: Maybe; /** List of available external authentications. */ availableExternalAuthentications: Array; /** List of available payment gateways. */ availablePaymentGateways: Array; /** Shipping methods that are available for the shop. */ availableShippingMethods?: Maybe>; /** * List of all currencies supported by shop's channels. * * Added in Saleor 3.1. * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. */ channelCurrencies: Array; /** Charge taxes on shipping. */ chargeTaxesOnShipping: Scalars["Boolean"]; /** Company address. */ companyAddress?: Maybe
; /** List of countries available in the shop. */ countries: Array; /** URL of a view where customers can set their password. */ customerSetPasswordUrl?: Maybe; /** Shop's default country. */ defaultCountry?: Maybe; /** * Default number of max downloads per digital content URL. * * Requires one of the following permissions: MANAGE_SETTINGS. */ defaultDigitalMaxDownloads?: Maybe; /** * Default number of days which digital content URL will be valid. * * Requires one of the following permissions: MANAGE_SETTINGS. */ defaultDigitalUrlValidDays?: Maybe; /** * Default shop's email sender's address. * * Requires one of the following permissions: MANAGE_SETTINGS. */ defaultMailSenderAddress?: Maybe; /** * Default shop's email sender's name. * * Requires one of the following permissions: MANAGE_SETTINGS. */ defaultMailSenderName?: Maybe; /** Default weight unit. */ defaultWeightUnit?: Maybe; /** Shop's description. */ description?: Maybe; /** Display prices with tax in store. */ displayGrossPrices: Scalars["Boolean"]; /** Shop's domain data. */ domain: Domain; /** * Allow to approve fulfillments which are unpaid. * * Added in Saleor 3.1. */ fulfillmentAllowUnpaid: Scalars["Boolean"]; /** * Automatically approve all new fulfillments. * * Added in Saleor 3.1. */ fulfillmentAutoApprove: Scalars["Boolean"]; /** Header text. */ headerText?: Maybe; /** Include taxes in prices. */ includeTaxesInPrices: Scalars["Boolean"]; /** List of the shops's supported languages. */ languages: Array; /** * Default number of maximum line quantity in single checkout (per single checkout line). * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: MANAGE_SETTINGS. */ limitQuantityPerCheckout?: Maybe; /** * Resource limitations and current usage if any set for a shop * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER. */ limits: LimitInfo; /** Shop's name. */ name: Scalars["String"]; /** List of available permissions. */ permissions: Array; /** List of possible phone prefixes. */ phonePrefixes: Array; /** * Default number of minutes stock will be reserved for anonymous checkout or null when stock reservation is disabled. * * Added in Saleor 3.1. * * Requires one of the following permissions: MANAGE_SETTINGS. */ reserveStockDurationAnonymousUser?: Maybe; /** * Default number of minutes stock will be reserved for authenticated checkout or null when stock reservation is disabled. * * Added in Saleor 3.1. * * Requires one of the following permissions: MANAGE_SETTINGS. */ reserveStockDurationAuthenticatedUser?: Maybe; /** * List of staff notification recipients. * * Requires one of the following permissions: MANAGE_SETTINGS. */ staffNotificationRecipients?: Maybe>; /** Enable inventory tracking. */ trackInventoryByDefault?: Maybe; /** Returns translated shop fields for the given language code. */ translation?: Maybe; /** * Saleor API version. * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER, AUTHENTICATED_APP. */ version: Scalars["String"]; }; /** Represents a shop resource containing general shop data and configuration. */ export type ShopAvailablePaymentGatewaysArgs = { channel?: InputMaybe; currency?: InputMaybe; }; /** Represents a shop resource containing general shop data and configuration. */ export type ShopAvailableShippingMethodsArgs = { address?: InputMaybe; channel: Scalars["String"]; }; /** Represents a shop resource containing general shop data and configuration. */ export type ShopCountriesArgs = { filter?: InputMaybe; languageCode?: InputMaybe; }; /** Represents a shop resource containing general shop data and configuration. */ export type ShopTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Update the shop's address. If the `null` value is passed, the currently selected address will be deleted. * * Requires one of the following permissions: MANAGE_SETTINGS. */ export type ShopAddressUpdate = { __typename?: "ShopAddressUpdate"; errors: Array; /** Updated shop. */ shop?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shopErrors: Array; }; /** * Updates site domain of the shop. * * Requires one of the following permissions: MANAGE_SETTINGS. */ export type ShopDomainUpdate = { __typename?: "ShopDomainUpdate"; errors: Array; /** Updated shop. */ shop?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shopErrors: Array; }; export type ShopError = { __typename?: "ShopError"; /** The error code. */ code: ShopErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum ShopErrorCode { AlreadyExists = "ALREADY_EXISTS", CannotFetchTaxRates = "CANNOT_FETCH_TAX_RATES", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } /** * Fetch tax rates. * * Requires one of the following permissions: MANAGE_SETTINGS. */ export type ShopFetchTaxRates = { __typename?: "ShopFetchTaxRates"; errors: Array; /** Updated shop. */ shop?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shopErrors: Array; }; export type ShopSettingsInput = { /** Enable automatic fulfillment for all digital products. */ automaticFulfillmentDigitalProducts?: InputMaybe; /** Charge taxes on shipping. */ 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; /** SEO description. */ description?: InputMaybe; /** Display prices with tax in store. */ displayGrossPrices?: InputMaybe; /** * Enable ability to approve fulfillments which are unpaid. * * Added in Saleor 3.1. */ fulfillmentAllowUnpaid?: InputMaybe; /** * Enable automatic approval of all new fulfillments. * * Added in Saleor 3.1. */ fulfillmentAutoApprove?: InputMaybe; /** Header text. */ headerText?: InputMaybe; /** Include taxes in prices. */ includeTaxesInPrices?: InputMaybe; /** * Default number of maximum line quantity in single checkout. Minimum possible value is 1, default value is 50. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ limitQuantityPerCheckout?: InputMaybe; /** * Default number of minutes stock will be reserved for anonymous checkout. Enter 0 or null to disable. * * Added in Saleor 3.1. */ reserveStockDurationAnonymousUser?: InputMaybe; /** * Default number of minutes stock will be reserved for authenticated checkout. Enter 0 or null to disable. * * Added in Saleor 3.1. */ reserveStockDurationAuthenticatedUser?: InputMaybe; /** Enable inventory tracking. */ trackInventoryByDefault?: InputMaybe; }; /** * Creates/updates translations for shop settings. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type ShopSettingsTranslate = { __typename?: "ShopSettingsTranslate"; errors: Array; /** Updated shop settings. */ shop?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; }; export type ShopSettingsTranslationInput = { description?: InputMaybe; headerText?: InputMaybe; }; /** * Updates shop settings. * * Requires one of the following permissions: MANAGE_SETTINGS. */ export type ShopSettingsUpdate = { __typename?: "ShopSettingsUpdate"; errors: Array; /** Updated shop. */ shop?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shopErrors: Array; }; export type ShopTranslation = Node & { __typename?: "ShopTranslation"; description: Scalars["String"]; headerText: Scalars["String"]; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; }; export type SiteDomainInput = { /** Domain name for shop. */ domain?: InputMaybe; /** Shop site name. */ name?: InputMaybe; }; /** * Deletes staff users. * * Requires one of the following permissions: MANAGE_STAFF. */ export type StaffBulkDelete = { __typename?: "StaffBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ staffErrors: Array; }; /** * Creates a new staff user. * * Requires one of the following permissions: MANAGE_STAFF. */ export type StaffCreate = { __typename?: "StaffCreate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ staffErrors: Array; user?: Maybe; }; 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; /** 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; }; /** * Deletes a staff user. * * Requires one of the following permissions: MANAGE_STAFF. */ export type StaffDelete = { __typename?: "StaffDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ staffErrors: Array; user?: Maybe; }; export type StaffError = { __typename?: "StaffError"; /** A type of address that causes the error. */ addressType?: Maybe; /** The error code. */ code: AccountErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** List of permission group IDs which cause the error. */ groups?: Maybe>; /** The error message. */ message?: Maybe; /** List of permissions which causes the error. */ permissions?: Maybe>; /** List of user IDs which causes the error. */ users?: Maybe>; }; export enum StaffMemberStatus { /** User account has been activated. */ Active = "ACTIVE", /** User account has not been activated yet. */ Deactivated = "DEACTIVATED", } /** Represents a recipient of email notifications send by Saleor, such as notifications about new orders. Notifications can be assigned to staff users or arbitrary email addresses. */ export type StaffNotificationRecipient = Node & { __typename?: "StaffNotificationRecipient"; /** Determines if a notification active. */ active?: Maybe; /** Returns email address of a user subscribed to email notifications. */ email?: Maybe; id: Scalars["ID"]; /** Returns a user subscribed to email notifications. */ user?: Maybe; }; /** * Creates a new staff notification recipient. * * Requires one of the following permissions: MANAGE_SETTINGS. */ export type StaffNotificationRecipientCreate = { __typename?: "StaffNotificationRecipientCreate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shopErrors: Array; staffNotificationRecipient?: Maybe; }; /** * Delete staff notification recipient. * * Requires one of the following permissions: MANAGE_SETTINGS. */ export type StaffNotificationRecipientDelete = { __typename?: "StaffNotificationRecipientDelete"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shopErrors: Array; staffNotificationRecipient?: Maybe; }; 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; }; /** * Updates a staff notification recipient. * * Requires one of the following permissions: MANAGE_SETTINGS. */ export type StaffNotificationRecipientUpdate = { __typename?: "StaffNotificationRecipientUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ shopErrors: Array; staffNotificationRecipient?: Maybe; }; /** * Updates an existing staff user. * * Requires one of the following permissions: MANAGE_STAFF. */ export type StaffUpdate = { __typename?: "StaffUpdate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ staffErrors: Array; user?: Maybe; }; 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; /** A note about the user. */ note?: InputMaybe; /** List of permission group IDs from which user should be unassigned. */ removeGroups?: InputMaybe>; }; export type StaffUserInput = { ids?: InputMaybe>; search?: InputMaybe; status?: InputMaybe; }; /** Represents stock. */ export type Stock = Node & { __typename?: "Stock"; id: Scalars["ID"]; productVariant: ProductVariant; /** * Quantity of a product in the warehouse's possession, including the allocated stock that is waiting for shipment. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS. */ quantity: Scalars["Int"]; /** * Quantity allocated for orders. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS. */ quantityAllocated: Scalars["Int"]; /** * Quantity reserved for checkouts. * * Requires one of the following permissions: MANAGE_PRODUCTS, MANAGE_ORDERS. */ quantityReserved: Scalars["Int"]; warehouse: Warehouse; }; export enum StockAvailability { InStock = "IN_STOCK", OutOfStock = "OUT_OF_STOCK", } export type StockCountableConnection = { __typename?: "StockCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type StockCountableEdge = { __typename?: "StockCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Stock; }; export type StockError = { __typename?: "StockError"; /** The error code. */ code: StockErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum StockErrorCode { AlreadyExists = "ALREADY_EXISTS", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } export type StockFilterInput = { quantity?: InputMaybe; search?: InputMaybe; }; export type StockInput = { /** Quantity of items available for sell. */ quantity: Scalars["Int"]; /** Warehouse in which stock is located. */ warehouse: Scalars["ID"]; }; /** Enum representing the type of a payment storage in a gateway. */ export enum StorePaymentMethodEnum { /** Storage is disabled. The payment is not stored. */ None = "NONE", /** Off session storage type. The payment is stored to be reused even if the customer is absent. */ OffSession = "OFF_SESSION", /** On session storage type. The payment is stored only to be reused when the customer is present in the checkout flow. */ OnSession = "ON_SESSION", } export type Subscription = { __typename?: "Subscription"; /** * Look up subscription event. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ event?: Maybe; }; /** Representation of tax types fetched from tax gateway. */ export type TaxType = { __typename?: "TaxType"; /** Description of the tax type. */ description?: Maybe; /** External tax code used to identify given tax group. */ taxCode?: Maybe; }; /** Represents a monetary value with taxes. In cases where taxes were not applied, net and gross values will be equal. */ export type TaxedMoney = { __typename?: "TaxedMoney"; /** Currency code. */ currency: Scalars["String"]; /** Amount of money including taxes. */ gross: Money; /** Amount of money without taxes. */ net: Money; /** Amount of taxes. */ tax: Money; }; /** Represents a range of monetary values. */ export type TaxedMoneyRange = { __typename?: "TaxedMoneyRange"; /** Lower bound of a price range. */ start?: Maybe; /** Upper bound of a price range. */ stop?: Maybe; }; export type TimePeriod = { __typename?: "TimePeriod"; /** The length of the period. */ amount: Scalars["Int"]; /** The type of the period. */ type: TimePeriodTypeEnum; }; export type TimePeriodInputType = { /** The length of the period. */ amount: Scalars["Int"]; /** The type of the period. */ type: TimePeriodTypeEnum; }; /** An enumeration. */ export enum TimePeriodTypeEnum { Day = "DAY", Month = "MONTH", Week = "WEEK", Year = "YEAR", } /** An object representing a single payment. */ export type Transaction = Node & { __typename?: "Transaction"; /** Total amount of the transaction. */ amount?: Maybe; created: Scalars["DateTime"]; error?: Maybe; gatewayResponse: Scalars["JSONString"]; id: Scalars["ID"]; isSuccess: Scalars["Boolean"]; kind: TransactionKind; payment: Payment; token: Scalars["String"]; }; export type TransactionAction = { __typename?: "TransactionAction"; /** Determines the action type. */ actionType: TransactionActionEnum; /** Transaction request amount. Null when action type is VOID. */ amount?: Maybe; }; /** * Represents possible actions on payment transaction. * * The following actions are possible: * CHARGE - Represents the charge action. * REFUND - Represents a refund action. * VOID - Represents a void action. */ export enum TransactionActionEnum { Charge = "CHARGE", Refund = "REFUND", Void = "VOID", } export type TransactionActionRequest = Event & { __typename?: "TransactionActionRequest"; /** * Requested action data. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ action: TransactionAction; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * Look up a transaction. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ transaction?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; /** * Create transaction for checkout or order. Requires the following permissions: AUTHENTICATED_APP and HANDLE_PAYMENTS. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type TransactionCreate = { __typename?: "TransactionCreate"; errors: Array; transaction?: Maybe; }; export type TransactionCreateError = { __typename?: "TransactionCreateError"; /** The error code. */ code: TransactionCreateErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum TransactionCreateErrorCode { GraphqlError = "GRAPHQL_ERROR", IncorrectCurrency = "INCORRECT_CURRENCY", Invalid = "INVALID", MetadataKeyRequired = "METADATA_KEY_REQUIRED", NotFound = "NOT_FOUND", } export type TransactionCreateInput = { /** 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. */ amountVoided?: InputMaybe; /** List of all possible actions for the transaction */ availableActions?: InputMaybe>; /** Payment public metadata. */ metadata?: InputMaybe>; /** Payment private metadata. */ privateMetadata?: InputMaybe>; /** Reference of the transaction. */ reference?: InputMaybe; /** Status of the transaction. */ status: Scalars["String"]; /** Payment type used for this transaction. */ type: Scalars["String"]; }; /** Represents transaction's event. */ export type TransactionEvent = Node & { __typename?: "TransactionEvent"; createdAt: Scalars["DateTime"]; /** The ID of the object. */ id: Scalars["ID"]; /** Name of the transaction's event. */ name?: Maybe; /** Reference of transaction's event. */ reference: Scalars["String"]; /** Status of transaction's event. */ status: TransactionStatus; }; export type TransactionEventInput = { /** Name of the transaction. */ name?: InputMaybe; /** Reference of the transaction. */ reference?: InputMaybe; /** Current status of the payment transaction. */ status: TransactionStatus; }; /** * Represents a payment transaction. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type TransactionItem = Node & ObjectWithMetadata & { __typename?: "TransactionItem"; /** List of actions that can be performed in the current state of a payment. */ actions: Array; /** Total amount authorized for this payment. */ authorizedAmount: Money; /** Total amount charged for this payment. */ chargedAmount: Money; createdAt: Scalars["DateTime"]; /** List of all transaction's events. */ events: Array; /** The ID of the object. */ id: Scalars["ID"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; modifiedAt: Scalars["DateTime"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** Reference of transaction. */ reference: Scalars["String"]; /** Total amount refunded for this payment. */ refundedAmount: Money; /** Status of transaction. */ status: Scalars["String"]; /** Type of transaction. */ type: Scalars["String"]; /** Total amount voided for this payment. */ voidedAmount: Money; }; /** * Represents a payment transaction. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type TransactionItemMetafieldArgs = { key: Scalars["String"]; }; /** * Represents a payment transaction. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type TransactionItemMetafieldsArgs = { keys?: InputMaybe>; }; /** * Represents a payment transaction. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type TransactionItemPrivateMetafieldArgs = { key: Scalars["String"]; }; /** * Represents a payment transaction. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type TransactionItemPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** An enumeration. */ export enum TransactionKind { ActionToConfirm = "ACTION_TO_CONFIRM", Auth = "AUTH", Cancel = "CANCEL", Capture = "CAPTURE", Confirm = "CONFIRM", External = "EXTERNAL", Pending = "PENDING", Refund = "REFUND", RefundOngoing = "REFUND_ONGOING", Void = "VOID", } /** * Request an action for payment transaction. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. * * Requires one of the following permissions: HANDLE_PAYMENTS, MANAGE_ORDERS. */ export type TransactionRequestAction = { __typename?: "TransactionRequestAction"; errors: Array; transaction?: Maybe; }; export type TransactionRequestActionError = { __typename?: "TransactionRequestActionError"; /** The error code. */ code: TransactionRequestActionErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum TransactionRequestActionErrorCode { GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", MissingTransactionActionRequestWebhook = "MISSING_TRANSACTION_ACTION_REQUEST_WEBHOOK", NotFound = "NOT_FOUND", } /** An enumeration. */ export enum TransactionStatus { Failure = "FAILURE", Pending = "PENDING", Success = "SUCCESS", } /** * Create transaction for checkout or order. Requires the following permissions: AUTHENTICATED_APP and HANDLE_PAYMENTS. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ export type TransactionUpdate = { __typename?: "TransactionUpdate"; errors: Array; transaction?: Maybe; }; export type TransactionUpdateError = { __typename?: "TransactionUpdateError"; /** The error code. */ code: TransactionUpdateErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum TransactionUpdateErrorCode { GraphqlError = "GRAPHQL_ERROR", IncorrectCurrency = "INCORRECT_CURRENCY", Invalid = "INVALID", MetadataKeyRequired = "METADATA_KEY_REQUIRED", NotFound = "NOT_FOUND", } export type TransactionUpdateInput = { /** 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. */ amountVoided?: InputMaybe; /** List of all possible actions for the transaction */ availableActions?: InputMaybe>; /** Payment public metadata. */ metadata?: InputMaybe>; /** Payment private metadata. */ privateMetadata?: InputMaybe>; /** Reference of the transaction. */ reference?: InputMaybe; /** Status of the transaction. */ status?: InputMaybe; /** Payment type used for this transaction. */ type?: InputMaybe; }; export type TranslatableItem = | AttributeTranslatableContent | AttributeValueTranslatableContent | CategoryTranslatableContent | CollectionTranslatableContent | MenuItemTranslatableContent | PageTranslatableContent | ProductTranslatableContent | ProductVariantTranslatableContent | SaleTranslatableContent | ShippingMethodTranslatableContent | VoucherTranslatableContent; export type TranslatableItemConnection = { __typename?: "TranslatableItemConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type TranslatableItemEdge = { __typename?: "TranslatableItemEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: TranslatableItem; }; export enum TranslatableKinds { Attribute = "ATTRIBUTE", AttributeValue = "ATTRIBUTE_VALUE", Category = "CATEGORY", Collection = "COLLECTION", MenuItem = "MENU_ITEM", Page = "PAGE", Product = "PRODUCT", Sale = "SALE", ShippingMethod = "SHIPPING_METHOD", Variant = "VARIANT", Voucher = "VOUCHER", } export type TranslationCreated = Event & { __typename?: "TranslationCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The translation the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ translation?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type TranslationError = { __typename?: "TranslationError"; /** The error code. */ code: TranslationErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum TranslationErrorCode { GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", } export type TranslationInput = { /** * Translated description. * * Rich text format. For reference see https://editorjs.io/ */ description?: InputMaybe; name?: InputMaybe; seoDescription?: InputMaybe; seoTitle?: InputMaybe; }; export type TranslationTypes = | AttributeTranslation | AttributeValueTranslation | CategoryTranslation | CollectionTranslation | MenuItemTranslation | PageTranslation | ProductTranslation | ProductVariantTranslation | SaleTranslation | ShippingMethodTranslation | VoucherTranslation; export type TranslationUpdated = Event & { __typename?: "TranslationUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** * The translation the event relates to. * * Added in Saleor 3.2. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ translation?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; }; export type UpdateInvoiceInput = { /** Invoice number */ number?: InputMaybe; /** URL of an invoice to download. */ url?: InputMaybe; }; /** Updates metadata of an object. To use it, you need to have access to the modified object. */ export type UpdateMetadata = { __typename?: "UpdateMetadata"; errors: Array; item?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ metadataErrors: Array; }; /** Updates private metadata of an object. To use it, you need to be an authenticated staff user or an app and have access to the modified object. */ export type UpdatePrivateMetadata = { __typename?: "UpdatePrivateMetadata"; errors: Array; item?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ metadataErrors: Array; }; export type UploadError = { __typename?: "UploadError"; /** The error code. */ code: UploadErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum UploadErrorCode { GraphqlError = "GRAPHQL_ERROR", } /** Represents user data. */ export type User = Node & ObjectWithMetadata & { __typename?: "User"; /** List of all user's addresses. */ addresses?: Maybe>; avatar?: Maybe; /** * Returns the last open checkout of this user. * @deprecated This field will be removed in Saleor 4.0. Use the `checkoutTokens` field to fetch the user checkouts. */ checkout?: Maybe; /** Returns the checkout ID's assigned to this user. */ checkoutIds?: Maybe>; /** * Returns the checkout UUID's assigned to this user. * @deprecated This field will be removed in Saleor 4.0. Use `checkoutIds` instead. */ checkoutTokens?: Maybe>; dateJoined: Scalars["DateTime"]; defaultBillingAddress?: Maybe
; defaultShippingAddress?: Maybe
; /** List of user's permission groups which user can manage. */ editableGroups?: Maybe>; email: Scalars["String"]; /** * List of events associated with the user. * * Requires one of the following permissions: MANAGE_USERS, MANAGE_STAFF. */ events?: Maybe>; firstName: Scalars["String"]; /** List of the user gift cards. */ giftCards?: Maybe; id: Scalars["ID"]; isActive: Scalars["Boolean"]; isStaff: Scalars["Boolean"]; /** User language code. */ languageCode: LanguageCodeEnum; lastLogin?: Maybe; lastName: Scalars["String"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; /** * A note about the customer. * * Requires one of the following permissions: MANAGE_USERS, MANAGE_STAFF. */ note?: Maybe; /** List of user's orders. Requires one of the following permissions: MANAGE_STAFF, OWNER. */ orders?: Maybe; /** List of user's permission groups. */ permissionGroups?: Maybe>; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** List of stored payment sources. */ storedPaymentSources?: Maybe>; updatedAt: Scalars["DateTime"]; /** List of user's permissions. */ userPermissions?: Maybe>; }; /** Represents user data. */ export type UserAvatarArgs = { size?: InputMaybe; }; /** Represents user data. */ export type UserCheckoutIdsArgs = { channel?: InputMaybe; }; /** Represents user data. */ export type UserCheckoutTokensArgs = { channel?: InputMaybe; }; /** Represents user data. */ export type UserGiftCardsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents user data. */ export type UserMetafieldArgs = { key: Scalars["String"]; }; /** Represents user data. */ export type UserMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents user data. */ export type UserOrdersArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Represents user data. */ export type UserPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents user data. */ export type UserPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents user data. */ export type UserStoredPaymentSourcesArgs = { channel?: InputMaybe; }; /** * Deletes a user avatar. Only for staff members. * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER. */ export type UserAvatarDelete = { __typename?: "UserAvatarDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** An updated user instance. */ user?: Maybe; }; /** * Create a user avatar. Only for staff members. This mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec * * Requires one of the following permissions: AUTHENTICATED_STAFF_USER. */ export type UserAvatarUpdate = { __typename?: "UserAvatarUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** An updated user instance. */ user?: Maybe; }; /** * Activate or deactivate users. * * Requires one of the following permissions: MANAGE_USERS. */ export type UserBulkSetActive = { __typename?: "UserBulkSetActive"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; /** Returns how many objects were affected. */ count: Scalars["Int"]; errors: Array; }; export type UserCountableConnection = { __typename?: "UserCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type UserCountableEdge = { __typename?: "UserCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: User; }; 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; /** The unique email address of the user. */ email?: 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; }; export type UserPermission = { __typename?: "UserPermission"; /** Internal code for permission. */ code: PermissionEnum; /** Describe action(s) allowed to do by permission. */ name: Scalars["String"]; /** List of user permission groups which contains this permission. */ sourcePermissionGroups?: Maybe>; }; export type UserPermissionSourcePermissionGroupsArgs = { userId: Scalars["ID"]; }; export enum UserSortField { /** Sort users by created at. */ CreatedAt = "CREATED_AT", /** Sort users by email. */ Email = "EMAIL", /** Sort users by first name. */ FirstName = "FIRST_NAME", /** Sort users by last modified at. */ LastModifiedAt = "LAST_MODIFIED_AT", /** Sort users by last name. */ LastName = "LAST_NAME", /** Sort users by order count. */ OrderCount = "ORDER_COUNT", } export type UserSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort users by the selected field. */ field: UserSortField; }; /** Represents a VAT rate for a country. */ export type Vat = { __typename?: "VAT"; /** Country code. */ countryCode: Scalars["String"]; /** Country's VAT rate exceptions for specific types of goods. */ reducedRates: Array; /** Standard VAT rate in percent. */ standardRate?: Maybe; }; export enum VariantAttributeScope { All = "ALL", NotVariantSelection = "NOT_VARIANT_SELECTION", VariantSelection = "VARIANT_SELECTION", } /** * Assign an media to a product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type VariantMediaAssign = { __typename?: "VariantMediaAssign"; errors: Array; media?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; productVariant?: Maybe; }; /** * Unassign an media from a product variant. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type VariantMediaUnassign = { __typename?: "VariantMediaUnassign"; errors: Array; media?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ productErrors: Array; productVariant?: Maybe; }; /** Represents availability of a variant in the storefront. */ export type VariantPricingInfo = { __typename?: "VariantPricingInfo"; /** The discount amount if in sale (null otherwise). */ discount?: Maybe; /** The discount amount in the local currency. */ discountLocalCurrency?: Maybe; /** Whether it is in sale or not. */ onSale?: Maybe; /** The price, with any discount subtracted. */ price?: Maybe; /** The discounted price in the local currency. */ priceLocalCurrency?: Maybe; /** The price without any discount. */ priceUndiscounted?: Maybe; }; /** Verify JWT token. */ export type VerifyToken = { __typename?: "VerifyToken"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ accountErrors: Array; errors: Array; /** Determine if token is valid or not. */ isValid: Scalars["Boolean"]; /** JWT payload. */ payload?: Maybe; /** User assigned to token. */ user?: Maybe; }; /** An enumeration. */ export enum VolumeUnitsEnum { AcreFt = "ACRE_FT", AcreIn = "ACRE_IN", CubicCentimeter = "CUBIC_CENTIMETER", CubicDecimeter = "CUBIC_DECIMETER", CubicFoot = "CUBIC_FOOT", CubicInch = "CUBIC_INCH", CubicMeter = "CUBIC_METER", CubicMillimeter = "CUBIC_MILLIMETER", CubicYard = "CUBIC_YARD", FlOz = "FL_OZ", Liter = "LITER", Pint = "PINT", Qt = "QT", } /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type Voucher = Node & ObjectWithMetadata & { __typename?: "Voucher"; applyOncePerCustomer: Scalars["Boolean"]; applyOncePerOrder: Scalars["Boolean"]; /** List of categories this voucher applies to. */ categories?: Maybe; /** * List of availability in channels for the voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ channelListings?: Maybe>; code: Scalars["String"]; /** * List of collections this voucher applies to. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ collections?: Maybe; /** List of countries available for the shipping voucher. */ countries?: Maybe>; /** Currency code for voucher. */ currency?: Maybe; /** Voucher value. */ discountValue?: Maybe; /** Determines a type of discount for voucher - value or percentage */ discountValueType: DiscountValueTypeEnum; endDate?: Maybe; id: Scalars["ID"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; minCheckoutItemsQuantity?: Maybe; /** Minimum order value to apply voucher. */ minSpent?: Maybe; name?: Maybe; onlyForStaff: Scalars["Boolean"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; /** * List of products this voucher applies to. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ products?: Maybe; startDate: Scalars["DateTime"]; /** Returns translated voucher fields for the given language code. */ translation?: Maybe; /** Determines a type of voucher. */ type: VoucherTypeEnum; usageLimit?: Maybe; used: Scalars["Int"]; /** * List of product variants this voucher applies to. * * Added in Saleor 3.1. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ variants?: Maybe; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherCategoriesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherCollectionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherMetafieldArgs = { key: Scalars["String"]; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherMetafieldsArgs = { keys?: InputMaybe>; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherPrivateMetafieldArgs = { key: Scalars["String"]; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherPrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherProductsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherTranslationArgs = { languageCode: LanguageCodeEnum; }; /** Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. */ export type VoucherVariantsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** * Adds products, categories, collections to a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type VoucherAddCatalogues = { __typename?: "VoucherAddCatalogues"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; /** Voucher of which catalogue IDs will be modified. */ voucher?: Maybe; }; /** * Deletes vouchers. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type VoucherBulkDelete = { __typename?: "VoucherBulkDelete"; /** Returns how many objects were affected. */ count: Scalars["Int"]; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; }; /** Represents voucher channel listing. */ export type VoucherChannelListing = Node & { __typename?: "VoucherChannelListing"; channel: Channel; currency: Scalars["String"]; discountValue: Scalars["Float"]; id: Scalars["ID"]; minSpent?: Maybe; }; export type VoucherChannelListingAddInput = { /** ID of a channel. */ channelId: Scalars["ID"]; /** Value of the voucher. */ discountValue?: InputMaybe; /** Min purchase amount required to apply the voucher. */ minAmountSpent?: InputMaybe; }; export type VoucherChannelListingInput = { /** List of channels to which the voucher should be assigned. */ addChannels?: InputMaybe>; /** List of channels from which the voucher should be unassigned. */ removeChannels?: InputMaybe>; }; /** * Manage voucher's availability in channels. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type VoucherChannelListingUpdate = { __typename?: "VoucherChannelListingUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; /** An updated voucher instance. */ voucher?: Maybe; }; export type VoucherCountableConnection = { __typename?: "VoucherCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type VoucherCountableEdge = { __typename?: "VoucherCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Voucher; }; /** * Creates a new voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type VoucherCreate = { __typename?: "VoucherCreate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; voucher?: Maybe; }; export type VoucherCreated = Event & { __typename?: "VoucherCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; /** * The voucher the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ voucher?: Maybe; }; export type VoucherCreatedVoucherArgs = { channel?: InputMaybe; }; /** * Deletes a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type VoucherDelete = { __typename?: "VoucherDelete"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; voucher?: Maybe; }; export type VoucherDeleted = Event & { __typename?: "VoucherDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; /** * The voucher the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ voucher?: Maybe; }; export type VoucherDeletedVoucherArgs = { channel?: InputMaybe; }; export enum VoucherDiscountType { Fixed = "FIXED", Percentage = "PERCENTAGE", Shipping = "SHIPPING", } export type VoucherFilterInput = { discountType?: InputMaybe>; metadata?: InputMaybe>; search?: InputMaybe; started?: InputMaybe; status?: InputMaybe>; timesUsed?: 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; /** * Variants discounted by the voucher. * * Added in Saleor 3.1. */ variants?: InputMaybe>; }; /** * Removes products, categories, collections from a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type VoucherRemoveCatalogues = { __typename?: "VoucherRemoveCatalogues"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; /** Voucher of which catalogue IDs will be modified. */ voucher?: Maybe; }; export enum VoucherSortField { /** Sort vouchers by code. */ Code = "CODE", /** Sort vouchers by end date. */ EndDate = "END_DATE", /** * Sort vouchers by minimum spent amount. * * This option requires a channel filter to work as the values can vary between channels. */ MinimumSpentAmount = "MINIMUM_SPENT_AMOUNT", /** Sort vouchers by start date. */ StartDate = "START_DATE", /** Sort vouchers by type. */ Type = "TYPE", /** Sort vouchers by usage limit. */ UsageLimit = "USAGE_LIMIT", /** * Sort vouchers by value. * * This option requires a channel filter to work as the values can vary between channels. */ Value = "VALUE", } export type VoucherSortingInput = { /** * 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 vouchers by the selected field. */ field: VoucherSortField; }; export type VoucherTranslatableContent = Node & { __typename?: "VoucherTranslatableContent"; id: Scalars["ID"]; name?: Maybe; /** Returns translated voucher fields for the given language code. */ translation?: Maybe; /** * Vouchers allow giving discounts to particular customers on categories, collections or specific products. They can be used during checkout by providing valid voucher codes. * * Requires one of the following permissions: MANAGE_DISCOUNTS. * @deprecated This field will be removed in Saleor 4.0. Get model fields from the root level queries. */ voucher?: Maybe; }; export type VoucherTranslatableContentTranslationArgs = { languageCode: LanguageCodeEnum; }; /** * Creates/updates translations for a voucher. * * Requires one of the following permissions: MANAGE_TRANSLATIONS. */ export type VoucherTranslate = { __typename?: "VoucherTranslate"; errors: Array; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ translationErrors: Array; voucher?: Maybe; }; export type VoucherTranslation = Node & { __typename?: "VoucherTranslation"; id: Scalars["ID"]; /** Translation language. */ language: LanguageDisplay; name?: Maybe; }; export enum VoucherTypeEnum { EntireOrder = "ENTIRE_ORDER", Shipping = "SHIPPING", SpecificProduct = "SPECIFIC_PRODUCT", } /** * Updates a voucher. * * Requires one of the following permissions: MANAGE_DISCOUNTS. */ export type VoucherUpdate = { __typename?: "VoucherUpdate"; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ discountErrors: Array; errors: Array; voucher?: Maybe; }; export type VoucherUpdated = Event & { __typename?: "VoucherUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; /** * The voucher the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ voucher?: Maybe; }; export type VoucherUpdatedVoucherArgs = { channel?: InputMaybe; }; /** Represents warehouse. */ export type Warehouse = Node & ObjectWithMetadata & { __typename?: "Warehouse"; address: Address; /** * Click and collect options: local, all or disabled. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ clickAndCollectOption: WarehouseClickAndCollectOptionEnum; /** * Warehouse company name. * @deprecated This field will be removed in Saleor 4.0. Use `Address.companyName` instead. */ companyName: Scalars["String"]; email: Scalars["String"]; id: Scalars["ID"]; isPrivate: Scalars["Boolean"]; /** List of public metadata items. Can be accessed without permissions. */ metadata: Array; /** * A single key from public metadata. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafield?: Maybe; /** * Public metadata. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ metafields?: Maybe; name: Scalars["String"]; /** List of private metadata items. Requires staff permissions to access. */ privateMetadata: Array; /** * A single key from private metadata. Requires staff permissions to access. * * Tip: Use GraphQL aliases to fetch multiple keys. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafield?: Maybe; /** * Private metadata. Requires staff permissions to access. Use `keys` to control which fields you want to include. The default is to include everything. * * Added in Saleor 3.3. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ privateMetafields?: Maybe; shippingZones: ShippingZoneCountableConnection; slug: Scalars["String"]; }; /** Represents warehouse. */ export type WarehouseMetafieldArgs = { key: Scalars["String"]; }; /** Represents warehouse. */ export type WarehouseMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents warehouse. */ export type WarehousePrivateMetafieldArgs = { key: Scalars["String"]; }; /** Represents warehouse. */ export type WarehousePrivateMetafieldsArgs = { keys?: InputMaybe>; }; /** Represents warehouse. */ export type WarehouseShippingZonesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** An enumeration. */ export enum WarehouseClickAndCollectOptionEnum { All = "ALL", Disabled = "DISABLED", Local = "LOCAL", } export type WarehouseCountableConnection = { __typename?: "WarehouseCountableConnection"; edges: Array; /** Pagination data for this connection. */ pageInfo: PageInfo; /** A total count of items in the collection. */ totalCount?: Maybe; }; export type WarehouseCountableEdge = { __typename?: "WarehouseCountableEdge"; /** A cursor for use in pagination. */ cursor: Scalars["String"]; /** The item at the end of the edge. */ node: Warehouse; }; /** * Creates new warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type WarehouseCreate = { __typename?: "WarehouseCreate"; errors: Array; warehouse?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ warehouseErrors: Array; }; export type WarehouseCreateInput = { /** Address of the warehouse. */ address: AddressInput; /** The email address of the warehouse. */ email?: InputMaybe; /** Warehouse name. */ name: Scalars["String"]; /** Shipping zones supported by the warehouse. */ shippingZones?: InputMaybe>; /** Warehouse slug. */ slug?: InputMaybe; }; export type WarehouseCreated = Event & { __typename?: "WarehouseCreated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; /** * The warehouse the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ warehouse?: Maybe; }; /** * Deletes selected warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type WarehouseDelete = { __typename?: "WarehouseDelete"; errors: Array; warehouse?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ warehouseErrors: Array; }; export type WarehouseDeleted = Event & { __typename?: "WarehouseDeleted"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; /** * The warehouse the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ warehouse?: Maybe; }; export type WarehouseError = { __typename?: "WarehouseError"; /** The error code. */ code: WarehouseErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum WarehouseErrorCode { AlreadyExists = "ALREADY_EXISTS", GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } export type WarehouseFilterInput = { clickAndCollectOption?: InputMaybe; ids?: InputMaybe>; isPrivate?: InputMaybe; search?: InputMaybe; }; /** * Add shipping zone to given warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type WarehouseShippingZoneAssign = { __typename?: "WarehouseShippingZoneAssign"; errors: Array; warehouse?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ warehouseErrors: Array; }; /** * Remove shipping zone from given warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type WarehouseShippingZoneUnassign = { __typename?: "WarehouseShippingZoneUnassign"; errors: Array; warehouse?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ warehouseErrors: Array; }; export enum WarehouseSortField { /** Sort warehouses by name. */ Name = "NAME", } export type WarehouseSortingInput = { /** Specifies the direction in which to sort products. */ direction: OrderDirection; /** Sort warehouses by the selected field. */ field: WarehouseSortField; }; /** * Updates given warehouse. * * Requires one of the following permissions: MANAGE_PRODUCTS. */ export type WarehouseUpdate = { __typename?: "WarehouseUpdate"; errors: Array; warehouse?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ warehouseErrors: Array; }; export type WarehouseUpdateInput = { /** Address of the warehouse. */ address?: InputMaybe; /** * Click and collect options: local, all or disabled. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ clickAndCollectOption?: InputMaybe; /** The email address of the warehouse. */ email?: InputMaybe; /** * Visibility of warehouse stocks. * * Added in Saleor 3.1. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ isPrivate?: InputMaybe; /** Warehouse name. */ name?: InputMaybe; /** Warehouse slug. */ slug?: InputMaybe; }; export type WarehouseUpdated = Event & { __typename?: "WarehouseUpdated"; /** Time of the event. */ issuedAt?: Maybe; /** The user or application that triggered the event. */ issuingPrincipal?: Maybe; /** The application receiving the webhook. */ recipient?: Maybe; /** Saleor version that triggered the event. */ version?: Maybe; /** * The warehouse the event relates to. * * Added in Saleor 3.4. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ warehouse?: Maybe; }; /** Webhook. */ export type Webhook = Node & { __typename?: "Webhook"; app: App; /** List of asynchronous webhook events. */ asyncEvents: Array; /** Event deliveries. */ eventDeliveries?: Maybe; /** * List of webhook events. * @deprecated This field will be removed in Saleor 4.0. Use `asyncEvents` or `syncEvents` instead. */ events: Array; id: Scalars["ID"]; /** Informs if webhook is activated. */ isActive: Scalars["Boolean"]; name: Scalars["String"]; /** Used to create a hash signature with each payload. */ secretKey?: Maybe; /** Used to define payloads for specific events. */ subscriptionQuery?: Maybe; /** List of synchronous webhook events. */ syncEvents: Array; /** Target URL for webhook. */ targetUrl: Scalars["String"]; }; /** Webhook. */ export type WebhookEventDeliveriesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; sortBy?: InputMaybe; }; /** * Creates a new webhook subscription. * * Requires one of the following permissions: MANAGE_APPS, AUTHENTICATED_APP. */ export type WebhookCreate = { __typename?: "WebhookCreate"; errors: Array; webhook?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ webhookErrors: Array; }; export type WebhookCreateInput = { /** ID of the app to which webhook belongs. */ app?: InputMaybe; /** The asynchronous events that webhook wants to subscribe. */ asyncEvents?: 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. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ query?: InputMaybe; /** The secret key used to create a hash signature with each payload. */ secretKey?: InputMaybe; /** The synchronous events that webhook wants to subscribe. */ syncEvents?: InputMaybe>; /** The url to receive the payload. */ targetUrl?: InputMaybe; }; /** * Deletes a webhook subscription. * * Requires one of the following permissions: MANAGE_APPS, AUTHENTICATED_APP. */ export type WebhookDelete = { __typename?: "WebhookDelete"; errors: Array; webhook?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ webhookErrors: Array; }; export type WebhookError = { __typename?: "WebhookError"; /** The error code. */ code: WebhookErrorCode; /** Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field. */ field?: Maybe; /** The error message. */ message?: Maybe; }; /** An enumeration. */ export enum WebhookErrorCode { GraphqlError = "GRAPHQL_ERROR", Invalid = "INVALID", NotFound = "NOT_FOUND", Required = "REQUIRED", Unique = "UNIQUE", } /** Webhook event. */ export type WebhookEvent = { __typename?: "WebhookEvent"; /** Internal name of the event type. */ eventType: WebhookEventTypeEnum; /** Display name of the event. */ name: Scalars["String"]; }; /** Asynchronous webhook event. */ export type WebhookEventAsync = { __typename?: "WebhookEventAsync"; /** Internal name of the event type. */ eventType: WebhookEventTypeAsyncEnum; /** Display name of the event. */ name: Scalars["String"]; }; /** Synchronous webhook event. */ export type WebhookEventSync = { __typename?: "WebhookEventSync"; /** Internal name of the event type. */ eventType: WebhookEventTypeSyncEnum; /** Display name of the event. */ name: Scalars["String"]; }; /** Enum determining type of webhook. */ export enum WebhookEventTypeAsyncEnum { /** All the events. */ AnyEvents = "ANY_EVENTS", /** An app deleted. */ AppDeleted = "APP_DELETED", /** A new app installed. */ AppInstalled = "APP_INSTALLED", /** An app status is changed. */ AppStatusChanged = "APP_STATUS_CHANGED", /** An app updated. */ AppUpdated = "APP_UPDATED", /** A new category created. */ CategoryCreated = "CATEGORY_CREATED", /** A category is deleted. */ CategoryDeleted = "CATEGORY_DELETED", /** A category is updated. */ CategoryUpdated = "CATEGORY_UPDATED", /** A new channel created. */ ChannelCreated = "CHANNEL_CREATED", /** A channel is deleted. */ ChannelDeleted = "CHANNEL_DELETED", /** A channel status is changed. */ ChannelStatusChanged = "CHANNEL_STATUS_CHANGED", /** A channel is updated. */ ChannelUpdated = "CHANNEL_UPDATED", /** A new checkout is created. */ CheckoutCreated = "CHECKOUT_CREATED", /** A checkout is updated. It also triggers all updates related to the checkout. */ CheckoutUpdated = "CHECKOUT_UPDATED", /** A new collection is created. */ CollectionCreated = "COLLECTION_CREATED", /** A collection is deleted. */ CollectionDeleted = "COLLECTION_DELETED", /** A collection is updated. */ CollectionUpdated = "COLLECTION_UPDATED", /** A new customer account is created. */ CustomerCreated = "CUSTOMER_CREATED", /** A customer account is updated. */ CustomerUpdated = "CUSTOMER_UPDATED", DraftOrderCreated = "DRAFT_ORDER_CREATED", DraftOrderDeleted = "DRAFT_ORDER_DELETED", DraftOrderUpdated = "DRAFT_ORDER_UPDATED", /** A fulfillment is cancelled. */ FulfillmentCanceled = "FULFILLMENT_CANCELED", /** A new fulfillment is created. */ FulfillmentCreated = "FULFILLMENT_CREATED", /** A new gift card created. */ GiftCardCreated = "GIFT_CARD_CREATED", /** A gift card is deleted. */ GiftCardDeleted = "GIFT_CARD_DELETED", /** A gift card status is changed. */ GiftCardStatusChanged = "GIFT_CARD_STATUS_CHANGED", /** A gift card is updated. */ GiftCardUpdated = "GIFT_CARD_UPDATED", /** An invoice is deleted. */ InvoiceDeleted = "INVOICE_DELETED", /** An invoice for order requested. */ InvoiceRequested = "INVOICE_REQUESTED", /** Invoice has been sent. */ InvoiceSent = "INVOICE_SENT", /** A new menu created. */ MenuCreated = "MENU_CREATED", /** A menu is deleted. */ MenuDeleted = "MENU_DELETED", /** A new menu item created. */ MenuItemCreated = "MENU_ITEM_CREATED", /** A menu item is deleted. */ MenuItemDeleted = "MENU_ITEM_DELETED", /** A menu item is updated. */ MenuItemUpdated = "MENU_ITEM_UPDATED", /** A menu is updated. */ MenuUpdated = "MENU_UPDATED", /** User notification triggered. */ NotifyUser = "NOTIFY_USER", /** An observability event is created. */ Observability = "OBSERVABILITY", /** An order is cancelled. */ OrderCancelled = "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. */ OrderConfirmed = "ORDER_CONFIRMED", /** A new order is placed. */ OrderCreated = "ORDER_CREATED", /** An order is fulfilled. */ OrderFulfilled = "ORDER_FULFILLED", /** Payment is made and an order is fully paid. */ OrderFullyPaid = "ORDER_FULLY_PAID", /** An order is updated; triggered for all changes related to an order; covers all other order webhooks, except for ORDER_CREATED. */ OrderUpdated = "ORDER_UPDATED", /** A new page is created. */ PageCreated = "PAGE_CREATED", /** A page is deleted. */ PageDeleted = "PAGE_DELETED", /** A page is updated. */ PageUpdated = "PAGE_UPDATED", /** A new product is created. */ ProductCreated = "PRODUCT_CREATED", /** A product is deleted. */ ProductDeleted = "PRODUCT_DELETED", /** A product is updated. */ ProductUpdated = "PRODUCT_UPDATED", ProductVariantBackInStock = "PRODUCT_VARIANT_BACK_IN_STOCK", /** A new product variant is created. */ ProductVariantCreated = "PRODUCT_VARIANT_CREATED", /** A product variant is deleted. */ ProductVariantDeleted = "PRODUCT_VARIANT_DELETED", ProductVariantOutOfStock = "PRODUCT_VARIANT_OUT_OF_STOCK", /** A product variant is updated. */ ProductVariantUpdated = "PRODUCT_VARIANT_UPDATED", SaleCreated = "SALE_CREATED", SaleDeleted = "SALE_DELETED", SaleUpdated = "SALE_UPDATED", /** A new shipping price is created. */ ShippingPriceCreated = "SHIPPING_PRICE_CREATED", /** A shipping price is deleted. */ ShippingPriceDeleted = "SHIPPING_PRICE_DELETED", /** A shipping price is updated. */ ShippingPriceUpdated = "SHIPPING_PRICE_UPDATED", /** A new shipping zone is created. */ ShippingZoneCreated = "SHIPPING_ZONE_CREATED", /** A shipping zone is deleted. */ ShippingZoneDeleted = "SHIPPING_ZONE_DELETED", /** A shipping zone is updated. */ ShippingZoneUpdated = "SHIPPING_ZONE_UPDATED", TransactionActionRequest = "TRANSACTION_ACTION_REQUEST", TranslationCreated = "TRANSLATION_CREATED", TranslationUpdated = "TRANSLATION_UPDATED", /** A new voucher created. */ VoucherCreated = "VOUCHER_CREATED", /** A voucher is deleted. */ VoucherDeleted = "VOUCHER_DELETED", /** A voucher is updated. */ VoucherUpdated = "VOUCHER_UPDATED", /** A new warehouse created. */ WarehouseCreated = "WAREHOUSE_CREATED", /** A warehouse is deleted. */ WarehouseDeleted = "WAREHOUSE_DELETED", /** A warehouse is updated. */ WarehouseUpdated = "WAREHOUSE_UPDATED", } /** Enum determining type of webhook. */ export enum WebhookEventTypeEnum { /** All the events. */ AnyEvents = "ANY_EVENTS", /** An app deleted. */ AppDeleted = "APP_DELETED", /** A new app installed. */ AppInstalled = "APP_INSTALLED", /** An app status is changed. */ AppStatusChanged = "APP_STATUS_CHANGED", /** An app updated. */ AppUpdated = "APP_UPDATED", /** A new category created. */ CategoryCreated = "CATEGORY_CREATED", /** A category is deleted. */ CategoryDeleted = "CATEGORY_DELETED", /** A category is updated. */ CategoryUpdated = "CATEGORY_UPDATED", /** A new channel created. */ ChannelCreated = "CHANNEL_CREATED", /** A channel is deleted. */ ChannelDeleted = "CHANNEL_DELETED", /** A channel status is changed. */ ChannelStatusChanged = "CHANNEL_STATUS_CHANGED", /** A channel is updated. */ ChannelUpdated = "CHANNEL_UPDATED", /** A new checkout is created. */ CheckoutCreated = "CHECKOUT_CREATED", CheckoutFilterShippingMethods = "CHECKOUT_FILTER_SHIPPING_METHODS", /** A checkout is updated. It also triggers all updates related to the checkout. */ CheckoutUpdated = "CHECKOUT_UPDATED", /** A new collection is created. */ CollectionCreated = "COLLECTION_CREATED", /** A collection is deleted. */ CollectionDeleted = "COLLECTION_DELETED", /** A collection is updated. */ CollectionUpdated = "COLLECTION_UPDATED", /** A new customer account is created. */ CustomerCreated = "CUSTOMER_CREATED", /** A customer account is updated. */ CustomerUpdated = "CUSTOMER_UPDATED", DraftOrderCreated = "DRAFT_ORDER_CREATED", DraftOrderDeleted = "DRAFT_ORDER_DELETED", DraftOrderUpdated = "DRAFT_ORDER_UPDATED", /** A fulfillment is cancelled. */ FulfillmentCanceled = "FULFILLMENT_CANCELED", /** A new fulfillment is created. */ FulfillmentCreated = "FULFILLMENT_CREATED", /** A new gift card created. */ GiftCardCreated = "GIFT_CARD_CREATED", /** A gift card is deleted. */ GiftCardDeleted = "GIFT_CARD_DELETED", /** A gift card status is changed. */ GiftCardStatusChanged = "GIFT_CARD_STATUS_CHANGED", /** A gift card is updated. */ GiftCardUpdated = "GIFT_CARD_UPDATED", /** An invoice is deleted. */ InvoiceDeleted = "INVOICE_DELETED", /** An invoice for order requested. */ InvoiceRequested = "INVOICE_REQUESTED", /** Invoice has been sent. */ InvoiceSent = "INVOICE_SENT", /** A new menu created. */ MenuCreated = "MENU_CREATED", /** A menu is deleted. */ MenuDeleted = "MENU_DELETED", /** A new menu item created. */ MenuItemCreated = "MENU_ITEM_CREATED", /** A menu item is deleted. */ MenuItemDeleted = "MENU_ITEM_DELETED", /** A menu item is updated. */ MenuItemUpdated = "MENU_ITEM_UPDATED", /** A menu is updated. */ MenuUpdated = "MENU_UPDATED", /** User notification triggered. */ NotifyUser = "NOTIFY_USER", /** An observability event is created. */ Observability = "OBSERVABILITY", /** An order is cancelled. */ OrderCancelled = "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. */ OrderConfirmed = "ORDER_CONFIRMED", /** A new order is placed. */ OrderCreated = "ORDER_CREATED", OrderFilterShippingMethods = "ORDER_FILTER_SHIPPING_METHODS", /** An order is fulfilled. */ OrderFulfilled = "ORDER_FULFILLED", /** Payment is made and an order is fully paid. */ OrderFullyPaid = "ORDER_FULLY_PAID", /** An order is updated; triggered for all changes related to an order; covers all other order webhooks, except for ORDER_CREATED. */ OrderUpdated = "ORDER_UPDATED", /** A new page is created. */ PageCreated = "PAGE_CREATED", /** A page is deleted. */ PageDeleted = "PAGE_DELETED", /** A page is updated. */ PageUpdated = "PAGE_UPDATED", PaymentAuthorize = "PAYMENT_AUTHORIZE", PaymentCapture = "PAYMENT_CAPTURE", PaymentConfirm = "PAYMENT_CONFIRM", PaymentListGateways = "PAYMENT_LIST_GATEWAYS", PaymentProcess = "PAYMENT_PROCESS", PaymentRefund = "PAYMENT_REFUND", PaymentVoid = "PAYMENT_VOID", /** A new product is created. */ ProductCreated = "PRODUCT_CREATED", /** A product is deleted. */ ProductDeleted = "PRODUCT_DELETED", /** A product is updated. */ ProductUpdated = "PRODUCT_UPDATED", ProductVariantBackInStock = "PRODUCT_VARIANT_BACK_IN_STOCK", /** A new product variant is created. */ ProductVariantCreated = "PRODUCT_VARIANT_CREATED", /** A product variant is deleted. */ ProductVariantDeleted = "PRODUCT_VARIANT_DELETED", ProductVariantOutOfStock = "PRODUCT_VARIANT_OUT_OF_STOCK", /** A product variant is updated. */ ProductVariantUpdated = "PRODUCT_VARIANT_UPDATED", SaleCreated = "SALE_CREATED", SaleDeleted = "SALE_DELETED", SaleUpdated = "SALE_UPDATED", ShippingListMethodsForCheckout = "SHIPPING_LIST_METHODS_FOR_CHECKOUT", /** A new shipping price is created. */ ShippingPriceCreated = "SHIPPING_PRICE_CREATED", /** A shipping price is deleted. */ ShippingPriceDeleted = "SHIPPING_PRICE_DELETED", /** A shipping price is updated. */ ShippingPriceUpdated = "SHIPPING_PRICE_UPDATED", /** A new shipping zone is created. */ ShippingZoneCreated = "SHIPPING_ZONE_CREATED", /** A shipping zone is deleted. */ ShippingZoneDeleted = "SHIPPING_ZONE_DELETED", /** A shipping zone is updated. */ ShippingZoneUpdated = "SHIPPING_ZONE_UPDATED", TransactionActionRequest = "TRANSACTION_ACTION_REQUEST", TranslationCreated = "TRANSLATION_CREATED", TranslationUpdated = "TRANSLATION_UPDATED", /** A new voucher created. */ VoucherCreated = "VOUCHER_CREATED", /** A voucher is deleted. */ VoucherDeleted = "VOUCHER_DELETED", /** A voucher is updated. */ VoucherUpdated = "VOUCHER_UPDATED", /** A new warehouse created. */ WarehouseCreated = "WAREHOUSE_CREATED", /** A warehouse is deleted. */ WarehouseDeleted = "WAREHOUSE_DELETED", /** A warehouse is updated. */ WarehouseUpdated = "WAREHOUSE_UPDATED", } /** Enum determining type of webhook. */ export enum WebhookEventTypeSyncEnum { CheckoutFilterShippingMethods = "CHECKOUT_FILTER_SHIPPING_METHODS", OrderFilterShippingMethods = "ORDER_FILTER_SHIPPING_METHODS", PaymentAuthorize = "PAYMENT_AUTHORIZE", PaymentCapture = "PAYMENT_CAPTURE", PaymentConfirm = "PAYMENT_CONFIRM", PaymentListGateways = "PAYMENT_LIST_GATEWAYS", PaymentProcess = "PAYMENT_PROCESS", PaymentRefund = "PAYMENT_REFUND", PaymentVoid = "PAYMENT_VOID", ShippingListMethodsForCheckout = "SHIPPING_LIST_METHODS_FOR_CHECKOUT", } /** An enumeration. */ export enum WebhookSampleEventTypeEnum { AppDeleted = "APP_DELETED", AppInstalled = "APP_INSTALLED", AppStatusChanged = "APP_STATUS_CHANGED", AppUpdated = "APP_UPDATED", CategoryCreated = "CATEGORY_CREATED", CategoryDeleted = "CATEGORY_DELETED", CategoryUpdated = "CATEGORY_UPDATED", ChannelCreated = "CHANNEL_CREATED", ChannelDeleted = "CHANNEL_DELETED", ChannelStatusChanged = "CHANNEL_STATUS_CHANGED", ChannelUpdated = "CHANNEL_UPDATED", CheckoutCreated = "CHECKOUT_CREATED", CheckoutUpdated = "CHECKOUT_UPDATED", CollectionCreated = "COLLECTION_CREATED", CollectionDeleted = "COLLECTION_DELETED", CollectionUpdated = "COLLECTION_UPDATED", CustomerCreated = "CUSTOMER_CREATED", CustomerUpdated = "CUSTOMER_UPDATED", DraftOrderCreated = "DRAFT_ORDER_CREATED", DraftOrderDeleted = "DRAFT_ORDER_DELETED", DraftOrderUpdated = "DRAFT_ORDER_UPDATED", FulfillmentCanceled = "FULFILLMENT_CANCELED", FulfillmentCreated = "FULFILLMENT_CREATED", GiftCardCreated = "GIFT_CARD_CREATED", GiftCardDeleted = "GIFT_CARD_DELETED", GiftCardStatusChanged = "GIFT_CARD_STATUS_CHANGED", GiftCardUpdated = "GIFT_CARD_UPDATED", InvoiceDeleted = "INVOICE_DELETED", InvoiceRequested = "INVOICE_REQUESTED", InvoiceSent = "INVOICE_SENT", MenuCreated = "MENU_CREATED", MenuDeleted = "MENU_DELETED", MenuItemCreated = "MENU_ITEM_CREATED", MenuItemDeleted = "MENU_ITEM_DELETED", MenuItemUpdated = "MENU_ITEM_UPDATED", MenuUpdated = "MENU_UPDATED", NotifyUser = "NOTIFY_USER", Observability = "OBSERVABILITY", OrderCancelled = "ORDER_CANCELLED", OrderConfirmed = "ORDER_CONFIRMED", OrderCreated = "ORDER_CREATED", OrderFulfilled = "ORDER_FULFILLED", OrderFullyPaid = "ORDER_FULLY_PAID", OrderUpdated = "ORDER_UPDATED", PageCreated = "PAGE_CREATED", PageDeleted = "PAGE_DELETED", PageUpdated = "PAGE_UPDATED", ProductCreated = "PRODUCT_CREATED", ProductDeleted = "PRODUCT_DELETED", ProductUpdated = "PRODUCT_UPDATED", ProductVariantBackInStock = "PRODUCT_VARIANT_BACK_IN_STOCK", ProductVariantCreated = "PRODUCT_VARIANT_CREATED", ProductVariantDeleted = "PRODUCT_VARIANT_DELETED", ProductVariantOutOfStock = "PRODUCT_VARIANT_OUT_OF_STOCK", ProductVariantUpdated = "PRODUCT_VARIANT_UPDATED", SaleCreated = "SALE_CREATED", SaleDeleted = "SALE_DELETED", SaleUpdated = "SALE_UPDATED", ShippingPriceCreated = "SHIPPING_PRICE_CREATED", ShippingPriceDeleted = "SHIPPING_PRICE_DELETED", ShippingPriceUpdated = "SHIPPING_PRICE_UPDATED", ShippingZoneCreated = "SHIPPING_ZONE_CREATED", ShippingZoneDeleted = "SHIPPING_ZONE_DELETED", ShippingZoneUpdated = "SHIPPING_ZONE_UPDATED", TransactionActionRequest = "TRANSACTION_ACTION_REQUEST", TranslationCreated = "TRANSLATION_CREATED", TranslationUpdated = "TRANSLATION_UPDATED", VoucherCreated = "VOUCHER_CREATED", VoucherDeleted = "VOUCHER_DELETED", VoucherUpdated = "VOUCHER_UPDATED", WarehouseCreated = "WAREHOUSE_CREATED", WarehouseDeleted = "WAREHOUSE_DELETED", WarehouseUpdated = "WAREHOUSE_UPDATED", } /** * Updates a webhook subscription. * * Requires one of the following permissions: MANAGE_APPS. */ export type WebhookUpdate = { __typename?: "WebhookUpdate"; errors: Array; webhook?: Maybe; /** @deprecated This field will be removed in Saleor 4.0. Use `errors` field instead. */ webhookErrors: Array; }; export type WebhookUpdateInput = { /** ID of the app to which webhook belongs. */ app?: InputMaybe; /** The asynchronous events that webhook wants to subscribe. */ asyncEvents?: 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. * * Note: this API is currently in Feature Preview and can be subject to changes at later point. */ query?: InputMaybe; /** Use to create a hash signature with each payload. */ secretKey?: InputMaybe; /** The synchronous events that webhook wants to subscribe. */ syncEvents?: InputMaybe>; /** The url to receive the payload. */ targetUrl?: InputMaybe; }; /** Represents weight value in a specific weight unit. */ export type Weight = { __typename?: "Weight"; /** Weight unit. */ unit: WeightUnitsEnum; /** Weight value. */ value: Scalars["Float"]; }; /** An enumeration. */ export enum WeightUnitsEnum { G = "G", Kg = "KG", Lb = "LB", Oz = "OZ", Tonne = "TONNE", } /** _Entity union as defined by Federation spec. */ export type _Entity = | Address | App | Category | Collection | Group | PageType | Product | ProductMedia | ProductType | ProductVariant | User; /** _Service manifest as defined by Federation spec. */ export type _Service = { __typename?: "_Service"; sdl?: Maybe; }; export type UpdateAppMetadataMutationVariables = Exact<{ id: Scalars["ID"]; input: Array | MetadataInput; }>; export type UpdateAppMetadataMutation = { __typename?: "Mutation"; updatePrivateMetadata?: { __typename?: "UpdatePrivateMetadata"; item?: | { __typename?: "App"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Attribute"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Category"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Checkout"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Collection"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "DigitalContent"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Fulfillment"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "GiftCard"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Invoice"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Menu"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "MenuItem"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Order"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Page"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "PageType"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Payment"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Product"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "ProductType"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "ProductVariant"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Sale"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "ShippingMethod"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "ShippingMethodType"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "ShippingZone"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "TransactionItem"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "User"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Voucher"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | { __typename?: "Warehouse"; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | null; } | null; }; export type FetchAppDetailsQueryVariables = Exact<{ [key: string]: never }>; export type FetchAppDetailsQuery = { __typename?: "Query"; app?: { __typename?: "App"; id: string; privateMetadata: Array<{ __typename?: "MetadataItem"; key: string; value: string }>; } | null; }; export type OrderCreatedWebhookPayloadFragment = { __typename?: "OrderCreated"; order?: { __typename?: "Order"; id: string; number: string; user?: { __typename?: "User"; email: string; firstName: string; lastName: string } | null; shippingAddress?: { __typename?: "Address"; streetAddress1: string; city: string; postalCode: string; country: { __typename?: "CountryDisplay"; country: string }; } | null; subtotal: { __typename?: "TaxedMoney"; gross: { __typename?: "Money"; amount: number; currency: string }; }; shippingPrice: { __typename?: "TaxedMoney"; gross: { __typename?: "Money"; amount: number; currency: string }; }; total: { __typename?: "TaxedMoney"; gross: { __typename?: "Money"; amount: number; currency: string }; }; } | null; }; export type OrderCreatedSubscriptionVariables = Exact<{ [key: string]: never }>; export type OrderCreatedSubscription = { __typename?: "Subscription"; event?: | { __typename?: "AppDeleted" } | { __typename?: "AppInstalled" } | { __typename?: "AppStatusChanged" } | { __typename?: "AppUpdated" } | { __typename?: "CategoryCreated" } | { __typename?: "CategoryDeleted" } | { __typename?: "CategoryUpdated" } | { __typename?: "ChannelCreated" } | { __typename?: "ChannelDeleted" } | { __typename?: "ChannelStatusChanged" } | { __typename?: "ChannelUpdated" } | { __typename?: "CheckoutCreated" } | { __typename?: "CheckoutUpdated" } | { __typename?: "CollectionCreated" } | { __typename?: "CollectionDeleted" } | { __typename?: "CollectionUpdated" } | { __typename?: "CustomerCreated" } | { __typename?: "CustomerUpdated" } | { __typename?: "DraftOrderCreated" } | { __typename?: "DraftOrderDeleted" } | { __typename?: "DraftOrderUpdated" } | { __typename?: "FulfillmentCanceled" } | { __typename?: "FulfillmentCreated" } | { __typename?: "GiftCardCreated" } | { __typename?: "GiftCardDeleted" } | { __typename?: "GiftCardStatusChanged" } | { __typename?: "GiftCardUpdated" } | { __typename?: "InvoiceDeleted" } | { __typename?: "InvoiceRequested" } | { __typename?: "InvoiceSent" } | { __typename?: "MenuCreated" } | { __typename?: "MenuDeleted" } | { __typename?: "MenuItemCreated" } | { __typename?: "MenuItemDeleted" } | { __typename?: "MenuItemUpdated" } | { __typename?: "MenuUpdated" } | { __typename?: "OrderCancelled" } | { __typename?: "OrderConfirmed" } | { __typename?: "OrderCreated"; order?: { __typename?: "Order"; id: string; number: string; user?: { __typename?: "User"; email: string; firstName: string; lastName: string } | null; shippingAddress?: { __typename?: "Address"; streetAddress1: string; city: string; postalCode: string; country: { __typename?: "CountryDisplay"; country: string }; } | null; subtotal: { __typename?: "TaxedMoney"; gross: { __typename?: "Money"; amount: number; currency: string }; }; shippingPrice: { __typename?: "TaxedMoney"; gross: { __typename?: "Money"; amount: number; currency: string }; }; total: { __typename?: "TaxedMoney"; gross: { __typename?: "Money"; amount: number; currency: string }; }; } | null; } | { __typename?: "OrderFulfilled" } | { __typename?: "OrderFullyPaid" } | { __typename?: "OrderUpdated" } | { __typename?: "PageCreated" } | { __typename?: "PageDeleted" } | { __typename?: "PageUpdated" } | { __typename?: "ProductCreated" } | { __typename?: "ProductDeleted" } | { __typename?: "ProductUpdated" } | { __typename?: "ProductVariantBackInStock" } | { __typename?: "ProductVariantCreated" } | { __typename?: "ProductVariantDeleted" } | { __typename?: "ProductVariantOutOfStock" } | { __typename?: "ProductVariantUpdated" } | { __typename?: "SaleCreated" } | { __typename?: "SaleDeleted" } | { __typename?: "SaleUpdated" } | { __typename?: "ShippingPriceCreated" } | { __typename?: "ShippingPriceDeleted" } | { __typename?: "ShippingPriceUpdated" } | { __typename?: "ShippingZoneCreated" } | { __typename?: "ShippingZoneDeleted" } | { __typename?: "ShippingZoneUpdated" } | { __typename?: "TransactionActionRequest" } | { __typename?: "TranslationCreated" } | { __typename?: "TranslationUpdated" } | { __typename?: "VoucherCreated" } | { __typename?: "VoucherDeleted" } | { __typename?: "VoucherUpdated" } | { __typename?: "WarehouseCreated" } | { __typename?: "WarehouseDeleted" } | { __typename?: "WarehouseUpdated" } | null; }; import { IntrospectionQuery } from "graphql"; export default { __schema: { queryType: { name: "Query", }, mutationType: { name: "Mutation", }, subscriptionType: { name: "Subscription", }, types: [ { kind: "OBJECT", name: "AccountAddressCreate", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "address", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AccountAddressDelete", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "address", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AccountAddressUpdate", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "address", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AccountDelete", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AccountError", fields: [ { name: "addressType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AccountRegister", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "requiresConfirmation", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AccountRequestDeletion", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AccountSetDefaultAddress", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AccountUpdate", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Address", fields: [ { name: "city", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "cityArea", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "companyName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "country", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CountryDisplay", ofType: null, }, }, args: [], }, { name: "countryArea", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "firstName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isDefaultBillingAddress", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "isDefaultShippingAddress", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "lastName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "phone", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "postalCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "streetAddress1", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "streetAddress2", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AddressCreate", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "address", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AddressDelete", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "address", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AddressSetDefault", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AddressUpdate", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "address", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AddressValidationData", fields: [ { name: "addressFormat", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "addressLatinFormat", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "allowedFields", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "cityAreaChoices", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChoiceValue", ofType: null, }, }, }, }, args: [], }, { name: "cityAreaType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "cityChoices", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChoiceValue", ofType: null, }, }, }, }, args: [], }, { name: "cityType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "countryAreaChoices", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChoiceValue", ofType: null, }, }, }, }, args: [], }, { name: "countryAreaType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "countryCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "countryName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "postalCodeExamples", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "postalCodeMatchers", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "postalCodePrefix", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "postalCodeType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "requiredFields", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "upperFields", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Allocation", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "quantity", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "warehouse", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Warehouse", ofType: null, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "App", fields: [ { name: "aboutApp", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "accessToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "appUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "configurationUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "created", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "dataPrivacy", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "dataPrivacyUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "extensions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppExtension", ofType: null, }, }, }, }, args: [], }, { name: "homepageUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isActive", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "permissions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Permission", ofType: null, }, }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "supportUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "tokens", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppToken", ofType: null, }, }, }, args: [], }, { name: "type", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "webhooks", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Webhook", ofType: null, }, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "AppActivate", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "App", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppCreate", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "authToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppDeactivate", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppDelete", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppDeleteFailedInstallation", fields: [ { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "appInstallation", type: { kind: "OBJECT", name: "AppInstallation", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppDeleted", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "AppError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "permissions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppExtension", fields: [ { name: "accessToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "app", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "App", ofType: null, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "label", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "mount", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "permissions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Permission", ofType: null, }, }, }, }, args: [], }, { name: "target", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "url", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AppExtensionCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppExtensionCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppExtensionCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppExtension", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppFetchManifest", fields: [ { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "manifest", type: { kind: "OBJECT", name: "Manifest", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppInstall", fields: [ { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "appInstallation", type: { kind: "OBJECT", name: "AppInstallation", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppInstallation", fields: [ { name: "appName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "createdAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "manifestUrl", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Job", }, { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AppInstalled", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "AppManifestExtension", fields: [ { name: "label", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "mount", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "permissions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Permission", ofType: null, }, }, }, }, args: [], }, { name: "target", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "url", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppRetryInstall", fields: [ { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "appInstallation", type: { kind: "OBJECT", name: "AppInstallation", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppStatusChanged", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "AppToken", fields: [ { name: "authToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AppTokenCreate", fields: [ { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "appToken", type: { kind: "OBJECT", name: "AppToken", ofType: null, }, args: [], }, { name: "authToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppTokenDelete", fields: [ { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "appToken", type: { kind: "OBJECT", name: "AppToken", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppTokenVerify", fields: [ { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "valid", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppUpdate", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "appErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AppUpdated", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "AssignNavigation", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AssignedVariantAttribute", fields: [ { name: "attribute", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Attribute", ofType: null, }, }, args: [], }, { name: "variantSelection", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Attribute", fields: [ { name: "availableInGrid", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "choices", type: { kind: "OBJECT", name: "AttributeValueCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "entityType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "filterableInDashboard", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "filterableInStorefront", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "inputType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "productTypes", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductTypeCountableConnection", ofType: null, }, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "productVariantTypes", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductTypeCountableConnection", ofType: null, }, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "slug", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "storefrontSearchPosition", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "AttributeTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "type", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "unit", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "valueRequired", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "visibleInStorefront", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "withChoices", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "AttributeBulkDelete", fields: [ { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Attribute", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeCreate", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeDelete", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeReorderValues", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeTranslatableContent", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "AttributeTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AttributeTranslate", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeTranslation", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AttributeUpdate", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeValue", fields: [ { name: "boolean", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "date", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "dateTime", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "file", type: { kind: "OBJECT", name: "File", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "inputType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "reference", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "richText", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "slug", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "AttributeValueTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "value", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AttributeValueBulkDelete", fields: [ { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeValueCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeValueCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeValueCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeValue", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeValueCreate", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "attributeValue", type: { kind: "OBJECT", name: "AttributeValue", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeValueDelete", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "attributeValue", type: { kind: "OBJECT", name: "AttributeValue", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeValueTranslatableContent", fields: [ { name: "attributeValue", type: { kind: "OBJECT", name: "AttributeValue", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "richText", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "AttributeValueTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AttributeValueTranslate", fields: [ { name: "attributeValue", type: { kind: "OBJECT", name: "AttributeValue", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "AttributeValueTranslation", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "richText", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "AttributeValueUpdate", fields: [ { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [], }, { name: "attributeErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, { name: "attributeValue", type: { kind: "OBJECT", name: "AttributeValue", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "BulkProductError", fields: [ { name: "attributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "channels", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "index", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "values", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "warehouses", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "BulkStockError", fields: [ { name: "attributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "index", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "values", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Category", fields: [ { name: "ancestors", type: { kind: "OBJECT", name: "CategoryCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "backgroundImage", type: { kind: "OBJECT", name: "Image", ofType: null, }, args: [ { name: "size", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "children", type: { kind: "OBJECT", name: "CategoryCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "level", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "parent", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "products", type: { kind: "OBJECT", name: "ProductCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "CategoryTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "CategoryBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CategoryCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CategoryCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CategoryCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Category", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CategoryCreate", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CategoryCreated", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "CategoryDelete", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CategoryDeleted", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "CategoryTranslatableContent", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "CategoryTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "CategoryTranslate", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CategoryTranslation", fields: [ { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "CategoryUpdate", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CategoryUpdated", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "Channel", fields: [ { name: "currencyCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "defaultCountry", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CountryDisplay", ofType: null, }, }, args: [], }, { name: "hasOrders", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isActive", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ChannelActivate", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "channelErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ChannelCreate", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "channelErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ChannelCreated", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ChannelDeactivate", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "channelErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ChannelDelete", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "channelErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ChannelDeleted", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ChannelError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "shippingZones", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ChannelStatusChanged", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ChannelUpdate", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "channelErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ChannelError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ChannelUpdated", fields: [ { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "Checkout", fields: [ { name: "availableCollectionPoints", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Warehouse", ofType: null, }, }, }, }, args: [], }, { name: "availablePaymentGateways", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentGateway", ofType: null, }, }, }, }, args: [], }, { name: "availableShippingMethods", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingMethod", ofType: null, }, }, }, }, args: [], }, { name: "billingAddress", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "deliveryMethod", type: { kind: "UNION", name: "DeliveryMethod", ofType: null, }, args: [], }, { name: "discount", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "discountName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "email", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "giftCards", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCard", ofType: null, }, }, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isShippingRequired", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "lastChange", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "lines", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutLine", ofType: null, }, }, }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "note", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "quantity", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "shippingAddress", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethod", ofType: null, }, args: [], }, { name: "shippingMethods", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingMethod", ofType: null, }, }, }, }, args: [], }, { name: "shippingPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "stockReservationExpires", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "subtotalPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "totalPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "transactions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TransactionItem", ofType: null, }, }, }, args: [], }, { name: "translatedDiscountName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "voucherCode", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "CheckoutAddPromoCode", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutBillingAddressUpdate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutComplete", fields: [ { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "confirmationData", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "confirmationNeeded", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Checkout", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutCreate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "created", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutCreated", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "CheckoutCustomerAttach", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutCustomerDetach", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutDeliveryMethodUpdate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutEmailUpdate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutError", fields: [ { name: "addressType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "lines", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "variants", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutLanguageCodeUpdate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutLine", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "quantity", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "requiresShipping", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "totalPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "undiscountedTotalPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "undiscountedUnitPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "unitPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "variant", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "CheckoutLineCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutLineCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutLineCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutLine", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutLineDelete", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutLinesAdd", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutLinesDelete", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutLinesUpdate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutPaymentCreate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, { name: "payment", type: { kind: "OBJECT", name: "Payment", ofType: null, }, args: [], }, { name: "paymentErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutRemovePromoCode", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutShippingAddressUpdate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutShippingMethodUpdate", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CheckoutError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CheckoutUpdated", fields: [ { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ChoiceValue", fields: [ { name: "raw", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "verbose", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Collection", fields: [ { name: "backgroundImage", type: { kind: "OBJECT", name: "Image", ofType: null, }, args: [ { name: "size", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "channelListings", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionChannelListing", ofType: null, }, }, }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "products", type: { kind: "OBJECT", name: "ProductCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "CollectionTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "CollectionAddProducts", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "collectionErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionBulkDelete", fields: [ { name: "collectionErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionChannelListing", fields: [ { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isPublished", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "publicationDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "publishedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "CollectionChannelListingError", fields: [ { name: "attributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "channels", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "values", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionChannelListingUpdate", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "collectionChannelListingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionChannelListingError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionChannelListingError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Collection", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionCreate", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "collectionErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionCreated", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "CollectionDelete", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "collectionErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionDeleted", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "CollectionError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "products", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionRemoveProducts", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "collectionErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionReorderProducts", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "collectionErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionTranslatableContent", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "CollectionTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "CollectionTranslate", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionTranslation", fields: [ { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "CollectionUpdate", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "collectionErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CollectionError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CollectionUpdated", fields: [ { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ConfigurationItem", fields: [ { name: "helpText", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "label", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "type", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "value", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ConfirmAccount", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ConfirmEmailChange", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CountryDisplay", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "country", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "vat", type: { kind: "OBJECT", name: "VAT", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CreateToken", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "csrfToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "refreshToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "token", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CreditCard", fields: [ { name: "brand", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "expMonth", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "expYear", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "firstDigits", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "lastDigits", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CustomerBulkDelete", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CustomerCreate", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CustomerCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "CustomerDelete", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CustomerEvent", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "count", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "date", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderLine", type: { kind: "OBJECT", name: "OrderLine", ofType: null, }, args: [], }, { name: "type", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "CustomerUpdate", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "CustomerUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "DeactivateAllUserTokens", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DeleteMetadata", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataError", ofType: null, }, }, }, }, args: [], }, { name: "item", type: { kind: "INTERFACE", name: "ObjectWithMetadata", ofType: null, }, args: [], }, { name: "metadataErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DeletePrivateMetadata", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataError", ofType: null, }, }, }, }, args: [], }, { name: "item", type: { kind: "INTERFACE", name: "ObjectWithMetadata", ofType: null, }, args: [], }, { name: "metadataErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "UNION", name: "DeliveryMethod", possibleTypes: [ { kind: "OBJECT", name: "ShippingMethod", }, { kind: "OBJECT", name: "Warehouse", }, ], }, { kind: "OBJECT", name: "DigitalContent", fields: [ { name: "automaticFulfillment", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "contentFile", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "maxDownloads", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "productVariant", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, }, args: [], }, { name: "urlValidDays", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "urls", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DigitalContentUrl", ofType: null, }, }, }, args: [], }, { name: "useDefaultSettings", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "DigitalContentCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DigitalContentCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DigitalContentCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DigitalContent", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DigitalContentCreate", fields: [ { name: "content", type: { kind: "OBJECT", name: "DigitalContent", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "variant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DigitalContentDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "variant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DigitalContentUpdate", fields: [ { name: "content", type: { kind: "OBJECT", name: "DigitalContent", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "variant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DigitalContentUrl", fields: [ { name: "content", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DigitalContent", ofType: null, }, }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "downloadNum", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "url", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "DigitalContentUrlCreate", fields: [ { name: "digitalContentUrl", type: { kind: "OBJECT", name: "DigitalContentUrl", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DiscountError", fields: [ { name: "channels", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "products", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Domain", fields: [ { name: "host", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "sslEnabled", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "url", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DraftOrderBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DraftOrderComplete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DraftOrderCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DraftOrderCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "DraftOrderDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DraftOrderDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "DraftOrderLinesBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DraftOrderUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "DraftOrderUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "INTERFACE", name: "Event", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], possibleTypes: [ { kind: "OBJECT", name: "AppDeleted", }, { kind: "OBJECT", name: "AppInstalled", }, { kind: "OBJECT", name: "AppStatusChanged", }, { kind: "OBJECT", name: "AppUpdated", }, { kind: "OBJECT", name: "CategoryCreated", }, { kind: "OBJECT", name: "CategoryDeleted", }, { kind: "OBJECT", name: "CategoryUpdated", }, { kind: "OBJECT", name: "ChannelCreated", }, { kind: "OBJECT", name: "ChannelDeleted", }, { kind: "OBJECT", name: "ChannelStatusChanged", }, { kind: "OBJECT", name: "ChannelUpdated", }, { kind: "OBJECT", name: "CheckoutCreated", }, { kind: "OBJECT", name: "CheckoutUpdated", }, { kind: "OBJECT", name: "CollectionCreated", }, { kind: "OBJECT", name: "CollectionDeleted", }, { kind: "OBJECT", name: "CollectionUpdated", }, { kind: "OBJECT", name: "CustomerCreated", }, { kind: "OBJECT", name: "CustomerUpdated", }, { kind: "OBJECT", name: "DraftOrderCreated", }, { kind: "OBJECT", name: "DraftOrderDeleted", }, { kind: "OBJECT", name: "DraftOrderUpdated", }, { kind: "OBJECT", name: "FulfillmentCanceled", }, { kind: "OBJECT", name: "FulfillmentCreated", }, { kind: "OBJECT", name: "GiftCardCreated", }, { kind: "OBJECT", name: "GiftCardDeleted", }, { kind: "OBJECT", name: "GiftCardStatusChanged", }, { kind: "OBJECT", name: "GiftCardUpdated", }, { kind: "OBJECT", name: "InvoiceDeleted", }, { kind: "OBJECT", name: "InvoiceRequested", }, { kind: "OBJECT", name: "InvoiceSent", }, { kind: "OBJECT", name: "MenuCreated", }, { kind: "OBJECT", name: "MenuDeleted", }, { kind: "OBJECT", name: "MenuItemCreated", }, { kind: "OBJECT", name: "MenuItemDeleted", }, { kind: "OBJECT", name: "MenuItemUpdated", }, { kind: "OBJECT", name: "MenuUpdated", }, { kind: "OBJECT", name: "OrderCancelled", }, { kind: "OBJECT", name: "OrderConfirmed", }, { kind: "OBJECT", name: "OrderCreated", }, { kind: "OBJECT", name: "OrderFulfilled", }, { kind: "OBJECT", name: "OrderFullyPaid", }, { kind: "OBJECT", name: "OrderUpdated", }, { kind: "OBJECT", name: "PageCreated", }, { kind: "OBJECT", name: "PageDeleted", }, { kind: "OBJECT", name: "PageUpdated", }, { kind: "OBJECT", name: "ProductCreated", }, { kind: "OBJECT", name: "ProductDeleted", }, { kind: "OBJECT", name: "ProductUpdated", }, { kind: "OBJECT", name: "ProductVariantBackInStock", }, { kind: "OBJECT", name: "ProductVariantCreated", }, { kind: "OBJECT", name: "ProductVariantDeleted", }, { kind: "OBJECT", name: "ProductVariantOutOfStock", }, { kind: "OBJECT", name: "ProductVariantUpdated", }, { kind: "OBJECT", name: "SaleCreated", }, { kind: "OBJECT", name: "SaleDeleted", }, { kind: "OBJECT", name: "SaleUpdated", }, { kind: "OBJECT", name: "ShippingPriceCreated", }, { kind: "OBJECT", name: "ShippingPriceDeleted", }, { kind: "OBJECT", name: "ShippingPriceUpdated", }, { kind: "OBJECT", name: "ShippingZoneCreated", }, { kind: "OBJECT", name: "ShippingZoneDeleted", }, { kind: "OBJECT", name: "ShippingZoneUpdated", }, { kind: "OBJECT", name: "TransactionActionRequest", }, { kind: "OBJECT", name: "TranslationCreated", }, { kind: "OBJECT", name: "TranslationUpdated", }, { kind: "OBJECT", name: "VoucherCreated", }, { kind: "OBJECT", name: "VoucherDeleted", }, { kind: "OBJECT", name: "VoucherUpdated", }, { kind: "OBJECT", name: "WarehouseCreated", }, { kind: "OBJECT", name: "WarehouseDeleted", }, { kind: "OBJECT", name: "WarehouseUpdated", }, ], }, { kind: "OBJECT", name: "EventDelivery", fields: [ { name: "attempts", type: { kind: "OBJECT", name: "EventDeliveryAttemptCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "createdAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "eventType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "payload", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "EventDeliveryAttempt", fields: [ { name: "createdAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "duration", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "requestHeaders", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "response", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "responseHeaders", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "responseStatusCode", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "taskId", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "EventDeliveryAttemptCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "EventDeliveryAttemptCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "EventDeliveryAttemptCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "EventDeliveryAttempt", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "EventDeliveryCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "EventDeliveryCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "EventDeliveryCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "EventDelivery", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "EventDeliveryRetry", fields: [ { name: "delivery", type: { kind: "OBJECT", name: "EventDelivery", ofType: null, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExportError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExportEvent", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "date", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "message", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ExportFile", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "createdAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "events", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ExportEvent", ofType: null, }, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "url", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Job", }, { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ExportFileCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ExportFileCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExportFileCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ExportFile", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExportGiftCards", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ExportError", ofType: null, }, }, }, }, args: [], }, { name: "exportFile", type: { kind: "OBJECT", name: "ExportFile", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExportProducts", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ExportError", ofType: null, }, }, }, }, args: [], }, { name: "exportErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ExportError", ofType: null, }, }, }, }, args: [], }, { name: "exportFile", type: { kind: "OBJECT", name: "ExportFile", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExternalAuthentication", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExternalAuthenticationUrl", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "authenticationData", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExternalLogout", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "logoutData", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExternalNotificationError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExternalNotificationTrigger", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ExternalNotificationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExternalObtainAccessTokens", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "csrfToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "refreshToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "token", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExternalRefresh", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "csrfToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "refreshToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "token", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ExternalVerify", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "isValid", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "verifyData", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "File", fields: [ { name: "contentType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "url", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "FileUpload", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "UploadError", ofType: null, }, }, }, }, args: [], }, { name: "uploadErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "UploadError", ofType: null, }, }, }, }, args: [], }, { name: "uploadedFile", type: { kind: "OBJECT", name: "File", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Fulfillment", fields: [ { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "fulfillmentOrder", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "lines", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "FulfillmentLine", ofType: null, }, }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "statusDisplay", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "trackingNumber", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "FulfillmentApprove", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "fulfillment", type: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "FulfillmentCancel", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "fulfillment", type: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "FulfillmentCanceled", fields: [ { name: "fulfillment", type: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "FulfillmentCreated", fields: [ { name: "fulfillment", type: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "FulfillmentLine", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "orderLine", type: { kind: "OBJECT", name: "OrderLine", ofType: null, }, args: [], }, { name: "quantity", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "FulfillmentRefundProducts", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "fulfillment", type: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "FulfillmentReturnProducts", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "replaceFulfillment", type: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, args: [], }, { name: "replaceOrder", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "returnFulfillment", type: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "FulfillmentUpdateTracking", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "fulfillment", type: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GatewayConfigLine", fields: [ { name: "field", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "value", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCard", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "boughtInChannel", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "createdBy", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "createdByEmail", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "currentBalance", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "displayCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "endDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "events", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardEvent", ofType: null, }, }, }, }, args: [ { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "expiryDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "initialBalance", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "isActive", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "last4CodeChars", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "lastUsedOn", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "startDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "tags", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardTag", ofType: null, }, }, }, }, args: [], }, { name: "usedBy", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "usedByEmail", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "GiftCardActivate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "giftCardErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardAddNote", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, { name: "event", type: { kind: "OBJECT", name: "GiftCardEvent", ofType: null, }, args: [], }, { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardBulkActivate", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardBulkCreate", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, { name: "giftCards", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCard", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardBulkDeactivate", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCard", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "giftCardErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardCreated", fields: [ { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "GiftCardDeactivate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "giftCardErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "giftCardErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardDeleted", fields: [ { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "GiftCardError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "tags", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardEvent", fields: [ { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "balance", type: { kind: "OBJECT", name: "GiftCardEventBalance", ofType: null, }, args: [], }, { name: "date", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "email", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "expiryDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "oldExpiryDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "oldTags", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "orderId", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "orderNumber", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "tags", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "type", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "GiftCardEventBalance", fields: [ { name: "currentBalance", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "initialBalance", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "oldCurrentBalance", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "oldInitialBalance", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardResend", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardSettings", fields: [ { name: "expiryPeriod", type: { kind: "OBJECT", name: "TimePeriod", ofType: null, }, args: [], }, { name: "expiryType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardSettingsError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardSettingsUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardSettingsError", ofType: null, }, }, }, }, args: [], }, { name: "giftCardSettings", type: { kind: "OBJECT", name: "GiftCardSettings", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardStatusChanged", fields: [ { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "GiftCardTag", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "GiftCardTagCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardTagCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardTagCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardTag", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "giftCardErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GiftCardUpdated", fields: [ { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "Group", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "permissions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Permission", ofType: null, }, }, }, args: [], }, { name: "userCanManage", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "users", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "User", ofType: null, }, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "GroupCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GroupCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "GroupCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Group", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Image", fields: [ { name: "alt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "url", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Invoice", fields: [ { name: "createdAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "externalUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "number", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "url", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Job", }, { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "InvoiceCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "invoiceErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "InvoiceDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "invoiceErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "InvoiceDeleted", fields: [ { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "InvoiceError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "InvoiceRequest", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "invoiceErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "InvoiceRequestDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "invoiceErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "InvoiceRequested", fields: [ { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "InvoiceSendNotification", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "invoiceErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "InvoiceSent", fields: [ { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "InvoiceUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, { name: "invoice", type: { kind: "OBJECT", name: "Invoice", ofType: null, }, args: [], }, { name: "invoiceErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "InvoiceError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "UNION", name: "IssuingPrincipal", possibleTypes: [ { kind: "OBJECT", name: "App", }, { kind: "OBJECT", name: "User", }, ], }, { kind: "INTERFACE", name: "Job", fields: [ { name: "createdAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], possibleTypes: [ { kind: "OBJECT", name: "AppInstallation", }, { kind: "OBJECT", name: "ExportFile", }, { kind: "OBJECT", name: "Invoice", }, ], }, { kind: "OBJECT", name: "LanguageDisplay", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "LimitInfo", fields: [ { name: "allowedUsage", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Limits", ofType: null, }, }, args: [], }, { name: "currentUsage", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Limits", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Limits", fields: [ { name: "channels", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "orders", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "productVariants", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "staffUsers", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "warehouses", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Manifest", fields: [ { name: "about", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "appUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "configurationUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "dataPrivacy", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "dataPrivacyUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "extensions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppManifestExtension", ofType: null, }, }, }, }, args: [], }, { name: "homepageUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "identifier", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "permissions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Permission", ofType: null, }, }, }, args: [], }, { name: "supportUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "tokenTargetUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "version", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Margin", fields: [ { name: "start", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "stop", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Menu", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "items", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuItem", ofType: null, }, }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "MenuBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Menu", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "MenuDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "MenuError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItem", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "children", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuItem", ofType: null, }, }, }, args: [], }, { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "level", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "menu", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Menu", ofType: null, }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "parent", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "translation", type: { kind: "OBJECT", name: "MenuItemTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "url", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "MenuItemBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItemCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuItemCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItemCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuItem", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItemCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItemCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "MenuItemDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItemDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "MenuItemMove", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItemTranslatableContent", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "MenuItemTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "MenuItemTranslate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItemTranslation", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "MenuItemUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuItemUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "MenuUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [], }, { name: "menuErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MenuError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MenuUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "MetadataError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MetadataItem", fields: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "value", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Money", fields: [ { name: "amount", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "currency", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "MoneyRange", fields: [ { name: "start", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "stop", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Mutation", fields: [ { name: "accountAddressCreate", type: { kind: "OBJECT", name: "AccountAddressCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "type", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "accountAddressDelete", type: { kind: "OBJECT", name: "AccountAddressDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "accountAddressUpdate", type: { kind: "OBJECT", name: "AccountAddressUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "accountDelete", type: { kind: "OBJECT", name: "AccountDelete", ofType: null, }, args: [ { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "accountRegister", type: { kind: "OBJECT", name: "AccountRegister", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "accountRequestDeletion", type: { kind: "OBJECT", name: "AccountRequestDeletion", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "redirectUrl", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "accountSetDefaultAddress", type: { kind: "OBJECT", name: "AccountSetDefaultAddress", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "accountUpdate", type: { kind: "OBJECT", name: "AccountUpdate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "addressCreate", type: { kind: "OBJECT", name: "AddressCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "userId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "addressDelete", type: { kind: "OBJECT", name: "AddressDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "addressSetDefault", type: { kind: "OBJECT", name: "AddressSetDefault", ofType: null, }, args: [ { name: "addressId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "userId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "addressUpdate", type: { kind: "OBJECT", name: "AddressUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appActivate", type: { kind: "OBJECT", name: "AppActivate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appCreate", type: { kind: "OBJECT", name: "AppCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appDeactivate", type: { kind: "OBJECT", name: "AppDeactivate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appDelete", type: { kind: "OBJECT", name: "AppDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appDeleteFailedInstallation", type: { kind: "OBJECT", name: "AppDeleteFailedInstallation", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appFetchManifest", type: { kind: "OBJECT", name: "AppFetchManifest", ofType: null, }, args: [ { name: "manifestUrl", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appInstall", type: { kind: "OBJECT", name: "AppInstall", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appRetryInstall", type: { kind: "OBJECT", name: "AppRetryInstall", ofType: null, }, args: [ { name: "activateAfterInstallation", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appTokenCreate", type: { kind: "OBJECT", name: "AppTokenCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appTokenDelete", type: { kind: "OBJECT", name: "AppTokenDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appTokenVerify", type: { kind: "OBJECT", name: "AppTokenVerify", ofType: null, }, args: [ { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appUpdate", type: { kind: "OBJECT", name: "AppUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "assignNavigation", type: { kind: "OBJECT", name: "AssignNavigation", ofType: null, }, args: [ { name: "menu", type: { kind: "SCALAR", name: "Any", }, }, { name: "navigationType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "assignWarehouseShippingZone", type: { kind: "OBJECT", name: "WarehouseShippingZoneAssign", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "shippingZoneIds", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "attributeBulkDelete", type: { kind: "OBJECT", name: "AttributeBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "attributeCreate", type: { kind: "OBJECT", name: "AttributeCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "attributeDelete", type: { kind: "OBJECT", name: "AttributeDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "attributeReorderValues", type: { kind: "OBJECT", name: "AttributeReorderValues", ofType: null, }, args: [ { name: "attributeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "attributeTranslate", type: { kind: "OBJECT", name: "AttributeTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "attributeUpdate", type: { kind: "OBJECT", name: "AttributeUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "attributeValueBulkDelete", type: { kind: "OBJECT", name: "AttributeValueBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "attributeValueCreate", type: { kind: "OBJECT", name: "AttributeValueCreate", ofType: null, }, args: [ { name: "attribute", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "attributeValueDelete", type: { kind: "OBJECT", name: "AttributeValueDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "attributeValueTranslate", type: { kind: "OBJECT", name: "AttributeValueTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "attributeValueUpdate", type: { kind: "OBJECT", name: "AttributeValueUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "categoryBulkDelete", type: { kind: "OBJECT", name: "CategoryBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "categoryCreate", type: { kind: "OBJECT", name: "CategoryCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "parent", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "categoryDelete", type: { kind: "OBJECT", name: "CategoryDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "categoryTranslate", type: { kind: "OBJECT", name: "CategoryTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "categoryUpdate", type: { kind: "OBJECT", name: "CategoryUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "channelActivate", type: { kind: "OBJECT", name: "ChannelActivate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "channelCreate", type: { kind: "OBJECT", name: "ChannelCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "channelDeactivate", type: { kind: "OBJECT", name: "ChannelDeactivate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "channelDelete", type: { kind: "OBJECT", name: "ChannelDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "channelUpdate", type: { kind: "OBJECT", name: "ChannelUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "checkoutAddPromoCode", type: { kind: "OBJECT", name: "CheckoutAddPromoCode", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "promoCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutBillingAddressUpdate", type: { kind: "OBJECT", name: "CheckoutBillingAddressUpdate", ofType: null, }, args: [ { name: "billingAddress", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutComplete", type: { kind: "OBJECT", name: "CheckoutComplete", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "paymentData", type: { kind: "SCALAR", name: "Any", }, }, { name: "redirectUrl", type: { kind: "SCALAR", name: "Any", }, }, { name: "storeSource", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutCreate", type: { kind: "OBJECT", name: "CheckoutCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "checkoutCustomerAttach", type: { kind: "OBJECT", name: "CheckoutCustomerAttach", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "customerId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutCustomerDetach", type: { kind: "OBJECT", name: "CheckoutCustomerDetach", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutDeliveryMethodUpdate", type: { kind: "OBJECT", name: "CheckoutDeliveryMethodUpdate", ofType: null, }, args: [ { name: "deliveryMethodId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutEmailUpdate", type: { kind: "OBJECT", name: "CheckoutEmailUpdate", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "email", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutLanguageCodeUpdate", type: { kind: "OBJECT", name: "CheckoutLanguageCodeUpdate", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutLineDelete", type: { kind: "OBJECT", name: "CheckoutLineDelete", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "lineId", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutLinesAdd", type: { kind: "OBJECT", name: "CheckoutLinesAdd", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "lines", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutLinesDelete", type: { kind: "OBJECT", name: "CheckoutLinesDelete", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "linesIds", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutLinesUpdate", type: { kind: "OBJECT", name: "CheckoutLinesUpdate", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "lines", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutPaymentCreate", type: { kind: "OBJECT", name: "CheckoutPaymentCreate", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutRemovePromoCode", type: { kind: "OBJECT", name: "CheckoutRemovePromoCode", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "promoCode", type: { kind: "SCALAR", name: "Any", }, }, { name: "promoCodeId", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutShippingAddressUpdate", type: { kind: "OBJECT", name: "CheckoutShippingAddressUpdate", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "shippingAddress", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutShippingMethodUpdate", type: { kind: "OBJECT", name: "CheckoutShippingMethodUpdate", ofType: null, }, args: [ { name: "checkoutId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "shippingMethodId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "collectionAddProducts", type: { kind: "OBJECT", name: "CollectionAddProducts", ofType: null, }, args: [ { name: "collectionId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "products", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "collectionBulkDelete", type: { kind: "OBJECT", name: "CollectionBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "collectionChannelListingUpdate", type: { kind: "OBJECT", name: "CollectionChannelListingUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "collectionCreate", type: { kind: "OBJECT", name: "CollectionCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "collectionDelete", type: { kind: "OBJECT", name: "CollectionDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "collectionRemoveProducts", type: { kind: "OBJECT", name: "CollectionRemoveProducts", ofType: null, }, args: [ { name: "collectionId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "products", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "collectionReorderProducts", type: { kind: "OBJECT", name: "CollectionReorderProducts", ofType: null, }, args: [ { name: "collectionId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "collectionTranslate", type: { kind: "OBJECT", name: "CollectionTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "collectionUpdate", type: { kind: "OBJECT", name: "CollectionUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "confirmAccount", type: { kind: "OBJECT", name: "ConfirmAccount", ofType: null, }, args: [ { name: "email", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "confirmEmailChange", type: { kind: "OBJECT", name: "ConfirmEmailChange", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "createWarehouse", type: { kind: "OBJECT", name: "WarehouseCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "customerBulkDelete", type: { kind: "OBJECT", name: "CustomerBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "customerCreate", type: { kind: "OBJECT", name: "CustomerCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "customerDelete", type: { kind: "OBJECT", name: "CustomerDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "customerUpdate", type: { kind: "OBJECT", name: "CustomerUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "deleteMetadata", type: { kind: "OBJECT", name: "DeleteMetadata", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "keys", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "deletePrivateMetadata", type: { kind: "OBJECT", name: "DeletePrivateMetadata", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "keys", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "deleteWarehouse", type: { kind: "OBJECT", name: "WarehouseDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "digitalContentCreate", type: { kind: "OBJECT", name: "DigitalContentCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "digitalContentDelete", type: { kind: "OBJECT", name: "DigitalContentDelete", ofType: null, }, args: [ { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "digitalContentUpdate", type: { kind: "OBJECT", name: "DigitalContentUpdate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "digitalContentUrlCreate", type: { kind: "OBJECT", name: "DigitalContentUrlCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "draftOrderBulkDelete", type: { kind: "OBJECT", name: "DraftOrderBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "draftOrderComplete", type: { kind: "OBJECT", name: "DraftOrderComplete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "draftOrderCreate", type: { kind: "OBJECT", name: "DraftOrderCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "draftOrderDelete", type: { kind: "OBJECT", name: "DraftOrderDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "draftOrderLinesBulkDelete", type: { kind: "OBJECT", name: "DraftOrderLinesBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "draftOrderUpdate", type: { kind: "OBJECT", name: "DraftOrderUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "eventDeliveryRetry", type: { kind: "OBJECT", name: "EventDeliveryRetry", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "exportGiftCards", type: { kind: "OBJECT", name: "ExportGiftCards", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "exportProducts", type: { kind: "OBJECT", name: "ExportProducts", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "externalAuthenticationUrl", type: { kind: "OBJECT", name: "ExternalAuthenticationUrl", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "pluginId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "externalLogout", type: { kind: "OBJECT", name: "ExternalLogout", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "pluginId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "externalNotificationTrigger", type: { kind: "OBJECT", name: "ExternalNotificationTrigger", ofType: null, }, args: [ { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "pluginId", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "externalObtainAccessTokens", type: { kind: "OBJECT", name: "ExternalObtainAccessTokens", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "pluginId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "externalRefresh", type: { kind: "OBJECT", name: "ExternalRefresh", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "pluginId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "externalVerify", type: { kind: "OBJECT", name: "ExternalVerify", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "pluginId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "fileUpload", type: { kind: "OBJECT", name: "FileUpload", ofType: null, }, args: [ { name: "file", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardActivate", type: { kind: "OBJECT", name: "GiftCardActivate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardAddNote", type: { kind: "OBJECT", name: "GiftCardAddNote", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardBulkActivate", type: { kind: "OBJECT", name: "GiftCardBulkActivate", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "giftCardBulkCreate", type: { kind: "OBJECT", name: "GiftCardBulkCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardBulkDeactivate", type: { kind: "OBJECT", name: "GiftCardBulkDeactivate", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "giftCardBulkDelete", type: { kind: "OBJECT", name: "GiftCardBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "giftCardCreate", type: { kind: "OBJECT", name: "GiftCardCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardDeactivate", type: { kind: "OBJECT", name: "GiftCardDeactivate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardDelete", type: { kind: "OBJECT", name: "GiftCardDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardResend", type: { kind: "OBJECT", name: "GiftCardResend", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardSettingsUpdate", type: { kind: "OBJECT", name: "GiftCardSettingsUpdate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardUpdate", type: { kind: "OBJECT", name: "GiftCardUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "invoiceCreate", type: { kind: "OBJECT", name: "InvoiceCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "orderId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "invoiceDelete", type: { kind: "OBJECT", name: "InvoiceDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "invoiceRequest", type: { kind: "OBJECT", name: "InvoiceRequest", ofType: null, }, args: [ { name: "number", type: { kind: "SCALAR", name: "Any", }, }, { name: "orderId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "invoiceRequestDelete", type: { kind: "OBJECT", name: "InvoiceRequestDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "invoiceSendNotification", type: { kind: "OBJECT", name: "InvoiceSendNotification", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "invoiceUpdate", type: { kind: "OBJECT", name: "InvoiceUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "menuBulkDelete", type: { kind: "OBJECT", name: "MenuBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "menuCreate", type: { kind: "OBJECT", name: "MenuCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "menuDelete", type: { kind: "OBJECT", name: "MenuDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "menuItemBulkDelete", type: { kind: "OBJECT", name: "MenuItemBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "menuItemCreate", type: { kind: "OBJECT", name: "MenuItemCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "menuItemDelete", type: { kind: "OBJECT", name: "MenuItemDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "menuItemMove", type: { kind: "OBJECT", name: "MenuItemMove", ofType: null, }, args: [ { name: "menu", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "menuItemTranslate", type: { kind: "OBJECT", name: "MenuItemTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "menuItemUpdate", type: { kind: "OBJECT", name: "MenuItemUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "menuUpdate", type: { kind: "OBJECT", name: "MenuUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderAddNote", type: { kind: "OBJECT", name: "OrderAddNote", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "order", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderBulkCancel", type: { kind: "OBJECT", name: "OrderBulkCancel", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "orderCancel", type: { kind: "OBJECT", name: "OrderCancel", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderCapture", type: { kind: "OBJECT", name: "OrderCapture", ofType: null, }, args: [ { name: "amount", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderConfirm", type: { kind: "OBJECT", name: "OrderConfirm", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderCreateFromCheckout", type: { kind: "OBJECT", name: "OrderCreateFromCheckout", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "removeCheckout", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "orderDiscountAdd", type: { kind: "OBJECT", name: "OrderDiscountAdd", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "orderId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderDiscountDelete", type: { kind: "OBJECT", name: "OrderDiscountDelete", ofType: null, }, args: [ { name: "discountId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderDiscountUpdate", type: { kind: "OBJECT", name: "OrderDiscountUpdate", ofType: null, }, args: [ { name: "discountId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderFulfill", type: { kind: "OBJECT", name: "OrderFulfill", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "order", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "orderFulfillmentApprove", type: { kind: "OBJECT", name: "FulfillmentApprove", ofType: null, }, args: [ { name: "allowStockToBeExceeded", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "notifyCustomer", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderFulfillmentCancel", type: { kind: "OBJECT", name: "FulfillmentCancel", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "orderFulfillmentRefundProducts", type: { kind: "OBJECT", name: "FulfillmentRefundProducts", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "order", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderFulfillmentReturnProducts", type: { kind: "OBJECT", name: "FulfillmentReturnProducts", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "order", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderFulfillmentUpdateTracking", type: { kind: "OBJECT", name: "FulfillmentUpdateTracking", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderLineDelete", type: { kind: "OBJECT", name: "OrderLineDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderLineDiscountRemove", type: { kind: "OBJECT", name: "OrderLineDiscountRemove", ofType: null, }, args: [ { name: "orderLineId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderLineDiscountUpdate", type: { kind: "OBJECT", name: "OrderLineDiscountUpdate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "orderLineId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderLineUpdate", type: { kind: "OBJECT", name: "OrderLineUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderLinesCreate", type: { kind: "OBJECT", name: "OrderLinesCreate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "orderMarkAsPaid", type: { kind: "OBJECT", name: "OrderMarkAsPaid", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "transactionReference", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "orderRefund", type: { kind: "OBJECT", name: "OrderRefund", ofType: null, }, args: [ { name: "amount", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderSettingsUpdate", type: { kind: "OBJECT", name: "OrderSettingsUpdate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderUpdate", type: { kind: "OBJECT", name: "OrderUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderUpdateShipping", type: { kind: "OBJECT", name: "OrderUpdateShipping", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "order", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderVoid", type: { kind: "OBJECT", name: "OrderVoid", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageAttributeAssign", type: { kind: "OBJECT", name: "PageAttributeAssign", ofType: null, }, args: [ { name: "attributeIds", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "pageTypeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageAttributeUnassign", type: { kind: "OBJECT", name: "PageAttributeUnassign", ofType: null, }, args: [ { name: "attributeIds", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "pageTypeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageBulkDelete", type: { kind: "OBJECT", name: "PageBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "pageBulkPublish", type: { kind: "OBJECT", name: "PageBulkPublish", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "isPublished", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageCreate", type: { kind: "OBJECT", name: "PageCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageDelete", type: { kind: "OBJECT", name: "PageDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageReorderAttributeValues", type: { kind: "OBJECT", name: "PageReorderAttributeValues", ofType: null, }, args: [ { name: "attributeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "pageId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageTranslate", type: { kind: "OBJECT", name: "PageTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageTypeBulkDelete", type: { kind: "OBJECT", name: "PageTypeBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "pageTypeCreate", type: { kind: "OBJECT", name: "PageTypeCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageTypeDelete", type: { kind: "OBJECT", name: "PageTypeDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageTypeReorderAttributes", type: { kind: "OBJECT", name: "PageTypeReorderAttributes", ofType: null, }, args: [ { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "pageTypeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageTypeUpdate", type: { kind: "OBJECT", name: "PageTypeUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageUpdate", type: { kind: "OBJECT", name: "PageUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "passwordChange", type: { kind: "OBJECT", name: "PasswordChange", ofType: null, }, args: [ { name: "newPassword", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "oldPassword", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "paymentCapture", type: { kind: "OBJECT", name: "PaymentCapture", ofType: null, }, args: [ { name: "amount", type: { kind: "SCALAR", name: "Any", }, }, { name: "paymentId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "paymentCheckBalance", type: { kind: "OBJECT", name: "PaymentCheckBalance", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "paymentInitialize", type: { kind: "OBJECT", name: "PaymentInitialize", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "gateway", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "paymentData", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "paymentRefund", type: { kind: "OBJECT", name: "PaymentRefund", ofType: null, }, args: [ { name: "amount", type: { kind: "SCALAR", name: "Any", }, }, { name: "paymentId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "paymentVoid", type: { kind: "OBJECT", name: "PaymentVoid", ofType: null, }, args: [ { name: "paymentId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "permissionGroupCreate", type: { kind: "OBJECT", name: "PermissionGroupCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "permissionGroupDelete", type: { kind: "OBJECT", name: "PermissionGroupDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "permissionGroupUpdate", type: { kind: "OBJECT", name: "PermissionGroupUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pluginUpdate", type: { kind: "OBJECT", name: "PluginUpdate", ofType: null, }, args: [ { name: "channelId", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productAttributeAssign", type: { kind: "OBJECT", name: "ProductAttributeAssign", ofType: null, }, args: [ { name: "operations", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "productTypeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productAttributeAssignmentUpdate", type: { kind: "OBJECT", name: "ProductAttributeAssignmentUpdate", ofType: null, }, args: [ { name: "operations", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "productTypeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productAttributeUnassign", type: { kind: "OBJECT", name: "ProductAttributeUnassign", ofType: null, }, args: [ { name: "attributeIds", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "productTypeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productBulkDelete", type: { kind: "OBJECT", name: "ProductBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "productChannelListingUpdate", type: { kind: "OBJECT", name: "ProductChannelListingUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productCreate", type: { kind: "OBJECT", name: "ProductCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productDelete", type: { kind: "OBJECT", name: "ProductDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productMediaBulkDelete", type: { kind: "OBJECT", name: "ProductMediaBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "productMediaCreate", type: { kind: "OBJECT", name: "ProductMediaCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productMediaDelete", type: { kind: "OBJECT", name: "ProductMediaDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productMediaReorder", type: { kind: "OBJECT", name: "ProductMediaReorder", ofType: null, }, args: [ { name: "mediaIds", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "productId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productMediaUpdate", type: { kind: "OBJECT", name: "ProductMediaUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productReorderAttributeValues", type: { kind: "OBJECT", name: "ProductReorderAttributeValues", ofType: null, }, args: [ { name: "attributeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "productId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productTranslate", type: { kind: "OBJECT", name: "ProductTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productTypeBulkDelete", type: { kind: "OBJECT", name: "ProductTypeBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "productTypeCreate", type: { kind: "OBJECT", name: "ProductTypeCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productTypeDelete", type: { kind: "OBJECT", name: "ProductTypeDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productTypeReorderAttributes", type: { kind: "OBJECT", name: "ProductTypeReorderAttributes", ofType: null, }, args: [ { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "productTypeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productTypeUpdate", type: { kind: "OBJECT", name: "ProductTypeUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productUpdate", type: { kind: "OBJECT", name: "ProductUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantBulkCreate", type: { kind: "OBJECT", name: "ProductVariantBulkCreate", ofType: null, }, args: [ { name: "product", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "variants", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "productVariantBulkDelete", type: { kind: "OBJECT", name: "ProductVariantBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "productVariantChannelListingUpdate", type: { kind: "OBJECT", name: "ProductVariantChannelListingUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "productVariantCreate", type: { kind: "OBJECT", name: "ProductVariantCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantDelete", type: { kind: "OBJECT", name: "ProductVariantDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantPreorderDeactivate", type: { kind: "OBJECT", name: "ProductVariantPreorderDeactivate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantReorder", type: { kind: "OBJECT", name: "ProductVariantReorder", ofType: null, }, args: [ { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "productId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantReorderAttributeValues", type: { kind: "OBJECT", name: "ProductVariantReorderAttributeValues", ofType: null, }, args: [ { name: "attributeId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "moves", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantSetDefault", type: { kind: "OBJECT", name: "ProductVariantSetDefault", ofType: null, }, args: [ { name: "productId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantStocksCreate", type: { kind: "OBJECT", name: "ProductVariantStocksCreate", ofType: null, }, args: [ { name: "stocks", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantStocksDelete", type: { kind: "OBJECT", name: "ProductVariantStocksDelete", ofType: null, }, args: [ { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "warehouseIds", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "productVariantStocksUpdate", type: { kind: "OBJECT", name: "ProductVariantStocksUpdate", ofType: null, }, args: [ { name: "stocks", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantTranslate", type: { kind: "OBJECT", name: "ProductVariantTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productVariantUpdate", type: { kind: "OBJECT", name: "ProductVariantUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "requestEmailChange", type: { kind: "OBJECT", name: "RequestEmailChange", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "newEmail", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "password", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "redirectUrl", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "requestPasswordReset", type: { kind: "OBJECT", name: "RequestPasswordReset", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "email", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "redirectUrl", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "saleBulkDelete", type: { kind: "OBJECT", name: "SaleBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "saleCataloguesAdd", type: { kind: "OBJECT", name: "SaleAddCatalogues", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "saleCataloguesRemove", type: { kind: "OBJECT", name: "SaleRemoveCatalogues", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "saleChannelListingUpdate", type: { kind: "OBJECT", name: "SaleChannelListingUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "saleCreate", type: { kind: "OBJECT", name: "SaleCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "saleDelete", type: { kind: "OBJECT", name: "SaleDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "saleTranslate", type: { kind: "OBJECT", name: "SaleTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "saleUpdate", type: { kind: "OBJECT", name: "SaleUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "setPassword", type: { kind: "OBJECT", name: "SetPassword", ofType: null, }, args: [ { name: "email", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "password", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingMethodChannelListingUpdate", type: { kind: "OBJECT", name: "ShippingMethodChannelListingUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingPriceBulkDelete", type: { kind: "OBJECT", name: "ShippingPriceBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "shippingPriceCreate", type: { kind: "OBJECT", name: "ShippingPriceCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingPriceDelete", type: { kind: "OBJECT", name: "ShippingPriceDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingPriceExcludeProducts", type: { kind: "OBJECT", name: "ShippingPriceExcludeProducts", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingPriceRemoveProductFromExclude", type: { kind: "OBJECT", name: "ShippingPriceRemoveProductFromExclude", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "products", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "shippingPriceTranslate", type: { kind: "OBJECT", name: "ShippingPriceTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingPriceUpdate", type: { kind: "OBJECT", name: "ShippingPriceUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingZoneBulkDelete", type: { kind: "OBJECT", name: "ShippingZoneBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "shippingZoneCreate", type: { kind: "OBJECT", name: "ShippingZoneCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingZoneDelete", type: { kind: "OBJECT", name: "ShippingZoneDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingZoneUpdate", type: { kind: "OBJECT", name: "ShippingZoneUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shopAddressUpdate", type: { kind: "OBJECT", name: "ShopAddressUpdate", ofType: null, }, args: [ { name: "input", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "shopDomainUpdate", type: { kind: "OBJECT", name: "ShopDomainUpdate", ofType: null, }, args: [ { name: "input", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "shopFetchTaxRates", type: { kind: "OBJECT", name: "ShopFetchTaxRates", ofType: null, }, args: [], }, { name: "shopSettingsTranslate", type: { kind: "OBJECT", name: "ShopSettingsTranslate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shopSettingsUpdate", type: { kind: "OBJECT", name: "ShopSettingsUpdate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "staffBulkDelete", type: { kind: "OBJECT", name: "StaffBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "staffCreate", type: { kind: "OBJECT", name: "StaffCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "staffDelete", type: { kind: "OBJECT", name: "StaffDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "staffNotificationRecipientCreate", type: { kind: "OBJECT", name: "StaffNotificationRecipientCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "staffNotificationRecipientDelete", type: { kind: "OBJECT", name: "StaffNotificationRecipientDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "staffNotificationRecipientUpdate", type: { kind: "OBJECT", name: "StaffNotificationRecipientUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "staffUpdate", type: { kind: "OBJECT", name: "StaffUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "tokenCreate", type: { kind: "OBJECT", name: "CreateToken", ofType: null, }, args: [ { name: "email", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "password", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "tokenRefresh", type: { kind: "OBJECT", name: "RefreshToken", ofType: null, }, args: [ { name: "csrfToken", type: { kind: "SCALAR", name: "Any", }, }, { name: "refreshToken", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "tokenVerify", type: { kind: "OBJECT", name: "VerifyToken", ofType: null, }, args: [ { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "tokensDeactivateAll", type: { kind: "OBJECT", name: "DeactivateAllUserTokens", ofType: null, }, args: [], }, { name: "transactionCreate", type: { kind: "OBJECT", name: "TransactionCreate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "transaction", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "transactionEvent", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "transactionRequestAction", type: { kind: "OBJECT", name: "TransactionRequestAction", ofType: null, }, args: [ { name: "actionType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "amount", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "transactionUpdate", type: { kind: "OBJECT", name: "TransactionUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "transaction", type: { kind: "SCALAR", name: "Any", }, }, { name: "transactionEvent", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "unassignWarehouseShippingZone", type: { kind: "OBJECT", name: "WarehouseShippingZoneUnassign", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "shippingZoneIds", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "updateMetadata", type: { kind: "OBJECT", name: "UpdateMetadata", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "updatePrivateMetadata", type: { kind: "OBJECT", name: "UpdatePrivateMetadata", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "updateWarehouse", type: { kind: "OBJECT", name: "WarehouseUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "userAvatarDelete", type: { kind: "OBJECT", name: "UserAvatarDelete", ofType: null, }, args: [], }, { name: "userAvatarUpdate", type: { kind: "OBJECT", name: "UserAvatarUpdate", ofType: null, }, args: [ { name: "image", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "userBulkSetActive", type: { kind: "OBJECT", name: "UserBulkSetActive", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, { name: "isActive", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "variantMediaAssign", type: { kind: "OBJECT", name: "VariantMediaAssign", ofType: null, }, args: [ { name: "mediaId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "variantMediaUnassign", type: { kind: "OBJECT", name: "VariantMediaUnassign", ofType: null, }, args: [ { name: "mediaId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "variantId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "voucherBulkDelete", type: { kind: "OBJECT", name: "VoucherBulkDelete", ofType: null, }, args: [ { name: "ids", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, }, ], }, { name: "voucherCataloguesAdd", type: { kind: "OBJECT", name: "VoucherAddCatalogues", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "voucherCataloguesRemove", type: { kind: "OBJECT", name: "VoucherRemoveCatalogues", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "voucherChannelListingUpdate", type: { kind: "OBJECT", name: "VoucherChannelListingUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "voucherCreate", type: { kind: "OBJECT", name: "VoucherCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "voucherDelete", type: { kind: "OBJECT", name: "VoucherDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "voucherTranslate", type: { kind: "OBJECT", name: "VoucherTranslate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "voucherUpdate", type: { kind: "OBJECT", name: "VoucherUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "webhookCreate", type: { kind: "OBJECT", name: "WebhookCreate", ofType: null, }, args: [ { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "webhookDelete", type: { kind: "OBJECT", name: "WebhookDelete", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "webhookUpdate", type: { kind: "OBJECT", name: "WebhookUpdate", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "input", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [], }, { kind: "INTERFACE", name: "Node", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], possibleTypes: [ { kind: "OBJECT", name: "Address", }, { kind: "OBJECT", name: "Allocation", }, { kind: "OBJECT", name: "App", }, { kind: "OBJECT", name: "AppExtension", }, { kind: "OBJECT", name: "AppInstallation", }, { kind: "OBJECT", name: "AppToken", }, { kind: "OBJECT", name: "Attribute", }, { kind: "OBJECT", name: "AttributeTranslatableContent", }, { kind: "OBJECT", name: "AttributeTranslation", }, { kind: "OBJECT", name: "AttributeValue", }, { kind: "OBJECT", name: "AttributeValueTranslatableContent", }, { kind: "OBJECT", name: "AttributeValueTranslation", }, { kind: "OBJECT", name: "Category", }, { kind: "OBJECT", name: "CategoryTranslatableContent", }, { kind: "OBJECT", name: "CategoryTranslation", }, { kind: "OBJECT", name: "Channel", }, { kind: "OBJECT", name: "Checkout", }, { kind: "OBJECT", name: "CheckoutLine", }, { kind: "OBJECT", name: "Collection", }, { kind: "OBJECT", name: "CollectionChannelListing", }, { kind: "OBJECT", name: "CollectionTranslatableContent", }, { kind: "OBJECT", name: "CollectionTranslation", }, { kind: "OBJECT", name: "CustomerEvent", }, { kind: "OBJECT", name: "DigitalContent", }, { kind: "OBJECT", name: "DigitalContentUrl", }, { kind: "OBJECT", name: "EventDelivery", }, { kind: "OBJECT", name: "EventDeliveryAttempt", }, { kind: "OBJECT", name: "ExportEvent", }, { kind: "OBJECT", name: "ExportFile", }, { kind: "OBJECT", name: "Fulfillment", }, { kind: "OBJECT", name: "FulfillmentLine", }, { kind: "OBJECT", name: "GiftCard", }, { kind: "OBJECT", name: "GiftCardEvent", }, { kind: "OBJECT", name: "GiftCardTag", }, { kind: "OBJECT", name: "Group", }, { kind: "OBJECT", name: "Invoice", }, { kind: "OBJECT", name: "Menu", }, { kind: "OBJECT", name: "MenuItem", }, { kind: "OBJECT", name: "MenuItemTranslatableContent", }, { kind: "OBJECT", name: "MenuItemTranslation", }, { kind: "OBJECT", name: "Order", }, { kind: "OBJECT", name: "OrderDiscount", }, { kind: "OBJECT", name: "OrderEvent", }, { kind: "OBJECT", name: "OrderLine", }, { kind: "OBJECT", name: "Page", }, { kind: "OBJECT", name: "PageTranslatableContent", }, { kind: "OBJECT", name: "PageTranslation", }, { kind: "OBJECT", name: "PageType", }, { kind: "OBJECT", name: "Payment", }, { kind: "OBJECT", name: "Product", }, { kind: "OBJECT", name: "ProductChannelListing", }, { kind: "OBJECT", name: "ProductMedia", }, { kind: "OBJECT", name: "ProductTranslatableContent", }, { kind: "OBJECT", name: "ProductTranslation", }, { kind: "OBJECT", name: "ProductType", }, { kind: "OBJECT", name: "ProductVariant", }, { kind: "OBJECT", name: "ProductVariantChannelListing", }, { kind: "OBJECT", name: "ProductVariantTranslatableContent", }, { kind: "OBJECT", name: "ProductVariantTranslation", }, { kind: "OBJECT", name: "Sale", }, { kind: "OBJECT", name: "SaleChannelListing", }, { kind: "OBJECT", name: "SaleTranslatableContent", }, { kind: "OBJECT", name: "SaleTranslation", }, { kind: "OBJECT", name: "ShippingMethod", }, { kind: "OBJECT", name: "ShippingMethodChannelListing", }, { kind: "OBJECT", name: "ShippingMethodPostalCodeRule", }, { kind: "OBJECT", name: "ShippingMethodTranslatableContent", }, { kind: "OBJECT", name: "ShippingMethodTranslation", }, { kind: "OBJECT", name: "ShippingMethodType", }, { kind: "OBJECT", name: "ShippingZone", }, { kind: "OBJECT", name: "ShopTranslation", }, { kind: "OBJECT", name: "StaffNotificationRecipient", }, { kind: "OBJECT", name: "Stock", }, { kind: "OBJECT", name: "Transaction", }, { kind: "OBJECT", name: "TransactionEvent", }, { kind: "OBJECT", name: "TransactionItem", }, { kind: "OBJECT", name: "User", }, { kind: "OBJECT", name: "Voucher", }, { kind: "OBJECT", name: "VoucherChannelListing", }, { kind: "OBJECT", name: "VoucherTranslatableContent", }, { kind: "OBJECT", name: "VoucherTranslation", }, { kind: "OBJECT", name: "Warehouse", }, { kind: "OBJECT", name: "Webhook", }, ], }, { kind: "INTERFACE", name: "ObjectWithMetadata", fields: [ { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, ], interfaces: [], possibleTypes: [ { kind: "OBJECT", name: "App", }, { kind: "OBJECT", name: "Attribute", }, { kind: "OBJECT", name: "Category", }, { kind: "OBJECT", name: "Checkout", }, { kind: "OBJECT", name: "Collection", }, { kind: "OBJECT", name: "DigitalContent", }, { kind: "OBJECT", name: "Fulfillment", }, { kind: "OBJECT", name: "GiftCard", }, { kind: "OBJECT", name: "Invoice", }, { kind: "OBJECT", name: "Menu", }, { kind: "OBJECT", name: "MenuItem", }, { kind: "OBJECT", name: "Order", }, { kind: "OBJECT", name: "Page", }, { kind: "OBJECT", name: "PageType", }, { kind: "OBJECT", name: "Payment", }, { kind: "OBJECT", name: "Product", }, { kind: "OBJECT", name: "ProductType", }, { kind: "OBJECT", name: "ProductVariant", }, { kind: "OBJECT", name: "Sale", }, { kind: "OBJECT", name: "ShippingMethod", }, { kind: "OBJECT", name: "ShippingMethodType", }, { kind: "OBJECT", name: "ShippingZone", }, { kind: "OBJECT", name: "TransactionItem", }, { kind: "OBJECT", name: "User", }, { kind: "OBJECT", name: "Voucher", }, { kind: "OBJECT", name: "Warehouse", }, ], }, { kind: "OBJECT", name: "Order", fields: [ { name: "actions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "authorizeStatus", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "availableCollectionPoints", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Warehouse", ofType: null, }, }, }, }, args: [], }, { name: "availableShippingMethods", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingMethod", ofType: null, }, }, }, args: [], }, { name: "billingAddress", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "canFinalize", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, args: [], }, { name: "chargeStatus", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "collectionPointName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "customerNote", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "deliveryMethod", type: { kind: "UNION", name: "DeliveryMethod", ofType: null, }, args: [], }, { name: "discount", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "discountName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "discounts", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderDiscount", ofType: null, }, }, }, }, args: [], }, { name: "displayGrossPrices", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "events", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderEvent", ofType: null, }, }, }, }, args: [], }, { name: "fulfillments", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, }, }, }, args: [], }, { name: "giftCards", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCard", ofType: null, }, }, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "invoices", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Invoice", ofType: null, }, }, }, }, args: [], }, { name: "isPaid", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isShippingRequired", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "languageCodeEnum", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "lines", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderLine", ofType: null, }, }, }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "number", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "origin", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "original", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "paymentStatus", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "paymentStatusDisplay", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "payments", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Payment", ofType: null, }, }, }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "redirectUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "shippingAddress", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethod", ofType: null, }, args: [], }, { name: "shippingMethodName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "shippingMethods", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingMethod", ofType: null, }, }, }, }, args: [], }, { name: "shippingPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "shippingTaxRate", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "statusDisplay", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "subtotal", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "total", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "totalAuthorized", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "totalBalance", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "totalCaptured", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "trackingClientId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "transactions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TransactionItem", ofType: null, }, }, }, }, args: [], }, { name: "translatedDiscountName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "undiscountedTotal", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "userEmail", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, { name: "weight", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Weight", ofType: null, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "OrderAddNote", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "event", type: { kind: "OBJECT", name: "OrderEvent", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderBulkCancel", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderCancel", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderCancelled", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "OrderCapture", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderConfirm", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderConfirmed", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "OrderCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Order", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderCreateFromCheckout", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderCreateFromCheckoutError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderCreateFromCheckoutError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "lines", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "variants", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "OrderDiscount", fields: [ { name: "amount", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "reason", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "translatedName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "value", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "valueType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "OrderDiscountAdd", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderDiscountDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderDiscountUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderError", fields: [ { name: "addressType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "orderLines", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "variants", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "warehouse", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderEvent", fields: [ { name: "amount", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "composedId", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "date", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "discount", type: { kind: "OBJECT", name: "OrderEventDiscountObject", ofType: null, }, args: [], }, { name: "email", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "emailType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "fulfilledItems", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "FulfillmentLine", ofType: null, }, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "invoiceNumber", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "lines", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderEventOrderLineObject", ofType: null, }, }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "orderNumber", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "oversoldItems", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "paymentGateway", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "paymentId", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "quantity", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "reference", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "relatedOrder", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "shippingCostsIncluded", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "status", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "transactionReference", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "type", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "OrderEventCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderEventCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderEventCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderEvent", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderEventDiscountObject", fields: [ { name: "amount", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "oldAmount", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "oldValue", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "oldValueType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "reason", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "value", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "valueType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderEventOrderLineObject", fields: [ { name: "discount", type: { kind: "OBJECT", name: "OrderEventDiscountObject", ofType: null, }, args: [], }, { name: "itemName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "orderLine", type: { kind: "OBJECT", name: "OrderLine", ofType: null, }, args: [], }, { name: "quantity", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderFulfill", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "fulfillments", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Fulfillment", ofType: null, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderFulfilled", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "OrderFullyPaid", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "OrderLine", fields: [ { name: "allocations", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Allocation", ofType: null, }, }, }, args: [], }, { name: "digitalContentUrl", type: { kind: "OBJECT", name: "DigitalContentUrl", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isShippingRequired", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "productName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "productSku", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "productVariantId", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "quantity", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "quantityFulfilled", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "quantityToFulfill", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "taxRate", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "thumbnail", type: { kind: "OBJECT", name: "Image", ofType: null, }, args: [ { name: "size", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "totalPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "translatedProductName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translatedVariantName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "undiscountedUnitPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "unitDiscount", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "unitDiscountReason", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "unitDiscountType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "unitDiscountValue", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "unitPrice", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, }, args: [], }, { name: "variant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, { name: "variantName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "OrderLineDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "orderLine", type: { kind: "OBJECT", name: "OrderLine", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderLineDiscountRemove", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "orderLine", type: { kind: "OBJECT", name: "OrderLine", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderLineDiscountUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "orderLine", type: { kind: "OBJECT", name: "OrderLine", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderLineUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "orderLine", type: { kind: "OBJECT", name: "OrderLine", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderLinesCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "orderLines", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderLine", ofType: null, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderMarkAsPaid", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderRefund", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderSettings", fields: [ { name: "automaticallyConfirmAllNewOrders", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "automaticallyFulfillNonShippableGiftCard", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderSettingsError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderSettingsUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderSettingsError", ofType: null, }, }, }, }, args: [], }, { name: "orderSettings", type: { kind: "OBJECT", name: "OrderSettings", ofType: null, }, args: [], }, { name: "orderSettingsErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderSettingsError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderUpdateShipping", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "OrderUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "OrderVoid", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "orderErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "OrderError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Page", fields: [ { name: "attributes", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "SelectedAttribute", ofType: null, }, }, }, }, args: [], }, { name: "content", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "contentJson", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isPublished", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "pageType", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageType", ofType: null, }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "publicationDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "publishedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "title", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "PageTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "PageAttributeAssign", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageType", type: { kind: "OBJECT", name: "PageType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageAttributeUnassign", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageType", type: { kind: "OBJECT", name: "PageType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageBulkPublish", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Page", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "PageDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "PageError", fields: [ { name: "attributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "values", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageInfo", fields: [ { name: "endCursor", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "hasNextPage", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "hasPreviousPage", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "startCursor", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageReorderAttributeValues", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageTranslatableContent", fields: [ { name: "attributeValues", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeValueTranslatableContent", ofType: null, }, }, }, }, args: [], }, { name: "content", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "contentJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "title", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "PageTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "PageTranslate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "PageTranslatableContent", ofType: null, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageTranslation", fields: [ { name: "content", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "contentJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "title", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "PageType", fields: [ { name: "attributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Attribute", ofType: null, }, }, }, args: [], }, { name: "availableAttributes", type: { kind: "OBJECT", name: "AttributeCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "hasPages", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "PageTypeBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageTypeCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageTypeCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageTypeCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageType", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageTypeCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageType", type: { kind: "OBJECT", name: "PageType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageTypeDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageType", type: { kind: "OBJECT", name: "PageType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageTypeReorderAttributes", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageType", type: { kind: "OBJECT", name: "PageType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageTypeUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "pageType", type: { kind: "OBJECT", name: "PageType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "pageErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PageUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "PasswordChange", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Payment", fields: [ { name: "actions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "availableCaptureAmount", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "availableRefundAmount", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "capturedAmount", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "chargeStatus", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "creditCard", type: { kind: "OBJECT", name: "CreditCard", ofType: null, }, args: [], }, { name: "customerIpAddress", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "gateway", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isActive", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "modified", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [], }, { name: "paymentMethodType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "total", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "transactions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Transaction", ofType: null, }, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "PaymentCapture", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, { name: "payment", type: { kind: "OBJECT", name: "Payment", ofType: null, }, args: [], }, { name: "paymentErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentCheckBalance", fields: [ { name: "data", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, { name: "paymentErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Payment", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "variants", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentGateway", fields: [ { name: "config", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GatewayConfigLine", ofType: null, }, }, }, }, args: [], }, { name: "currencies", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentInitialize", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, { name: "initializedPayment", type: { kind: "OBJECT", name: "PaymentInitialized", ofType: null, }, args: [], }, { name: "paymentErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentInitialized", fields: [ { name: "data", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "gateway", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentRefund", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, { name: "payment", type: { kind: "OBJECT", name: "Payment", ofType: null, }, args: [], }, { name: "paymentErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentSource", fields: [ { name: "creditCardInfo", type: { kind: "OBJECT", name: "CreditCard", ofType: null, }, args: [], }, { name: "gateway", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "paymentMethodId", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PaymentVoid", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, { name: "payment", type: { kind: "OBJECT", name: "Payment", ofType: null, }, args: [], }, { name: "paymentErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Permission", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PermissionGroupCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PermissionGroupError", ofType: null, }, }, }, }, args: [], }, { name: "group", type: { kind: "OBJECT", name: "Group", ofType: null, }, args: [], }, { name: "permissionGroupErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PermissionGroupError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PermissionGroupDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PermissionGroupError", ofType: null, }, }, }, }, args: [], }, { name: "group", type: { kind: "OBJECT", name: "Group", ofType: null, }, args: [], }, { name: "permissionGroupErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PermissionGroupError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PermissionGroupError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "permissions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "users", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PermissionGroupUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PermissionGroupError", ofType: null, }, }, }, }, args: [], }, { name: "group", type: { kind: "OBJECT", name: "Group", ofType: null, }, args: [], }, { name: "permissionGroupErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PermissionGroupError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Plugin", fields: [ { name: "channelConfigurations", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PluginConfiguration", ofType: null, }, }, }, }, args: [], }, { name: "description", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "globalConfiguration", type: { kind: "OBJECT", name: "PluginConfiguration", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PluginConfiguration", fields: [ { name: "active", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [], }, { name: "configuration", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ConfigurationItem", ofType: null, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PluginCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PluginCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PluginCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Plugin", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PluginError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PluginUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PluginError", ofType: null, }, }, }, }, args: [], }, { name: "plugin", type: { kind: "OBJECT", name: "Plugin", ofType: null, }, args: [], }, { name: "pluginsErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PluginError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PreorderData", fields: [ { name: "endDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "globalSoldUnits", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "globalThreshold", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "PreorderThreshold", fields: [ { name: "quantity", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "soldUnits", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Product", fields: [ { name: "attributes", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "SelectedAttribute", ofType: null, }, }, }, }, args: [], }, { name: "availableForPurchase", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "availableForPurchaseAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "channelListings", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductChannelListing", ofType: null, }, }, }, args: [], }, { name: "chargeTaxes", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "collections", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Collection", ofType: null, }, }, }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "defaultVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "imageById", type: { kind: "OBJECT", name: "ProductImage", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "images", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductImage", ofType: null, }, }, }, args: [], }, { name: "isAvailable", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "address", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "isAvailableForPurchase", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "media", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, }, }, args: [], }, { name: "mediaById", type: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "pricing", type: { kind: "OBJECT", name: "ProductPricingInfo", ofType: null, }, args: [ { name: "address", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "productType", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductType", ofType: null, }, }, args: [], }, { name: "rating", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "taxType", type: { kind: "OBJECT", name: "TaxType", ofType: null, }, args: [], }, { name: "thumbnail", type: { kind: "OBJECT", name: "Image", ofType: null, }, args: [ { name: "size", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "translation", type: { kind: "OBJECT", name: "ProductTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "variants", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, }, }, args: [], }, { name: "weight", type: { kind: "OBJECT", name: "Weight", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "ProductAttributeAssign", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productType", type: { kind: "OBJECT", name: "ProductType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductAttributeAssignmentUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productType", type: { kind: "OBJECT", name: "ProductType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductAttributeUnassign", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productType", type: { kind: "OBJECT", name: "ProductType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductChannelListing", fields: [ { name: "availableForPurchase", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "availableForPurchaseAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, args: [], }, { name: "discountedPrice", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isAvailableForPurchase", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "isPublished", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "margin", type: { kind: "OBJECT", name: "Margin", ofType: null, }, args: [], }, { name: "pricing", type: { kind: "OBJECT", name: "ProductPricingInfo", ofType: null, }, args: [ { name: "address", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "publicationDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "publishedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "purchaseCost", type: { kind: "OBJECT", name: "MoneyRange", ofType: null, }, args: [], }, { name: "visibleInListings", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ProductChannelListingError", fields: [ { name: "attributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "channels", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "values", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "variants", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductChannelListingUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductChannelListingError", ofType: null, }, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productChannelListingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductChannelListingError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Product", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductCreated", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ProductDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductDeleted", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ProductError", fields: [ { name: "attributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "values", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductImage", fields: [ { name: "alt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "sortOrder", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "url", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [ { name: "size", type: { kind: "SCALAR", name: "Any", }, }, ], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductMedia", fields: [ { name: "alt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "oembedData", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "sortOrder", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "url", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [ { name: "size", type: { kind: "SCALAR", name: "Any", }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ProductMediaBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductMediaCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "media", type: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductMediaDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "media", type: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductMediaReorder", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "media", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductMediaUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "media", type: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductPricingInfo", fields: [ { name: "discount", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, { name: "discountLocalCurrency", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, { name: "onSale", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "priceRange", type: { kind: "OBJECT", name: "TaxedMoneyRange", ofType: null, }, args: [], }, { name: "priceRangeLocalCurrency", type: { kind: "OBJECT", name: "TaxedMoneyRange", ofType: null, }, args: [], }, { name: "priceRangeUndiscounted", type: { kind: "OBJECT", name: "TaxedMoneyRange", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductReorderAttributeValues", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductTranslatableContent", fields: [ { name: "attributeValues", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeValueTranslatableContent", ofType: null, }, }, }, }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "ProductTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ProductTranslate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductTranslation", fields: [ { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "descriptionJson", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoDescription", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "seoTitle", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ProductType", fields: [ { name: "assignedVariantAttributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AssignedVariantAttribute", ofType: null, }, }, }, args: [ { name: "variantSelection", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "availableAttributes", type: { kind: "OBJECT", name: "AttributeCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "hasVariants", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isDigital", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isShippingRequired", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "kind", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "productAttributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Attribute", ofType: null, }, }, }, args: [], }, { name: "products", type: { kind: "OBJECT", name: "ProductCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "taxType", type: { kind: "OBJECT", name: "TaxType", ofType: null, }, args: [], }, { name: "variantAttributes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Attribute", ofType: null, }, }, }, args: [ { name: "variantSelection", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "weight", type: { kind: "OBJECT", name: "Weight", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "ProductTypeBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductTypeCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductTypeCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductTypeCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductType", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductTypeCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productType", type: { kind: "OBJECT", name: "ProductType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductTypeDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productType", type: { kind: "OBJECT", name: "ProductType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductTypeReorderAttributes", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productType", type: { kind: "OBJECT", name: "ProductType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductTypeUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productType", type: { kind: "OBJECT", name: "ProductType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductUpdated", fields: [ { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ProductVariant", fields: [ { name: "attributes", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "SelectedAttribute", ofType: null, }, }, }, }, args: [ { name: "variantSelection", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "channelListings", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductVariantChannelListing", ofType: null, }, }, }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "digitalContent", type: { kind: "OBJECT", name: "DigitalContent", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "images", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductImage", ofType: null, }, }, }, args: [], }, { name: "margin", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "media", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "preorder", type: { kind: "OBJECT", name: "PreorderData", ofType: null, }, args: [], }, { name: "pricing", type: { kind: "OBJECT", name: "VariantPricingInfo", ofType: null, }, args: [ { name: "address", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "product", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Product", ofType: null, }, }, args: [], }, { name: "quantityAvailable", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "address", type: { kind: "SCALAR", name: "Any", }, }, { name: "countryCode", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "quantityLimitPerCustomer", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "quantityOrdered", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "revenue", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [ { name: "period", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "sku", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "stocks", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Stock", ofType: null, }, }, }, args: [ { name: "address", type: { kind: "SCALAR", name: "Any", }, }, { name: "countryCode", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "trackInventory", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "ProductVariantTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "weight", type: { kind: "OBJECT", name: "Weight", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "ProductVariantBackInStock", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ProductVariantBulkCreate", fields: [ { name: "bulkProductErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "BulkProductError", ofType: null, }, }, }, }, args: [], }, { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "BulkProductError", ofType: null, }, }, }, }, args: [], }, { name: "productVariants", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantChannelListing", fields: [ { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, args: [], }, { name: "costPrice", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "margin", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "preorderThreshold", type: { kind: "OBJECT", name: "PreorderThreshold", ofType: null, }, args: [], }, { name: "price", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ProductVariantChannelListingUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductChannelListingError", ofType: null, }, }, }, }, args: [], }, { name: "productChannelListingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductChannelListingError", ofType: null, }, }, }, }, args: [], }, { name: "variant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductVariantCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ProductVariantDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ProductVariantOutOfStock", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ProductVariantPreorderDeactivate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantReorder", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantReorderAttributeValues", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantSetDefault", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantStocksCreate", fields: [ { name: "bulkStockErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "BulkStockError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "BulkStockError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantStocksDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StockError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, { name: "stockErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StockError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantStocksUpdate", fields: [ { name: "bulkStockErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "BulkStockError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "BulkStockError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantTranslatableContent", fields: [ { name: "attributeValues", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeValueTranslatableContent", ofType: null, }, }, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "ProductVariantTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ProductVariantTranslate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantTranslation", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ProductVariantUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ProductVariantUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "Query", fields: [ { name: "_entities", type: { kind: "LIST", ofType: { kind: "UNION", name: "_Entity", ofType: null, }, }, args: [ { name: "representations", type: { kind: "LIST", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "_service", type: { kind: "OBJECT", name: "_Service", ofType: null, }, args: [], }, { name: "address", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "addressValidationRules", type: { kind: "OBJECT", name: "AddressValidationData", ofType: null, }, args: [ { name: "city", type: { kind: "SCALAR", name: "Any", }, }, { name: "cityArea", type: { kind: "SCALAR", name: "Any", }, }, { name: "countryArea", type: { kind: "SCALAR", name: "Any", }, }, { name: "countryCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "app", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "appExtension", type: { kind: "OBJECT", name: "AppExtension", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "appExtensions", type: { kind: "OBJECT", name: "AppExtensionCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "apps", type: { kind: "OBJECT", name: "AppCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "appsInstallations", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AppInstallation", ofType: null, }, }, }, }, args: [], }, { name: "attribute", type: { kind: "OBJECT", name: "Attribute", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "slug", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "attributes", type: { kind: "OBJECT", name: "AttributeCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "categories", type: { kind: "OBJECT", name: "CategoryCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "level", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "category", type: { kind: "OBJECT", name: "Category", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "slug", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "channel", type: { kind: "OBJECT", name: "Channel", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "channels", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, }, args: [], }, { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "token", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutLines", type: { kind: "OBJECT", name: "CheckoutLineCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkouts", type: { kind: "OBJECT", name: "CheckoutCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "collection", type: { kind: "OBJECT", name: "Collection", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "slug", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "collections", type: { kind: "OBJECT", name: "CollectionCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "customers", type: { kind: "OBJECT", name: "UserCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "digitalContent", type: { kind: "OBJECT", name: "DigitalContent", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "digitalContents", type: { kind: "OBJECT", name: "DigitalContentCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "draftOrders", type: { kind: "OBJECT", name: "OrderCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "exportFile", type: { kind: "OBJECT", name: "ExportFile", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "exportFiles", type: { kind: "OBJECT", name: "ExportFileCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "giftCard", type: { kind: "OBJECT", name: "GiftCard", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "giftCardCurrencies", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "giftCardSettings", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "GiftCardSettings", ofType: null, }, }, args: [], }, { name: "giftCardTags", type: { kind: "OBJECT", name: "GiftCardTagCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "giftCards", type: { kind: "OBJECT", name: "GiftCardCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "homepageEvents", type: { kind: "OBJECT", name: "OrderEventCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "me", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, { name: "menu", type: { kind: "OBJECT", name: "Menu", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "name", type: { kind: "SCALAR", name: "Any", }, }, { name: "slug", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "menuItem", type: { kind: "OBJECT", name: "MenuItem", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "menuItems", type: { kind: "OBJECT", name: "MenuItemCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "menus", type: { kind: "OBJECT", name: "MenuCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "order", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderByToken", type: { kind: "OBJECT", name: "Order", ofType: null, }, args: [ { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "orderSettings", type: { kind: "OBJECT", name: "OrderSettings", ofType: null, }, args: [], }, { name: "orders", type: { kind: "OBJECT", name: "OrderCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "ordersTotal", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "period", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "page", type: { kind: "OBJECT", name: "Page", ofType: null, }, args: [ { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "slug", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "pageType", type: { kind: "OBJECT", name: "PageType", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "pageTypes", type: { kind: "OBJECT", name: "PageTypeCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "pages", type: { kind: "OBJECT", name: "PageCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "payment", type: { kind: "OBJECT", name: "Payment", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "payments", type: { kind: "OBJECT", name: "PaymentCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "permissionGroup", type: { kind: "OBJECT", name: "Group", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "permissionGroups", type: { kind: "OBJECT", name: "GroupCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "plugin", type: { kind: "OBJECT", name: "Plugin", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "plugins", type: { kind: "OBJECT", name: "PluginCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "product", type: { kind: "OBJECT", name: "Product", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "slug", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "productType", type: { kind: "OBJECT", name: "ProductType", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "productTypes", type: { kind: "OBJECT", name: "ProductTypeCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, { name: "sku", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "productVariants", type: { kind: "OBJECT", name: "ProductVariantCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "ids", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "products", type: { kind: "OBJECT", name: "ProductCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "reportProductSales", type: { kind: "OBJECT", name: "ProductVariantCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "period", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "sales", type: { kind: "OBJECT", name: "SaleCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "query", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "shippingZones", type: { kind: "OBJECT", name: "ShippingZoneCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "shop", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Shop", ofType: null, }, }, args: [], }, { name: "staffUsers", type: { kind: "OBJECT", name: "UserCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "stock", type: { kind: "OBJECT", name: "Stock", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "stocks", type: { kind: "OBJECT", name: "StockCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "taxTypes", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TaxType", ofType: null, }, }, }, args: [], }, { name: "translation", type: { kind: "UNION", name: "TranslatableItem", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "kind", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "translations", type: { kind: "OBJECT", name: "TranslatableItemConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "kind", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [ { name: "email", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "vouchers", type: { kind: "OBJECT", name: "VoucherCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "query", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "warehouses", type: { kind: "OBJECT", name: "WarehouseCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "webhook", type: { kind: "OBJECT", name: "Webhook", ofType: null, }, args: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "webhookEvents", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookEvent", ofType: null, }, }, }, args: [], }, { name: "webhookSamplePayload", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "eventType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [], }, { kind: "OBJECT", name: "ReducedRate", fields: [ { name: "rate", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "rateType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "RefreshToken", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "token", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "RequestEmailChange", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "RequestPasswordReset", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Sale", fields: [ { name: "categories", type: { kind: "OBJECT", name: "CategoryCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "channelListings", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "SaleChannelListing", ofType: null, }, }, }, args: [], }, { name: "collections", type: { kind: "OBJECT", name: "CollectionCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "currency", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "discountValue", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "endDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "products", type: { kind: "OBJECT", name: "ProductCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "startDate", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "SaleTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "variants", type: { kind: "OBJECT", name: "ProductVariantCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "SaleAddCatalogues", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleChannelListing", fields: [ { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, args: [], }, { name: "currency", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "discountValue", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "SaleChannelListingUpdate", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "SaleCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Sale", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleCreate", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "SaleDelete", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "SaleRemoveCatalogues", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleTranslatableContent", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "SaleTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "SaleTranslate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleTranslation", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "SaleUpdate", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SaleUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "sale", type: { kind: "OBJECT", name: "Sale", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "SelectedAttribute", fields: [ { name: "attribute", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Attribute", ofType: null, }, }, args: [], }, { name: "values", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AttributeValue", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "SetPassword", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "csrfToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "refreshToken", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "token", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingError", fields: [ { name: "channels", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "warehouses", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingMethod", fields: [ { name: "active", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "maximumDeliveryDays", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "maximumOrderPrice", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "maximumOrderWeight", type: { kind: "OBJECT", name: "Weight", ofType: null, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "minimumDeliveryDays", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "minimumOrderPrice", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "minimumOrderWeight", type: { kind: "OBJECT", name: "Weight", ofType: null, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "price", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "translation", type: { kind: "OBJECT", name: "ShippingMethodTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "type", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "ShippingMethodChannelListing", fields: [ { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "maximumOrderPrice", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "minimumOrderPrice", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "price", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ShippingMethodChannelListingUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingMethodPostalCodeRule", fields: [ { name: "end", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "inclusionType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "start", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ShippingMethodTranslatableContent", fields: [ { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "ShippingMethodTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ShippingMethodTranslation", fields: [ { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "ShippingMethodType", fields: [ { name: "channelListings", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingMethodChannelListing", ofType: null, }, }, }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "excludedProducts", type: { kind: "OBJECT", name: "ProductCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "maximumDeliveryDays", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "maximumOrderPrice", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "maximumOrderWeight", type: { kind: "OBJECT", name: "Weight", ofType: null, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "minimumDeliveryDays", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "minimumOrderPrice", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "minimumOrderWeight", type: { kind: "OBJECT", name: "Weight", ofType: null, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "postalCodeRules", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingMethodPostalCodeRule", ofType: null, }, }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "translation", type: { kind: "OBJECT", name: "ShippingMethodTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "type", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "ShippingPriceBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingPriceCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingPriceCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ShippingPriceDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingPriceDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ShippingPriceExcludeProducts", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingPriceRemoveProductFromExclude", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingPriceTranslate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingPriceUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingPriceUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "shippingMethod", type: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ShippingZone", fields: [ { name: "channels", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, }, }, args: [], }, { name: "countries", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CountryDisplay", ofType: null, }, }, }, }, args: [], }, { name: "default", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "priceRange", type: { kind: "OBJECT", name: "MoneyRange", ofType: null, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "shippingMethods", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingMethodType", ofType: null, }, }, }, args: [], }, { name: "warehouses", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Warehouse", ofType: null, }, }, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "ShippingZoneBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingZoneCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingZoneCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingZoneCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingZoneCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingZoneCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ShippingZoneDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingZoneDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "ShippingZoneUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingError", ofType: null, }, }, }, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShippingZoneUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "shippingZone", type: { kind: "OBJECT", name: "ShippingZone", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "Shop", fields: [ { name: "automaticFulfillmentDigitalProducts", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "availableExternalAuthentications", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ExternalAuthentication", ofType: null, }, }, }, }, args: [], }, { name: "availablePaymentGateways", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentGateway", ofType: null, }, }, }, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, { name: "currency", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "availableShippingMethods", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingMethod", ofType: null, }, }, }, args: [ { name: "address", type: { kind: "SCALAR", name: "Any", }, }, { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "channelCurrencies", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "chargeTaxesOnShipping", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "companyAddress", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "countries", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CountryDisplay", ofType: null, }, }, }, }, args: [ { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "languageCode", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "customerSetPasswordUrl", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "defaultCountry", type: { kind: "OBJECT", name: "CountryDisplay", ofType: null, }, args: [], }, { name: "defaultDigitalMaxDownloads", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "defaultDigitalUrlValidDays", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "defaultMailSenderAddress", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "defaultMailSenderName", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "defaultWeightUnit", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "displayGrossPrices", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "domain", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Domain", ofType: null, }, }, args: [], }, { name: "fulfillmentAllowUnpaid", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "fulfillmentAutoApprove", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "headerText", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "includeTaxesInPrices", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "languages", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, }, }, args: [], }, { name: "limitQuantityPerCheckout", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "limits", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LimitInfo", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "permissions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Permission", ofType: null, }, }, }, }, args: [], }, { name: "phonePrefixes", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "reserveStockDurationAnonymousUser", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "reserveStockDurationAuthenticatedUser", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "staffNotificationRecipients", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffNotificationRecipient", ofType: null, }, }, }, args: [], }, { name: "trackInventoryByDefault", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "ShopTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "version", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShopAddressUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "shop", type: { kind: "OBJECT", name: "Shop", ofType: null, }, args: [], }, { name: "shopErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShopDomainUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "shop", type: { kind: "OBJECT", name: "Shop", ofType: null, }, args: [], }, { name: "shopErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShopError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShopFetchTaxRates", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "shop", type: { kind: "OBJECT", name: "Shop", ofType: null, }, args: [], }, { name: "shopErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShopSettingsTranslate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "shop", type: { kind: "OBJECT", name: "Shop", ofType: null, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShopSettingsUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "shop", type: { kind: "OBJECT", name: "Shop", ofType: null, }, args: [], }, { name: "shopErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "ShopTranslation", fields: [ { name: "description", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "headerText", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "StaffBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffError", ofType: null, }, }, }, }, args: [], }, { name: "staffErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StaffCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffError", ofType: null, }, }, }, }, args: [], }, { name: "staffErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StaffDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffError", ofType: null, }, }, }, }, args: [], }, { name: "staffErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StaffError", fields: [ { name: "addressType", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "groups", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "permissions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, { name: "users", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StaffNotificationRecipient", fields: [ { name: "active", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "email", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "StaffNotificationRecipientCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "shopErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "staffNotificationRecipient", type: { kind: "OBJECT", name: "StaffNotificationRecipient", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StaffNotificationRecipientDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "shopErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "staffNotificationRecipient", type: { kind: "OBJECT", name: "StaffNotificationRecipient", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StaffNotificationRecipientUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "shopErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShopError", ofType: null, }, }, }, }, args: [], }, { name: "staffNotificationRecipient", type: { kind: "OBJECT", name: "StaffNotificationRecipient", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StaffUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffError", ofType: null, }, }, }, }, args: [], }, { name: "staffErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StaffError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Stock", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "productVariant", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, }, args: [], }, { name: "quantity", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "quantityAllocated", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "quantityReserved", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "warehouse", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Warehouse", ofType: null, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "StockCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "StockCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StockCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Stock", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "StockError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Subscription", fields: [ { name: "event", type: { kind: "INTERFACE", name: "Event", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TaxType", fields: [ { name: "description", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "taxCode", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TaxedMoney", fields: [ { name: "currency", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "gross", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "net", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "tax", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TaxedMoneyRange", fields: [ { name: "start", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, { name: "stop", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TimePeriod", fields: [ { name: "amount", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Transaction", fields: [ { name: "amount", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "created", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "error", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "gatewayResponse", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isSuccess", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "kind", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "payment", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Payment", ofType: null, }, }, args: [], }, { name: "token", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "TransactionAction", fields: [ { name: "actionType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "amount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TransactionActionRequest", fields: [ { name: "action", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TransactionAction", ofType: null, }, }, args: [], }, { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "transaction", type: { kind: "OBJECT", name: "TransactionItem", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "TransactionCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TransactionCreateError", ofType: null, }, }, }, }, args: [], }, { name: "transaction", type: { kind: "OBJECT", name: "TransactionItem", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TransactionCreateError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TransactionEvent", fields: [ { name: "createdAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "reference", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "TransactionItem", fields: [ { name: "actions", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, args: [], }, { name: "authorizedAmount", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "chargedAmount", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "createdAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "events", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TransactionEvent", ofType: null, }, }, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "modifiedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "reference", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "refundedAmount", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, { name: "status", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "voidedAmount", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Money", ofType: null, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "TransactionRequestAction", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TransactionRequestActionError", ofType: null, }, }, }, }, args: [], }, { name: "transaction", type: { kind: "OBJECT", name: "TransactionItem", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TransactionRequestActionError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TransactionUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TransactionUpdateError", ofType: null, }, }, }, }, args: [], }, { name: "transaction", type: { kind: "OBJECT", name: "TransactionItem", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TransactionUpdateError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "UNION", name: "TranslatableItem", possibleTypes: [ { kind: "OBJECT", name: "AttributeTranslatableContent", }, { kind: "OBJECT", name: "AttributeValueTranslatableContent", }, { kind: "OBJECT", name: "CategoryTranslatableContent", }, { kind: "OBJECT", name: "CollectionTranslatableContent", }, { kind: "OBJECT", name: "MenuItemTranslatableContent", }, { kind: "OBJECT", name: "PageTranslatableContent", }, { kind: "OBJECT", name: "ProductTranslatableContent", }, { kind: "OBJECT", name: "ProductVariantTranslatableContent", }, { kind: "OBJECT", name: "SaleTranslatableContent", }, { kind: "OBJECT", name: "ShippingMethodTranslatableContent", }, { kind: "OBJECT", name: "VoucherTranslatableContent", }, ], }, { kind: "OBJECT", name: "TranslatableItemConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslatableItemEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TranslatableItemEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "UNION", name: "TranslatableItem", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "TranslationCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "translation", type: { kind: "UNION", name: "TranslationTypes", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "TranslationError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "UNION", name: "TranslationTypes", possibleTypes: [ { kind: "OBJECT", name: "AttributeTranslation", }, { kind: "OBJECT", name: "AttributeValueTranslation", }, { kind: "OBJECT", name: "CategoryTranslation", }, { kind: "OBJECT", name: "CollectionTranslation", }, { kind: "OBJECT", name: "MenuItemTranslation", }, { kind: "OBJECT", name: "PageTranslation", }, { kind: "OBJECT", name: "ProductTranslation", }, { kind: "OBJECT", name: "ProductVariantTranslation", }, { kind: "OBJECT", name: "SaleTranslation", }, { kind: "OBJECT", name: "ShippingMethodTranslation", }, { kind: "OBJECT", name: "VoucherTranslation", }, ], }, { kind: "OBJECT", name: "TranslationUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "translation", type: { kind: "UNION", name: "TranslationTypes", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "UpdateMetadata", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataError", ofType: null, }, }, }, }, args: [], }, { name: "item", type: { kind: "INTERFACE", name: "ObjectWithMetadata", ofType: null, }, args: [], }, { name: "metadataErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "UpdatePrivateMetadata", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataError", ofType: null, }, }, }, }, args: [], }, { name: "item", type: { kind: "INTERFACE", name: "ObjectWithMetadata", ofType: null, }, args: [], }, { name: "metadataErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "UploadError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "User", fields: [ { name: "addresses", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Address", ofType: null, }, }, }, args: [], }, { name: "avatar", type: { kind: "OBJECT", name: "Image", ofType: null, }, args: [ { name: "size", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkout", type: { kind: "OBJECT", name: "Checkout", ofType: null, }, args: [], }, { name: "checkoutIds", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "checkoutTokens", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "dateJoined", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "defaultBillingAddress", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "defaultShippingAddress", type: { kind: "OBJECT", name: "Address", ofType: null, }, args: [], }, { name: "editableGroups", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Group", ofType: null, }, }, }, args: [], }, { name: "email", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "events", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CustomerEvent", ofType: null, }, }, }, args: [], }, { name: "firstName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "giftCards", type: { kind: "OBJECT", name: "GiftCardCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isActive", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isStaff", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "lastLogin", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "lastName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "note", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "orders", type: { kind: "OBJECT", name: "OrderCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "permissionGroups", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Group", ofType: null, }, }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "storedPaymentSources", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PaymentSource", ofType: null, }, }, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "updatedAt", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "userPermissions", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "UserPermission", ofType: null, }, }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "UserAvatarDelete", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "UserAvatarUpdate", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "UserBulkSetActive", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "UserCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "UserCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "UserCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "User", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "UserPermission", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "sourcePermissionGroups", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Group", ofType: null, }, }, }, args: [ { name: "userId", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, ], interfaces: [], }, { kind: "OBJECT", name: "VAT", fields: [ { name: "countryCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "reducedRates", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ReducedRate", ofType: null, }, }, }, }, args: [], }, { name: "standardRate", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VariantMediaAssign", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "media", type: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VariantMediaUnassign", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "media", type: { kind: "OBJECT", name: "ProductMedia", ofType: null, }, args: [], }, { name: "productErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ProductError", ofType: null, }, }, }, }, args: [], }, { name: "productVariant", type: { kind: "OBJECT", name: "ProductVariant", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VariantPricingInfo", fields: [ { name: "discount", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, { name: "discountLocalCurrency", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, { name: "onSale", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "price", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, { name: "priceLocalCurrency", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, { name: "priceUndiscounted", type: { kind: "OBJECT", name: "TaxedMoney", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VerifyToken", fields: [ { name: "accountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "AccountError", ofType: null, }, }, }, }, args: [], }, { name: "isValid", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "payload", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "user", type: { kind: "OBJECT", name: "User", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Voucher", fields: [ { name: "applyOncePerCustomer", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "applyOncePerOrder", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "categories", type: { kind: "OBJECT", name: "CategoryCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "channelListings", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "VoucherChannelListing", ofType: null, }, }, }, args: [], }, { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "collections", type: { kind: "OBJECT", name: "CollectionCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "countries", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "CountryDisplay", ofType: null, }, }, }, args: [], }, { name: "currency", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "discountValue", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "discountValueType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "endDate", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "minCheckoutItemsQuantity", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "minSpent", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "onlyForStaff", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "products", type: { kind: "OBJECT", name: "ProductCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "startDate", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "VoucherTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "type", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "usageLimit", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "used", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "variants", type: { kind: "OBJECT", name: "ProductVariantCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "VoucherAddCatalogues", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherBulkDelete", fields: [ { name: "count", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherChannelListing", fields: [ { name: "channel", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Channel", ofType: null, }, }, args: [], }, { name: "currency", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "discountValue", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "minSpent", type: { kind: "OBJECT", name: "Money", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "VoucherChannelListingUpdate", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "VoucherCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Voucher", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherCreate", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "VoucherDelete", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "VoucherRemoveCatalogues", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherTranslatableContent", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "translation", type: { kind: "OBJECT", name: "VoucherTranslation", ofType: null, }, args: [ { name: "languageCode", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "VoucherTranslate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "translationErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "TranslationError", ofType: null, }, }, }, }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherTranslation", fields: [ { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "language", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "LanguageDisplay", ofType: null, }, }, args: [], }, { name: "name", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "VoucherUpdate", fields: [ { name: "discountErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "DiscountError", ofType: null, }, }, }, }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "VoucherUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "voucher", type: { kind: "OBJECT", name: "Voucher", ofType: null, }, args: [ { name: "channel", type: { kind: "SCALAR", name: "Any", }, }, ], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "Warehouse", fields: [ { name: "address", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Address", ofType: null, }, }, args: [], }, { name: "clickAndCollectOption", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "companyName", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "email", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isPrivate", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "metadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "metafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "metafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "privateMetadata", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "MetadataItem", ofType: null, }, }, }, }, args: [], }, { name: "privateMetafield", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "key", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, ], }, { name: "privateMetafields", type: { kind: "SCALAR", name: "Any", }, args: [ { name: "keys", type: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, }, }, ], }, { name: "shippingZones", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "ShippingZoneCountableConnection", ofType: null, }, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "slug", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, { kind: "INTERFACE", name: "ObjectWithMetadata", }, ], }, { kind: "OBJECT", name: "WarehouseCountableConnection", fields: [ { name: "edges", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseCountableEdge", ofType: null, }, }, }, }, args: [], }, { name: "pageInfo", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "PageInfo", ofType: null, }, }, args: [], }, { name: "totalCount", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WarehouseCountableEdge", fields: [ { name: "cursor", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "node", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "Warehouse", ofType: null, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WarehouseCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, { name: "warehouseErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WarehouseCreated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "WarehouseDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, { name: "warehouseErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WarehouseDeleted", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "WarehouseError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WarehouseShippingZoneAssign", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, { name: "warehouseErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WarehouseShippingZoneUnassign", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, { name: "warehouseErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WarehouseUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, { name: "warehouseErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WarehouseError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WarehouseUpdated", fields: [ { name: "issuedAt", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "issuingPrincipal", type: { kind: "UNION", name: "IssuingPrincipal", ofType: null, }, args: [], }, { name: "recipient", type: { kind: "OBJECT", name: "App", ofType: null, }, args: [], }, { name: "version", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "warehouse", type: { kind: "OBJECT", name: "Warehouse", ofType: null, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Event", }, ], }, { kind: "OBJECT", name: "Webhook", fields: [ { name: "app", type: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "App", ofType: null, }, }, args: [], }, { name: "asyncEvents", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookEventAsync", ofType: null, }, }, }, }, args: [], }, { name: "eventDeliveries", type: { kind: "OBJECT", name: "EventDeliveryCountableConnection", ofType: null, }, args: [ { name: "after", type: { kind: "SCALAR", name: "Any", }, }, { name: "before", type: { kind: "SCALAR", name: "Any", }, }, { name: "filter", type: { kind: "SCALAR", name: "Any", }, }, { name: "first", type: { kind: "SCALAR", name: "Any", }, }, { name: "last", type: { kind: "SCALAR", name: "Any", }, }, { name: "sortBy", type: { kind: "SCALAR", name: "Any", }, }, ], }, { name: "events", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookEvent", ofType: null, }, }, }, }, args: [], }, { name: "id", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "isActive", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "secretKey", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "subscriptionQuery", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "syncEvents", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookEventSync", ofType: null, }, }, }, }, args: [], }, { name: "targetUrl", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [ { kind: "INTERFACE", name: "Node", }, ], }, { kind: "OBJECT", name: "WebhookCreate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookError", ofType: null, }, }, }, }, args: [], }, { name: "webhook", type: { kind: "OBJECT", name: "Webhook", ofType: null, }, args: [], }, { name: "webhookErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WebhookDelete", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookError", ofType: null, }, }, }, }, args: [], }, { name: "webhook", type: { kind: "OBJECT", name: "Webhook", ofType: null, }, args: [], }, { name: "webhookErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WebhookError", fields: [ { name: "code", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "field", type: { kind: "SCALAR", name: "Any", }, args: [], }, { name: "message", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WebhookEvent", fields: [ { name: "eventType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WebhookEventAsync", fields: [ { name: "eventType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WebhookEventSync", fields: [ { name: "eventType", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "name", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "WebhookUpdate", fields: [ { name: "errors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookError", ofType: null, }, }, }, }, args: [], }, { name: "webhook", type: { kind: "OBJECT", name: "Webhook", ofType: null, }, args: [], }, { name: "webhookErrors", type: { kind: "NON_NULL", ofType: { kind: "LIST", ofType: { kind: "NON_NULL", ofType: { kind: "OBJECT", name: "WebhookError", ofType: null, }, }, }, }, args: [], }, ], interfaces: [], }, { kind: "OBJECT", name: "Weight", fields: [ { name: "unit", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, { name: "value", type: { kind: "NON_NULL", ofType: { kind: "SCALAR", name: "Any", }, }, args: [], }, ], interfaces: [], }, { kind: "UNION", name: "_Entity", possibleTypes: [ { kind: "OBJECT", name: "Address", }, { kind: "OBJECT", name: "App", }, { kind: "OBJECT", name: "Category", }, { kind: "OBJECT", name: "Collection", }, { kind: "OBJECT", name: "Group", }, { kind: "OBJECT", name: "PageType", }, { kind: "OBJECT", name: "Product", }, { kind: "OBJECT", name: "ProductMedia", }, { kind: "OBJECT", name: "ProductType", }, { kind: "OBJECT", name: "ProductVariant", }, { kind: "OBJECT", name: "User", }, ], }, { kind: "OBJECT", name: "_Service", fields: [ { name: "sdl", type: { kind: "SCALAR", name: "Any", }, args: [], }, ], interfaces: [], }, { kind: "SCALAR", name: "Any", }, ], directives: [], }, } as unknown as IntrospectionQuery; export const UntypedOrderCreatedWebhookPayloadFragmentDoc = gql` fragment OrderCreatedWebhookPayload on OrderCreated { order { id number user { email firstName lastName } shippingAddress { streetAddress1 city postalCode country { country } } subtotal { gross { amount currency } } shippingPrice { gross { amount currency } } total { gross { amount currency } } } } `; export const UntypedUpdateAppMetadataDocument = gql` mutation UpdateAppMetadata($id: ID!, $input: [MetadataInput!]!) { updatePrivateMetadata(id: $id, input: $input) { item { privateMetadata { key value } } } } `; export function useUpdateAppMetadataMutation() { return Urql.useMutation( UntypedUpdateAppMetadataDocument ); } export const UntypedFetchAppDetailsDocument = gql` query FetchAppDetails { app { id privateMetadata { key value } } } `; export function useFetchAppDetailsQuery( options?: Omit, "query"> ) { return Urql.useQuery({ query: UntypedFetchAppDetailsDocument, ...options, }); } export const UntypedOrderCreatedDocument = gql` subscription OrderCreated { event { ...OrderCreatedWebhookPayload } } ${UntypedOrderCreatedWebhookPayloadFragmentDoc} `; export function useOrderCreatedSubscription( options: Omit, "query"> = {}, handler?: Urql.SubscriptionHandler ) { return Urql.useSubscription( { query: UntypedOrderCreatedDocument, ...options }, handler ); } export const OrderCreatedWebhookPayloadFragmentDoc = { kind: "Document", definitions: [ { kind: "FragmentDefinition", name: { kind: "Name", value: "OrderCreatedWebhookPayload" }, typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrderCreated" } }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "order" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "number" } }, { kind: "Field", name: { kind: "Name", value: "user" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "firstName" } }, { kind: "Field", name: { kind: "Name", value: "lastName" } }, ], }, }, { kind: "Field", name: { kind: "Name", value: "shippingAddress" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "streetAddress1" } }, { kind: "Field", name: { kind: "Name", value: "city" } }, { kind: "Field", name: { kind: "Name", value: "postalCode" } }, { kind: "Field", name: { kind: "Name", value: "country" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "country" } }], }, }, ], }, }, { kind: "Field", name: { kind: "Name", value: "subtotal" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "gross" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "amount" } }, { kind: "Field", name: { kind: "Name", value: "currency" } }, ], }, }, ], }, }, { kind: "Field", name: { kind: "Name", value: "shippingPrice" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "gross" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "amount" } }, { kind: "Field", name: { kind: "Name", value: "currency" } }, ], }, }, ], }, }, { kind: "Field", name: { kind: "Name", value: "total" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "gross" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "amount" } }, { kind: "Field", name: { kind: "Name", value: "currency" } }, ], }, }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const UpdateAppMetadataDocument = { kind: "Document", definitions: [ { kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdateAppMetadata" }, variableDefinitions: [ { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } }, }, }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "input" } }, type: { kind: "NonNullType", type: { kind: "ListType", type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "MetadataInput" } }, }, }, }, }, ], selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "updatePrivateMetadata" }, arguments: [ { kind: "Argument", name: { kind: "Name", value: "id" }, value: { kind: "Variable", name: { kind: "Name", value: "id" } }, }, { kind: "Argument", name: { kind: "Name", value: "input" }, value: { kind: "Variable", name: { kind: "Name", value: "input" } }, }, ], selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "item" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "privateMetadata" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "key" } }, { kind: "Field", name: { kind: "Name", value: "value" } }, ], }, }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const FetchAppDetailsDocument = { kind: "Document", definitions: [ { kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchAppDetails" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "app" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "privateMetadata" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "key" } }, { kind: "Field", name: { kind: "Name", value: "value" } }, ], }, }, ], }, }, ], }, }, ], } as unknown as DocumentNode; export const OrderCreatedDocument = { kind: "Document", definitions: [ { kind: "OperationDefinition", operation: "subscription", name: { kind: "Name", value: "OrderCreated" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "Field", name: { kind: "Name", value: "event" }, selectionSet: { kind: "SelectionSet", selections: [ { kind: "FragmentSpread", name: { kind: "Name", value: "OrderCreatedWebhookPayload" }, }, ], }, }, ], }, }, ...OrderCreatedWebhookPayloadFragmentDoc.definitions, ], } as unknown as DocumentNode;