import { GraphQLClient } from 'graphql-request'; import * as Dom from 'graphql-request/dist/types.dom'; export declare type Maybe = T | null; export declare type InputMaybe = Maybe; export declare type Exact = { [K in keyof T]: T[K]; }; export declare type MakeOptional = Omit & { [SubKey in K]?: Maybe; }; export declare type MakeMaybe = Omit & { [SubKey in K]: Maybe; }; /** All built-in and custom scalars, mapped to their actual values */ export declare type Scalars = { ID: string; String: string; Boolean: boolean; Int: number; Float: number; Color: unknown; DateTime: string; Decimal: string; HTML: unknown; JSON: unknown; URL: string; UnsignedInt64: unknown; }; /** * A version of the API, as defined by [Shopify API versioning](https://shopify.dev/api/usage/versioning). * Versions are commonly referred to by their handle (for example, `2021-10`). * */ export declare type ApiVersion = { /** The human-readable name of the version. */ readonly displayName: Scalars['String']; /** The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle. */ readonly handle: Scalars['String']; /** Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning). */ readonly supported: Scalars['Boolean']; }; /** * The input fields for submitting Apple Pay payment method information for checkout. * */ export declare type ApplePayWalletContentInput = { /** The customer's billing address. */ readonly billingAddress: MailingAddressInput; /** The data for the Apple Pay wallet. */ readonly data: Scalars['String']; /** The header data for the Apple Pay wallet. */ readonly header: ApplePayWalletHeaderInput; /** The last digits of the card used to create the payment. */ readonly lastDigits?: InputMaybe; /** The signature for the Apple Pay wallet. */ readonly signature: Scalars['String']; /** The version for the Apple Pay wallet. */ readonly version: Scalars['String']; }; /** * The input fields for submitting wallet payment method information for checkout. * */ export declare type ApplePayWalletHeaderInput = { /** The application data for the Apple Pay wallet. */ readonly applicationData?: InputMaybe; /** The ephemeral public key for the Apple Pay wallet. */ readonly ephemeralPublicKey: Scalars['String']; /** The public key hash for the Apple Pay wallet. */ readonly publicKeyHash: Scalars['String']; /** The transaction ID for the Apple Pay wallet. */ readonly transactionId: Scalars['String']; }; /** Details about the gift card used on the checkout. */ export declare type AppliedGiftCard = Node & { /** The amount that was taken from the gift card by applying it. */ readonly amountUsed: MoneyV2; /** * The amount that was taken from the gift card by applying it. * @deprecated Use `amountUsed` instead. */ readonly amountUsedV2: MoneyV2; /** The amount left on the gift card. */ readonly balance: MoneyV2; /** * The amount left on the gift card. * @deprecated Use `balance` instead. */ readonly balanceV2: MoneyV2; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The last characters of the gift card. */ readonly lastCharacters: Scalars['String']; /** The amount that was applied to the checkout in its currency. */ readonly presentmentAmountUsed: MoneyV2; }; /** An article in an online store blog. */ export declare type Article = HasMetafields & Node & OnlineStorePublishable & Trackable & { /** * The article's author. * @deprecated Use `authorV2` instead. */ readonly author: ArticleAuthor; /** The article's author. */ readonly authorV2?: Maybe; /** The blog that the article belongs to. */ readonly blog: Blog; /** List of comments posted on the article. */ readonly comments: CommentConnection; /** Stripped content of the article, single line with HTML tags removed. */ readonly content: Scalars['String']; /** The content of the article, complete with HTML formatting. */ readonly contentHtml: Scalars['HTML']; /** Stripped excerpt of the article, single line with HTML tags removed. */ readonly excerpt?: Maybe; /** The excerpt of the article, complete with HTML formatting. */ readonly excerptHtml?: Maybe; /** * A human-friendly unique string for the Article automatically generated from its title. * */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The image associated with the article. */ readonly image?: Maybe; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */ readonly onlineStoreUrl?: Maybe; /** The date and time when the article was published. */ readonly publishedAt: Scalars['DateTime']; /** The article’s SEO information. */ readonly seo?: Maybe; /** A categorization that a article can be tagged with. */ readonly tags: ReadonlyArray; /** The article’s name. */ readonly title: Scalars['String']; /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */ readonly trackingParameters?: Maybe; }; /** An article in an online store blog. */ export declare type ArticleCommentsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** An article in an online store blog. */ export declare type ArticleContentArgs = { truncateAt?: InputMaybe; }; /** An article in an online store blog. */ export declare type ArticleExcerptArgs = { truncateAt?: InputMaybe; }; /** An article in an online store blog. */ export declare type ArticleMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** An article in an online store blog. */ export declare type ArticleMetafieldsArgs = { identifiers: ReadonlyArray; }; /** The author of an article. */ export declare type ArticleAuthor = { /** The author's bio. */ readonly bio?: Maybe; /** The author’s email. */ readonly email: Scalars['String']; /** The author's first name. */ readonly firstName: Scalars['String']; /** The author's last name. */ readonly lastName: Scalars['String']; /** The author's full name. */ readonly name: Scalars['String']; }; /** * An auto-generated type for paginating through multiple Articles. * */ export declare type ArticleConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in ArticleEdge. */ readonly nodes: ReadonlyArray
; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one Article and a cursor during pagination. * */ export declare type ArticleEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of ArticleEdge. */ readonly node: Article; }; /** The set of valid sort keys for the Article query. */ export declare enum ArticleSortKeys { /** Sort by the `author` value. */ Author = "AUTHOR", /** Sort by the `blog_title` value. */ BlogTitle = "BLOG_TITLE", /** Sort by the `id` value. */ Id = "ID", /** Sort by the `published_at` value. */ PublishedAt = "PUBLISHED_AT", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE", /** Sort by the `title` value. */ Title = "TITLE", /** Sort by the `updated_at` value. */ UpdatedAt = "UPDATED_AT" } /** Represents a generic custom attribute. */ export declare type Attribute = { /** Key or name of the attribute. */ readonly key: Scalars['String']; /** Value of the attribute. */ readonly value?: Maybe; }; /** The input fields for an attribute. */ export declare type AttributeInput = { /** Key or name of the attribute. */ readonly key: Scalars['String']; /** Value of the attribute. */ readonly value: Scalars['String']; }; /** * Automatic discount applications capture the intentions of a discount that was automatically applied. * */ export declare type AutomaticDiscountApplication = DiscountApplication & { /** The method by which the discount's value is allocated to its entitled items. */ readonly allocationMethod: DiscountApplicationAllocationMethod; /** Which lines of targetType that the discount is allocated over. */ readonly targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ readonly targetType: DiscountApplicationTargetType; /** The title of the application. */ readonly title: Scalars['String']; /** The value of the discount application. */ readonly value: PricingValue; }; /** A collection of available shipping rates for a checkout. */ export declare type AvailableShippingRates = { /** * Whether or not the shipping rates are ready. * The `shippingRates` field is `null` when this value is `false`. * This field should be polled until its value becomes `true`. * */ readonly ready: Scalars['Boolean']; /** The fetched shipping rates. `null` until the `ready` field is `true`. */ readonly shippingRates?: Maybe>; }; /** Represents a cart line common fields. */ export declare type BaseCartLine = { /** An attribute associated with the cart line. */ readonly attribute?: Maybe; /** The attributes associated with the cart line. Attributes are represented as key-value pairs. */ readonly attributes: ReadonlyArray; /** The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout. */ readonly cost: CartLineCost; /** The discounts that have been applied to the cart line. */ readonly discountAllocations: ReadonlyArray; /** * The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout. * @deprecated Use `cost` instead. */ readonly estimatedCost: CartLineEstimatedCost; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The merchandise that the buyer intends to purchase. */ readonly merchandise: Merchandise; /** The quantity of the merchandise that the customer intends to purchase. */ readonly quantity: Scalars['Int']; /** The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased. */ readonly sellingPlanAllocation?: Maybe; }; /** Represents a cart line common fields. */ export declare type BaseCartLineAttributeArgs = { key: Scalars['String']; }; /** * An auto-generated type for paginating through multiple BaseCartLines. * */ export declare type BaseCartLineConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in BaseCartLineEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one BaseCartLine and a cursor during pagination. * */ export declare type BaseCartLineEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of BaseCartLineEdge. */ readonly node: BaseCartLine; }; /** An online store blog. */ export declare type Blog = HasMetafields & Node & OnlineStorePublishable & { /** Find an article by its handle. */ readonly articleByHandle?: Maybe
; /** List of the blog's articles. */ readonly articles: ArticleConnection; /** The authors who have contributed to the blog. */ readonly authors: ReadonlyArray; /** * A human-friendly unique string for the Blog automatically generated from its title. * */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */ readonly onlineStoreUrl?: Maybe; /** The blog's SEO information. */ readonly seo?: Maybe; /** The blogs’s title. */ readonly title: Scalars['String']; }; /** An online store blog. */ export declare type BlogArticleByHandleArgs = { handle: Scalars['String']; }; /** An online store blog. */ export declare type BlogArticlesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** An online store blog. */ export declare type BlogMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** An online store blog. */ export declare type BlogMetafieldsArgs = { identifiers: ReadonlyArray; }; /** * An auto-generated type for paginating through multiple Blogs. * */ export declare type BlogConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in BlogEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one Blog and a cursor during pagination. * */ export declare type BlogEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of BlogEdge. */ readonly node: Blog; }; /** The set of valid sort keys for the Blog query. */ export declare enum BlogSortKeys { /** Sort by the `handle` value. */ Handle = "HANDLE", /** Sort by the `id` value. */ Id = "ID", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE", /** Sort by the `title` value. */ Title = "TITLE" } /** * The store's [branding configuration](https://help.shopify.com/en/manual/promoting-marketing/managing-brand-assets). * */ export declare type Brand = { /** The colors of the store's brand. */ readonly colors: BrandColors; /** The store's cover image. */ readonly coverImage?: Maybe; /** The store's default logo. */ readonly logo?: Maybe; /** The store's short description. */ readonly shortDescription?: Maybe; /** The store's slogan. */ readonly slogan?: Maybe; /** The store's preferred logo for square UI elements. */ readonly squareLogo?: Maybe; }; /** * A group of related colors for the shop's brand. * */ export declare type BrandColorGroup = { /** The background color. */ readonly background?: Maybe; /** The foreground color. */ readonly foreground?: Maybe; }; /** * The colors of the shop's brand. * */ export declare type BrandColors = { /** The shop's primary brand colors. */ readonly primary: ReadonlyArray; /** The shop's secondary brand colors. */ readonly secondary: ReadonlyArray; }; /** Card brand, such as Visa or Mastercard, which can be used for payments. */ export declare enum CardBrand { /** American Express. */ AmericanExpress = "AMERICAN_EXPRESS", /** Diners Club. */ DinersClub = "DINERS_CLUB", /** Discover. */ Discover = "DISCOVER", /** JCB. */ Jcb = "JCB", /** Mastercard. */ Mastercard = "MASTERCARD", /** Visa. */ Visa = "VISA" } /** * A cart represents the merchandise that a buyer intends to purchase, * and the estimated cost associated with the cart. Learn how to * [interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing) * during a customer's session. * */ export declare type Cart = HasMetafields & Node & { /** An attribute associated with the cart. */ readonly attribute?: Maybe; /** The attributes associated with the cart. Attributes are represented as key-value pairs. */ readonly attributes: ReadonlyArray; /** Information about the buyer that is interacting with the cart. */ readonly buyerIdentity: CartBuyerIdentity; /** The URL of the checkout for the cart. */ readonly checkoutUrl: Scalars['URL']; /** The estimated costs that the buyer will pay at checkout. The costs are subject to change and changes will be reflected at checkout. The `cost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing). */ readonly cost: CartCost; /** The date and time when the cart was created. */ readonly createdAt: Scalars['DateTime']; /** * The delivery groups available for the cart, based on the buyer identity default * delivery address preference or the default address of the logged-in customer. * */ readonly deliveryGroups: CartDeliveryGroupConnection; /** The discounts that have been applied to the entire cart. */ readonly discountAllocations: ReadonlyArray; /** * The case-insensitive discount codes that the customer added at checkout. * */ readonly discountCodes: ReadonlyArray; /** * The estimated costs that the buyer will pay at checkout. * The estimated costs are subject to change and changes will be reflected at checkout. * The `estimatedCost` field uses the `buyerIdentity` field to determine * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing). * * @deprecated Use `cost` instead. */ readonly estimatedCost: CartEstimatedCost; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** A list of lines containing information about the items the customer intends to purchase. */ readonly lines: BaseCartLineConnection; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** A note that is associated with the cart. For example, the note can be a personalized message to the buyer. */ readonly note?: Maybe; /** The total number of items in the cart. */ readonly totalQuantity: Scalars['Int']; /** The date and time when the cart was updated. */ readonly updatedAt: Scalars['DateTime']; }; /** * A cart represents the merchandise that a buyer intends to purchase, * and the estimated cost associated with the cart. Learn how to * [interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing) * during a customer's session. * */ export declare type CartAttributeArgs = { key: Scalars['String']; }; /** * A cart represents the merchandise that a buyer intends to purchase, * and the estimated cost associated with the cart. Learn how to * [interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing) * during a customer's session. * */ export declare type CartDeliveryGroupsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** * A cart represents the merchandise that a buyer intends to purchase, * and the estimated cost associated with the cart. Learn how to * [interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing) * during a customer's session. * */ export declare type CartLinesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** * A cart represents the merchandise that a buyer intends to purchase, * and the estimated cost associated with the cart. Learn how to * [interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing) * during a customer's session. * */ export declare type CartMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** * A cart represents the merchandise that a buyer intends to purchase, * and the estimated cost associated with the cart. Learn how to * [interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing) * during a customer's session. * */ export declare type CartMetafieldsArgs = { identifiers: ReadonlyArray; }; /** Return type for `cartAttributesUpdate` mutation. */ export declare type CartAttributesUpdatePayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** The discounts automatically applied to the cart line based on prerequisites that have been met. */ export declare type CartAutomaticDiscountAllocation = CartDiscountAllocation & { /** The discounted amount that has been applied to the cart line. */ readonly discountedAmount: MoneyV2; /** The title of the allocated discount. */ readonly title: Scalars['String']; }; /** Represents information about the buyer that is interacting with the cart. */ export declare type CartBuyerIdentity = { /** The country where the buyer is located. */ readonly countryCode?: Maybe; /** The customer account associated with the cart. */ readonly customer?: Maybe; /** * An ordered set of delivery addresses tied to the buyer that is interacting with the cart. * The rank of the preferences is determined by the order of the addresses in the array. Preferences * can be used to populate relevant fields in the checkout flow. * */ readonly deliveryAddressPreferences: ReadonlyArray; /** The email address of the buyer that is interacting with the cart. */ readonly email?: Maybe; /** The phone number of the buyer that is interacting with the cart. */ readonly phone?: Maybe; /** * A set of wallet preferences tied to the buyer that is interacting with the cart. * Preferences can be used to populate relevant payment fields in the checkout flow. * */ readonly walletPreferences: ReadonlyArray; }; /** * Specifies the input fields to update the buyer information associated with a cart. * Buyer identity is used to determine * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing) * and should match the customer's shipping address. * */ export declare type CartBuyerIdentityInput = { /** The country where the buyer is located. */ readonly countryCode?: InputMaybe; /** The access token used to identify the customer associated with the cart. */ readonly customerAccessToken?: InputMaybe; /** * An ordered set of delivery addresses tied to the buyer that is interacting with the cart. * The rank of the preferences is determined by the order of the addresses in the array. Preferences * can be used to populate relevant fields in the checkout flow. * */ readonly deliveryAddressPreferences?: InputMaybe>; /** The email address of the buyer that is interacting with the cart. */ readonly email?: InputMaybe; /** The phone number of the buyer that is interacting with the cart. */ readonly phone?: InputMaybe; /** * A set of wallet preferences tied to the buyer that is interacting with the cart. * Preferences can be used to populate relevant payment fields in the checkout flow. * Accepted value: `["shop_pay"]`. * */ readonly walletPreferences?: InputMaybe>; }; /** Return type for `cartBuyerIdentityUpdate` mutation. */ export declare type CartBuyerIdentityUpdatePayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** * Represents how credit card details are provided for a direct payment. * */ export declare enum CartCardSource { /** * The credit card was provided by a third party and vaulted on their system. * Using this value requires a separate permission from Shopify. * */ SavedCreditCard = "SAVED_CREDIT_CARD" } /** The discount that has been applied to the cart line using a discount code. */ export declare type CartCodeDiscountAllocation = CartDiscountAllocation & { /** The code used to apply the discount. */ readonly code: Scalars['String']; /** The discounted amount that has been applied to the cart line. */ readonly discountedAmount: MoneyV2; }; /** The completion action to checkout a cart. */ export declare type CartCompletionAction = CompletePaymentChallenge; /** The required completion action to checkout a cart. */ export declare type CartCompletionActionRequired = { /** The action required to complete the cart completion attempt. */ readonly action?: Maybe; /** The ID of the cart completion attempt. */ readonly id: Scalars['String']; }; /** The result of a cart completion attempt. */ export declare type CartCompletionAttemptResult = CartCompletionActionRequired | CartCompletionFailed | CartCompletionProcessing | CartCompletionSuccess; /** A failed completion to checkout a cart. */ export declare type CartCompletionFailed = { /** The errors that caused the checkout to fail. */ readonly errors: ReadonlyArray; /** The ID of the cart completion attempt. */ readonly id: Scalars['String']; }; /** A cart checkout completion that's still processing. */ export declare type CartCompletionProcessing = { /** The ID of the cart completion attempt. */ readonly id: Scalars['String']; /** The number of milliseconds to wait before polling again. */ readonly pollDelay: Scalars['Int']; }; /** A successful completion to checkout a cart and a created order. */ export declare type CartCompletionSuccess = { /** The date and time when the job completed. */ readonly completedAt?: Maybe; /** The ID of the cart completion attempt. */ readonly id: Scalars['String']; /** The ID of the order that's created in Shopify. */ readonly orderId: Scalars['ID']; /** The URL of the order confirmation in Shopify. */ readonly orderUrl: Scalars['URL']; }; /** * The costs that the buyer will pay at checkout. * The cart cost uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing). * */ export declare type CartCost = { /** The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to `subtotalAmount`. */ readonly checkoutChargeAmount: MoneyV2; /** The amount, before taxes and cart-level discounts, for the customer to pay. */ readonly subtotalAmount: MoneyV2; /** Whether the subtotal amount is estimated. */ readonly subtotalAmountEstimated: Scalars['Boolean']; /** The total amount for the customer to pay. */ readonly totalAmount: MoneyV2; /** Whether the total amount is estimated. */ readonly totalAmountEstimated: Scalars['Boolean']; /** The duty amount for the customer to pay at checkout. */ readonly totalDutyAmount?: Maybe; /** Whether the total duty amount is estimated. */ readonly totalDutyAmountEstimated: Scalars['Boolean']; /** The tax amount for the customer to pay at checkout. */ readonly totalTaxAmount?: Maybe; /** Whether the total tax amount is estimated. */ readonly totalTaxAmountEstimated: Scalars['Boolean']; }; /** Return type for `cartCreate` mutation. */ export declare type CartCreatePayload = { /** The new cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** The discounts automatically applied to the cart line based on prerequisites that have been met. */ export declare type CartCustomDiscountAllocation = CartDiscountAllocation & { /** The discounted amount that has been applied to the cart line. */ readonly discountedAmount: MoneyV2; /** The title of the allocated discount. */ readonly title: Scalars['String']; }; /** Information about the options available for one or more line items to be delivered to a specific address. */ export declare type CartDeliveryGroup = { /** A list of cart lines for the delivery group. */ readonly cartLines: BaseCartLineConnection; /** The destination address for the delivery group. */ readonly deliveryAddress: MailingAddress; /** The delivery options available for the delivery group. */ readonly deliveryOptions: ReadonlyArray; /** The ID for the delivery group. */ readonly id: Scalars['ID']; /** The selected delivery option for the delivery group. */ readonly selectedDeliveryOption?: Maybe; }; /** Information about the options available for one or more line items to be delivered to a specific address. */ export declare type CartDeliveryGroupCartLinesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** * An auto-generated type for paginating through multiple CartDeliveryGroups. * */ export declare type CartDeliveryGroupConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in CartDeliveryGroupEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one CartDeliveryGroup and a cursor during pagination. * */ export declare type CartDeliveryGroupEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of CartDeliveryGroupEdge. */ readonly node: CartDeliveryGroup; }; /** Information about a delivery option. */ export declare type CartDeliveryOption = { /** The code of the delivery option. */ readonly code?: Maybe; /** The method for the delivery option. */ readonly deliveryMethodType: DeliveryMethodType; /** The description of the delivery option. */ readonly description?: Maybe; /** The estimated cost for the delivery option. */ readonly estimatedCost: MoneyV2; /** The unique identifier of the delivery option. */ readonly handle: Scalars['String']; /** The title of the delivery option. */ readonly title?: Maybe; }; /** * The input fields for submitting direct payment method information for checkout. * */ export declare type CartDirectPaymentMethodInput = { /** The customer's billing address. */ readonly billingAddress: MailingAddressInput; /** The source of the credit card payment. */ readonly cardSource?: InputMaybe; /** The session ID for the direct payment method used to create the payment. */ readonly sessionId: Scalars['String']; }; /** The discounts that have been applied to the cart line. */ export declare type CartDiscountAllocation = { /** The discounted amount that has been applied to the cart line. */ readonly discountedAmount: MoneyV2; }; /** The discount codes applied to the cart. */ export declare type CartDiscountCode = { /** Whether the discount code is applicable to the cart's current contents. */ readonly applicable: Scalars['Boolean']; /** The code for the discount. */ readonly code: Scalars['String']; }; /** Return type for `cartDiscountCodesUpdate` mutation. */ export declare type CartDiscountCodesUpdatePayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** Possible error codes that can be returned by `CartUserError`. */ export declare enum CartErrorCode { /** The input value is invalid. */ Invalid = "INVALID", /** Delivery group was not found in cart. */ InvalidDeliveryGroup = "INVALID_DELIVERY_GROUP", /** Delivery option was not valid. */ InvalidDeliveryOption = "INVALID_DELIVERY_OPTION", /** Merchandise line was not found in cart. */ InvalidMerchandiseLine = "INVALID_MERCHANDISE_LINE", /** The metafields were not valid. */ InvalidMetafields = "INVALID_METAFIELDS", /** The payment wasn't valid. */ InvalidPayment = "INVALID_PAYMENT", /** Cannot update payment on an empty cart */ InvalidPaymentEmptyCart = "INVALID_PAYMENT_EMPTY_CART", /** The input value should be less than the maximum value allowed. */ LessThan = "LESS_THAN", /** Missing discount code. */ MissingDiscountCode = "MISSING_DISCOUNT_CODE", /** Missing note. */ MissingNote = "MISSING_NOTE", /** The payment method is not supported. */ PaymentMethodNotSupported = "PAYMENT_METHOD_NOT_SUPPORTED" } /** * The estimated costs that the buyer will pay at checkout. * The estimated cost uses * [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) * to determine * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing). * */ export declare type CartEstimatedCost = { /** The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to`subtotal_amount`. */ readonly checkoutChargeAmount: MoneyV2; /** The estimated amount, before taxes and discounts, for the customer to pay. */ readonly subtotalAmount: MoneyV2; /** The estimated total amount for the customer to pay. */ readonly totalAmount: MoneyV2; /** The estimated duty amount for the customer to pay at checkout. */ readonly totalDutyAmount?: Maybe; /** The estimated tax amount for the customer to pay at checkout. */ readonly totalTaxAmount?: Maybe; }; /** * The input fields for submitting a billing address without a selected payment method. * */ export declare type CartFreePaymentMethodInput = { /** The customer's billing address. */ readonly billingAddress: MailingAddressInput; }; /** The input fields to create a cart. */ export declare type CartInput = { /** An array of key-value pairs that contains additional information about the cart. */ readonly attributes?: InputMaybe>; /** * The customer associated with the cart. Used to determine [international pricing] * (https://shopify.dev/custom-storefronts/internationalization/international-pricing). * Buyer identity should match the customer's shipping address. * */ readonly buyerIdentity?: InputMaybe; /** * The case-insensitive discount codes that the customer added at checkout. * */ readonly discountCodes?: InputMaybe>; /** A list of merchandise lines to add to the cart. */ readonly lines?: InputMaybe>; /** The metafields to associate with this cart. */ readonly metafields?: InputMaybe>; /** A note that is associated with the cart. For example, the note can be a personalized message to the buyer. */ readonly note?: InputMaybe; }; /** The input fields for a cart metafield value to set. */ export declare type CartInputMetafieldInput = { /** The key name of the metafield. */ readonly key: Scalars['String']; /** * The type of data that the cart metafield stores. * The type of data must be a [supported type](https://shopify.dev/apps/metafields/types). * */ readonly type: Scalars['String']; /** * The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type. * */ readonly value: Scalars['String']; }; /** Represents information about the merchandise in the cart. */ export declare type CartLine = BaseCartLine & Node & { /** An attribute associated with the cart line. */ readonly attribute?: Maybe; /** The attributes associated with the cart line. Attributes are represented as key-value pairs. */ readonly attributes: ReadonlyArray; /** The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout. */ readonly cost: CartLineCost; /** The discounts that have been applied to the cart line. */ readonly discountAllocations: ReadonlyArray; /** * The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout. * @deprecated Use `cost` instead. */ readonly estimatedCost: CartLineEstimatedCost; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The merchandise that the buyer intends to purchase. */ readonly merchandise: Merchandise; /** The quantity of the merchandise that the customer intends to purchase. */ readonly quantity: Scalars['Int']; /** The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased. */ readonly sellingPlanAllocation?: Maybe; }; /** Represents information about the merchandise in the cart. */ export declare type CartLineAttributeArgs = { key: Scalars['String']; }; /** The cost of the merchandise line that the buyer will pay at checkout. */ export declare type CartLineCost = { /** The amount of the merchandise line. */ readonly amountPerQuantity: MoneyV2; /** The compare at amount of the merchandise line. */ readonly compareAtAmountPerQuantity?: Maybe; /** The cost of the merchandise line before line-level discounts. */ readonly subtotalAmount: MoneyV2; /** The total cost of the merchandise line. */ readonly totalAmount: MoneyV2; }; /** The estimated cost of the merchandise line that the buyer will pay at checkout. */ export declare type CartLineEstimatedCost = { /** The amount of the merchandise line. */ readonly amount: MoneyV2; /** The compare at amount of the merchandise line. */ readonly compareAtAmount?: Maybe; /** The estimated cost of the merchandise line before discounts. */ readonly subtotalAmount: MoneyV2; /** The estimated total cost of the merchandise line. */ readonly totalAmount: MoneyV2; }; /** The input fields to create a merchandise line on a cart. */ export declare type CartLineInput = { /** An array of key-value pairs that contains additional information about the merchandise line. */ readonly attributes?: InputMaybe>; /** The ID of the merchandise that the buyer intends to purchase. */ readonly merchandiseId: Scalars['ID']; /** The quantity of the merchandise. */ readonly quantity?: InputMaybe; /** The ID of the selling plan that the merchandise is being purchased with. */ readonly sellingPlanId?: InputMaybe; }; /** The input fields to update a line item on a cart. */ export declare type CartLineUpdateInput = { /** An array of key-value pairs that contains additional information about the merchandise line. */ readonly attributes?: InputMaybe>; /** The ID of the merchandise line. */ readonly id: Scalars['ID']; /** The ID of the merchandise for the line item. */ readonly merchandiseId?: InputMaybe; /** The quantity of the line item. */ readonly quantity?: InputMaybe; /** The ID of the selling plan that the merchandise is being purchased with. */ readonly sellingPlanId?: InputMaybe; }; /** Return type for `cartLinesAdd` mutation. */ export declare type CartLinesAddPayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** Return type for `cartLinesRemove` mutation. */ export declare type CartLinesRemovePayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** Return type for `cartLinesUpdate` mutation. */ export declare type CartLinesUpdatePayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** The input fields to delete a cart metafield. */ export declare type CartMetafieldDeleteInput = { /** * The key name of the cart metafield. Can either be a composite key (`namespace.key`) or a simple key * that relies on the default app-reserved namespace. * */ readonly key: Scalars['String']; /** The ID of the cart resource. */ readonly ownerId: Scalars['ID']; }; /** Return type for `cartMetafieldDelete` mutation. */ export declare type CartMetafieldDeletePayload = { /** The ID of the deleted cart metafield. */ readonly deletedId?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** The input fields for a cart metafield value to set. */ export declare type CartMetafieldsSetInput = { /** The key name of the cart metafield. */ readonly key: Scalars['String']; /** The ID of the cart resource. */ readonly ownerId: Scalars['ID']; /** * The type of data that the cart metafield stores. * The type of data must be a [supported type](https://shopify.dev/apps/metafields/types). * */ readonly type: Scalars['String']; /** * The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type. * */ readonly value: Scalars['String']; }; /** Return type for `cartMetafieldsSet` mutation. */ export declare type CartMetafieldsSetPayload = { /** The list of cart metafields that were set. */ readonly metafields?: Maybe>; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** Return type for `cartNoteUpdate` mutation. */ export declare type CartNoteUpdatePayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** * The input fields for updating the payment method that will be used to checkout. * */ export declare type CartPaymentInput = { /** The amount that the customer will be charged at checkout. */ readonly amount: MoneyInput; /** * The input fields to use when checking out a cart with a direct payment method (like a credit card). * */ readonly directPaymentMethod?: InputMaybe; /** * The input fields to use to checkout a cart without providing a payment method. * Use this payment method input if the total cost of the cart is 0. * */ readonly freePaymentMethod?: InputMaybe; /** * An ID of the order placed on the originating platform. * Note that this value doesn't correspond to the Shopify Order ID. * */ readonly sourceIdentifier?: InputMaybe; /** * The input fields to use when checking out a cart with a wallet payment method (like Shop Pay or Apple Pay). * */ readonly walletPaymentMethod?: InputMaybe; }; /** Return type for `cartPaymentUpdate` mutation. */ export declare type CartPaymentUpdatePayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** * The input fields for updating the selected delivery options for a delivery group. * */ export declare type CartSelectedDeliveryOptionInput = { /** The ID of the cart delivery group. */ readonly deliveryGroupId: Scalars['ID']; /** The handle of the selected delivery option. */ readonly deliveryOptionHandle: Scalars['String']; }; /** Return type for `cartSelectedDeliveryOptionsUpdate` mutation. */ export declare type CartSelectedDeliveryOptionsUpdatePayload = { /** The updated cart. */ readonly cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** Return type for `cartSubmitForCompletion` mutation. */ export declare type CartSubmitForCompletionPayload = { /** The result of cart submission for completion. */ readonly result?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** The result of cart submit completion. */ export declare type CartSubmitForCompletionResult = SubmitAlreadyAccepted | SubmitFailed | SubmitSuccess | SubmitThrottled; /** Represents an error that happens during execution of a cart mutation. */ export declare type CartUserError = DisplayableError & { /** The error code. */ readonly code?: Maybe; /** The path to the input field that caused the error. */ readonly field?: Maybe>; /** The error message. */ readonly message: Scalars['String']; }; /** * The input fields for submitting wallet payment method information for checkout. * */ export declare type CartWalletPaymentMethodInput = { /** The payment method information for the Apple Pay wallet. */ readonly applePayWalletContent?: InputMaybe; /** The payment method information for the Shop Pay wallet. */ readonly shopPayWalletContent?: InputMaybe; }; /** A container for all the information required to checkout items and pay. */ export declare type Checkout = Node & { /** The gift cards used on the checkout. */ readonly appliedGiftCards: ReadonlyArray; /** * The available shipping rates for this Checkout. * Should only be used when checkout `requiresShipping` is `true` and * the shipping address is valid. * */ readonly availableShippingRates?: Maybe; /** The identity of the customer associated with the checkout. */ readonly buyerIdentity: CheckoutBuyerIdentity; /** The date and time when the checkout was completed. */ readonly completedAt?: Maybe; /** The date and time when the checkout was created. */ readonly createdAt: Scalars['DateTime']; /** The currency code for the checkout. */ readonly currencyCode: CurrencyCode; /** A list of extra information that is added to the checkout. */ readonly customAttributes: ReadonlyArray; /** Discounts that have been applied on the checkout. */ readonly discountApplications: DiscountApplicationConnection; /** The email attached to this checkout. */ readonly email?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** A list of line item objects, each one containing information about an item in the checkout. */ readonly lineItems: CheckoutLineItemConnection; /** The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded. */ readonly lineItemsSubtotalPrice: MoneyV2; /** The note associated with the checkout. */ readonly note?: Maybe; /** The resulting order from a paid checkout. */ readonly order?: Maybe; /** The Order Status Page for this Checkout, null when checkout is not completed. */ readonly orderStatusUrl?: Maybe; /** The amount left to be paid. This is equal to the cost of the line items, taxes, and shipping, minus discounts and gift cards. */ readonly paymentDue: MoneyV2; /** * The amount left to be paid. This is equal to the cost of the line items, duties, taxes, and shipping, minus discounts and gift cards. * @deprecated Use `paymentDue` instead. */ readonly paymentDueV2: MoneyV2; /** * Whether or not the Checkout is ready and can be completed. Checkouts may * have asynchronous operations that can take time to finish. If you want * to complete a checkout or ensure all the fields are populated and up to * date, polling is required until the value is true. * */ readonly ready: Scalars['Boolean']; /** States whether or not the fulfillment requires shipping. */ readonly requiresShipping: Scalars['Boolean']; /** The shipping address to where the line items will be shipped. */ readonly shippingAddress?: Maybe; /** * The discounts that have been allocated onto the shipping line by discount applications. * */ readonly shippingDiscountAllocations: ReadonlyArray; /** Once a shipping rate is selected by the customer it is transitioned to a `shipping_line` object. */ readonly shippingLine?: Maybe; /** The price at checkout before shipping and taxes. */ readonly subtotalPrice: MoneyV2; /** * The price at checkout before duties, shipping, and taxes. * @deprecated Use `subtotalPrice` instead. */ readonly subtotalPriceV2: MoneyV2; /** Whether the checkout is tax exempt. */ readonly taxExempt: Scalars['Boolean']; /** Whether taxes are included in the line item and shipping line prices. */ readonly taxesIncluded: Scalars['Boolean']; /** The sum of all the duties applied to the line items in the checkout. */ readonly totalDuties?: Maybe; /** The sum of all the prices of all the items in the checkout, including taxes and duties. */ readonly totalPrice: MoneyV2; /** * The sum of all the prices of all the items in the checkout, including taxes and duties. * @deprecated Use `totalPrice` instead. */ readonly totalPriceV2: MoneyV2; /** The sum of all the taxes applied to the line items and shipping lines in the checkout. */ readonly totalTax: MoneyV2; /** * The sum of all the taxes applied to the line items and shipping lines in the checkout. * @deprecated Use `totalTax` instead. */ readonly totalTaxV2: MoneyV2; /** The date and time when the checkout was last updated. */ readonly updatedAt: Scalars['DateTime']; /** The url pointing to the checkout accessible from the web. */ readonly webUrl: Scalars['URL']; }; /** A container for all the information required to checkout items and pay. */ export declare type CheckoutDiscountApplicationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** A container for all the information required to checkout items and pay. */ export declare type CheckoutLineItemsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** The input fields required to update a checkout's attributes. */ export declare type CheckoutAttributesUpdateV2Input = { /** * Allows setting partial addresses on a Checkout, skipping the full validation of attributes. * The required attributes are city, province, and country. * Full validation of the addresses is still done at completion time. Defaults to `false` with * each operation. * */ readonly allowPartialAddresses?: InputMaybe; /** A list of extra information that is added to the checkout. */ readonly customAttributes?: InputMaybe>; /** The text of an optional note that a shop owner can attach to the checkout. */ readonly note?: InputMaybe; }; /** Return type for `checkoutAttributesUpdateV2` mutation. */ export declare type CheckoutAttributesUpdateV2Payload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** The identity of the customer associated with the checkout. */ export declare type CheckoutBuyerIdentity = { /** The country code for the checkout. For example, `CA`. */ readonly countryCode?: Maybe; }; /** The input fields for the identity of the customer associated with the checkout. */ export declare type CheckoutBuyerIdentityInput = { /** * The country code of one of the shop's * [enabled countries](https://help.shopify.com/en/manual/payments/shopify-payments/multi-currency/setup). * For example, `CA`. Including this field creates a checkout in the specified country's currency. * */ readonly countryCode: CountryCode; }; /** Return type for `checkoutCompleteFree` mutation. */ export declare type CheckoutCompleteFreePayload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutCompleteWithCreditCardV2` mutation. */ export declare type CheckoutCompleteWithCreditCardV2Payload = { /** The checkout on which the payment was applied. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** A representation of the attempted payment. */ readonly payment?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation. */ export declare type CheckoutCompleteWithTokenizedPaymentV3Payload = { /** The checkout on which the payment was applied. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** A representation of the attempted payment. */ readonly payment?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** The input fields required to create a checkout. */ export declare type CheckoutCreateInput = { /** * Allows setting partial addresses on a Checkout, skipping the full validation of attributes. * The required attributes are city, province, and country. * Full validation of addresses is still done at completion time. Defaults to `null`. * */ readonly allowPartialAddresses?: InputMaybe; /** The identity of the customer associated with the checkout. */ readonly buyerIdentity?: InputMaybe; /** A list of extra information that is added to the checkout. */ readonly customAttributes?: InputMaybe>; /** The email with which the customer wants to checkout. */ readonly email?: InputMaybe; /** A list of line item objects, each one containing information about an item in the checkout. */ readonly lineItems?: InputMaybe>; /** The text of an optional note that a shop owner can attach to the checkout. */ readonly note?: InputMaybe; /** The shipping address to where the line items will be shipped. */ readonly shippingAddress?: InputMaybe; }; /** Return type for `checkoutCreate` mutation. */ export declare type CheckoutCreatePayload = { /** The new checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** The checkout queue token. Available only to selected stores. */ readonly queueToken?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutCustomerAssociateV2` mutation. */ export declare type CheckoutCustomerAssociateV2Payload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** The associated customer object. */ readonly customer?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutCustomerDisassociateV2` mutation. */ export declare type CheckoutCustomerDisassociateV2Payload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutDiscountCodeApplyV2` mutation. */ export declare type CheckoutDiscountCodeApplyV2Payload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutDiscountCodeRemove` mutation. */ export declare type CheckoutDiscountCodeRemovePayload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutEmailUpdateV2` mutation. */ export declare type CheckoutEmailUpdateV2Payload = { /** The checkout object with the updated email. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Possible error codes that can be returned by `CheckoutUserError`. */ export declare enum CheckoutErrorCode { /** Checkout is already completed. */ AlreadyCompleted = "ALREADY_COMPLETED", /** Input email contains an invalid domain name. */ BadDomain = "BAD_DOMAIN", /** The input value is blank. */ Blank = "BLANK", /** Cart does not meet discount requirements notice. */ CartDoesNotMeetDiscountRequirementsNotice = "CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE", /** Customer already used once per customer discount notice. */ CustomerAlreadyUsedOncePerCustomerDiscountNotice = "CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE", /** Discount already applied. */ DiscountAlreadyApplied = "DISCOUNT_ALREADY_APPLIED", /** Discount code isn't working right now. Please contact us for help. */ DiscountCodeApplicationFailed = "DISCOUNT_CODE_APPLICATION_FAILED", /** Discount disabled. */ DiscountDisabled = "DISCOUNT_DISABLED", /** Discount expired. */ DiscountExpired = "DISCOUNT_EXPIRED", /** Discount limit reached. */ DiscountLimitReached = "DISCOUNT_LIMIT_REACHED", /** Discount not found. */ DiscountNotFound = "DISCOUNT_NOT_FOUND", /** Checkout is already completed. */ Empty = "EMPTY", /** Queue token has expired. */ ExpiredQueueToken = "EXPIRED_QUEUE_TOKEN", /** Gift card has already been applied. */ GiftCardAlreadyApplied = "GIFT_CARD_ALREADY_APPLIED", /** Gift card code is invalid. */ GiftCardCodeInvalid = "GIFT_CARD_CODE_INVALID", /** Gift card currency does not match checkout currency. */ GiftCardCurrencyMismatch = "GIFT_CARD_CURRENCY_MISMATCH", /** Gift card has no funds left. */ GiftCardDepleted = "GIFT_CARD_DEPLETED", /** Gift card is disabled. */ GiftCardDisabled = "GIFT_CARD_DISABLED", /** Gift card is expired. */ GiftCardExpired = "GIFT_CARD_EXPIRED", /** Gift card was not found. */ GiftCardNotFound = "GIFT_CARD_NOT_FOUND", /** Gift card cannot be applied to a checkout that contains a gift card. */ GiftCardUnusable = "GIFT_CARD_UNUSABLE", /** The input value should be greater than or equal to the minimum value allowed. */ GreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO", /** Higher value discount applied. */ HigherValueDiscountApplied = "HIGHER_VALUE_DISCOUNT_APPLIED", /** The input value is invalid. */ Invalid = "INVALID", /** Cannot specify country and presentment currency code. */ InvalidCountryAndCurrency = "INVALID_COUNTRY_AND_CURRENCY", /** Input Zip is invalid for country provided. */ InvalidForCountry = "INVALID_FOR_COUNTRY", /** Input Zip is invalid for country and province provided. */ InvalidForCountryAndProvince = "INVALID_FOR_COUNTRY_AND_PROVINCE", /** Invalid province in country. */ InvalidProvinceInCountry = "INVALID_PROVINCE_IN_COUNTRY", /** Queue token is invalid. */ InvalidQueueToken = "INVALID_QUEUE_TOKEN", /** Invalid region in country. */ InvalidRegionInCountry = "INVALID_REGION_IN_COUNTRY", /** Invalid state in country. */ InvalidStateInCountry = "INVALID_STATE_IN_COUNTRY", /** The input value should be less than the maximum value allowed. */ LessThan = "LESS_THAN", /** The input value should be less than or equal to the maximum value allowed. */ LessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO", /** Line item was not found in checkout. */ LineItemNotFound = "LINE_ITEM_NOT_FOUND", /** Checkout is locked. */ Locked = "LOCKED", /** Maximum number of discount codes limit reached. */ MaximumDiscountCodeLimitReached = "MAXIMUM_DISCOUNT_CODE_LIMIT_REACHED", /** Missing payment input. */ MissingPaymentInput = "MISSING_PAYMENT_INPUT", /** Not enough in stock. */ NotEnoughInStock = "NOT_ENOUGH_IN_STOCK", /** Input value is not supported. */ NotSupported = "NOT_SUPPORTED", /** The input value needs to be blank. */ Present = "PRESENT", /** Product is not published for this customer. */ ProductNotAvailable = "PRODUCT_NOT_AVAILABLE", /** Shipping rate expired. */ ShippingRateExpired = "SHIPPING_RATE_EXPIRED", /** Throttled during checkout. */ ThrottledDuringCheckout = "THROTTLED_DURING_CHECKOUT", /** The input value is too long. */ TooLong = "TOO_LONG", /** The amount of the payment does not match the value to be paid. */ TotalPriceMismatch = "TOTAL_PRICE_MISMATCH", /** Unable to apply discount. */ UnableToApply = "UNABLE_TO_APPLY" } /** Return type for `checkoutGiftCardRemoveV2` mutation. */ export declare type CheckoutGiftCardRemoveV2Payload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutGiftCardsAppend` mutation. */ export declare type CheckoutGiftCardsAppendPayload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** A single line item in the checkout, grouped by variant and attributes. */ export declare type CheckoutLineItem = Node & { /** Extra information in the form of an array of Key-Value pairs about the line item. */ readonly customAttributes: ReadonlyArray; /** The discounts that have been allocated onto the checkout line item by discount applications. */ readonly discountAllocations: ReadonlyArray; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The quantity of the line item. */ readonly quantity: Scalars['Int']; /** Title of the line item. Defaults to the product's title. */ readonly title: Scalars['String']; /** Unit price of the line item. */ readonly unitPrice?: Maybe; /** Product variant of the line item. */ readonly variant?: Maybe; }; /** * An auto-generated type for paginating through multiple CheckoutLineItems. * */ export declare type CheckoutLineItemConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in CheckoutLineItemEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one CheckoutLineItem and a cursor during pagination. * */ export declare type CheckoutLineItemEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of CheckoutLineItemEdge. */ readonly node: CheckoutLineItem; }; /** The input fields to create a line item on a checkout. */ export declare type CheckoutLineItemInput = { /** Extra information in the form of an array of Key-Value pairs about the line item. */ readonly customAttributes?: InputMaybe>; /** The quantity of the line item. */ readonly quantity: Scalars['Int']; /** The ID of the product variant for the line item. */ readonly variantId: Scalars['ID']; }; /** The input fields to update a line item on the checkout. */ export declare type CheckoutLineItemUpdateInput = { /** Extra information in the form of an array of Key-Value pairs about the line item. */ readonly customAttributes?: InputMaybe>; /** The ID of the line item. */ readonly id?: InputMaybe; /** The quantity of the line item. */ readonly quantity?: InputMaybe; /** The variant ID of the line item. */ readonly variantId?: InputMaybe; }; /** Return type for `checkoutLineItemsAdd` mutation. */ export declare type CheckoutLineItemsAddPayload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutLineItemsRemove` mutation. */ export declare type CheckoutLineItemsRemovePayload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutLineItemsReplace` mutation. */ export declare type CheckoutLineItemsReplacePayload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutLineItemsUpdate` mutation. */ export declare type CheckoutLineItemsUpdatePayload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutShippingAddressUpdateV2` mutation. */ export declare type CheckoutShippingAddressUpdateV2Payload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `checkoutShippingLineUpdate` mutation. */ export declare type CheckoutShippingLineUpdatePayload = { /** The updated checkout object. */ readonly checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly checkoutUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Represents an error that happens during execution of a checkout mutation. */ export declare type CheckoutUserError = DisplayableError & { /** The error code. */ readonly code?: Maybe; /** The path to the input field that caused the error. */ readonly field?: Maybe>; /** The error message. */ readonly message: Scalars['String']; }; /** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ export declare type Collection = HasMetafields & Node & OnlineStorePublishable & Trackable & { /** Stripped description of the collection, single line with HTML tags removed. */ readonly description: Scalars['String']; /** The description of the collection, complete with HTML formatting. */ readonly descriptionHtml: Scalars['HTML']; /** * A human-friendly unique string for the collection automatically generated from its title. * Limit of 255 characters. * */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** Image associated with the collection. */ readonly image?: Maybe; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */ readonly onlineStoreUrl?: Maybe; /** List of products in the collection. */ readonly products: ProductConnection; /** The collection's SEO information. */ readonly seo: Seo; /** The collection’s name. Limit of 255 characters. */ readonly title: Scalars['String']; /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */ readonly trackingParameters?: Maybe; /** The date and time when the collection was last modified. */ readonly updatedAt: Scalars['DateTime']; }; /** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ export declare type CollectionDescriptionArgs = { truncateAt?: InputMaybe; }; /** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ export declare type CollectionMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ export declare type CollectionMetafieldsArgs = { identifiers: ReadonlyArray; }; /** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ export declare type CollectionProductsArgs = { after?: InputMaybe; before?: InputMaybe; filters?: InputMaybe>; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** * An auto-generated type for paginating through multiple Collections. * */ export declare type CollectionConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in CollectionEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; /** The total count of Collections. */ readonly totalCount: Scalars['UnsignedInt64']; }; /** * An auto-generated type which holds one Collection and a cursor during pagination. * */ export declare type CollectionEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of CollectionEdge. */ readonly node: Collection; }; /** The set of valid sort keys for the Collection query. */ export declare enum CollectionSortKeys { /** Sort by the `id` value. */ Id = "ID", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE", /** Sort by the `title` value. */ Title = "TITLE", /** Sort by the `updated_at` value. */ UpdatedAt = "UPDATED_AT" } /** A comment on an article. */ export declare type Comment = Node & { /** The comment’s author. */ readonly author: CommentAuthor; /** Stripped content of the comment, single line with HTML tags removed. */ readonly content: Scalars['String']; /** The content of the comment, complete with HTML formatting. */ readonly contentHtml: Scalars['HTML']; /** A globally-unique ID. */ readonly id: Scalars['ID']; }; /** A comment on an article. */ export declare type CommentContentArgs = { truncateAt?: InputMaybe; }; /** The author of a comment. */ export declare type CommentAuthor = { /** The author's email. */ readonly email: Scalars['String']; /** The author’s name. */ readonly name: Scalars['String']; }; /** * An auto-generated type for paginating through multiple Comments. * */ export declare type CommentConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in CommentEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one Comment and a cursor during pagination. * */ export declare type CommentEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of CommentEdge. */ readonly node: Comment; }; /** The action for the 3DS payment redirect. */ export declare type CompletePaymentChallenge = { /** The URL for the 3DS payment redirect. */ readonly redirectUrl?: Maybe; }; /** An error that occurred during a cart completion attempt. */ export declare type CompletionError = { /** The error code. */ readonly code: CompletionErrorCode; /** The error message. */ readonly message?: Maybe; }; /** The code of the error that occurred during a cart completion attempt. */ export declare enum CompletionErrorCode { Error = "ERROR", InventoryReservationError = "INVENTORY_RESERVATION_ERROR", PaymentAmountTooSmall = "PAYMENT_AMOUNT_TOO_SMALL", PaymentCallIssuer = "PAYMENT_CALL_ISSUER", PaymentCardDeclined = "PAYMENT_CARD_DECLINED", PaymentError = "PAYMENT_ERROR", PaymentGatewayNotEnabledError = "PAYMENT_GATEWAY_NOT_ENABLED_ERROR", PaymentInsufficientFunds = "PAYMENT_INSUFFICIENT_FUNDS", PaymentInvalidBillingAddress = "PAYMENT_INVALID_BILLING_ADDRESS", PaymentInvalidCreditCard = "PAYMENT_INVALID_CREDIT_CARD", PaymentInvalidCurrency = "PAYMENT_INVALID_CURRENCY", PaymentInvalidPaymentMethod = "PAYMENT_INVALID_PAYMENT_METHOD", PaymentTransientError = "PAYMENT_TRANSIENT_ERROR" } /** Represents information about the grouped merchandise in the cart. */ export declare type ComponentizableCartLine = BaseCartLine & Node & { /** An attribute associated with the cart line. */ readonly attribute?: Maybe; /** The attributes associated with the cart line. Attributes are represented as key-value pairs. */ readonly attributes: ReadonlyArray; /** The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout. */ readonly cost: CartLineCost; /** The discounts that have been applied to the cart line. */ readonly discountAllocations: ReadonlyArray; /** * The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout. * @deprecated Use `cost` instead. */ readonly estimatedCost: CartLineEstimatedCost; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The components of the line item. */ readonly lineComponents: ReadonlyArray; /** The merchandise that the buyer intends to purchase. */ readonly merchandise: Merchandise; /** The quantity of the merchandise that the customer intends to purchase. */ readonly quantity: Scalars['Int']; /** The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased. */ readonly sellingPlanAllocation?: Maybe; }; /** Represents information about the grouped merchandise in the cart. */ export declare type ComponentizableCartLineAttributeArgs = { key: Scalars['String']; }; /** A country. */ export declare type Country = { /** The languages available for the country. */ readonly availableLanguages: ReadonlyArray; /** The currency of the country. */ readonly currency: Currency; /** The ISO code of the country. */ readonly isoCode: CountryCode; /** The market that includes this country. */ readonly market?: Maybe; /** The name of the country. */ readonly name: Scalars['String']; /** The unit system used in the country. */ readonly unitSystem: UnitSystem; }; /** * The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines. * If a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision * of another country. For example, the territories associated with Spain are represented by the country code `ES`, * and the territories associated with the United States of America are represented by the country code `US`. * */ export declare enum CountryCode { /** Ascension Island. */ Ac = "AC", /** Andorra. */ Ad = "AD", /** United Arab Emirates. */ Ae = "AE", /** Afghanistan. */ Af = "AF", /** Antigua & Barbuda. */ Ag = "AG", /** Anguilla. */ Ai = "AI", /** Albania. */ Al = "AL", /** Armenia. */ Am = "AM", /** Netherlands Antilles. */ An = "AN", /** Angola. */ Ao = "AO", /** Argentina. */ Ar = "AR", /** Austria. */ At = "AT", /** Australia. */ Au = "AU", /** Aruba. */ Aw = "AW", /** Åland Islands. */ Ax = "AX", /** Azerbaijan. */ Az = "AZ", /** Bosnia & Herzegovina. */ Ba = "BA", /** Barbados. */ Bb = "BB", /** Bangladesh. */ Bd = "BD", /** Belgium. */ Be = "BE", /** Burkina Faso. */ Bf = "BF", /** Bulgaria. */ Bg = "BG", /** Bahrain. */ Bh = "BH", /** Burundi. */ Bi = "BI", /** Benin. */ Bj = "BJ", /** St. Barthélemy. */ Bl = "BL", /** Bermuda. */ Bm = "BM", /** Brunei. */ Bn = "BN", /** Bolivia. */ Bo = "BO", /** Caribbean Netherlands. */ Bq = "BQ", /** Brazil. */ Br = "BR", /** Bahamas. */ Bs = "BS", /** Bhutan. */ Bt = "BT", /** Bouvet Island. */ Bv = "BV", /** Botswana. */ Bw = "BW", /** Belarus. */ By = "BY", /** Belize. */ Bz = "BZ", /** Canada. */ Ca = "CA", /** Cocos (Keeling) Islands. */ Cc = "CC", /** Congo - Kinshasa. */ Cd = "CD", /** Central African Republic. */ Cf = "CF", /** Congo - Brazzaville. */ Cg = "CG", /** Switzerland. */ Ch = "CH", /** Côte d’Ivoire. */ Ci = "CI", /** Cook Islands. */ Ck = "CK", /** Chile. */ Cl = "CL", /** Cameroon. */ Cm = "CM", /** China. */ Cn = "CN", /** Colombia. */ Co = "CO", /** Costa Rica. */ Cr = "CR", /** Cuba. */ Cu = "CU", /** Cape Verde. */ Cv = "CV", /** Curaçao. */ Cw = "CW", /** Christmas Island. */ Cx = "CX", /** Cyprus. */ Cy = "CY", /** Czechia. */ Cz = "CZ", /** Germany. */ De = "DE", /** Djibouti. */ Dj = "DJ", /** Denmark. */ Dk = "DK", /** Dominica. */ Dm = "DM", /** Dominican Republic. */ Do = "DO", /** Algeria. */ Dz = "DZ", /** Ecuador. */ Ec = "EC", /** Estonia. */ Ee = "EE", /** Egypt. */ Eg = "EG", /** Western Sahara. */ Eh = "EH", /** Eritrea. */ Er = "ER", /** Spain. */ Es = "ES", /** Ethiopia. */ Et = "ET", /** Finland. */ Fi = "FI", /** Fiji. */ Fj = "FJ", /** Falkland Islands. */ Fk = "FK", /** Faroe Islands. */ Fo = "FO", /** France. */ Fr = "FR", /** Gabon. */ Ga = "GA", /** United Kingdom. */ Gb = "GB", /** Grenada. */ Gd = "GD", /** Georgia. */ Ge = "GE", /** French Guiana. */ Gf = "GF", /** Guernsey. */ Gg = "GG", /** Ghana. */ Gh = "GH", /** Gibraltar. */ Gi = "GI", /** Greenland. */ Gl = "GL", /** Gambia. */ Gm = "GM", /** Guinea. */ Gn = "GN", /** Guadeloupe. */ Gp = "GP", /** Equatorial Guinea. */ Gq = "GQ", /** Greece. */ Gr = "GR", /** South Georgia & South Sandwich Islands. */ Gs = "GS", /** Guatemala. */ Gt = "GT", /** Guinea-Bissau. */ Gw = "GW", /** Guyana. */ Gy = "GY", /** Hong Kong SAR. */ Hk = "HK", /** Heard & McDonald Islands. */ Hm = "HM", /** Honduras. */ Hn = "HN", /** Croatia. */ Hr = "HR", /** Haiti. */ Ht = "HT", /** Hungary. */ Hu = "HU", /** Indonesia. */ Id = "ID", /** Ireland. */ Ie = "IE", /** Israel. */ Il = "IL", /** Isle of Man. */ Im = "IM", /** India. */ In = "IN", /** British Indian Ocean Territory. */ Io = "IO", /** Iraq. */ Iq = "IQ", /** Iran. */ Ir = "IR", /** Iceland. */ Is = "IS", /** Italy. */ It = "IT", /** Jersey. */ Je = "JE", /** Jamaica. */ Jm = "JM", /** Jordan. */ Jo = "JO", /** Japan. */ Jp = "JP", /** Kenya. */ Ke = "KE", /** Kyrgyzstan. */ Kg = "KG", /** Cambodia. */ Kh = "KH", /** Kiribati. */ Ki = "KI", /** Comoros. */ Km = "KM", /** St. Kitts & Nevis. */ Kn = "KN", /** North Korea. */ Kp = "KP", /** South Korea. */ Kr = "KR", /** Kuwait. */ Kw = "KW", /** Cayman Islands. */ Ky = "KY", /** Kazakhstan. */ Kz = "KZ", /** Laos. */ La = "LA", /** Lebanon. */ Lb = "LB", /** St. Lucia. */ Lc = "LC", /** Liechtenstein. */ Li = "LI", /** Sri Lanka. */ Lk = "LK", /** Liberia. */ Lr = "LR", /** Lesotho. */ Ls = "LS", /** Lithuania. */ Lt = "LT", /** Luxembourg. */ Lu = "LU", /** Latvia. */ Lv = "LV", /** Libya. */ Ly = "LY", /** Morocco. */ Ma = "MA", /** Monaco. */ Mc = "MC", /** Moldova. */ Md = "MD", /** Montenegro. */ Me = "ME", /** St. Martin. */ Mf = "MF", /** Madagascar. */ Mg = "MG", /** North Macedonia. */ Mk = "MK", /** Mali. */ Ml = "ML", /** Myanmar (Burma). */ Mm = "MM", /** Mongolia. */ Mn = "MN", /** Macao SAR. */ Mo = "MO", /** Martinique. */ Mq = "MQ", /** Mauritania. */ Mr = "MR", /** Montserrat. */ Ms = "MS", /** Malta. */ Mt = "MT", /** Mauritius. */ Mu = "MU", /** Maldives. */ Mv = "MV", /** Malawi. */ Mw = "MW", /** Mexico. */ Mx = "MX", /** Malaysia. */ My = "MY", /** Mozambique. */ Mz = "MZ", /** Namibia. */ Na = "NA", /** New Caledonia. */ Nc = "NC", /** Niger. */ Ne = "NE", /** Norfolk Island. */ Nf = "NF", /** Nigeria. */ Ng = "NG", /** Nicaragua. */ Ni = "NI", /** Netherlands. */ Nl = "NL", /** Norway. */ No = "NO", /** Nepal. */ Np = "NP", /** Nauru. */ Nr = "NR", /** Niue. */ Nu = "NU", /** New Zealand. */ Nz = "NZ", /** Oman. */ Om = "OM", /** Panama. */ Pa = "PA", /** Peru. */ Pe = "PE", /** French Polynesia. */ Pf = "PF", /** Papua New Guinea. */ Pg = "PG", /** Philippines. */ Ph = "PH", /** Pakistan. */ Pk = "PK", /** Poland. */ Pl = "PL", /** St. Pierre & Miquelon. */ Pm = "PM", /** Pitcairn Islands. */ Pn = "PN", /** Palestinian Territories. */ Ps = "PS", /** Portugal. */ Pt = "PT", /** Paraguay. */ Py = "PY", /** Qatar. */ Qa = "QA", /** Réunion. */ Re = "RE", /** Romania. */ Ro = "RO", /** Serbia. */ Rs = "RS", /** Russia. */ Ru = "RU", /** Rwanda. */ Rw = "RW", /** Saudi Arabia. */ Sa = "SA", /** Solomon Islands. */ Sb = "SB", /** Seychelles. */ Sc = "SC", /** Sudan. */ Sd = "SD", /** Sweden. */ Se = "SE", /** Singapore. */ Sg = "SG", /** St. Helena. */ Sh = "SH", /** Slovenia. */ Si = "SI", /** Svalbard & Jan Mayen. */ Sj = "SJ", /** Slovakia. */ Sk = "SK", /** Sierra Leone. */ Sl = "SL", /** San Marino. */ Sm = "SM", /** Senegal. */ Sn = "SN", /** Somalia. */ So = "SO", /** Suriname. */ Sr = "SR", /** South Sudan. */ Ss = "SS", /** São Tomé & Príncipe. */ St = "ST", /** El Salvador. */ Sv = "SV", /** Sint Maarten. */ Sx = "SX", /** Syria. */ Sy = "SY", /** Eswatini. */ Sz = "SZ", /** Tristan da Cunha. */ Ta = "TA", /** Turks & Caicos Islands. */ Tc = "TC", /** Chad. */ Td = "TD", /** French Southern Territories. */ Tf = "TF", /** Togo. */ Tg = "TG", /** Thailand. */ Th = "TH", /** Tajikistan. */ Tj = "TJ", /** Tokelau. */ Tk = "TK", /** Timor-Leste. */ Tl = "TL", /** Turkmenistan. */ Tm = "TM", /** Tunisia. */ Tn = "TN", /** Tonga. */ To = "TO", /** Turkey. */ Tr = "TR", /** Trinidad & Tobago. */ Tt = "TT", /** Tuvalu. */ Tv = "TV", /** Taiwan. */ Tw = "TW", /** Tanzania. */ Tz = "TZ", /** Ukraine. */ Ua = "UA", /** Uganda. */ Ug = "UG", /** U.S. Outlying Islands. */ Um = "UM", /** United States. */ Us = "US", /** Uruguay. */ Uy = "UY", /** Uzbekistan. */ Uz = "UZ", /** Vatican City. */ Va = "VA", /** St. Vincent & Grenadines. */ Vc = "VC", /** Venezuela. */ Ve = "VE", /** British Virgin Islands. */ Vg = "VG", /** Vietnam. */ Vn = "VN", /** Vanuatu. */ Vu = "VU", /** Wallis & Futuna. */ Wf = "WF", /** Samoa. */ Ws = "WS", /** Kosovo. */ Xk = "XK", /** Yemen. */ Ye = "YE", /** Mayotte. */ Yt = "YT", /** South Africa. */ Za = "ZA", /** Zambia. */ Zm = "ZM", /** Zimbabwe. */ Zw = "ZW", /** Unknown Region. */ Zz = "ZZ" } /** Credit card information used for a payment. */ export declare type CreditCard = { /** The brand of the credit card. */ readonly brand?: Maybe; /** The expiry month of the credit card. */ readonly expiryMonth?: Maybe; /** The expiry year of the credit card. */ readonly expiryYear?: Maybe; /** The credit card's BIN number. */ readonly firstDigits?: Maybe; /** The first name of the card holder. */ readonly firstName?: Maybe; /** The last 4 digits of the credit card. */ readonly lastDigits?: Maybe; /** The last name of the card holder. */ readonly lastName?: Maybe; /** The masked credit card number with only the last 4 digits displayed. */ readonly maskedNumber?: Maybe; }; /** * Specifies the fields required to complete a checkout with * a Shopify vaulted credit card payment. * */ export declare type CreditCardPaymentInputV2 = { /** The billing address for the payment. */ readonly billingAddress: MailingAddressInput; /** A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). */ readonly idempotencyKey: Scalars['String']; /** The amount and currency of the payment. */ readonly paymentAmount: MoneyInput; /** Executes the payment in test mode if possible. Defaults to `false`. */ readonly test?: InputMaybe; /** The ID returned by Shopify's Card Vault. */ readonly vaultId: Scalars['String']; }; /** The part of the image that should remain after cropping. */ export declare enum CropRegion { /** Keep the bottom of the image. */ Bottom = "BOTTOM", /** Keep the center of the image. */ Center = "CENTER", /** Keep the left of the image. */ Left = "LEFT", /** Keep the right of the image. */ Right = "RIGHT", /** Keep the top of the image. */ Top = "TOP" } /** A currency. */ export declare type Currency = { /** The ISO code of the currency. */ readonly isoCode: CurrencyCode; /** The name of the currency. */ readonly name: Scalars['String']; /** The symbol of the currency. */ readonly symbol: Scalars['String']; }; /** * The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes, * and non-standard codes. * */ export declare enum CurrencyCode { /** United Arab Emirates Dirham (AED). */ Aed = "AED", /** Afghan Afghani (AFN). */ Afn = "AFN", /** Albanian Lek (ALL). */ All = "ALL", /** Armenian Dram (AMD). */ Amd = "AMD", /** Netherlands Antillean Guilder. */ Ang = "ANG", /** Angolan Kwanza (AOA). */ Aoa = "AOA", /** Argentine Pesos (ARS). */ Ars = "ARS", /** Australian Dollars (AUD). */ Aud = "AUD", /** Aruban Florin (AWG). */ Awg = "AWG", /** Azerbaijani Manat (AZN). */ Azn = "AZN", /** Bosnia and Herzegovina Convertible Mark (BAM). */ Bam = "BAM", /** Barbadian Dollar (BBD). */ Bbd = "BBD", /** Bangladesh Taka (BDT). */ Bdt = "BDT", /** Bulgarian Lev (BGN). */ Bgn = "BGN", /** Bahraini Dinar (BHD). */ Bhd = "BHD", /** Burundian Franc (BIF). */ Bif = "BIF", /** Bermudian Dollar (BMD). */ Bmd = "BMD", /** Brunei Dollar (BND). */ Bnd = "BND", /** Bolivian Boliviano (BOB). */ Bob = "BOB", /** Brazilian Real (BRL). */ Brl = "BRL", /** Bahamian Dollar (BSD). */ Bsd = "BSD", /** Bhutanese Ngultrum (BTN). */ Btn = "BTN", /** Botswana Pula (BWP). */ Bwp = "BWP", /** Belarusian Ruble (BYN). */ Byn = "BYN", /** Belarusian Ruble (BYR). */ Byr = "BYR", /** Belize Dollar (BZD). */ Bzd = "BZD", /** Canadian Dollars (CAD). */ Cad = "CAD", /** Congolese franc (CDF). */ Cdf = "CDF", /** Swiss Francs (CHF). */ Chf = "CHF", /** Chilean Peso (CLP). */ Clp = "CLP", /** Chinese Yuan Renminbi (CNY). */ Cny = "CNY", /** Colombian Peso (COP). */ Cop = "COP", /** Costa Rican Colones (CRC). */ Crc = "CRC", /** Cape Verdean escudo (CVE). */ Cve = "CVE", /** Czech Koruny (CZK). */ Czk = "CZK", /** Djiboutian Franc (DJF). */ Djf = "DJF", /** Danish Kroner (DKK). */ Dkk = "DKK", /** Dominican Peso (DOP). */ Dop = "DOP", /** Algerian Dinar (DZD). */ Dzd = "DZD", /** Egyptian Pound (EGP). */ Egp = "EGP", /** Eritrean Nakfa (ERN). */ Ern = "ERN", /** Ethiopian Birr (ETB). */ Etb = "ETB", /** Euro (EUR). */ Eur = "EUR", /** Fijian Dollars (FJD). */ Fjd = "FJD", /** Falkland Islands Pounds (FKP). */ Fkp = "FKP", /** United Kingdom Pounds (GBP). */ Gbp = "GBP", /** Georgian Lari (GEL). */ Gel = "GEL", /** Ghanaian Cedi (GHS). */ Ghs = "GHS", /** Gibraltar Pounds (GIP). */ Gip = "GIP", /** Gambian Dalasi (GMD). */ Gmd = "GMD", /** Guinean Franc (GNF). */ Gnf = "GNF", /** Guatemalan Quetzal (GTQ). */ Gtq = "GTQ", /** Guyanese Dollar (GYD). */ Gyd = "GYD", /** Hong Kong Dollars (HKD). */ Hkd = "HKD", /** Honduran Lempira (HNL). */ Hnl = "HNL", /** Croatian Kuna (HRK). */ Hrk = "HRK", /** Haitian Gourde (HTG). */ Htg = "HTG", /** Hungarian Forint (HUF). */ Huf = "HUF", /** Indonesian Rupiah (IDR). */ Idr = "IDR", /** Israeli New Shekel (NIS). */ Ils = "ILS", /** Indian Rupees (INR). */ Inr = "INR", /** Iraqi Dinar (IQD). */ Iqd = "IQD", /** Iranian Rial (IRR). */ Irr = "IRR", /** Icelandic Kronur (ISK). */ Isk = "ISK", /** Jersey Pound. */ Jep = "JEP", /** Jamaican Dollars (JMD). */ Jmd = "JMD", /** Jordanian Dinar (JOD). */ Jod = "JOD", /** Japanese Yen (JPY). */ Jpy = "JPY", /** Kenyan Shilling (KES). */ Kes = "KES", /** Kyrgyzstani Som (KGS). */ Kgs = "KGS", /** Cambodian Riel. */ Khr = "KHR", /** Kiribati Dollar (KID). */ Kid = "KID", /** Comorian Franc (KMF). */ Kmf = "KMF", /** South Korean Won (KRW). */ Krw = "KRW", /** Kuwaiti Dinar (KWD). */ Kwd = "KWD", /** Cayman Dollars (KYD). */ Kyd = "KYD", /** Kazakhstani Tenge (KZT). */ Kzt = "KZT", /** Laotian Kip (LAK). */ Lak = "LAK", /** Lebanese Pounds (LBP). */ Lbp = "LBP", /** Sri Lankan Rupees (LKR). */ Lkr = "LKR", /** Liberian Dollar (LRD). */ Lrd = "LRD", /** Lesotho Loti (LSL). */ Lsl = "LSL", /** Lithuanian Litai (LTL). */ Ltl = "LTL", /** Latvian Lati (LVL). */ Lvl = "LVL", /** Libyan Dinar (LYD). */ Lyd = "LYD", /** Moroccan Dirham. */ Mad = "MAD", /** Moldovan Leu (MDL). */ Mdl = "MDL", /** Malagasy Ariary (MGA). */ Mga = "MGA", /** Macedonia Denar (MKD). */ Mkd = "MKD", /** Burmese Kyat (MMK). */ Mmk = "MMK", /** Mongolian Tugrik. */ Mnt = "MNT", /** Macanese Pataca (MOP). */ Mop = "MOP", /** Mauritanian Ouguiya (MRU). */ Mru = "MRU", /** Mauritian Rupee (MUR). */ Mur = "MUR", /** Maldivian Rufiyaa (MVR). */ Mvr = "MVR", /** Malawian Kwacha (MWK). */ Mwk = "MWK", /** Mexican Pesos (MXN). */ Mxn = "MXN", /** Malaysian Ringgits (MYR). */ Myr = "MYR", /** Mozambican Metical. */ Mzn = "MZN", /** Namibian Dollar. */ Nad = "NAD", /** Nigerian Naira (NGN). */ Ngn = "NGN", /** Nicaraguan Córdoba (NIO). */ Nio = "NIO", /** Norwegian Kroner (NOK). */ Nok = "NOK", /** Nepalese Rupee (NPR). */ Npr = "NPR", /** New Zealand Dollars (NZD). */ Nzd = "NZD", /** Omani Rial (OMR). */ Omr = "OMR", /** Panamian Balboa (PAB). */ Pab = "PAB", /** Peruvian Nuevo Sol (PEN). */ Pen = "PEN", /** Papua New Guinean Kina (PGK). */ Pgk = "PGK", /** Philippine Peso (PHP). */ Php = "PHP", /** Pakistani Rupee (PKR). */ Pkr = "PKR", /** Polish Zlotych (PLN). */ Pln = "PLN", /** Paraguayan Guarani (PYG). */ Pyg = "PYG", /** Qatari Rial (QAR). */ Qar = "QAR", /** Romanian Lei (RON). */ Ron = "RON", /** Serbian dinar (RSD). */ Rsd = "RSD", /** Russian Rubles (RUB). */ Rub = "RUB", /** Rwandan Franc (RWF). */ Rwf = "RWF", /** Saudi Riyal (SAR). */ Sar = "SAR", /** Solomon Islands Dollar (SBD). */ Sbd = "SBD", /** Seychellois Rupee (SCR). */ Scr = "SCR", /** Sudanese Pound (SDG). */ Sdg = "SDG", /** Swedish Kronor (SEK). */ Sek = "SEK", /** Singapore Dollars (SGD). */ Sgd = "SGD", /** Saint Helena Pounds (SHP). */ Shp = "SHP", /** Sierra Leonean Leone (SLL). */ Sll = "SLL", /** Somali Shilling (SOS). */ Sos = "SOS", /** Surinamese Dollar (SRD). */ Srd = "SRD", /** South Sudanese Pound (SSP). */ Ssp = "SSP", /** Sao Tome And Principe Dobra (STD). */ Std = "STD", /** Sao Tome And Principe Dobra (STN). */ Stn = "STN", /** Syrian Pound (SYP). */ Syp = "SYP", /** Swazi Lilangeni (SZL). */ Szl = "SZL", /** Thai baht (THB). */ Thb = "THB", /** Tajikistani Somoni (TJS). */ Tjs = "TJS", /** Turkmenistani Manat (TMT). */ Tmt = "TMT", /** Tunisian Dinar (TND). */ Tnd = "TND", /** Tongan Pa'anga (TOP). */ Top = "TOP", /** Turkish Lira (TRY). */ Try = "TRY", /** Trinidad and Tobago Dollars (TTD). */ Ttd = "TTD", /** Taiwan Dollars (TWD). */ Twd = "TWD", /** Tanzanian Shilling (TZS). */ Tzs = "TZS", /** Ukrainian Hryvnia (UAH). */ Uah = "UAH", /** Ugandan Shilling (UGX). */ Ugx = "UGX", /** United States Dollars (USD). */ Usd = "USD", /** Uruguayan Pesos (UYU). */ Uyu = "UYU", /** Uzbekistan som (UZS). */ Uzs = "UZS", /** Venezuelan Bolivares (VED). */ Ved = "VED", /** Venezuelan Bolivares (VEF). */ Vef = "VEF", /** Venezuelan Bolivares (VES). */ Ves = "VES", /** Vietnamese đồng (VND). */ Vnd = "VND", /** Vanuatu Vatu (VUV). */ Vuv = "VUV", /** Samoan Tala (WST). */ Wst = "WST", /** Central African CFA Franc (XAF). */ Xaf = "XAF", /** East Caribbean Dollar (XCD). */ Xcd = "XCD", /** West African CFA franc (XOF). */ Xof = "XOF", /** CFP Franc (XPF). */ Xpf = "XPF", /** Unrecognized currency. */ Xxx = "XXX", /** Yemeni Rial (YER). */ Yer = "YER", /** South African Rand (ZAR). */ Zar = "ZAR", /** Zambian Kwacha (ZMW). */ Zmw = "ZMW" } /** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */ export declare type Customer = HasMetafields & { /** Indicates whether the customer has consented to be sent marketing material via email. */ readonly acceptsMarketing: Scalars['Boolean']; /** A list of addresses for the customer. */ readonly addresses: MailingAddressConnection; /** The date and time when the customer was created. */ readonly createdAt: Scalars['DateTime']; /** The customer’s default address. */ readonly defaultAddress?: Maybe; /** The customer’s name, email or phone number. */ readonly displayName: Scalars['String']; /** The customer’s email address. */ readonly email?: Maybe; /** The customer’s first name. */ readonly firstName?: Maybe; /** A unique ID for the customer. */ readonly id: Scalars['ID']; /** The customer's most recently updated, incomplete checkout. */ readonly lastIncompleteCheckout?: Maybe; /** The customer’s last name. */ readonly lastName?: Maybe; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** The number of orders that the customer has made at the store in their lifetime. */ readonly numberOfOrders: Scalars['UnsignedInt64']; /** The orders associated with the customer. */ readonly orders: OrderConnection; /** The customer’s phone number. */ readonly phone?: Maybe; /** * A comma separated list of tags that have been added to the customer. * Additional access scope required: unauthenticated_read_customer_tags. * */ readonly tags: ReadonlyArray; /** The date and time when the customer information was updated. */ readonly updatedAt: Scalars['DateTime']; }; /** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */ export declare type CustomerAddressesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */ export declare type CustomerMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */ export declare type CustomerMetafieldsArgs = { identifiers: ReadonlyArray; }; /** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */ export declare type CustomerOrdersArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** A CustomerAccessToken represents the unique token required to make modifications to the customer object. */ export declare type CustomerAccessToken = { /** The customer’s access token. */ readonly accessToken: Scalars['String']; /** The date and time when the customer access token expires. */ readonly expiresAt: Scalars['DateTime']; }; /** The input fields required to create a customer access token. */ export declare type CustomerAccessTokenCreateInput = { /** The email associated to the customer. */ readonly email: Scalars['String']; /** The login password to be used by the customer. */ readonly password: Scalars['String']; }; /** Return type for `customerAccessTokenCreate` mutation. */ export declare type CustomerAccessTokenCreatePayload = { /** The newly created customer access token object. */ readonly customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `customerAccessTokenCreateWithMultipass` mutation. */ export declare type CustomerAccessTokenCreateWithMultipassPayload = { /** An access token object associated with the customer. */ readonly customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; }; /** Return type for `customerAccessTokenDelete` mutation. */ export declare type CustomerAccessTokenDeletePayload = { /** The destroyed access token. */ readonly deletedAccessToken?: Maybe; /** ID of the destroyed customer access token. */ readonly deletedCustomerAccessTokenId?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** Return type for `customerAccessTokenRenew` mutation. */ export declare type CustomerAccessTokenRenewPayload = { /** The renewed customer access token object. */ readonly customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly userErrors: ReadonlyArray; }; /** Return type for `customerActivateByUrl` mutation. */ export declare type CustomerActivateByUrlPayload = { /** The customer that was activated. */ readonly customer?: Maybe; /** A new customer access token for the customer. */ readonly customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; }; /** The input fields to activate a customer. */ export declare type CustomerActivateInput = { /** The activation token required to activate the customer. */ readonly activationToken: Scalars['String']; /** New password that will be set during activation. */ readonly password: Scalars['String']; }; /** Return type for `customerActivate` mutation. */ export declare type CustomerActivatePayload = { /** The customer object. */ readonly customer?: Maybe; /** A newly created customer access token object for the customer. */ readonly customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `customerAddressCreate` mutation. */ export declare type CustomerAddressCreatePayload = { /** The new customer address object. */ readonly customerAddress?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `customerAddressDelete` mutation. */ export declare type CustomerAddressDeletePayload = { /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** ID of the deleted customer address. */ readonly deletedCustomerAddressId?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `customerAddressUpdate` mutation. */ export declare type CustomerAddressUpdatePayload = { /** The customer’s updated mailing address. */ readonly customerAddress?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** The input fields to create a new customer. */ export declare type CustomerCreateInput = { /** Indicates whether the customer has consented to be sent marketing material via email. */ readonly acceptsMarketing?: InputMaybe; /** The customer’s email. */ readonly email: Scalars['String']; /** The customer’s first name. */ readonly firstName?: InputMaybe; /** The customer’s last name. */ readonly lastName?: InputMaybe; /** The login password used by the customer. */ readonly password: Scalars['String']; /** * A unique phone number for the customer. * * Formatted using E.164 standard. For example, _+16135551111_. * */ readonly phone?: InputMaybe; }; /** Return type for `customerCreate` mutation. */ export declare type CustomerCreatePayload = { /** The created customer object. */ readonly customer?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `customerDefaultAddressUpdate` mutation. */ export declare type CustomerDefaultAddressUpdatePayload = { /** The updated customer object. */ readonly customer?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Possible error codes that can be returned by `CustomerUserError`. */ export declare enum CustomerErrorCode { /** Customer already enabled. */ AlreadyEnabled = "ALREADY_ENABLED", /** Input email contains an invalid domain name. */ BadDomain = "BAD_DOMAIN", /** The input value is blank. */ Blank = "BLANK", /** Input contains HTML tags. */ ContainsHtmlTags = "CONTAINS_HTML_TAGS", /** Input contains URL. */ ContainsUrl = "CONTAINS_URL", /** Customer is disabled. */ CustomerDisabled = "CUSTOMER_DISABLED", /** The input value is invalid. */ Invalid = "INVALID", /** Multipass token is not valid. */ InvalidMultipassRequest = "INVALID_MULTIPASS_REQUEST", /** Address does not exist. */ NotFound = "NOT_FOUND", /** Input password starts or ends with whitespace. */ PasswordStartsOrEndsWithWhitespace = "PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE", /** The input value is already taken. */ Taken = "TAKEN", /** Invalid activation token. */ TokenInvalid = "TOKEN_INVALID", /** The input value is too long. */ TooLong = "TOO_LONG", /** The input value is too short. */ TooShort = "TOO_SHORT", /** Unidentified customer. */ UnidentifiedCustomer = "UNIDENTIFIED_CUSTOMER" } /** Return type for `customerRecover` mutation. */ export declare type CustomerRecoverPayload = { /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Return type for `customerResetByUrl` mutation. */ export declare type CustomerResetByUrlPayload = { /** The customer object which was reset. */ readonly customer?: Maybe; /** A newly created customer access token object for the customer. */ readonly customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** The input fields to reset a customer's password. */ export declare type CustomerResetInput = { /** New password that will be set as part of the reset password process. */ readonly password: Scalars['String']; /** The reset token required to reset the customer’s password. */ readonly resetToken: Scalars['String']; }; /** Return type for `customerReset` mutation. */ export declare type CustomerResetPayload = { /** The customer object which was reset. */ readonly customer?: Maybe; /** A newly created customer access token object for the customer. */ readonly customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** The input fields to update the Customer information. */ export declare type CustomerUpdateInput = { /** Indicates whether the customer has consented to be sent marketing material via email. */ readonly acceptsMarketing?: InputMaybe; /** The customer’s email. */ readonly email?: InputMaybe; /** The customer’s first name. */ readonly firstName?: InputMaybe; /** The customer’s last name. */ readonly lastName?: InputMaybe; /** The login password used by the customer. */ readonly password?: InputMaybe; /** * A unique phone number for the customer. * * Formatted using E.164 standard. For example, _+16135551111_. To remove the phone number, specify `null`. * */ readonly phone?: InputMaybe; }; /** Return type for `customerUpdate` mutation. */ export declare type CustomerUpdatePayload = { /** The updated customer object. */ readonly customer?: Maybe; /** * The newly created customer access token. If the customer's password is updated, all previous access tokens * (including the one used to perform this mutation) become invalid, and a new token is generated. * */ readonly customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly customerUserErrors: ReadonlyArray; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ readonly userErrors: ReadonlyArray; }; /** Represents an error that happens during execution of a customer mutation. */ export declare type CustomerUserError = DisplayableError & { /** The error code. */ readonly code?: Maybe; /** The path to the input field that caused the error. */ readonly field?: Maybe>; /** The error message. */ readonly message: Scalars['String']; }; /** A delivery address of the buyer that is interacting with the cart. */ export declare type DeliveryAddress = MailingAddress; /** * The input fields for delivery address preferences. * */ export declare type DeliveryAddressInput = { /** * The ID of a customer address that is associated with the buyer that is interacting with the cart. * */ readonly customerAddressId?: InputMaybe; /** A delivery address preference of a buyer that is interacting with the cart. */ readonly deliveryAddress?: InputMaybe; }; /** List of different delivery method types. */ export declare enum DeliveryMethodType { /** Local Delivery. */ Local = "LOCAL", /** None. */ None = "NONE", /** Shipping to a Pickup Point. */ PickupPoint = "PICKUP_POINT", /** Local Pickup. */ PickUp = "PICK_UP", /** Retail. */ Retail = "RETAIL", /** Shipping. */ Shipping = "SHIPPING" } /** Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. */ export declare enum DigitalWallet { /** Android Pay. */ AndroidPay = "ANDROID_PAY", /** Apple Pay. */ ApplePay = "APPLE_PAY", /** Google Pay. */ GooglePay = "GOOGLE_PAY", /** Shopify Pay. */ ShopifyPay = "SHOPIFY_PAY" } /** * An amount discounting the line that has been allocated by a discount. * */ export declare type DiscountAllocation = { /** Amount of discount allocated. */ readonly allocatedAmount: MoneyV2; /** The discount this allocated amount originated from. */ readonly discountApplication: DiscountApplication; }; /** * Discount applications capture the intentions of a discount source at * the time of application. * */ export declare type DiscountApplication = { /** The method by which the discount's value is allocated to its entitled items. */ readonly allocationMethod: DiscountApplicationAllocationMethod; /** Which lines of targetType that the discount is allocated over. */ readonly targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ readonly targetType: DiscountApplicationTargetType; /** The value of the discount application. */ readonly value: PricingValue; }; /** The method by which the discount's value is allocated onto its entitled lines. */ export declare enum DiscountApplicationAllocationMethod { /** The value is spread across all entitled lines. */ Across = "ACROSS", /** The value is applied onto every entitled line. */ Each = "EACH", /** The value is specifically applied onto a particular line. */ One = "ONE" } /** * An auto-generated type for paginating through multiple DiscountApplications. * */ export declare type DiscountApplicationConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in DiscountApplicationEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one DiscountApplication and a cursor during pagination. * */ export declare type DiscountApplicationEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of DiscountApplicationEdge. */ readonly node: DiscountApplication; }; /** * The lines on the order to which the discount is applied, of the type defined by * the discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of * `LINE_ITEM`, applies the discount on all line items that are entitled to the discount. * The value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines. * */ export declare enum DiscountApplicationTargetSelection { /** The discount is allocated onto all the lines. */ All = "ALL", /** The discount is allocated onto only the lines that it's entitled for. */ Entitled = "ENTITLED", /** The discount is allocated onto explicitly chosen lines. */ Explicit = "EXPLICIT" } /** * The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards. * */ export declare enum DiscountApplicationTargetType { /** The discount applies onto line items. */ LineItem = "LINE_ITEM", /** The discount applies onto shipping lines. */ ShippingLine = "SHIPPING_LINE" } /** * Discount code applications capture the intentions of a discount code at * the time that it is applied. * */ export declare type DiscountCodeApplication = DiscountApplication & { /** The method by which the discount's value is allocated to its entitled items. */ readonly allocationMethod: DiscountApplicationAllocationMethod; /** Specifies whether the discount code was applied successfully. */ readonly applicable: Scalars['Boolean']; /** The string identifying the discount code that was used at the time of application. */ readonly code: Scalars['String']; /** Which lines of targetType that the discount is allocated over. */ readonly targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ readonly targetType: DiscountApplicationTargetType; /** The value of the discount application. */ readonly value: PricingValue; }; /** Represents an error in the input of a mutation. */ export declare type DisplayableError = { /** The path to the input field that caused the error. */ readonly field?: Maybe>; /** The error message. */ readonly message: Scalars['String']; }; /** Represents a web address. */ export declare type Domain = { /** The host name of the domain (eg: `example.com`). */ readonly host: Scalars['String']; /** Whether SSL is enabled or not. */ readonly sslEnabled: Scalars['Boolean']; /** The URL of the domain (eg: `https://example.com`). */ readonly url: Scalars['URL']; }; /** Represents a video hosted outside of Shopify. */ export declare type ExternalVideo = Media & Node & { /** A word or phrase to share the nature or contents of a media. */ readonly alt?: Maybe; /** The embed URL of the video for the respective host. */ readonly embedUrl: Scalars['URL']; /** * The URL. * @deprecated Use `originUrl` instead. */ readonly embeddedUrl: Scalars['URL']; /** The host of the external video. */ readonly host: MediaHost; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The media content type. */ readonly mediaContentType: MediaContentType; /** The origin URL of the video on the respective host. */ readonly originUrl: Scalars['URL']; /** The presentation for a media. */ readonly presentation?: Maybe; /** The preview image for the media. */ readonly previewImage?: Maybe; }; /** A filter that is supported on the parent field. */ export declare type Filter = { /** A unique identifier. */ readonly id: Scalars['String']; /** A human-friendly string for this filter. */ readonly label: Scalars['String']; /** An enumeration that denotes the type of data this filter represents. */ readonly type: FilterType; /** The list of values for this filter. */ readonly values: ReadonlyArray; }; /** * The type of data that the filter group represents. * * For more information, refer to [Filter products in a collection with the Storefront API] * (https://shopify.dev/custom-storefronts/products-collections/filter-products). * */ export declare enum FilterType { /** A boolean value. */ Boolean = "BOOLEAN", /** A list of selectable values. */ List = "LIST", /** A range of prices. */ PriceRange = "PRICE_RANGE" } /** A selectable value within a filter. */ export declare type FilterValue = { /** The number of results that match this filter value. */ readonly count: Scalars['Int']; /** A unique identifier. */ readonly id: Scalars['String']; /** * An input object that can be used to filter by this value on the parent field. * * The value is provided as a helper for building dynamic filtering UI. For example, if you have a list of selected `FilterValue` objects, you can combine their respective `input` values to use in a subsequent query. * */ readonly input: Scalars['JSON']; /** A human-friendly string for this filter value. */ readonly label: Scalars['String']; }; /** Represents a single fulfillment in an order. */ export declare type Fulfillment = { /** List of the fulfillment's line items. */ readonly fulfillmentLineItems: FulfillmentLineItemConnection; /** The name of the tracking company. */ readonly trackingCompany?: Maybe; /** * Tracking information associated with the fulfillment, * such as the tracking number and tracking URL. * */ readonly trackingInfo: ReadonlyArray; }; /** Represents a single fulfillment in an order. */ export declare type FulfillmentFulfillmentLineItemsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** Represents a single fulfillment in an order. */ export declare type FulfillmentTrackingInfoArgs = { first?: InputMaybe; }; /** Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item. */ export declare type FulfillmentLineItem = { /** The associated order's line item. */ readonly lineItem: OrderLineItem; /** The amount fulfilled in this fulfillment. */ readonly quantity: Scalars['Int']; }; /** * An auto-generated type for paginating through multiple FulfillmentLineItems. * */ export declare type FulfillmentLineItemConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in FulfillmentLineItemEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination. * */ export declare type FulfillmentLineItemEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of FulfillmentLineItemEdge. */ readonly node: FulfillmentLineItem; }; /** Tracking information associated with the fulfillment. */ export declare type FulfillmentTrackingInfo = { /** The tracking number of the fulfillment. */ readonly number?: Maybe; /** The URL to track the fulfillment. */ readonly url?: Maybe; }; /** The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON. */ export declare type GenericFile = Node & { /** A word or phrase to indicate the contents of a file. */ readonly alt?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The MIME type of the file. */ readonly mimeType?: Maybe; /** The size of the original file in bytes. */ readonly originalFileSize?: Maybe; /** The preview image for the file. */ readonly previewImage?: Maybe; /** The URL of the file. */ readonly url?: Maybe; }; /** The input fields used to specify a geographical location. */ export declare type GeoCoordinateInput = { /** The coordinate's latitude value. */ readonly latitude: Scalars['Float']; /** The coordinate's longitude value. */ readonly longitude: Scalars['Float']; }; /** Represents information about the metafields associated to the specified resource. */ export declare type HasMetafields = { /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; }; /** Represents information about the metafields associated to the specified resource. */ export declare type HasMetafieldsMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** Represents information about the metafields associated to the specified resource. */ export declare type HasMetafieldsMetafieldsArgs = { identifiers: ReadonlyArray; }; /** The input fields to identify a metafield on an owner resource by namespace and key. */ export declare type HasMetafieldsIdentifier = { /** The identifier for the metafield. */ readonly key: Scalars['String']; /** A container for a set of metafields. */ readonly namespace: Scalars['String']; }; /** Represents an image resource. */ export declare type Image = { /** A word or phrase to share the nature or contents of an image. */ readonly altText?: Maybe; /** The original height of the image in pixels. Returns `null` if the image is not hosted by Shopify. */ readonly height?: Maybe; /** A unique ID for the image. */ readonly id?: Maybe; /** * The location of the original image as a URL. * * If there are any existing transformations in the original source URL, they will remain and not be stripped. * * @deprecated Use `url` instead. */ readonly originalSrc: Scalars['URL']; /** * The location of the image as a URL. * @deprecated Use `url` instead. */ readonly src: Scalars['URL']; /** * The location of the transformed image as a URL. * * All transformation arguments are considered "best-effort". If they can be applied to an image, they will be. * Otherwise any transformations which an image type does not support will be ignored. * * @deprecated Use `url(transform:)` instead */ readonly transformedSrc: Scalars['URL']; /** * The location of the image as a URL. * * If no transform options are specified, then the original image will be preserved including any pre-applied transforms. * * All transformation options are considered "best-effort". Any transformation that the original image type doesn't support will be ignored. * * If you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases). * */ readonly url: Scalars['URL']; /** The original width of the image in pixels. Returns `null` if the image is not hosted by Shopify. */ readonly width?: Maybe; }; /** Represents an image resource. */ export declare type ImageTransformedSrcArgs = { crop?: InputMaybe; maxHeight?: InputMaybe; maxWidth?: InputMaybe; preferredContentType?: InputMaybe; scale?: InputMaybe; }; /** Represents an image resource. */ export declare type ImageUrlArgs = { transform?: InputMaybe; }; /** * An auto-generated type for paginating through multiple Images. * */ export declare type ImageConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in ImageEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** List of supported image content types. */ export declare enum ImageContentType { /** A JPG image. */ Jpg = "JPG", /** A PNG image. */ Png = "PNG", /** A WEBP image. */ Webp = "WEBP" } /** * An auto-generated type which holds one Image and a cursor during pagination. * */ export declare type ImageEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of ImageEdge. */ readonly node: Image; }; /** * The available options for transforming an image. * * All transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored. * */ export declare type ImageTransformInput = { /** * The region of the image to remain after cropping. * Must be used in conjunction with the `maxWidth` and/or `maxHeight` fields, where the `maxWidth` and `maxHeight` aren't equal. * The `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while * a smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{ maxWidth: 5, maxHeight: 10, crop: LEFT }` will result * in an image with a width of 5 and height of 10, where the right side of the image is removed. * */ readonly crop?: InputMaybe; /** * Image height in pixels between 1 and 5760. * */ readonly maxHeight?: InputMaybe; /** * Image width in pixels between 1 and 5760. * */ readonly maxWidth?: InputMaybe; /** * Convert the source image into the preferred content type. * Supported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`. * */ readonly preferredContentType?: InputMaybe; /** * Image size multiplier for high-resolution retina displays. Must be within 1..3. * */ readonly scale?: InputMaybe; }; /** A language. */ export declare type Language = { /** The name of the language in the language itself. If the language uses capitalization, it is capitalized for a mid-sentence position. */ readonly endonymName: Scalars['String']; /** The ISO code. */ readonly isoCode: LanguageCode; /** The name of the language in the current language. */ readonly name: Scalars['String']; }; /** ISO 639-1 language codes supported by Shopify. */ export declare enum LanguageCode { /** Afrikaans. */ Af = "AF", /** Akan. */ Ak = "AK", /** Amharic. */ Am = "AM", /** Arabic. */ Ar = "AR", /** Assamese. */ As = "AS", /** Azerbaijani. */ Az = "AZ", /** Belarusian. */ Be = "BE", /** Bulgarian. */ Bg = "BG", /** Bambara. */ Bm = "BM", /** Bangla. */ Bn = "BN", /** Tibetan. */ Bo = "BO", /** Breton. */ Br = "BR", /** Bosnian. */ Bs = "BS", /** Catalan. */ Ca = "CA", /** Chechen. */ Ce = "CE", /** Czech. */ Cs = "CS", /** Church Slavic. */ Cu = "CU", /** Welsh. */ Cy = "CY", /** Danish. */ Da = "DA", /** German. */ De = "DE", /** Dzongkha. */ Dz = "DZ", /** Ewe. */ Ee = "EE", /** Greek. */ El = "EL", /** English. */ En = "EN", /** Esperanto. */ Eo = "EO", /** Spanish. */ Es = "ES", /** Estonian. */ Et = "ET", /** Basque. */ Eu = "EU", /** Persian. */ Fa = "FA", /** Fulah. */ Ff = "FF", /** Finnish. */ Fi = "FI", /** Faroese. */ Fo = "FO", /** French. */ Fr = "FR", /** Western Frisian. */ Fy = "FY", /** Irish. */ Ga = "GA", /** Scottish Gaelic. */ Gd = "GD", /** Galician. */ Gl = "GL", /** Gujarati. */ Gu = "GU", /** Manx. */ Gv = "GV", /** Hausa. */ Ha = "HA", /** Hebrew. */ He = "HE", /** Hindi. */ Hi = "HI", /** Croatian. */ Hr = "HR", /** Hungarian. */ Hu = "HU", /** Armenian. */ Hy = "HY", /** Interlingua. */ Ia = "IA", /** Indonesian. */ Id = "ID", /** Igbo. */ Ig = "IG", /** Sichuan Yi. */ Ii = "II", /** Icelandic. */ Is = "IS", /** Italian. */ It = "IT", /** Japanese. */ Ja = "JA", /** Javanese. */ Jv = "JV", /** Georgian. */ Ka = "KA", /** Kikuyu. */ Ki = "KI", /** Kazakh. */ Kk = "KK", /** Kalaallisut. */ Kl = "KL", /** Khmer. */ Km = "KM", /** Kannada. */ Kn = "KN", /** Korean. */ Ko = "KO", /** Kashmiri. */ Ks = "KS", /** Kurdish. */ Ku = "KU", /** Cornish. */ Kw = "KW", /** Kyrgyz. */ Ky = "KY", /** Luxembourgish. */ Lb = "LB", /** Ganda. */ Lg = "LG", /** Lingala. */ Ln = "LN", /** Lao. */ Lo = "LO", /** Lithuanian. */ Lt = "LT", /** Luba-Katanga. */ Lu = "LU", /** Latvian. */ Lv = "LV", /** Malagasy. */ Mg = "MG", /** Māori. */ Mi = "MI", /** Macedonian. */ Mk = "MK", /** Malayalam. */ Ml = "ML", /** Mongolian. */ Mn = "MN", /** Marathi. */ Mr = "MR", /** Malay. */ Ms = "MS", /** Maltese. */ Mt = "MT", /** Burmese. */ My = "MY", /** Norwegian (Bokmål). */ Nb = "NB", /** North Ndebele. */ Nd = "ND", /** Nepali. */ Ne = "NE", /** Dutch. */ Nl = "NL", /** Norwegian Nynorsk. */ Nn = "NN", /** Norwegian. */ No = "NO", /** Oromo. */ Om = "OM", /** Odia. */ Or = "OR", /** Ossetic. */ Os = "OS", /** Punjabi. */ Pa = "PA", /** Polish. */ Pl = "PL", /** Pashto. */ Ps = "PS", /** Portuguese. */ Pt = "PT", /** Portuguese (Brazil). */ PtBr = "PT_BR", /** Portuguese (Portugal). */ PtPt = "PT_PT", /** Quechua. */ Qu = "QU", /** Romansh. */ Rm = "RM", /** Rundi. */ Rn = "RN", /** Romanian. */ Ro = "RO", /** Russian. */ Ru = "RU", /** Kinyarwanda. */ Rw = "RW", /** Sindhi. */ Sd = "SD", /** Northern Sami. */ Se = "SE", /** Sango. */ Sg = "SG", /** Sinhala. */ Si = "SI", /** Slovak. */ Sk = "SK", /** Slovenian. */ Sl = "SL", /** Shona. */ Sn = "SN", /** Somali. */ So = "SO", /** Albanian. */ Sq = "SQ", /** Serbian. */ Sr = "SR", /** Sundanese. */ Su = "SU", /** Swedish. */ Sv = "SV", /** Swahili. */ Sw = "SW", /** Tamil. */ Ta = "TA", /** Telugu. */ Te = "TE", /** Tajik. */ Tg = "TG", /** Thai. */ Th = "TH", /** Tigrinya. */ Ti = "TI", /** Turkmen. */ Tk = "TK", /** Tongan. */ To = "TO", /** Turkish. */ Tr = "TR", /** Tatar. */ Tt = "TT", /** Uyghur. */ Ug = "UG", /** Ukrainian. */ Uk = "UK", /** Urdu. */ Ur = "UR", /** Uzbek. */ Uz = "UZ", /** Vietnamese. */ Vi = "VI", /** Volapük. */ Vo = "VO", /** Wolof. */ Wo = "WO", /** Xhosa. */ Xh = "XH", /** Yiddish. */ Yi = "YI", /** Yoruba. */ Yo = "YO", /** Chinese. */ Zh = "ZH", /** Chinese (Simplified). */ ZhCn = "ZH_CN", /** Chinese (Traditional). */ ZhTw = "ZH_TW", /** Zulu. */ Zu = "ZU" } /** Information about the localized experiences configured for the shop. */ export declare type Localization = { /** The list of countries with enabled localized experiences. */ readonly availableCountries: ReadonlyArray; /** The list of languages available for the active country. */ readonly availableLanguages: ReadonlyArray; /** The country of the active localized experience. Use the `@inContext` directive to change this value. */ readonly country: Country; /** The language of the active localized experience. Use the `@inContext` directive to change this value. */ readonly language: Language; /** The market including the country of the active localized experience. Use the `@inContext` directive to change this value. */ readonly market: Market; }; /** Represents a location where product inventory is held. */ export declare type Location = HasMetafields & Node & { /** The address of the location. */ readonly address: LocationAddress; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** The name of the location. */ readonly name: Scalars['String']; }; /** Represents a location where product inventory is held. */ export declare type LocationMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** Represents a location where product inventory is held. */ export declare type LocationMetafieldsArgs = { identifiers: ReadonlyArray; }; /** * Represents the address of a location. * */ export declare type LocationAddress = { /** The first line of the address for the location. */ readonly address1?: Maybe; /** The second line of the address for the location. */ readonly address2?: Maybe; /** The city of the location. */ readonly city?: Maybe; /** The country of the location. */ readonly country?: Maybe; /** The country code of the location. */ readonly countryCode?: Maybe; /** A formatted version of the address for the location. */ readonly formatted: ReadonlyArray; /** The latitude coordinates of the location. */ readonly latitude?: Maybe; /** The longitude coordinates of the location. */ readonly longitude?: Maybe; /** The phone number of the location. */ readonly phone?: Maybe; /** The province of the location. */ readonly province?: Maybe; /** * The code for the province, state, or district of the address of the location. * */ readonly provinceCode?: Maybe; /** The ZIP code of the location. */ readonly zip?: Maybe; }; /** * An auto-generated type for paginating through multiple Locations. * */ export declare type LocationConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in LocationEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one Location and a cursor during pagination. * */ export declare type LocationEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of LocationEdge. */ readonly node: Location; }; /** The set of valid sort keys for the Location query. */ export declare enum LocationSortKeys { /** Sort by the `city` value. */ City = "CITY", /** Sort by the `distance` value. */ Distance = "DISTANCE", /** Sort by the `id` value. */ Id = "ID", /** Sort by the `name` value. */ Name = "NAME" } /** Represents a mailing address for customers and shipping. */ export declare type MailingAddress = Node & { /** The first line of the address. Typically the street address or PO Box number. */ readonly address1?: Maybe; /** * The second line of the address. Typically the number of the apartment, suite, or unit. * */ readonly address2?: Maybe; /** * The name of the city, district, village, or town. * */ readonly city?: Maybe; /** * The name of the customer's company or organization. * */ readonly company?: Maybe; /** * The name of the country. * */ readonly country?: Maybe; /** * The two-letter code for the country of the address. * * For example, US. * * @deprecated Use `countryCodeV2` instead. */ readonly countryCode?: Maybe; /** * The two-letter code for the country of the address. * * For example, US. * */ readonly countryCodeV2?: Maybe; /** The first name of the customer. */ readonly firstName?: Maybe; /** A formatted version of the address, customized by the provided arguments. */ readonly formatted: ReadonlyArray; /** A comma-separated list of the values for city, province, and country. */ readonly formattedArea?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The last name of the customer. */ readonly lastName?: Maybe; /** The latitude coordinate of the customer address. */ readonly latitude?: Maybe; /** The longitude coordinate of the customer address. */ readonly longitude?: Maybe; /** * The full name of the customer, based on firstName and lastName. * */ readonly name?: Maybe; /** * A unique phone number for the customer. * * Formatted using E.164 standard. For example, _+16135551111_. * */ readonly phone?: Maybe; /** The region of the address, such as the province, state, or district. */ readonly province?: Maybe; /** * The two-letter code for the region. * * For example, ON. * */ readonly provinceCode?: Maybe; /** The zip or postal code of the address. */ readonly zip?: Maybe; }; /** Represents a mailing address for customers and shipping. */ export declare type MailingAddressFormattedArgs = { withCompany?: InputMaybe; withName?: InputMaybe; }; /** * An auto-generated type for paginating through multiple MailingAddresses. * */ export declare type MailingAddressConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in MailingAddressEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one MailingAddress and a cursor during pagination. * */ export declare type MailingAddressEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of MailingAddressEdge. */ readonly node: MailingAddress; }; /** The input fields to create or update a mailing address. */ export declare type MailingAddressInput = { /** * The first line of the address. Typically the street address or PO Box number. * */ readonly address1?: InputMaybe; /** * The second line of the address. Typically the number of the apartment, suite, or unit. * */ readonly address2?: InputMaybe; /** * The name of the city, district, village, or town. * */ readonly city?: InputMaybe; /** * The name of the customer's company or organization. * */ readonly company?: InputMaybe; /** The name of the country. */ readonly country?: InputMaybe; /** The first name of the customer. */ readonly firstName?: InputMaybe; /** The last name of the customer. */ readonly lastName?: InputMaybe; /** * A unique phone number for the customer. * * Formatted using E.164 standard. For example, _+16135551111_. * */ readonly phone?: InputMaybe; /** The region of the address, such as the province, state, or district. */ readonly province?: InputMaybe; /** The zip or postal code of the address. */ readonly zip?: InputMaybe; }; /** * Manual discount applications capture the intentions of a discount that was manually created. * */ export declare type ManualDiscountApplication = DiscountApplication & { /** The method by which the discount's value is allocated to its entitled items. */ readonly allocationMethod: DiscountApplicationAllocationMethod; /** The description of the application. */ readonly description?: Maybe; /** Which lines of targetType that the discount is allocated over. */ readonly targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ readonly targetType: DiscountApplicationTargetType; /** The title of the application. */ readonly title: Scalars['String']; /** The value of the discount application. */ readonly value: PricingValue; }; /** A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [the Shopify Markets conceptual overview](/docs/apps/markets). */ export declare type Market = HasMetafields & Node & { /** * A human-readable unique string for the market automatically generated from its title. * */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; }; /** A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [the Shopify Markets conceptual overview](/docs/apps/markets). */ export declare type MarketMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [the Shopify Markets conceptual overview](/docs/apps/markets). */ export declare type MarketMetafieldsArgs = { identifiers: ReadonlyArray; }; /** Represents a media interface. */ export declare type Media = { /** A word or phrase to share the nature or contents of a media. */ readonly alt?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The media content type. */ readonly mediaContentType: MediaContentType; /** The presentation for a media. */ readonly presentation?: Maybe; /** The preview image for the media. */ readonly previewImage?: Maybe; }; /** * An auto-generated type for paginating through multiple Media. * */ export declare type MediaConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in MediaEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** The possible content types for a media object. */ export declare enum MediaContentType { /** An externally hosted video. */ ExternalVideo = "EXTERNAL_VIDEO", /** A Shopify hosted image. */ Image = "IMAGE", /** A 3d model. */ Model_3D = "MODEL_3D", /** A Shopify hosted video. */ Video = "VIDEO" } /** * An auto-generated type which holds one Media and a cursor during pagination. * */ export declare type MediaEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of MediaEdge. */ readonly node: Media; }; /** Host for a Media Resource. */ export declare enum MediaHost { /** Host for Vimeo embedded videos. */ Vimeo = "VIMEO", /** Host for YouTube embedded videos. */ Youtube = "YOUTUBE" } /** Represents a Shopify hosted image. */ export declare type MediaImage = Media & Node & { /** A word or phrase to share the nature or contents of a media. */ readonly alt?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The image for the media. */ readonly image?: Maybe; /** The media content type. */ readonly mediaContentType: MediaContentType; /** The presentation for a media. */ readonly presentation?: Maybe; /** The preview image for the media. */ readonly previewImage?: Maybe; }; /** A media presentation. */ export declare type MediaPresentation = Node & { /** A JSON object representing a presentation view. */ readonly asJson?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; }; /** A media presentation. */ export declare type MediaPresentationAsJsonArgs = { format: MediaPresentationFormat; }; /** The possible formats for a media presentation. */ export declare enum MediaPresentationFormat { /** A media image presentation. */ Image = "IMAGE", /** A model viewer presentation. */ ModelViewer = "MODEL_VIEWER" } /** * A [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) representing a hierarchy * of hyperlinks (items). * */ export declare type Menu = Node & { /** The menu's handle. */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The menu's child items. */ readonly items: ReadonlyArray; /** The count of items on the menu. */ readonly itemsCount: Scalars['Int']; /** The menu's title. */ readonly title: Scalars['String']; }; /** * A menu item within a parent menu. * */ export declare type MenuItem = Node & { /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The menu item's child items. */ readonly items: ReadonlyArray; /** The linked resource. */ readonly resource?: Maybe; /** The ID of the linked resource. */ readonly resourceId?: Maybe; /** The menu item's tags to filter a collection. */ readonly tags: ReadonlyArray; /** The menu item's title. */ readonly title: Scalars['String']; /** The menu item's type. */ readonly type: MenuItemType; /** The menu item's URL. */ readonly url?: Maybe; }; /** * The list of possible resources a `MenuItem` can reference. * */ export declare type MenuItemResource = Article | Blog | Collection | Page | Product | ShopPolicy; /** A menu item type. */ export declare enum MenuItemType { /** An article link. */ Article = "ARTICLE", /** A blog link. */ Blog = "BLOG", /** A catalog link. */ Catalog = "CATALOG", /** A collection link. */ Collection = "COLLECTION", /** A collection link. */ Collections = "COLLECTIONS", /** A frontpage link. */ Frontpage = "FRONTPAGE", /** An http link. */ Http = "HTTP", /** A page link. */ Page = "PAGE", /** A product link. */ Product = "PRODUCT", /** A search link. */ Search = "SEARCH", /** A shop policy link. */ ShopPolicy = "SHOP_POLICY" } /** The merchandise to be purchased at checkout. */ export declare type Merchandise = ProductVariant; /** * Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are * comprised of keys, values, and value types. * */ export declare type Metafield = Node & { /** The date and time when the storefront metafield was created. */ readonly createdAt: Scalars['DateTime']; /** The description of a metafield. */ readonly description?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The unique identifier for the metafield within its namespace. */ readonly key: Scalars['String']; /** The container for a group of metafields that the metafield is associated with. */ readonly namespace: Scalars['String']; /** The type of resource that the metafield is attached to. */ readonly parentResource: MetafieldParentResource; /** Returns a reference object if the metafield's type is a resource reference. */ readonly reference?: Maybe; /** A list of reference objects if the metafield's type is a resource reference list. */ readonly references?: Maybe; /** * The type name of the metafield. * Refer to the list of [supported types](https://shopify.dev/apps/metafields/definitions/types). * */ readonly type: Scalars['String']; /** The date and time when the metafield was last updated. */ readonly updatedAt: Scalars['DateTime']; /** The data stored in the metafield. Always stored as a string, regardless of the metafield's type. */ readonly value: Scalars['String']; }; /** * Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are * comprised of keys, values, and value types. * */ export declare type MetafieldReferencesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** Possible error codes that can be returned by `MetafieldDeleteUserError`. */ export declare enum MetafieldDeleteErrorCode { /** The owner ID is invalid. */ InvalidOwner = "INVALID_OWNER", /** Metafield not found. */ MetafieldDoesNotExist = "METAFIELD_DOES_NOT_EXIST" } /** An error that occurs during the execution of cart metafield deletion. */ export declare type MetafieldDeleteUserError = DisplayableError & { /** The error code. */ readonly code?: Maybe; /** The path to the input field that caused the error. */ readonly field?: Maybe>; /** The error message. */ readonly message: Scalars['String']; }; /** * A filter used to view a subset of products in a collection matching a specific metafield value. * * Only the following metafield types are currently supported: * - `number_integer` * - `number_decimal` * - `single_line_text_field` * - `boolean` as of 2022-04. * */ export declare type MetafieldFilter = { /** The key of the metafield to filter on. */ readonly key: Scalars['String']; /** The namespace of the metafield to filter on. */ readonly namespace: Scalars['String']; /** The value of the metafield. */ readonly value: Scalars['String']; }; /** A resource that the metafield belongs to. */ export declare type MetafieldParentResource = Article | Blog | Cart | Collection | Customer | Location | Market | Order | Page | Product | ProductVariant | Shop; /** * Returns the resource which is being referred to by a metafield. * */ export declare type MetafieldReference = Collection | GenericFile | MediaImage | Metaobject | Page | Product | ProductVariant | Video; /** * An auto-generated type for paginating through multiple MetafieldReferences. * */ export declare type MetafieldReferenceConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in MetafieldReferenceEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one MetafieldReference and a cursor during pagination. * */ export declare type MetafieldReferenceEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of MetafieldReferenceEdge. */ readonly node: MetafieldReference; }; /** An error that occurs during the execution of `MetafieldsSet`. */ export declare type MetafieldsSetUserError = DisplayableError & { /** The error code. */ readonly code?: Maybe; /** The index of the array element that's causing the error. */ readonly elementIndex?: Maybe; /** The path to the input field that caused the error. */ readonly field?: Maybe>; /** The error message. */ readonly message: Scalars['String']; }; /** Possible error codes that can be returned by `MetafieldsSetUserError`. */ export declare enum MetafieldsSetUserErrorCode { /** The input value is blank. */ Blank = "BLANK", /** The input value isn't included in the list. */ Inclusion = "INCLUSION", /** The owner ID is invalid. */ InvalidOwner = "INVALID_OWNER", /** The type is invalid. */ InvalidType = "INVALID_TYPE", /** The value is invalid for metafield type or for definition options. */ InvalidValue = "INVALID_VALUE", /** The input value should be less than or equal to the maximum value allowed. */ LessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO", /** The input value needs to be blank. */ Present = "PRESENT", /** The input value is too long. */ TooLong = "TOO_LONG", /** The input value is too short. */ TooShort = "TOO_SHORT" } /** An instance of a user-defined model based on a MetaobjectDefinition. */ export declare type Metaobject = Node & { /** Accesses a field of the object by key. */ readonly field?: Maybe; /** * All object fields with defined values. * Omitted object keys can be assumed null, and no guarantees are made about field order. * */ readonly fields: ReadonlyArray; /** The unique handle of the metaobject. Useful as a custom ID. */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The type of the metaobject. Defines the namespace of its associated metafields. */ readonly type: Scalars['String']; /** The date and time when the metaobject was last updated. */ readonly updatedAt: Scalars['DateTime']; }; /** An instance of a user-defined model based on a MetaobjectDefinition. */ export declare type MetaobjectFieldArgs = { key: Scalars['String']; }; /** * An auto-generated type for paginating through multiple Metaobjects. * */ export declare type MetaobjectConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in MetaobjectEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one Metaobject and a cursor during pagination. * */ export declare type MetaobjectEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of MetaobjectEdge. */ readonly node: Metaobject; }; /** Provides the value of a Metaobject field. */ export declare type MetaobjectField = { /** The field key. */ readonly key: Scalars['String']; /** A referenced object if the field type is a resource reference. */ readonly reference?: Maybe; /** A list of referenced objects if the field type is a resource reference list. */ readonly references?: Maybe; /** * The type name of the field. * See the list of [supported types](https://shopify.dev/apps/metafields/definitions/types). * */ readonly type: Scalars['String']; /** The field value. */ readonly value?: Maybe; }; /** Provides the value of a Metaobject field. */ export declare type MetaobjectFieldReferencesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; }; /** The input fields used to retrieve a metaobject by handle. */ export declare type MetaobjectHandleInput = { /** The handle of the metaobject. */ readonly handle: Scalars['String']; /** The type of the metaobject. */ readonly type: Scalars['String']; }; /** Represents a Shopify hosted 3D model. */ export declare type Model3d = Media & Node & { /** A word or phrase to share the nature or contents of a media. */ readonly alt?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The media content type. */ readonly mediaContentType: MediaContentType; /** The presentation for a media. */ readonly presentation?: Maybe; /** The preview image for the media. */ readonly previewImage?: Maybe; /** The sources for a 3d model. */ readonly sources: ReadonlyArray; }; /** Represents a source for a Shopify hosted 3d model. */ export declare type Model3dSource = { /** The filesize of the 3d model. */ readonly filesize: Scalars['Int']; /** The format of the 3d model. */ readonly format: Scalars['String']; /** The MIME type of the 3d model. */ readonly mimeType: Scalars['String']; /** The URL of the 3d model. */ readonly url: Scalars['String']; }; /** The input fields for a monetary value with currency. */ export declare type MoneyInput = { /** Decimal money amount. */ readonly amount: Scalars['Decimal']; /** Currency of the money. */ readonly currencyCode: CurrencyCode; }; /** * A monetary value with currency. * */ export declare type MoneyV2 = { /** Decimal money amount. */ readonly amount: Scalars['Decimal']; /** Currency of the money. */ readonly currencyCode: CurrencyCode; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type Mutation = { /** Updates the attributes on a cart. */ readonly cartAttributesUpdate?: Maybe; /** * Updates customer information associated with a cart. * Buyer identity is used to determine * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing) * and should match the customer's shipping address. * */ readonly cartBuyerIdentityUpdate?: Maybe; /** Creates a new cart. */ readonly cartCreate?: Maybe; /** Updates the discount codes applied to the cart. */ readonly cartDiscountCodesUpdate?: Maybe; /** Adds a merchandise line to the cart. */ readonly cartLinesAdd?: Maybe; /** Removes one or more merchandise lines from the cart. */ readonly cartLinesRemove?: Maybe; /** Updates one or more merchandise lines on a cart. */ readonly cartLinesUpdate?: Maybe; /** Deletes a cart metafield. */ readonly cartMetafieldDelete?: Maybe; /** * Sets cart metafield values. Cart metafield values will be set regardless if they were previously created or not. * * Allows a maximum of 25 cart metafields to be set at a time. * */ readonly cartMetafieldsSet?: Maybe; /** Updates the note on the cart. */ readonly cartNoteUpdate?: Maybe; /** Update the customer's payment method that will be used to checkout. */ readonly cartPaymentUpdate?: Maybe; /** Update the selected delivery options for a delivery group. */ readonly cartSelectedDeliveryOptionsUpdate?: Maybe; /** Submit the cart for checkout completion. */ readonly cartSubmitForCompletion?: Maybe; /** Updates the attributes of a checkout if `allowPartialAddresses` is `true`. */ readonly checkoutAttributesUpdateV2?: Maybe; /** Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card. */ readonly checkoutCompleteFree?: Maybe; /** Completes a checkout using a credit card token from Shopify's card vault. Before you can complete checkouts using CheckoutCompleteWithCreditCardV2, you need to [_request payment processing_](https://shopify.dev/apps/channels/getting-started#request-payment-processing). */ readonly checkoutCompleteWithCreditCardV2?: Maybe; /** Completes a checkout with a tokenized payment. */ readonly checkoutCompleteWithTokenizedPaymentV3?: Maybe; /** Creates a new checkout. */ readonly checkoutCreate?: Maybe; /** Associates a customer to the checkout. */ readonly checkoutCustomerAssociateV2?: Maybe; /** Disassociates the current checkout customer from the checkout. */ readonly checkoutCustomerDisassociateV2?: Maybe; /** Applies a discount to an existing checkout using a discount code. */ readonly checkoutDiscountCodeApplyV2?: Maybe; /** Removes the applied discounts from an existing checkout. */ readonly checkoutDiscountCodeRemove?: Maybe; /** Updates the email on an existing checkout. */ readonly checkoutEmailUpdateV2?: Maybe; /** Removes an applied gift card from the checkout. */ readonly checkoutGiftCardRemoveV2?: Maybe; /** Appends gift cards to an existing checkout. */ readonly checkoutGiftCardsAppend?: Maybe; /** Adds a list of line items to a checkout. */ readonly checkoutLineItemsAdd?: Maybe; /** Removes line items from an existing checkout. */ readonly checkoutLineItemsRemove?: Maybe; /** Sets a list of line items to a checkout. */ readonly checkoutLineItemsReplace?: Maybe; /** Updates line items on a checkout. */ readonly checkoutLineItemsUpdate?: Maybe; /** Updates the shipping address of an existing checkout. */ readonly checkoutShippingAddressUpdateV2?: Maybe; /** Updates the shipping lines on an existing checkout. */ readonly checkoutShippingLineUpdate?: Maybe; /** * Creates a customer access token. * The customer access token is required to modify the customer object in any way. * */ readonly customerAccessTokenCreate?: Maybe; /** * Creates a customer access token using a * [multipass token](https://shopify.dev/api/multipass) instead of email and * password. A customer record is created if the customer doesn't exist. If a customer * record already exists but the record is disabled, then the customer record is enabled. * */ readonly customerAccessTokenCreateWithMultipass?: Maybe; /** Permanently destroys a customer access token. */ readonly customerAccessTokenDelete?: Maybe; /** * Renews a customer access token. * * Access token renewal must happen *before* a token expires. * If a token has already expired, a new one should be created instead via `customerAccessTokenCreate`. * */ readonly customerAccessTokenRenew?: Maybe; /** Activates a customer. */ readonly customerActivate?: Maybe; /** Activates a customer with the activation url received from `customerCreate`. */ readonly customerActivateByUrl?: Maybe; /** Creates a new address for a customer. */ readonly customerAddressCreate?: Maybe; /** Permanently deletes the address of an existing customer. */ readonly customerAddressDelete?: Maybe; /** Updates the address of an existing customer. */ readonly customerAddressUpdate?: Maybe; /** Creates a new customer. */ readonly customerCreate?: Maybe; /** Updates the default address of an existing customer. */ readonly customerDefaultAddressUpdate?: Maybe; /** * Sends a reset password email to the customer. The reset password * email contains a reset password URL and token that you can pass to * the [`customerResetByUrl`](https://shopify.dev/api/storefront/latest/mutations/customerResetByUrl) or * [`customerReset`](https://shopify.dev/api/storefront/latest/mutations/customerReset) mutation to reset the * customer password. * * This mutation is throttled by IP. With authenticated access, * you can provide a [`Shopify-Storefront-Buyer-IP`](https://shopify.dev/api/usage/authentication#optional-ip-header) instead of the request IP. * * Make sure that the value provided to `Shopify-Storefront-Buyer-IP` is trusted. Unthrottled access to this * mutation presents a security risk. * */ readonly customerRecover?: Maybe; /** * "Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation." * */ readonly customerReset?: Maybe; /** * "Resets a customer’s password with the reset password URL received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation." * */ readonly customerResetByUrl?: Maybe; /** Updates an existing customer. */ readonly customerUpdate?: Maybe; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartAttributesUpdateArgs = { attributes: ReadonlyArray; cartId: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartBuyerIdentityUpdateArgs = { buyerIdentity: CartBuyerIdentityInput; cartId: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartCreateArgs = { input?: InputMaybe; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartDiscountCodesUpdateArgs = { cartId: Scalars['ID']; discountCodes?: InputMaybe>; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartLinesAddArgs = { cartId: Scalars['ID']; lines: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartLinesRemoveArgs = { cartId: Scalars['ID']; lineIds: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartLinesUpdateArgs = { cartId: Scalars['ID']; lines: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartMetafieldDeleteArgs = { input: CartMetafieldDeleteInput; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartMetafieldsSetArgs = { metafields: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartNoteUpdateArgs = { cartId: Scalars['ID']; note?: InputMaybe; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartPaymentUpdateArgs = { cartId: Scalars['ID']; payment: CartPaymentInput; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartSelectedDeliveryOptionsUpdateArgs = { cartId: Scalars['ID']; selectedDeliveryOptions: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCartSubmitForCompletionArgs = { attemptToken: Scalars['String']; cartId: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutAttributesUpdateV2Args = { checkoutId: Scalars['ID']; input: CheckoutAttributesUpdateV2Input; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutCompleteFreeArgs = { checkoutId: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutCompleteWithCreditCardV2Args = { checkoutId: Scalars['ID']; payment: CreditCardPaymentInputV2; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutCompleteWithTokenizedPaymentV3Args = { checkoutId: Scalars['ID']; payment: TokenizedPaymentInputV3; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutCreateArgs = { input: CheckoutCreateInput; queueToken?: InputMaybe; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutCustomerAssociateV2Args = { checkoutId: Scalars['ID']; customerAccessToken: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutCustomerDisassociateV2Args = { checkoutId: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutDiscountCodeApplyV2Args = { checkoutId: Scalars['ID']; discountCode: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutDiscountCodeRemoveArgs = { checkoutId: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutEmailUpdateV2Args = { checkoutId: Scalars['ID']; email: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutGiftCardRemoveV2Args = { appliedGiftCardId: Scalars['ID']; checkoutId: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutGiftCardsAppendArgs = { checkoutId: Scalars['ID']; giftCardCodes: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutLineItemsAddArgs = { checkoutId: Scalars['ID']; lineItems: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutLineItemsRemoveArgs = { checkoutId: Scalars['ID']; lineItemIds: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutLineItemsReplaceArgs = { checkoutId: Scalars['ID']; lineItems: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutLineItemsUpdateArgs = { checkoutId: Scalars['ID']; lineItems: ReadonlyArray; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutShippingAddressUpdateV2Args = { checkoutId: Scalars['ID']; shippingAddress: MailingAddressInput; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCheckoutShippingLineUpdateArgs = { checkoutId: Scalars['ID']; shippingRateHandle: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerAccessTokenCreateArgs = { input: CustomerAccessTokenCreateInput; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerAccessTokenCreateWithMultipassArgs = { multipassToken: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerAccessTokenDeleteArgs = { customerAccessToken: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerAccessTokenRenewArgs = { customerAccessToken: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerActivateArgs = { id: Scalars['ID']; input: CustomerActivateInput; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerActivateByUrlArgs = { activationUrl: Scalars['URL']; password: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerAddressCreateArgs = { address: MailingAddressInput; customerAccessToken: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerAddressDeleteArgs = { customerAccessToken: Scalars['String']; id: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerAddressUpdateArgs = { address: MailingAddressInput; customerAccessToken: Scalars['String']; id: Scalars['ID']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerCreateArgs = { input: CustomerCreateInput; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerDefaultAddressUpdateArgs = { addressId: Scalars['ID']; customerAccessToken: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerRecoverArgs = { email: Scalars['String']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerResetArgs = { id: Scalars['ID']; input: CustomerResetInput; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerResetByUrlArgs = { password: Scalars['String']; resetUrl: Scalars['URL']; }; /** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ export declare type MutationCustomerUpdateArgs = { customer: CustomerUpdateInput; customerAccessToken: Scalars['String']; }; /** * An object with an ID field to support global identification, in accordance with the * [Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface). * This interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node) * and [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries. * */ export declare type Node = { /** A globally-unique ID. */ readonly id: Scalars['ID']; }; /** Represents a resource that can be published to the Online Store sales channel. */ export declare type OnlineStorePublishable = { /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */ readonly onlineStoreUrl?: Maybe; }; /** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ export declare type Order = HasMetafields & Node & { /** The address associated with the payment method. */ readonly billingAddress?: Maybe; /** The reason for the order's cancellation. Returns `null` if the order wasn't canceled. */ readonly cancelReason?: Maybe; /** The date and time when the order was canceled. Returns null if the order wasn't canceled. */ readonly canceledAt?: Maybe; /** The code of the currency used for the payment. */ readonly currencyCode: CurrencyCode; /** The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, duties, shipping costs, or shipping discounts. Taxes are not included unless the order is a taxes-included order. */ readonly currentSubtotalPrice: MoneyV2; /** The total cost of duties for the order, including refunds. */ readonly currentTotalDuties?: Maybe; /** The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed. */ readonly currentTotalPrice: MoneyV2; /** The total of all taxes applied to the order, excluding taxes for returned line items. */ readonly currentTotalTax: MoneyV2; /** A list of the custom attributes added to the order. */ readonly customAttributes: ReadonlyArray; /** The locale code in which this specific order happened. */ readonly customerLocale?: Maybe; /** The unique URL that the customer can use to access the order. */ readonly customerUrl?: Maybe; /** Discounts that have been applied on the order. */ readonly discountApplications: DiscountApplicationConnection; /** Whether the order has had any edits applied or not. */ readonly edited: Scalars['Boolean']; /** The customer's email address. */ readonly email?: Maybe; /** The financial status of the order. */ readonly financialStatus?: Maybe; /** The fulfillment status for the order. */ readonly fulfillmentStatus: OrderFulfillmentStatus; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** List of the order’s line items. */ readonly lineItems: OrderLineItemConnection; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** * Unique identifier for the order that appears on the order. * For example, _#1000_ or _Store1001. * */ readonly name: Scalars['String']; /** A unique numeric identifier for the order for use by shop owner and customer. */ readonly orderNumber: Scalars['Int']; /** The total cost of duties charged at checkout. */ readonly originalTotalDuties?: Maybe; /** The total price of the order before any applied edits. */ readonly originalTotalPrice: MoneyV2; /** The customer's phone number for receiving SMS notifications. */ readonly phone?: Maybe; /** * The date and time when the order was imported. * This value can be set to dates in the past when importing from other systems. * If no value is provided, it will be auto-generated based on current date and time. * */ readonly processedAt: Scalars['DateTime']; /** The address to where the order will be shipped. */ readonly shippingAddress?: Maybe; /** * The discounts that have been allocated onto the shipping line by discount applications. * */ readonly shippingDiscountAllocations: ReadonlyArray; /** The unique URL for the order's status page. */ readonly statusUrl: Scalars['URL']; /** Price of the order before shipping and taxes. */ readonly subtotalPrice?: Maybe; /** * Price of the order before duties, shipping and taxes. * @deprecated Use `subtotalPrice` instead. */ readonly subtotalPriceV2?: Maybe; /** List of the order’s successful fulfillments. */ readonly successfulFulfillments?: Maybe>; /** The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive). */ readonly totalPrice: MoneyV2; /** * The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive). * @deprecated Use `totalPrice` instead. */ readonly totalPriceV2: MoneyV2; /** The total amount that has been refunded. */ readonly totalRefunded: MoneyV2; /** * The total amount that has been refunded. * @deprecated Use `totalRefunded` instead. */ readonly totalRefundedV2: MoneyV2; /** The total cost of shipping. */ readonly totalShippingPrice: MoneyV2; /** * The total cost of shipping. * @deprecated Use `totalShippingPrice` instead. */ readonly totalShippingPriceV2: MoneyV2; /** The total cost of taxes. */ readonly totalTax?: Maybe; /** * The total cost of taxes. * @deprecated Use `totalTax` instead. */ readonly totalTaxV2?: Maybe; }; /** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ export declare type OrderDiscountApplicationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ export declare type OrderLineItemsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ export declare type OrderMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ export declare type OrderMetafieldsArgs = { identifiers: ReadonlyArray; }; /** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ export declare type OrderSuccessfulFulfillmentsArgs = { first?: InputMaybe; }; /** Represents the reason for the order's cancellation. */ export declare enum OrderCancelReason { /** The customer wanted to cancel the order. */ Customer = "CUSTOMER", /** Payment was declined. */ Declined = "DECLINED", /** The order was fraudulent. */ Fraud = "FRAUD", /** There was insufficient inventory. */ Inventory = "INVENTORY", /** The order was canceled for an unlisted reason. */ Other = "OTHER" } /** * An auto-generated type for paginating through multiple Orders. * */ export declare type OrderConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in OrderEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; /** The total count of Orders. */ readonly totalCount: Scalars['UnsignedInt64']; }; /** * An auto-generated type which holds one Order and a cursor during pagination. * */ export declare type OrderEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of OrderEdge. */ readonly node: Order; }; /** Represents the order's current financial status. */ export declare enum OrderFinancialStatus { /** Displayed as **Authorized**. */ Authorized = "AUTHORIZED", /** Displayed as **Paid**. */ Paid = "PAID", /** Displayed as **Partially paid**. */ PartiallyPaid = "PARTIALLY_PAID", /** Displayed as **Partially refunded**. */ PartiallyRefunded = "PARTIALLY_REFUNDED", /** Displayed as **Pending**. */ Pending = "PENDING", /** Displayed as **Refunded**. */ Refunded = "REFUNDED", /** Displayed as **Voided**. */ Voided = "VOIDED" } /** Represents the order's aggregated fulfillment status for display purposes. */ export declare enum OrderFulfillmentStatus { /** Displayed as **Fulfilled**. All of the items in the order have been fulfilled. */ Fulfilled = "FULFILLED", /** Displayed as **In progress**. Some of the items in the order have been fulfilled, or a request for fulfillment has been sent to the fulfillment service. */ InProgress = "IN_PROGRESS", /** Displayed as **On hold**. All of the unfulfilled items in this order are on hold. */ OnHold = "ON_HOLD", /** Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by "UNFULFILLED" status. */ Open = "OPEN", /** Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled. */ PartiallyFulfilled = "PARTIALLY_FULFILLED", /** Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by "IN_PROGRESS" status. */ PendingFulfillment = "PENDING_FULFILLMENT", /** Displayed as **Restocked**. All of the items in the order have been restocked. Replaced by "UNFULFILLED" status. */ Restocked = "RESTOCKED", /** Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time. */ Scheduled = "SCHEDULED", /** Displayed as **Unfulfilled**. None of the items in the order have been fulfilled. */ Unfulfilled = "UNFULFILLED" } /** Represents a single line in an order. There is one line item for each distinct product variant. */ export declare type OrderLineItem = { /** The number of entries associated to the line item minus the items that have been removed. */ readonly currentQuantity: Scalars['Int']; /** List of custom attributes associated to the line item. */ readonly customAttributes: ReadonlyArray; /** The discounts that have been allocated onto the order line item by discount applications. */ readonly discountAllocations: ReadonlyArray; /** The total price of the line item, including discounts, and displayed in the presentment currency. */ readonly discountedTotalPrice: MoneyV2; /** The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it is displayed in the presentment currency. */ readonly originalTotalPrice: MoneyV2; /** The number of products variants associated to the line item. */ readonly quantity: Scalars['Int']; /** The title of the product combined with title of the variant. */ readonly title: Scalars['String']; /** The product variant object associated to the line item. */ readonly variant?: Maybe; }; /** * An auto-generated type for paginating through multiple OrderLineItems. * */ export declare type OrderLineItemConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in OrderLineItemEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one OrderLineItem and a cursor during pagination. * */ export declare type OrderLineItemEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of OrderLineItemEdge. */ readonly node: OrderLineItem; }; /** The set of valid sort keys for the Order query. */ export declare enum OrderSortKeys { /** Sort by the `id` value. */ Id = "ID", /** Sort by the `processed_at` value. */ ProcessedAt = "PROCESSED_AT", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE", /** Sort by the `total_price` value. */ TotalPrice = "TOTAL_PRICE" } /** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */ export declare type Page = HasMetafields & Node & OnlineStorePublishable & Trackable & { /** The description of the page, complete with HTML formatting. */ readonly body: Scalars['HTML']; /** Summary of the page body. */ readonly bodySummary: Scalars['String']; /** The timestamp of the page creation. */ readonly createdAt: Scalars['DateTime']; /** A human-friendly unique string for the page automatically generated from its title. */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */ readonly onlineStoreUrl?: Maybe; /** The page's SEO information. */ readonly seo?: Maybe; /** The title of the page. */ readonly title: Scalars['String']; /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */ readonly trackingParameters?: Maybe; /** The timestamp of the latest page update. */ readonly updatedAt: Scalars['DateTime']; }; /** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */ export declare type PageMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */ export declare type PageMetafieldsArgs = { identifiers: ReadonlyArray; }; /** * An auto-generated type for paginating through multiple Pages. * */ export declare type PageConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in PageEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one Page and a cursor during pagination. * */ export declare type PageEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of PageEdge. */ readonly node: Page; }; /** * Returns information about pagination in a connection, in accordance with the * [Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo). * For more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql). * */ export declare type PageInfo = { /** The cursor corresponding to the last node in edges. */ readonly endCursor?: Maybe; /** Whether there are more pages to fetch following the current page. */ readonly hasNextPage: Scalars['Boolean']; /** Whether there are any pages prior to the current page. */ readonly hasPreviousPage: Scalars['Boolean']; /** The cursor corresponding to the first node in edges. */ readonly startCursor?: Maybe; }; /** The set of valid sort keys for the Page query. */ export declare enum PageSortKeys { /** Sort by the `id` value. */ Id = "ID", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE", /** Sort by the `title` value. */ Title = "TITLE", /** Sort by the `updated_at` value. */ UpdatedAt = "UPDATED_AT" } /** A payment applied to a checkout. */ export declare type Payment = Node & { /** The amount of the payment. */ readonly amount: MoneyV2; /** * The amount of the payment. * @deprecated Use `amount` instead. */ readonly amountV2: MoneyV2; /** The billing address for the payment. */ readonly billingAddress?: Maybe; /** The checkout to which the payment belongs. */ readonly checkout: Checkout; /** The credit card used for the payment in the case of direct payments. */ readonly creditCard?: Maybe; /** A message describing a processing error during asynchronous processing. */ readonly errorMessage?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** * A client-side generated token to identify a payment and perform idempotent operations. * For more information, refer to * [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). * */ readonly idempotencyKey?: Maybe; /** The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow. */ readonly nextActionUrl?: Maybe; /** Whether the payment is still processing asynchronously. */ readonly ready: Scalars['Boolean']; /** A flag to indicate if the payment is to be done in test mode for gateways that support it. */ readonly test: Scalars['Boolean']; /** The actual transaction recorded by Shopify after having processed the payment with the gateway. */ readonly transaction?: Maybe; }; /** Settings related to payments. */ export declare type PaymentSettings = { /** List of the card brands which the shop accepts. */ readonly acceptedCardBrands: ReadonlyArray; /** The url pointing to the endpoint to vault credit cards. */ readonly cardVaultUrl: Scalars['URL']; /** The country where the shop is located. */ readonly countryCode: CountryCode; /** The three-letter code for the shop's primary currency. */ readonly currencyCode: CurrencyCode; /** A list of enabled currencies (ISO 4217 format) that the shop accepts. Merchants can enable currencies from their Shopify Payments settings in the Shopify admin. */ readonly enabledPresentmentCurrencies: ReadonlyArray; /** The shop’s Shopify Payments account ID. */ readonly shopifyPaymentsAccountId?: Maybe; /** List of the digital wallets which the shop supports. */ readonly supportedDigitalWallets: ReadonlyArray; }; /** The valid values for the types of payment token. */ export declare enum PaymentTokenType { /** Apple Pay token type. */ ApplePay = "APPLE_PAY", /** Google Pay token type. */ GooglePay = "GOOGLE_PAY", /** Shopify Pay token type. */ ShopifyPay = "SHOPIFY_PAY", /** Stripe token type. */ StripeVaultToken = "STRIPE_VAULT_TOKEN", /** Vault payment token type. */ Vault = "VAULT" } /** Decides the distribution of results. */ export declare enum PredictiveSearchLimitScope { /** Return results up to limit across all types. */ All = "ALL", /** Return results up to limit per type. */ Each = "EACH" } /** * A predictive search result represents a list of products, collections, pages, articles, and query suggestions * that matches the predictive search query. * */ export declare type PredictiveSearchResult = { /** The articles that match the search query. */ readonly articles: ReadonlyArray
; /** The articles that match the search query. */ readonly collections: ReadonlyArray; /** The pages that match the search query. */ readonly pages: ReadonlyArray; /** The products that match the search query. */ readonly products: ReadonlyArray; /** The query suggestions that are relevant to the search query. */ readonly queries: ReadonlyArray; }; /** The types of search items to perform predictive search on. */ export declare enum PredictiveSearchType { /** Returns matching articles. */ Article = "ARTICLE", /** Returns matching collections. */ Collection = "COLLECTION", /** Returns matching pages. */ Page = "PAGE", /** Returns matching products. */ Product = "PRODUCT", /** Returns matching query strings. */ Query = "QUERY" } /** * The input fields for a filter used to view a subset of products in a collection matching a specific price range. * */ export declare type PriceRangeFilter = { /** The maximum price in the range. Empty indicates no max price. */ readonly max?: InputMaybe; /** The minimum price in the range. Defaults to zero. */ readonly min?: InputMaybe; }; /** The value of the percentage pricing object. */ export declare type PricingPercentageValue = { /** The percentage value of the object. */ readonly percentage: Scalars['Float']; }; /** The price value (fixed or percentage) for a discount application. */ export declare type PricingValue = MoneyV2 | PricingPercentageValue; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type Product = HasMetafields & Node & OnlineStorePublishable & Trackable & { /** Indicates if at least one product variant is available for sale. */ readonly availableForSale: Scalars['Boolean']; /** List of collections a product belongs to. */ readonly collections: CollectionConnection; /** The compare at price of the product across all variants. */ readonly compareAtPriceRange: ProductPriceRange; /** The date and time when the product was created. */ readonly createdAt: Scalars['DateTime']; /** Stripped description of the product, single line with HTML tags removed. */ readonly description: Scalars['String']; /** The description of the product, complete with HTML formatting. */ readonly descriptionHtml: Scalars['HTML']; /** * The featured image for the product. * * This field is functionally equivalent to `images(first: 1)`. * */ readonly featuredImage?: Maybe; /** * A human-friendly unique string for the Product automatically generated from its title. * They are used by the Liquid templating language to refer to objects. * */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** List of images associated with the product. */ readonly images: ImageConnection; /** Whether the product is a gift card. */ readonly isGiftCard: Scalars['Boolean']; /** The media associated with the product. */ readonly media: MediaConnection; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */ readonly onlineStoreUrl?: Maybe; /** List of product options. */ readonly options: ReadonlyArray; /** The price range. */ readonly priceRange: ProductPriceRange; /** A categorization that a product can be tagged with, commonly used for filtering and searching. */ readonly productType: Scalars['String']; /** The date and time when the product was published to the channel. */ readonly publishedAt: Scalars['DateTime']; /** Whether the product can only be purchased with a selling plan. */ readonly requiresSellingPlan: Scalars['Boolean']; /** A list of a product's available selling plan groups. A selling plan group represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */ readonly sellingPlanGroups: SellingPlanGroupConnection; /** The product's SEO information. */ readonly seo: Seo; /** * A comma separated list of tags that have been added to the product. * Additional access scope required for private apps: unauthenticated_read_product_tags. * */ readonly tags: ReadonlyArray; /** The product’s title. */ readonly title: Scalars['String']; /** The total quantity of inventory in stock for this Product. */ readonly totalInventory?: Maybe; /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */ readonly trackingParameters?: Maybe; /** * The date and time when the product was last modified. * A product's `updatedAt` value can change for different reasons. For example, if an order * is placed for a product that has inventory tracking set up, then the inventory adjustment * is counted as an update. * */ readonly updatedAt: Scalars['DateTime']; /** * Find a product’s variant based on its selected options. * This is useful for converting a user’s selection of product options into a single matching variant. * If there is not a variant for the selected options, `null` will be returned. * */ readonly variantBySelectedOptions?: Maybe; /** List of the product’s variants. */ readonly variants: ProductVariantConnection; /** The product’s vendor name. */ readonly vendor: Scalars['String']; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductCollectionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductDescriptionArgs = { truncateAt?: InputMaybe; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductImagesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductMediaArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductMetafieldsArgs = { identifiers: ReadonlyArray; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductOptionsArgs = { first?: InputMaybe; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductSellingPlanGroupsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductVariantBySelectedOptionsArgs = { selectedOptions: ReadonlyArray; }; /** * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). */ export declare type ProductVariantsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** The set of valid sort keys for the ProductCollection query. */ export declare enum ProductCollectionSortKeys { /** Sort by the `best-selling` value. */ BestSelling = "BEST_SELLING", /** Sort by the `collection-default` value. */ CollectionDefault = "COLLECTION_DEFAULT", /** Sort by the `created` value. */ Created = "CREATED", /** Sort by the `id` value. */ Id = "ID", /** Sort by the `manual` value. */ Manual = "MANUAL", /** Sort by the `price` value. */ Price = "PRICE", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE", /** Sort by the `title` value. */ Title = "TITLE" } /** * An auto-generated type for paginating through multiple Products. * */ export declare type ProductConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of available filters. */ readonly filters: ReadonlyArray; /** A list of the nodes contained in ProductEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one Product and a cursor during pagination. * */ export declare type ProductEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of ProductEdge. */ readonly node: Product; }; /** * The input fields for a filter used to view a subset of products in a collection. * By default, the `available` and `price` filters are enabled. Filters are customized with the Shopify Search & Discovery app. * Learn more about [customizing storefront filtering](https://help.shopify.com/manual/online-store/themes/customizing-themes/storefront-filters). * */ export declare type ProductFilter = { /** Filter on if the product is available for sale. */ readonly available?: InputMaybe; /** A range of prices to filter with-in. */ readonly price?: InputMaybe; /** A product metafield to filter on. */ readonly productMetafield?: InputMaybe; /** The product type to filter on. */ readonly productType?: InputMaybe; /** The product vendor to filter on. */ readonly productVendor?: InputMaybe; /** A product tag to filter on. */ readonly tag?: InputMaybe; /** A variant metafield to filter on. */ readonly variantMetafield?: InputMaybe; /** A variant option to filter on. */ readonly variantOption?: InputMaybe; }; /** The set of valid sort keys for the ProductImage query. */ export declare enum ProductImageSortKeys { /** Sort by the `created_at` value. */ CreatedAt = "CREATED_AT", /** Sort by the `id` value. */ Id = "ID", /** Sort by the `position` value. */ Position = "POSITION", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE" } /** The set of valid sort keys for the ProductMedia query. */ export declare enum ProductMediaSortKeys { /** Sort by the `id` value. */ Id = "ID", /** Sort by the `position` value. */ Position = "POSITION", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE" } /** * Product property names like "Size", "Color", and "Material" that the customers can select. * Variants are selected based on permutations of these options. * 255 characters limit each. * */ export declare type ProductOption = Node & { /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The product option’s name. */ readonly name: Scalars['String']; /** The corresponding value to the product option name. */ readonly values: ReadonlyArray; }; /** The price range of the product. */ export declare type ProductPriceRange = { /** The highest variant's price. */ readonly maxVariantPrice: MoneyV2; /** The lowest variant's price. */ readonly minVariantPrice: MoneyV2; }; /** * The recommendation intent that is used to generate product recommendations. * You can use intent to generate product recommendations according to different strategies. * */ export declare enum ProductRecommendationIntent { /** Offer customers products that are complementary to a product for which recommendations are to be fetched. An example is add-on products that display in a Pair it with section. */ Complementary = "COMPLEMENTARY", /** Offer customers a mix of products that are similar or complementary to a product for which recommendations are to be fetched. An example is substitutable products that display in a You may also like section. */ Related = "RELATED" } /** The set of valid sort keys for the Product query. */ export declare enum ProductSortKeys { /** Sort by the `best_selling` value. */ BestSelling = "BEST_SELLING", /** Sort by the `created_at` value. */ CreatedAt = "CREATED_AT", /** Sort by the `id` value. */ Id = "ID", /** Sort by the `price` value. */ Price = "PRICE", /** Sort by the `product_type` value. */ ProductType = "PRODUCT_TYPE", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE", /** Sort by the `title` value. */ Title = "TITLE", /** Sort by the `updated_at` value. */ UpdatedAt = "UPDATED_AT", /** Sort by the `vendor` value. */ Vendor = "VENDOR" } /** A product variant represents a different version of a product, such as differing sizes or differing colors. */ export declare type ProductVariant = HasMetafields & Node & { /** Indicates if the product variant is available for sale. */ readonly availableForSale: Scalars['Boolean']; /** The barcode (for example, ISBN, UPC, or GTIN) associated with the variant. */ readonly barcode?: Maybe; /** The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`. */ readonly compareAtPrice?: Maybe; /** * The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`. * @deprecated Use `compareAtPrice` instead. */ readonly compareAtPriceV2?: Maybe; /** Whether a product is out of stock but still available for purchase (used for backorders). */ readonly currentlyNotInStock: Scalars['Boolean']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** * Image associated with the product variant. This field falls back to the product image if no image is available. * */ readonly image?: Maybe; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** The product variant’s price. */ readonly price: MoneyV2; /** * The product variant’s price. * @deprecated Use `price` instead. */ readonly priceV2: MoneyV2; /** The product object that the product variant belongs to. */ readonly product: Product; /** The total sellable quantity of the variant for online sales channels. */ readonly quantityAvailable?: Maybe; /** Whether a customer needs to provide a shipping address when placing an order for the product variant. */ readonly requiresShipping: Scalars['Boolean']; /** List of product options applied to the variant. */ readonly selectedOptions: ReadonlyArray; /** Represents an association between a variant and a selling plan. Selling plan allocations describe which selling plans are available for each variant, and what their impact is on pricing. */ readonly sellingPlanAllocations: SellingPlanAllocationConnection; /** The SKU (stock keeping unit) associated with the variant. */ readonly sku?: Maybe; /** The in-store pickup availability of this variant by location. */ readonly storeAvailability: StoreAvailabilityConnection; /** The product variant’s title. */ readonly title: Scalars['String']; /** The unit price value for the variant based on the variant's measurement. */ readonly unitPrice?: Maybe; /** The unit price measurement for the variant. */ readonly unitPriceMeasurement?: Maybe; /** The weight of the product variant in the unit system specified with `weight_unit`. */ readonly weight?: Maybe; /** Unit of measurement for weight. */ readonly weightUnit: WeightUnit; }; /** A product variant represents a different version of a product, such as differing sizes or differing colors. */ export declare type ProductVariantMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** A product variant represents a different version of a product, such as differing sizes or differing colors. */ export declare type ProductVariantMetafieldsArgs = { identifiers: ReadonlyArray; }; /** A product variant represents a different version of a product, such as differing sizes or differing colors. */ export declare type ProductVariantSellingPlanAllocationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** A product variant represents a different version of a product, such as differing sizes or differing colors. */ export declare type ProductVariantStoreAvailabilityArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; near?: InputMaybe; reverse?: InputMaybe; }; /** * An auto-generated type for paginating through multiple ProductVariants. * */ export declare type ProductVariantConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in ProductVariantEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one ProductVariant and a cursor during pagination. * */ export declare type ProductVariantEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of ProductVariantEdge. */ readonly node: ProductVariant; }; /** The set of valid sort keys for the ProductVariant query. */ export declare enum ProductVariantSortKeys { /** Sort by the `id` value. */ Id = "ID", /** Sort by the `position` value. */ Position = "POSITION", /** * Sort by relevance to the search terms when the `query` parameter is specified on the connection. * Don't use this sort key when no search query is specified. * */ Relevance = "RELEVANCE", /** Sort by the `sku` value. */ Sku = "SKU", /** Sort by the `title` value. */ Title = "TITLE" } /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRoot = { /** Fetch a specific Article by its ID. */ readonly article?: Maybe
; /** List of the shop's articles. */ readonly articles: ArticleConnection; /** Fetch a specific `Blog` by one of its unique attributes. */ readonly blog?: Maybe; /** * Find a blog by its handle. * @deprecated Use `blog` instead. */ readonly blogByHandle?: Maybe; /** List of the shop's blogs. */ readonly blogs: BlogConnection; /** * Retrieve a cart by its ID. For more information, refer to * [Manage a cart with the Storefront API](https://shopify.dev/custom-storefronts/cart/manage). * */ readonly cart?: Maybe; /** A poll for the status of the cart checkout completion and order creation. */ readonly cartCompletionAttempt?: Maybe; /** Fetch a specific `Collection` by one of its unique attributes. */ readonly collection?: Maybe; /** * Find a collection by its handle. * @deprecated Use `collection` instead. */ readonly collectionByHandle?: Maybe; /** List of the shop’s collections. */ readonly collections: CollectionConnection; /** * The customer associated with the given access token. Tokens are obtained by using the * [`customerAccessTokenCreate` mutation](https://shopify.dev/docs/api/storefront/latest/mutations/customerAccessTokenCreate). * */ readonly customer?: Maybe; /** Returns the localized experiences configured for the shop. */ readonly localization: Localization; /** * List of the shop's locations that support in-store pickup. * * When sorting by distance, you must specify a location via the `near` argument. * */ readonly locations: LocationConnection; /** * Retrieve a [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) by its handle. * */ readonly menu?: Maybe; /** Fetch a specific Metaobject by one of its unique identifiers. */ readonly metaobject?: Maybe; /** All active metaobjects for the shop. */ readonly metaobjects: MetaobjectConnection; /** Returns a specific node by ID. */ readonly node?: Maybe; /** Returns the list of nodes with the given IDs. */ readonly nodes: ReadonlyArray>; /** Fetch a specific `Page` by one of its unique attributes. */ readonly page?: Maybe; /** * Find a page by its handle. * @deprecated Use `page` instead. */ readonly pageByHandle?: Maybe; /** List of the shop's pages. */ readonly pages: PageConnection; /** List of the predictive search results. */ readonly predictiveSearch?: Maybe; /** Fetch a specific `Product` by one of its unique attributes. */ readonly product?: Maybe; /** * Find a product by its handle. * @deprecated Use `product` instead. */ readonly productByHandle?: Maybe; /** * Find recommended products related to a given `product_id`. * To learn more about how recommendations are generated, see * [*Showing product recommendations on product pages*](https://help.shopify.com/themes/development/recommended-products). * */ readonly productRecommendations?: Maybe>; /** * Tags added to products. * Additional access scope required: unauthenticated_read_product_tags. * */ readonly productTags: StringConnection; /** List of product types for the shop's products that are published to your app. */ readonly productTypes: StringConnection; /** List of the shop’s products. */ readonly products: ProductConnection; /** The list of public Storefront API versions, including supported, release candidate and unstable versions. */ readonly publicApiVersions: ReadonlyArray; /** List of the search results. */ readonly search: SearchResultItemConnection; /** The shop associated with the storefront access token. */ readonly shop: Shop; /** A list of redirects for a shop. */ readonly urlRedirects: UrlRedirectConnection; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootArticleArgs = { id: Scalars['ID']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootArticlesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootBlogArgs = { handle?: InputMaybe; id?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootBlogByHandleArgs = { handle: Scalars['String']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootBlogsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootCartArgs = { id: Scalars['ID']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootCartCompletionAttemptArgs = { attemptId: Scalars['String']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootCollectionArgs = { handle?: InputMaybe; id?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootCollectionByHandleArgs = { handle: Scalars['String']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootCollectionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootCustomerArgs = { customerAccessToken: Scalars['String']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootLocationsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; near?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootMenuArgs = { handle: Scalars['String']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootMetaobjectArgs = { handle?: InputMaybe; id?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootMetaobjectsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; type: Scalars['String']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootNodeArgs = { id: Scalars['ID']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootNodesArgs = { ids: ReadonlyArray; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootPageArgs = { handle?: InputMaybe; id?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootPageByHandleArgs = { handle: Scalars['String']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootPagesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootPredictiveSearchArgs = { limit?: InputMaybe; limitScope?: InputMaybe; query: Scalars['String']; searchableFields?: InputMaybe>; types?: InputMaybe>; unavailableProducts?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootProductArgs = { handle?: InputMaybe; id?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootProductByHandleArgs = { handle: Scalars['String']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootProductRecommendationsArgs = { intent?: InputMaybe; productId: Scalars['ID']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootProductTagsArgs = { first: Scalars['Int']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootProductTypesArgs = { first: Scalars['Int']; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootProductsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootSearchArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; prefix?: InputMaybe; productFilters?: InputMaybe>; query: Scalars['String']; reverse?: InputMaybe; sortKey?: InputMaybe; types?: InputMaybe>; unavailableProducts?: InputMaybe; }; /** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export declare type QueryRootUrlRedirectsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; }; /** SEO information. */ export declare type Seo = { /** The meta description. */ readonly description?: Maybe; /** The SEO title. */ readonly title?: Maybe; }; /** * Script discount applications capture the intentions of a discount that * was created by a Shopify Script. * */ export declare type ScriptDiscountApplication = DiscountApplication & { /** The method by which the discount's value is allocated to its entitled items. */ readonly allocationMethod: DiscountApplicationAllocationMethod; /** Which lines of targetType that the discount is allocated over. */ readonly targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ readonly targetType: DiscountApplicationTargetType; /** The title of the application as defined by the Script. */ readonly title: Scalars['String']; /** The value of the discount application. */ readonly value: PricingValue; }; /** Specifies whether to perform a partial word match on the last search term. */ export declare enum SearchPrefixQueryType { /** Perform a partial word match on the last search term. */ Last = "LAST", /** Don't perform a partial word match on the last search term. */ None = "NONE" } /** A search query suggestion. */ export declare type SearchQuerySuggestion = Trackable & { /** The text of the search query suggestion with highlighted HTML tags. */ readonly styledText: Scalars['String']; /** The text of the search query suggestion. */ readonly text: Scalars['String']; /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */ readonly trackingParameters?: Maybe; }; /** * A search result that matches the search query. * */ export declare type SearchResultItem = Article | Page | Product; /** * An auto-generated type for paginating through multiple SearchResultItems. * */ export declare type SearchResultItemConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in SearchResultItemEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; /** A list of available filters. */ readonly productFilters: ReadonlyArray; /** The total number of results. */ readonly totalCount: Scalars['Int']; }; /** * An auto-generated type which holds one SearchResultItem and a cursor during pagination. * */ export declare type SearchResultItemEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of SearchResultItemEdge. */ readonly node: SearchResultItem; }; /** The set of valid sort keys for the search query. */ export declare enum SearchSortKeys { /** Sort by the `price` value. */ Price = "PRICE", /** Sort by relevance to the search terms. */ Relevance = "RELEVANCE" } /** The types of search items to perform search within. */ export declare enum SearchType { /** Returns matching articles. */ Article = "ARTICLE", /** Returns matching pages. */ Page = "PAGE", /** Returns matching products. */ Product = "PRODUCT" } /** Specifies whether to display results for unavailable products. */ export declare enum SearchUnavailableProductsType { /** Exclude unavailable products. */ Hide = "HIDE", /** Show unavailable products after all other matching results. This is the default. */ Last = "LAST", /** Show unavailable products in the order that they're found. */ Show = "SHOW" } /** Specifies the list of resource fields to search. */ export declare enum SearchableField { /** Author of the page or article. */ Author = "AUTHOR", /** Body of the page or article or product description or collection description. */ Body = "BODY", /** Product type. */ ProductType = "PRODUCT_TYPE", /** Tag associated with the product or article. */ Tag = "TAG", /** Title of the page or article or product title or collection title. */ Title = "TITLE", /** Variant barcode. */ VariantsBarcode = "VARIANTS_BARCODE", /** Variant SKU. */ VariantsSku = "VARIANTS_SKU", /** Variant title. */ VariantsTitle = "VARIANTS_TITLE", /** Product vendor. */ Vendor = "VENDOR" } /** * Properties used by customers to select a product variant. * Products can have multiple options, like different sizes or colors. * */ export declare type SelectedOption = { /** The product option’s name. */ readonly name: Scalars['String']; /** The product option’s value. */ readonly value: Scalars['String']; }; /** The input fields required for a selected option. */ export declare type SelectedOptionInput = { /** The product option’s name. */ readonly name: Scalars['String']; /** The product option’s value. */ readonly value: Scalars['String']; }; /** Represents how products and variants can be sold and purchased. */ export declare type SellingPlan = { /** The initial payment due for the purchase. */ readonly checkoutCharge: SellingPlanCheckoutCharge; /** The description of the selling plan. */ readonly description?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The name of the selling plan. For example, '6 weeks of prepaid granola, delivered weekly'. */ readonly name: Scalars['String']; /** The selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing. */ readonly options: ReadonlyArray; /** The price adjustments that a selling plan makes when a variant is purchased with a selling plan. */ readonly priceAdjustments: ReadonlyArray; /** Whether purchasing the selling plan will result in multiple deliveries. */ readonly recurringDeliveries: Scalars['Boolean']; }; /** Represents an association between a variant and a selling plan. Selling plan allocations describe the options offered for each variant, and the price of the variant when purchased with a selling plan. */ export declare type SellingPlanAllocation = { /** The checkout charge amount due for the purchase. */ readonly checkoutChargeAmount: MoneyV2; /** A list of price adjustments, with a maximum of two. When there are two, the first price adjustment goes into effect at the time of purchase, while the second one starts after a certain number of orders. A price adjustment represents how a selling plan affects pricing when a variant is purchased with a selling plan. Prices display in the customer's currency if the shop is configured for it. */ readonly priceAdjustments: ReadonlyArray; /** The remaining balance charge amount due for the purchase. */ readonly remainingBalanceChargeAmount: MoneyV2; /** A representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'. */ readonly sellingPlan: SellingPlan; }; /** * An auto-generated type for paginating through multiple SellingPlanAllocations. * */ export declare type SellingPlanAllocationConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in SellingPlanAllocationEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one SellingPlanAllocation and a cursor during pagination. * */ export declare type SellingPlanAllocationEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of SellingPlanAllocationEdge. */ readonly node: SellingPlanAllocation; }; /** The resulting prices for variants when they're purchased with a specific selling plan. */ export declare type SellingPlanAllocationPriceAdjustment = { /** The price of the variant when it's purchased without a selling plan for the same number of deliveries. For example, if a customer purchases 6 deliveries of $10.00 granola separately, then the price is 6 x $10.00 = $60.00. */ readonly compareAtPrice: MoneyV2; /** The effective price for a single delivery. For example, for a prepaid subscription plan that includes 6 deliveries at the price of $48.00, the per delivery price is $8.00. */ readonly perDeliveryPrice: MoneyV2; /** The price of the variant when it's purchased with a selling plan For example, for a prepaid subscription plan that includes 6 deliveries of $10.00 granola, where the customer gets 20% off, the price is 6 x $10.00 x 0.80 = $48.00. */ readonly price: MoneyV2; /** The resulting price per unit for the variant associated with the selling plan. If the variant isn't sold by quantity or measurement, then this field returns `null`. */ readonly unitPrice?: Maybe; }; /** The initial payment due for the purchase. */ export declare type SellingPlanCheckoutCharge = { /** The charge type for the checkout charge. */ readonly type: SellingPlanCheckoutChargeType; /** The charge value for the checkout charge. */ readonly value: SellingPlanCheckoutChargeValue; }; /** The percentage value of the price used for checkout charge. */ export declare type SellingPlanCheckoutChargePercentageValue = { /** The percentage value of the price used for checkout charge. */ readonly percentage: Scalars['Float']; }; /** The checkout charge when the full amount isn't charged at checkout. */ export declare enum SellingPlanCheckoutChargeType { /** The checkout charge is a percentage of the product or variant price. */ Percentage = "PERCENTAGE", /** The checkout charge is a fixed price amount. */ Price = "PRICE" } /** The portion of the price to be charged at checkout. */ export declare type SellingPlanCheckoutChargeValue = MoneyV2 | SellingPlanCheckoutChargePercentageValue; /** * An auto-generated type for paginating through multiple SellingPlans. * */ export declare type SellingPlanConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in SellingPlanEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one SellingPlan and a cursor during pagination. * */ export declare type SellingPlanEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of SellingPlanEdge. */ readonly node: SellingPlan; }; /** A fixed amount that's deducted from the original variant price. For example, $10.00 off. */ export declare type SellingPlanFixedAmountPriceAdjustment = { /** The money value of the price adjustment. */ readonly adjustmentAmount: MoneyV2; }; /** A fixed price adjustment for a variant that's purchased with a selling plan. */ export declare type SellingPlanFixedPriceAdjustment = { /** A new price of the variant when it's purchased with the selling plan. */ readonly price: MoneyV2; }; /** Represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */ export declare type SellingPlanGroup = { /** A display friendly name for the app that created the selling plan group. */ readonly appName?: Maybe; /** The name of the selling plan group. */ readonly name: Scalars['String']; /** Represents the selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. */ readonly options: ReadonlyArray; /** A list of selling plans in a selling plan group. A selling plan is a representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'. */ readonly sellingPlans: SellingPlanConnection; }; /** Represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */ export declare type SellingPlanGroupSellingPlansArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; }; /** * An auto-generated type for paginating through multiple SellingPlanGroups. * */ export declare type SellingPlanGroupConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in SellingPlanGroupEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one SellingPlanGroup and a cursor during pagination. * */ export declare type SellingPlanGroupEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of SellingPlanGroupEdge. */ readonly node: SellingPlanGroup; }; /** * Represents an option on a selling plan group that's available in the drop-down list in the storefront. * * Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing. */ export declare type SellingPlanGroupOption = { /** The name of the option. For example, 'Delivery every'. */ readonly name: Scalars['String']; /** The values for the options specified by the selling plans in the selling plan group. For example, '1 week', '2 weeks', '3 weeks'. */ readonly values: ReadonlyArray; }; /** An option provided by a Selling Plan. */ export declare type SellingPlanOption = { /** The name of the option (ie "Delivery every"). */ readonly name?: Maybe; /** The value of the option (ie "Month"). */ readonly value?: Maybe; }; /** A percentage amount that's deducted from the original variant price. For example, 10% off. */ export declare type SellingPlanPercentagePriceAdjustment = { /** The percentage value of the price adjustment. */ readonly adjustmentPercentage: Scalars['Int']; }; /** Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. If a variant has multiple price adjustments, then the first price adjustment applies when the variant is initially purchased. The second price adjustment applies after a certain number of orders (specified by the `orderCount` field) are made. If a selling plan doesn't have any price adjustments, then the unadjusted price of the variant is the effective price. */ export declare type SellingPlanPriceAdjustment = { /** The type of price adjustment. An adjustment value can have one of three types: percentage, amount off, or a new price. */ readonly adjustmentValue: SellingPlanPriceAdjustmentValue; /** The number of orders that the price adjustment applies to. If the price adjustment always applies, then this field is `null`. */ readonly orderCount?: Maybe; }; /** Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. */ export declare type SellingPlanPriceAdjustmentValue = SellingPlanFixedAmountPriceAdjustment | SellingPlanFixedPriceAdjustment | SellingPlanPercentagePriceAdjustment; /** A shipping rate to be applied to a checkout. */ export declare type ShippingRate = { /** Human-readable unique identifier for this shipping rate. */ readonly handle: Scalars['String']; /** Price of this shipping rate. */ readonly price: MoneyV2; /** * Price of this shipping rate. * @deprecated Use `price` instead. */ readonly priceV2: MoneyV2; /** Title of this shipping rate. */ readonly title: Scalars['String']; }; /** Shop represents a collection of the general settings and information about the shop. */ export declare type Shop = HasMetafields & Node & { /** The shop's branding configuration. */ readonly brand?: Maybe; /** A description of the shop. */ readonly description?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ readonly metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ readonly metafields: ReadonlyArray>; /** A string representing the way currency is formatted when the currency isn’t specified. */ readonly moneyFormat: Scalars['String']; /** The shop’s name. */ readonly name: Scalars['String']; /** Settings related to payments. */ readonly paymentSettings: PaymentSettings; /** The primary domain of the shop’s Online Store. */ readonly primaryDomain: Domain; /** The shop’s privacy policy. */ readonly privacyPolicy?: Maybe; /** The shop’s refund policy. */ readonly refundPolicy?: Maybe; /** The shop’s shipping policy. */ readonly shippingPolicy?: Maybe; /** Countries that the shop ships to. */ readonly shipsToCountries: ReadonlyArray; /** The shop’s subscription policy. */ readonly subscriptionPolicy?: Maybe; /** The shop’s terms of service. */ readonly termsOfService?: Maybe; }; /** Shop represents a collection of the general settings and information about the shop. */ export declare type ShopMetafieldArgs = { key: Scalars['String']; namespace: Scalars['String']; }; /** Shop represents a collection of the general settings and information about the shop. */ export declare type ShopMetafieldsArgs = { identifiers: ReadonlyArray; }; /** * The input fields for submitting Shop Pay payment method information for checkout. * */ export declare type ShopPayWalletContentInput = { /** The customer's billing address. */ readonly billingAddress: MailingAddressInput; /** Session token for transaction. */ readonly sessionToken: Scalars['String']; }; /** Policy that a merchant has configured for their store, such as their refund or privacy policy. */ export declare type ShopPolicy = Node & { /** Policy text, maximum size of 64kb. */ readonly body: Scalars['String']; /** Policy’s handle. */ readonly handle: Scalars['String']; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** Policy’s title. */ readonly title: Scalars['String']; /** Public URL to the policy. */ readonly url: Scalars['URL']; }; /** * A policy for the store that comes with a default value, such as a subscription policy. * If the merchant hasn't configured a policy for their store, then the policy will return the default value. * Otherwise, the policy will return the merchant-configured value. * */ export declare type ShopPolicyWithDefault = { /** The text of the policy. Maximum size: 64KB. */ readonly body: Scalars['String']; /** The handle of the policy. */ readonly handle: Scalars['String']; /** The unique ID of the policy. A default policy doesn't have an ID. */ readonly id?: Maybe; /** The title of the policy. */ readonly title: Scalars['String']; /** Public URL to the policy. */ readonly url: Scalars['URL']; }; /** * The availability of a product variant at a particular location. * Local pick-up must be enabled in the store's shipping settings, otherwise this will return an empty result. * */ export declare type StoreAvailability = { /** Whether the product variant is in-stock at this location. */ readonly available: Scalars['Boolean']; /** The location where this product variant is stocked at. */ readonly location: Location; /** Returns the estimated amount of time it takes for pickup to be ready (Example: Usually ready in 24 hours). */ readonly pickUpTime: Scalars['String']; /** The quantity of the product variant in-stock at this location. */ readonly quantityAvailable: Scalars['Int']; }; /** * An auto-generated type for paginating through multiple StoreAvailabilities. * */ export declare type StoreAvailabilityConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in StoreAvailabilityEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one StoreAvailability and a cursor during pagination. * */ export declare type StoreAvailabilityEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of StoreAvailabilityEdge. */ readonly node: StoreAvailability; }; /** * An auto-generated type for paginating through a list of Strings. * */ export declare type StringConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one String and a cursor during pagination. * */ export declare type StringEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of StringEdge. */ readonly node: Scalars['String']; }; /** An error that occurred during cart submit for completion. */ export declare type SubmissionError = { /** The error code. */ readonly code: SubmissionErrorCode; /** The error message. */ readonly message?: Maybe; }; /** The code of the error that occurred during cart submit for completion. */ export declare enum SubmissionErrorCode { BuyerIdentityEmailIsInvalid = "BUYER_IDENTITY_EMAIL_IS_INVALID", BuyerIdentityEmailRequired = "BUYER_IDENTITY_EMAIL_REQUIRED", BuyerIdentityPhoneIsInvalid = "BUYER_IDENTITY_PHONE_IS_INVALID", DeliveryAddress1Invalid = "DELIVERY_ADDRESS1_INVALID", DeliveryAddress1Required = "DELIVERY_ADDRESS1_REQUIRED", DeliveryAddress1TooLong = "DELIVERY_ADDRESS1_TOO_LONG", DeliveryAddress2Invalid = "DELIVERY_ADDRESS2_INVALID", DeliveryAddress2Required = "DELIVERY_ADDRESS2_REQUIRED", DeliveryAddress2TooLong = "DELIVERY_ADDRESS2_TOO_LONG", DeliveryAddressRequired = "DELIVERY_ADDRESS_REQUIRED", DeliveryCityInvalid = "DELIVERY_CITY_INVALID", DeliveryCityRequired = "DELIVERY_CITY_REQUIRED", DeliveryCityTooLong = "DELIVERY_CITY_TOO_LONG", DeliveryCompanyInvalid = "DELIVERY_COMPANY_INVALID", DeliveryCompanyRequired = "DELIVERY_COMPANY_REQUIRED", DeliveryCompanyTooLong = "DELIVERY_COMPANY_TOO_LONG", DeliveryCountryRequired = "DELIVERY_COUNTRY_REQUIRED", DeliveryFirstNameInvalid = "DELIVERY_FIRST_NAME_INVALID", DeliveryFirstNameRequired = "DELIVERY_FIRST_NAME_REQUIRED", DeliveryFirstNameTooLong = "DELIVERY_FIRST_NAME_TOO_LONG", DeliveryInvalidPostalCodeForCountry = "DELIVERY_INVALID_POSTAL_CODE_FOR_COUNTRY", DeliveryInvalidPostalCodeForZone = "DELIVERY_INVALID_POSTAL_CODE_FOR_ZONE", DeliveryLastNameInvalid = "DELIVERY_LAST_NAME_INVALID", DeliveryLastNameRequired = "DELIVERY_LAST_NAME_REQUIRED", DeliveryLastNameTooLong = "DELIVERY_LAST_NAME_TOO_LONG", DeliveryNoDeliveryAvailable = "DELIVERY_NO_DELIVERY_AVAILABLE", DeliveryNoDeliveryAvailableForMerchandiseLine = "DELIVERY_NO_DELIVERY_AVAILABLE_FOR_MERCHANDISE_LINE", DeliveryOptionsPhoneNumberInvalid = "DELIVERY_OPTIONS_PHONE_NUMBER_INVALID", DeliveryOptionsPhoneNumberRequired = "DELIVERY_OPTIONS_PHONE_NUMBER_REQUIRED", DeliveryPhoneNumberInvalid = "DELIVERY_PHONE_NUMBER_INVALID", DeliveryPhoneNumberRequired = "DELIVERY_PHONE_NUMBER_REQUIRED", DeliveryPostalCodeInvalid = "DELIVERY_POSTAL_CODE_INVALID", DeliveryPostalCodeRequired = "DELIVERY_POSTAL_CODE_REQUIRED", DeliveryZoneNotFound = "DELIVERY_ZONE_NOT_FOUND", DeliveryZoneRequiredForCountry = "DELIVERY_ZONE_REQUIRED_FOR_COUNTRY", Error = "ERROR", MerchandiseLineLimitReached = "MERCHANDISE_LINE_LIMIT_REACHED", MerchandiseNotApplicable = "MERCHANDISE_NOT_APPLICABLE", MerchandiseNotEnoughStockAvailable = "MERCHANDISE_NOT_ENOUGH_STOCK_AVAILABLE", MerchandiseOutOfStock = "MERCHANDISE_OUT_OF_STOCK", MerchandiseProductNotPublished = "MERCHANDISE_PRODUCT_NOT_PUBLISHED", NoDeliveryGroupSelected = "NO_DELIVERY_GROUP_SELECTED", PaymentsAddress1Invalid = "PAYMENTS_ADDRESS1_INVALID", PaymentsAddress1Required = "PAYMENTS_ADDRESS1_REQUIRED", PaymentsAddress1TooLong = "PAYMENTS_ADDRESS1_TOO_LONG", PaymentsAddress2Invalid = "PAYMENTS_ADDRESS2_INVALID", PaymentsAddress2Required = "PAYMENTS_ADDRESS2_REQUIRED", PaymentsAddress2TooLong = "PAYMENTS_ADDRESS2_TOO_LONG", PaymentsBillingAddressZoneNotFound = "PAYMENTS_BILLING_ADDRESS_ZONE_NOT_FOUND", PaymentsBillingAddressZoneRequiredForCountry = "PAYMENTS_BILLING_ADDRESS_ZONE_REQUIRED_FOR_COUNTRY", PaymentsCityInvalid = "PAYMENTS_CITY_INVALID", PaymentsCityRequired = "PAYMENTS_CITY_REQUIRED", PaymentsCityTooLong = "PAYMENTS_CITY_TOO_LONG", PaymentsCompanyInvalid = "PAYMENTS_COMPANY_INVALID", PaymentsCompanyRequired = "PAYMENTS_COMPANY_REQUIRED", PaymentsCompanyTooLong = "PAYMENTS_COMPANY_TOO_LONG", PaymentsCountryRequired = "PAYMENTS_COUNTRY_REQUIRED", PaymentsCreditCardBaseExpired = "PAYMENTS_CREDIT_CARD_BASE_EXPIRED", PaymentsCreditCardBaseGatewayNotSupported = "PAYMENTS_CREDIT_CARD_BASE_GATEWAY_NOT_SUPPORTED", PaymentsCreditCardBaseInvalidStartDateOrIssueNumberForDebit = "PAYMENTS_CREDIT_CARD_BASE_INVALID_START_DATE_OR_ISSUE_NUMBER_FOR_DEBIT", PaymentsCreditCardBrandNotSupported = "PAYMENTS_CREDIT_CARD_BRAND_NOT_SUPPORTED", PaymentsCreditCardFirstNameBlank = "PAYMENTS_CREDIT_CARD_FIRST_NAME_BLANK", PaymentsCreditCardGeneric = "PAYMENTS_CREDIT_CARD_GENERIC", PaymentsCreditCardLastNameBlank = "PAYMENTS_CREDIT_CARD_LAST_NAME_BLANK", PaymentsCreditCardMonthInclusion = "PAYMENTS_CREDIT_CARD_MONTH_INCLUSION", PaymentsCreditCardNameInvalid = "PAYMENTS_CREDIT_CARD_NAME_INVALID", PaymentsCreditCardNumberInvalid = "PAYMENTS_CREDIT_CARD_NUMBER_INVALID", PaymentsCreditCardNumberInvalidFormat = "PAYMENTS_CREDIT_CARD_NUMBER_INVALID_FORMAT", PaymentsCreditCardSessionId = "PAYMENTS_CREDIT_CARD_SESSION_ID", PaymentsCreditCardVerificationValueBlank = "PAYMENTS_CREDIT_CARD_VERIFICATION_VALUE_BLANK", PaymentsCreditCardVerificationValueInvalidForCardType = "PAYMENTS_CREDIT_CARD_VERIFICATION_VALUE_INVALID_FOR_CARD_TYPE", PaymentsCreditCardYearExpired = "PAYMENTS_CREDIT_CARD_YEAR_EXPIRED", PaymentsCreditCardYearInvalidExpiryYear = "PAYMENTS_CREDIT_CARD_YEAR_INVALID_EXPIRY_YEAR", PaymentsFirstNameInvalid = "PAYMENTS_FIRST_NAME_INVALID", PaymentsFirstNameRequired = "PAYMENTS_FIRST_NAME_REQUIRED", PaymentsFirstNameTooLong = "PAYMENTS_FIRST_NAME_TOO_LONG", PaymentsInvalidPostalCodeForCountry = "PAYMENTS_INVALID_POSTAL_CODE_FOR_COUNTRY", PaymentsInvalidPostalCodeForZone = "PAYMENTS_INVALID_POSTAL_CODE_FOR_ZONE", PaymentsLastNameInvalid = "PAYMENTS_LAST_NAME_INVALID", PaymentsLastNameRequired = "PAYMENTS_LAST_NAME_REQUIRED", PaymentsLastNameTooLong = "PAYMENTS_LAST_NAME_TOO_LONG", PaymentsMethodRequired = "PAYMENTS_METHOD_REQUIRED", PaymentsMethodUnavailable = "PAYMENTS_METHOD_UNAVAILABLE", PaymentsPhoneNumberInvalid = "PAYMENTS_PHONE_NUMBER_INVALID", PaymentsPhoneNumberRequired = "PAYMENTS_PHONE_NUMBER_REQUIRED", PaymentsPostalCodeInvalid = "PAYMENTS_POSTAL_CODE_INVALID", PaymentsPostalCodeRequired = "PAYMENTS_POSTAL_CODE_REQUIRED", PaymentsShopifyPaymentsRequired = "PAYMENTS_SHOPIFY_PAYMENTS_REQUIRED", PaymentsUnacceptablePaymentAmount = "PAYMENTS_UNACCEPTABLE_PAYMENT_AMOUNT", PaymentsWalletContentMissing = "PAYMENTS_WALLET_CONTENT_MISSING", TaxesDeliveryGroupIdNotFound = "TAXES_DELIVERY_GROUP_ID_NOT_FOUND", TaxesLineIdNotFound = "TAXES_LINE_ID_NOT_FOUND", TaxesMustBeDefined = "TAXES_MUST_BE_DEFINED" } /** Cart submit for checkout completion is successful. */ export declare type SubmitAlreadyAccepted = { /** The ID of the cart completion attempt that will be used for polling for the result. */ readonly attemptId: Scalars['String']; }; /** Cart submit for checkout completion failed. */ export declare type SubmitFailed = { /** The URL of the checkout for the cart. */ readonly checkoutUrl?: Maybe; /** The list of errors that occurred from executing the mutation. */ readonly errors: ReadonlyArray; }; /** Cart submit for checkout completion is already accepted. */ export declare type SubmitSuccess = { /** The ID of the cart completion attempt that will be used for polling for the result. */ readonly attemptId: Scalars['String']; }; /** Cart submit for checkout completion is throttled. */ export declare type SubmitThrottled = { /** * UTC date time string that indicates the time after which clients should make their next * poll request. Any poll requests sent before this time will be ignored. Use this value to schedule the * next poll request. * */ readonly pollAfter: Scalars['DateTime']; }; /** * Specifies the fields required to complete a checkout with * a tokenized payment. * */ export declare type TokenizedPaymentInputV3 = { /** The billing address for the payment. */ readonly billingAddress: MailingAddressInput; /** A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). */ readonly idempotencyKey: Scalars['String']; /** Public Hash Key used for AndroidPay payments only. */ readonly identifier?: InputMaybe; /** The amount and currency of the payment. */ readonly paymentAmount: MoneyInput; /** A simple string or JSON containing the required payment data for the tokenized payment. */ readonly paymentData: Scalars['String']; /** Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`. */ readonly test?: InputMaybe; /** The type of payment token. */ readonly type: PaymentTokenType; }; /** Represents a resource that you can track the origin of the search traffic. */ export declare type Trackable = { /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */ readonly trackingParameters?: Maybe; }; /** An object representing exchange of money for a product or service. */ export declare type Transaction = { /** The amount of money that the transaction was for. */ readonly amount: MoneyV2; /** * The amount of money that the transaction was for. * @deprecated Use `amount` instead. */ readonly amountV2: MoneyV2; /** The kind of the transaction. */ readonly kind: TransactionKind; /** * The status of the transaction. * @deprecated Use `statusV2` instead. */ readonly status: TransactionStatus; /** The status of the transaction. */ readonly statusV2?: Maybe; /** Whether the transaction was done in test mode or not. */ readonly test: Scalars['Boolean']; }; /** The different kinds of order transactions. */ export declare enum TransactionKind { /** * An amount reserved against the cardholder's funding source. * Money does not change hands until the authorization is captured. * */ Authorization = "AUTHORIZATION", /** A transfer of the money that was reserved during the authorization stage. */ Capture = "CAPTURE", /** Money returned to the customer when they have paid too much. */ Change = "CHANGE", /** An authorization for a payment taken with an EMV credit card reader. */ EmvAuthorization = "EMV_AUTHORIZATION", /** An authorization and capture performed together in a single step. */ Sale = "SALE" } /** Transaction statuses describe the status of a transaction. */ export declare enum TransactionStatus { /** There was an error while processing the transaction. */ Error = "ERROR", /** The transaction failed. */ Failure = "FAILURE", /** The transaction is pending. */ Pending = "PENDING", /** The transaction succeeded. */ Success = "SUCCESS" } /** * The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml). * */ export declare type UnitPriceMeasurement = { /** The type of unit of measurement for the unit price measurement. */ readonly measuredType?: Maybe; /** The quantity unit for the unit price measurement. */ readonly quantityUnit?: Maybe; /** The quantity value for the unit price measurement. */ readonly quantityValue: Scalars['Float']; /** The reference unit for the unit price measurement. */ readonly referenceUnit?: Maybe; /** The reference value for the unit price measurement. */ readonly referenceValue: Scalars['Int']; }; /** The accepted types of unit of measurement. */ export declare enum UnitPriceMeasurementMeasuredType { /** Unit of measurements representing areas. */ Area = "AREA", /** Unit of measurements representing lengths. */ Length = "LENGTH", /** Unit of measurements representing volumes. */ Volume = "VOLUME", /** Unit of measurements representing weights. */ Weight = "WEIGHT" } /** The valid units of measurement for a unit price measurement. */ export declare enum UnitPriceMeasurementMeasuredUnit { /** 100 centiliters equals 1 liter. */ Cl = "CL", /** 100 centimeters equals 1 meter. */ Cm = "CM", /** Metric system unit of weight. */ G = "G", /** 1 kilogram equals 1000 grams. */ Kg = "KG", /** Metric system unit of volume. */ L = "L", /** Metric system unit of length. */ M = "M", /** Metric system unit of area. */ M2 = "M2", /** 1 cubic meter equals 1000 liters. */ M3 = "M3", /** 1000 milligrams equals 1 gram. */ Mg = "MG", /** 1000 milliliters equals 1 liter. */ Ml = "ML", /** 1000 millimeters equals 1 meter. */ Mm = "MM" } /** Systems of weights and measures. */ export declare enum UnitSystem { /** Imperial system of weights and measures. */ ImperialSystem = "IMPERIAL_SYSTEM", /** Metric system of weights and measures. */ MetricSystem = "METRIC_SYSTEM" } /** A redirect on the online store. */ export declare type UrlRedirect = Node & { /** The ID of the URL redirect. */ readonly id: Scalars['ID']; /** The old path to be redirected from. When the user visits this path, they'll be redirected to the target location. */ readonly path: Scalars['String']; /** The target location where the user will be redirected to. */ readonly target: Scalars['String']; }; /** * An auto-generated type for paginating through multiple UrlRedirects. * */ export declare type UrlRedirectConnection = { /** A list of edges. */ readonly edges: ReadonlyArray; /** A list of the nodes contained in UrlRedirectEdge. */ readonly nodes: ReadonlyArray; /** Information to aid in pagination. */ readonly pageInfo: PageInfo; }; /** * An auto-generated type which holds one UrlRedirect and a cursor during pagination. * */ export declare type UrlRedirectEdge = { /** A cursor for use in pagination. */ readonly cursor: Scalars['String']; /** The item at the end of UrlRedirectEdge. */ readonly node: UrlRedirect; }; /** Represents an error in the input of a mutation. */ export declare type UserError = DisplayableError & { /** The path to the input field that caused the error. */ readonly field?: Maybe>; /** The error message. */ readonly message: Scalars['String']; }; /** * The input fields for a filter used to view a subset of products in a collection matching a specific variant option. * */ export declare type VariantOptionFilter = { /** The name of the variant option to filter on. */ readonly name: Scalars['String']; /** The value of the variant option to filter on. */ readonly value: Scalars['String']; }; /** Represents a Shopify hosted video. */ export declare type Video = Media & Node & { /** A word or phrase to share the nature or contents of a media. */ readonly alt?: Maybe; /** A globally-unique ID. */ readonly id: Scalars['ID']; /** The media content type. */ readonly mediaContentType: MediaContentType; /** The presentation for a media. */ readonly presentation?: Maybe; /** The preview image for the media. */ readonly previewImage?: Maybe; /** The sources for a video. */ readonly sources: ReadonlyArray; }; /** Represents a source for a Shopify hosted video. */ export declare type VideoSource = { /** The format of the video source. */ readonly format: Scalars['String']; /** The height of the video. */ readonly height: Scalars['Int']; /** The video MIME type. */ readonly mimeType: Scalars['String']; /** The URL of the video. */ readonly url: Scalars['String']; /** The width of the video. */ readonly width: Scalars['Int']; }; /** Units of measurement for weight. */ export declare enum WeightUnit { /** Metric system unit of mass. */ Grams = "GRAMS", /** 1 kilogram equals 1000 grams. */ Kilograms = "KILOGRAMS", /** Imperial system unit of mass. */ Ounces = "OUNCES", /** 1 pound equals 16 ounces. */ Pounds = "POUNDS" } export declare type AddressFragment = { readonly address1?: string | null | undefined; readonly address2?: string | null | undefined; readonly city?: string | null | undefined; readonly company?: string | null | undefined; readonly country?: string | null | undefined; readonly countryCodeV2?: CountryCode | null | undefined; readonly firstName?: string | null | undefined; readonly formatted: ReadonlyArray; readonly formattedArea?: string | null | undefined; readonly id: string; readonly lastName?: string | null | undefined; readonly latitude?: number | null | undefined; readonly longitude?: number | null | undefined; readonly name?: string | null | undefined; readonly phone?: string | null | undefined; readonly province?: string | null | undefined; readonly provinceCode?: string | null | undefined; readonly zip?: string | null | undefined; }; export declare type BasicProductFragment = { readonly availableForSale: boolean; readonly handle: string; readonly id: string; readonly onlineStoreUrl?: string | null | undefined; readonly productType: string; readonly tags?: ReadonlyArray; readonly title: string; readonly totalInventory?: number | null | undefined; readonly vendor: string; readonly images: { readonly edges: ReadonlyArray<{ readonly node: ImageFragment; }>; }; readonly metafields?: ReadonlyArray; readonly compareAtPriceRange: { readonly maxVariantPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly minVariantPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }; readonly options?: ReadonlyArray<{ readonly id: string; readonly name: string; readonly values: ReadonlyArray; }>; readonly priceRange: { readonly maxVariantPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly minVariantPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }; readonly variants?: { readonly edges: ReadonlyArray<{ readonly node: BasicVariantFragment; }>; }; }; export declare type BasicVariantFragment = { readonly id: string; readonly availableForSale: boolean; readonly selectedOptions: ReadonlyArray<{ readonly name: string; readonly value: string; }>; readonly swatch1x?: { readonly alt?: string | null | undefined; readonly uri: string; } | null | undefined; readonly swatch2x?: { readonly alt?: string | null | undefined; readonly uri: string; } | null | undefined; readonly swatch3x?: { readonly alt?: string | null | undefined; readonly uri: string; } | null | undefined; }; export declare type CartApiLineFragment = { readonly id: string; readonly quantity: number; readonly attributes: ReadonlyArray<{ readonly key: string; readonly value?: string | null | undefined; }>; readonly discountAllocations: ReadonlyArray<{ readonly discountedAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; } | { readonly discountedAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; } | { readonly discountedAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }>; readonly estimatedCost: { readonly subtotalAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly totalAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }; readonly merchandise: { readonly product: ProductFragment; } & VariantFragment; readonly sellingPlanAllocation?: SellingPlanAllocationFragment | null | undefined; }; export declare type CartApiObjectFragment = { readonly checkoutUrl: string; readonly createdAt: string; readonly id: string; readonly note?: string | null | undefined; readonly updatedAt: string; readonly lines: { readonly edges: ReadonlyArray<{ readonly node: CartApiLineFragment | {}; }>; }; readonly attributes: ReadonlyArray<{ readonly key: string; readonly value?: string | null | undefined; }>; readonly buyerIdentity: { readonly countryCode?: CountryCode | null | undefined; readonly email?: string | null | undefined; readonly phone?: string | null | undefined; readonly customer?: CustomerFragment | null | undefined; }; readonly discountCodes: ReadonlyArray<{ readonly applicable: boolean; readonly code: string; }>; readonly estimatedCost: { readonly subtotalAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly totalAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly totalDutyAmount?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; readonly totalTaxAmount?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; }; }; export declare type CategoryFragment = { readonly description: string; readonly descriptionHtml: unknown; readonly handle: string; readonly id: string; readonly title: string; readonly updatedAt: string; readonly metafields: ReadonlyArray; readonly image?: ImageFragment | null | undefined; }; export declare type CartFragment = { readonly completedAt?: string | null | undefined; readonly createdAt: string; readonly currencyCode: CurrencyCode; readonly email?: string | null | undefined; readonly id: string; readonly note?: string | null | undefined; readonly orderStatusUrl?: string | null | undefined; readonly ready: boolean; readonly requiresShipping: boolean; readonly taxExempt: boolean; readonly taxesIncluded: boolean; readonly updatedAt: string; readonly webUrl: string; readonly discountApplications: { readonly edges: ReadonlyArray<{ readonly cursor: string; readonly node: DiscountApplication_AutomaticDiscountApplication_Fragment | DiscountApplication_DiscountCodeApplication_Fragment | DiscountApplication_ManualDiscountApplication_Fragment | DiscountApplication_ScriptDiscountApplication_Fragment; }>; }; readonly lineItems: { readonly edges: ReadonlyArray<{ readonly node: CartItemFragment; }>; }; readonly appliedGiftCards: ReadonlyArray<{ readonly id: string; readonly lastCharacters: string; readonly amountUsedV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly balanceV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly presentmentAmountUsed: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }>; readonly buyerIdentity: { readonly countryCode?: CountryCode | null | undefined; }; readonly customAttributes: ReadonlyArray<{ readonly key: string; readonly value?: string | null | undefined; }>; readonly lineItemsSubtotalPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly paymentDueV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly shippingAddress?: AddressFragment | null | undefined; readonly shippingDiscountAllocations: ReadonlyArray<{ readonly allocatedAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly discountApplication: DiscountApplication_AutomaticDiscountApplication_Fragment | DiscountApplication_DiscountCodeApplication_Fragment | DiscountApplication_ManualDiscountApplication_Fragment | DiscountApplication_ScriptDiscountApplication_Fragment; }>; readonly shippingLine?: ShippingRateFragment | null | undefined; readonly subtotalPriceV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly totalDuties?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; readonly totalPriceV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly totalTaxV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }; export declare type CartItemFragment = { readonly id: string; readonly quantity: number; readonly title: string; readonly customAttributes: ReadonlyArray<{ readonly key: string; readonly value?: string | null | undefined; }>; readonly discountAllocations: ReadonlyArray<{ readonly allocatedAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly discountApplication: DiscountApplication_AutomaticDiscountApplication_Fragment | DiscountApplication_DiscountCodeApplication_Fragment | DiscountApplication_ManualDiscountApplication_Fragment | DiscountApplication_ScriptDiscountApplication_Fragment; }>; readonly unitPrice?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; readonly variant?: ({ readonly product: ProductFragment; } & VariantFragment) | null | undefined; }; declare type DiscountApplication_AutomaticDiscountApplication_Fragment = { readonly __typename: 'AutomaticDiscountApplication'; readonly title: string; readonly allocationMethod: DiscountApplicationAllocationMethod; readonly targetSelection: DiscountApplicationTargetSelection; readonly targetType: DiscountApplicationTargetType; readonly value: { readonly __typename: 'MoneyV2'; readonly amount: string; readonly currencyCode: CurrencyCode; } | { readonly __typename: 'PricingPercentageValue'; readonly percentage: number; }; }; declare type DiscountApplication_DiscountCodeApplication_Fragment = { readonly __typename: 'DiscountCodeApplication'; readonly applicable: boolean; readonly code: string; readonly allocationMethod: DiscountApplicationAllocationMethod; readonly targetSelection: DiscountApplicationTargetSelection; readonly targetType: DiscountApplicationTargetType; readonly value: { readonly __typename: 'MoneyV2'; readonly amount: string; readonly currencyCode: CurrencyCode; } | { readonly __typename: 'PricingPercentageValue'; readonly percentage: number; }; }; declare type DiscountApplication_ManualDiscountApplication_Fragment = { readonly __typename: 'ManualDiscountApplication'; readonly title: string; readonly allocationMethod: DiscountApplicationAllocationMethod; readonly targetSelection: DiscountApplicationTargetSelection; readonly targetType: DiscountApplicationTargetType; readonly value: { readonly __typename: 'MoneyV2'; readonly amount: string; readonly currencyCode: CurrencyCode; } | { readonly __typename: 'PricingPercentageValue'; readonly percentage: number; }; }; declare type DiscountApplication_ScriptDiscountApplication_Fragment = { readonly __typename: 'ScriptDiscountApplication'; readonly title: string; readonly allocationMethod: DiscountApplicationAllocationMethod; readonly targetSelection: DiscountApplicationTargetSelection; readonly targetType: DiscountApplicationTargetType; readonly value: { readonly __typename: 'MoneyV2'; readonly amount: string; readonly currencyCode: CurrencyCode; } | { readonly __typename: 'PricingPercentageValue'; readonly percentage: number; }; }; export declare type DiscountApplicationFragment = DiscountApplication_AutomaticDiscountApplication_Fragment | DiscountApplication_DiscountCodeApplication_Fragment | DiscountApplication_ManualDiscountApplication_Fragment | DiscountApplication_ScriptDiscountApplication_Fragment; export declare type PaymentFragment = { readonly errorMessage?: string | null | undefined; readonly id: string; readonly idempotencyKey?: string | null | undefined; readonly nextActionUrl?: string | null | undefined; readonly ready: boolean; readonly test: boolean; readonly amountV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly billingAddress?: AddressFragment | null | undefined; readonly checkout: { readonly id: string; }; readonly creditCard?: { readonly brand?: string | null | undefined; readonly expiryMonth?: number | null | undefined; readonly expiryYear?: number | null | undefined; readonly firstDigits?: string | null | undefined; readonly firstName?: string | null | undefined; readonly lastDigits?: string | null | undefined; readonly lastName?: string | null | undefined; readonly maskedNumber?: string | null | undefined; } | null | undefined; readonly transaction?: { readonly kind: TransactionKind; readonly statusV2?: TransactionStatus | null | undefined; readonly test: boolean; readonly amountV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; } | null | undefined; }; export declare type ShippingRateFragment = { readonly handle: string; readonly title: string; readonly priceV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }; export declare type CustomerFragment = { readonly acceptsMarketing: boolean; readonly createdAt: string; readonly displayName: string; readonly email?: string | null | undefined; readonly firstName?: string | null | undefined; readonly id: string; readonly lastName?: string | null | undefined; readonly phone?: string | null | undefined; readonly tags?: ReadonlyArray; readonly updatedAt: string; readonly metafields: ReadonlyArray; } & SavedAddressesFragment; export declare type FulfillmentFragment = { readonly trackingCompany?: string | null | undefined; readonly trackingInfo: ReadonlyArray<{ readonly number?: string | null | undefined; readonly url?: string | null | undefined; }>; readonly fulfillmentLineItems: { readonly edges: ReadonlyArray<{ readonly node: { readonly quantity: number; readonly lineItem: { readonly currentQuantity: number; readonly quantity: number; readonly title: string; readonly customAttributes: ReadonlyArray<{ readonly key: string; readonly value?: string | null | undefined; }>; readonly discountAllocations: ReadonlyArray<{ readonly allocatedAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly discountApplication: DiscountApplication_AutomaticDiscountApplication_Fragment | DiscountApplication_DiscountCodeApplication_Fragment | DiscountApplication_ManualDiscountApplication_Fragment | DiscountApplication_ScriptDiscountApplication_Fragment; }>; readonly discountedTotalPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly originalTotalPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly variant?: { readonly id: string; } | null | undefined; }; }; }>; }; }; export declare type ImageFragment = { readonly id?: string | null | undefined; readonly originalSrc: string; readonly altText?: string | null | undefined; readonly height?: number | null | undefined; readonly width?: number | null | undefined; }; declare type Media_ExternalVideo_Fragment = { readonly __typename: 'ExternalVideo'; readonly embeddedUrl: string; readonly host: MediaHost; readonly id: string; readonly alt?: string | null | undefined; readonly mediaContentType: MediaContentType; readonly previewImage?: ImageFragment | null | undefined; }; declare type Media_MediaImage_Fragment = { readonly __typename: 'MediaImage'; readonly id: string; readonly alt?: string | null | undefined; readonly mediaContentType: MediaContentType; readonly image?: ImageFragment | null | undefined; readonly previewImage?: ImageFragment | null | undefined; }; declare type Media_Model3d_Fragment = { readonly __typename: 'Model3d'; readonly id: string; readonly alt?: string | null | undefined; readonly mediaContentType: MediaContentType; readonly sources: ReadonlyArray<{ readonly filesize: number; readonly format: string; readonly mimeType: string; readonly url: string; }>; readonly previewImage?: ImageFragment | null | undefined; }; declare type Media_Video_Fragment = { readonly __typename: 'Video'; readonly id: string; readonly alt?: string | null | undefined; readonly mediaContentType: MediaContentType; readonly sources: ReadonlyArray<{ readonly format: string; readonly height: number; readonly mimeType: string; readonly url: string; readonly width: number; }>; readonly previewImage?: ImageFragment | null | undefined; }; export declare type MediaFragment = Media_ExternalVideo_Fragment | Media_MediaImage_Fragment | Media_Model3d_Fragment | Media_Video_Fragment; export declare type MetafieldFragment = { readonly createdAt: string; readonly description?: string | null | undefined; readonly id: string; readonly key: string; readonly namespace: string; readonly type: string; readonly updatedAt: string; readonly value: string; }; export declare type OrderFragment = { readonly canceledAt?: string | null | undefined; readonly currencyCode: CurrencyCode; readonly customerLocale?: string | null | undefined; readonly customerUrl?: string | null | undefined; readonly edited: boolean; readonly email?: string | null | undefined; readonly financialStatus?: OrderFinancialStatus | null | undefined; readonly fulfillmentStatus: OrderFulfillmentStatus; readonly id: string; readonly name: string; readonly orderNumber: number; readonly phone?: string | null | undefined; readonly processedAt: string; readonly statusUrl: string; readonly discountApplications: { readonly edges: ReadonlyArray<{ readonly cursor: string; readonly node: DiscountApplication_AutomaticDiscountApplication_Fragment | DiscountApplication_DiscountCodeApplication_Fragment | DiscountApplication_ManualDiscountApplication_Fragment | DiscountApplication_ScriptDiscountApplication_Fragment; }>; }; readonly lineItems?: { readonly edges: ReadonlyArray<{ readonly node: OrderItemFragment; }>; }; readonly metafields: ReadonlyArray; readonly currentSubtotalPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly currentTotalDuties?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; readonly currentTotalPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly currentTotalTax: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly originalTotalDuties?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; readonly originalTotalPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly shippingAddress?: AddressFragment | null | undefined; readonly subtotalPriceV2?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; readonly successfulFulfillments?: ReadonlyArray | null | undefined; readonly totalPriceV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly totalRefundedV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly totalShippingPriceV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly totalTaxV2?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; }; export declare type OrderItemFragment = { readonly currentQuantity: number; readonly quantity: number; readonly title: string; readonly customAttributes: ReadonlyArray<{ readonly key: string; readonly value?: string | null | undefined; }>; readonly discountAllocations: ReadonlyArray<{ readonly allocatedAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly discountApplication: DiscountApplication_AutomaticDiscountApplication_Fragment | DiscountApplication_DiscountCodeApplication_Fragment | DiscountApplication_ManualDiscountApplication_Fragment | DiscountApplication_ScriptDiscountApplication_Fragment; }>; readonly discountedTotalPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly originalTotalPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly variant?: { readonly availableForSale: boolean; readonly currentlyNotInStock: boolean; readonly id: string; readonly requiresShipping: boolean; readonly sku?: string | null | undefined; readonly title: string; readonly weightUnit: WeightUnit; readonly metafields?: ReadonlyArray; readonly image?: ImageFragment | null | undefined; readonly selectedOptions: ReadonlyArray<{ readonly name: string; readonly value: string; }>; readonly product: { readonly description: string; readonly descriptionHtml: unknown; readonly handle: string; readonly id: string; readonly onlineStoreUrl?: string | null | undefined; readonly productType: string; readonly tags?: ReadonlyArray; readonly title: string; readonly vendor: string; readonly images: { readonly edges: ReadonlyArray<{ readonly node: ImageFragment; }>; }; readonly metafields?: ReadonlyArray; readonly options: ReadonlyArray<{ readonly id: string; readonly name: string; readonly values: ReadonlyArray; }>; }; } | null | undefined; }; export declare type ProductFragment = { readonly availableForSale: boolean; readonly createdAt: string; readonly description: string; readonly descriptionHtml: unknown; readonly handle: string; readonly id: string; readonly onlineStoreUrl?: string | null | undefined; readonly productType: string; readonly publishedAt: string; readonly tags?: ReadonlyArray; readonly title: string; readonly totalInventory?: number | null | undefined; readonly updatedAt: string; readonly vendor: string; readonly collections: { readonly edges: ReadonlyArray<{ readonly node: { readonly id: string; readonly title: string; readonly handle: string; }; }>; }; readonly images: { readonly edges: ReadonlyArray<{ readonly node: ImageFragment; }>; }; readonly media: { readonly edges: ReadonlyArray<{ readonly node: Media_ExternalVideo_Fragment | Media_MediaImage_Fragment | Media_Model3d_Fragment | Media_Video_Fragment; }>; }; readonly metafields: ReadonlyArray; readonly variants: { readonly pageInfo: { readonly hasNextPage: boolean; readonly hasPreviousPage: boolean; }; readonly edges: ReadonlyArray<{ readonly cursor: string; readonly node: VariantFragment; }>; }; readonly compareAtPriceRange: { readonly maxVariantPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly minVariantPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }; readonly options: ReadonlyArray<{ readonly id: string; readonly name: string; readonly values: ReadonlyArray; }>; readonly priceRange: { readonly maxVariantPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly minVariantPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; }; readonly seo: { readonly description?: string | null | undefined; readonly title?: string | null | undefined; }; }; export declare type ProductIndexFragment = { readonly products: { readonly pageInfo: { readonly hasNextPage: boolean; readonly hasPreviousPage: boolean; }; readonly edges: ReadonlyArray<{ readonly cursor: string; readonly node: BasicProductFragment; }>; }; } & CategoryFragment; export declare type SavedAddressesFragment = { readonly addresses: { readonly edges: ReadonlyArray<{ readonly node: AddressFragment; }>; }; readonly defaultAddress?: { readonly id: string; } | null | undefined; }; export declare type SellingPlanFragment = { readonly description?: string | null | undefined; readonly id: string; readonly name: string; readonly recurringDeliveries: boolean; readonly options: ReadonlyArray<{ readonly name?: string | null | undefined; readonly value?: string | null | undefined; }>; readonly priceAdjustments: ReadonlyArray<{ readonly orderCount?: number | null | undefined; readonly adjustmentValue: { readonly __typename: 'SellingPlanFixedAmountPriceAdjustment'; readonly adjustmentAmount: { readonly amount: string; readonly currencyCode: CurrencyCode; }; } | { readonly __typename: 'SellingPlanFixedPriceAdjustment'; readonly price: { readonly amount: string; readonly currencyCode: CurrencyCode; }; } | { readonly __typename: 'SellingPlanPercentagePriceAdjustment'; readonly adjustmentPercentage: number; }; }>; }; export declare type SellingPlanAllocationFragment = { readonly priceAdjustments: ReadonlyArray<{ readonly compareAtPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly perDeliveryPrice: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly price: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly unitPrice?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; }>; readonly sellingPlan: SellingPlanFragment; }; export declare type VariantFragment = { readonly availableForSale: boolean; readonly currentlyNotInStock: boolean; readonly id: string; readonly quantityAvailable?: number | null | undefined; readonly requiresShipping: boolean; readonly sku?: string | null | undefined; readonly title: string; readonly weight?: number | null | undefined; readonly weightUnit: WeightUnit; readonly metafields: ReadonlyArray; readonly storeAvailability?: { readonly edges: ReadonlyArray<{ readonly node: { readonly available: boolean; readonly pickUpTime: string; readonly location: { readonly id: string; readonly name: string; readonly address: { readonly address1?: string | null | undefined; readonly address2?: string | null | undefined; readonly city?: string | null | undefined; readonly country?: string | null | undefined; readonly countryCode?: string | null | undefined; readonly formatted: ReadonlyArray; readonly latitude?: number | null | undefined; readonly longitude?: number | null | undefined; readonly phone?: string | null | undefined; readonly province?: string | null | undefined; readonly provinceCode?: string | null | undefined; readonly zip?: string | null | undefined; }; }; }; }>; }; readonly compareAtPriceV2?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; readonly image?: ImageFragment | null | undefined; readonly priceV2: { readonly amount: string; readonly currencyCode: CurrencyCode; }; readonly selectedOptions: ReadonlyArray<{ readonly name: string; readonly value: string; }>; readonly unitPrice?: { readonly amount: string; readonly currencyCode: CurrencyCode; } | null | undefined; readonly unitPriceMeasurement?: { readonly measuredType?: UnitPriceMeasurementMeasuredType | null | undefined; readonly quantityUnit?: UnitPriceMeasurementMeasuredUnit | null | undefined; readonly quantityValue: number; readonly referenceUnit?: UnitPriceMeasurementMeasuredUnit | null | undefined; readonly referenceValue: number; } | null | undefined; readonly swatch1x?: { readonly alt?: string | null | undefined; readonly uri: string; } | null | undefined; readonly swatch2x?: { readonly alt?: string | null | undefined; readonly uri: string; } | null | undefined; readonly swatch3x?: { readonly alt?: string | null | undefined; readonly uri: string; } | null | undefined; }; export declare type CartApiAttributesUpdateMutationVariables = Exact<{ attributes: ReadonlyArray | AttributeInput; cartId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiAttributesUpdateMutation = { readonly cartAttributesUpdate?: { readonly cart?: CartApiObjectFragment | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CartApiBuyerIdentityUpdateMutationVariables = Exact<{ buyerIdentity: CartBuyerIdentityInput; cartId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiBuyerIdentityUpdateMutation = { readonly cartBuyerIdentityUpdate?: { readonly cart?: CartApiObjectFragment | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CartApiDiscountCodesUpdateMutationVariables = Exact<{ discountCodes?: InputMaybe | Scalars['String']>; cartId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiDiscountCodesUpdateMutation = { readonly cartDiscountCodesUpdate?: { readonly cart?: CartApiObjectFragment | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CartApiLinesAddMutationVariables = Exact<{ lines: ReadonlyArray | CartLineInput; cartId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiLinesAddMutation = { readonly cartLinesAdd?: { readonly cart?: CartApiObjectFragment | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CartApiLinesRemoveMutationVariables = Exact<{ ids: ReadonlyArray | Scalars['ID']; cartId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiLinesRemoveMutation = { readonly cartLinesRemove?: { readonly cart?: CartApiObjectFragment | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CartApiLinesUpdateMutationVariables = Exact<{ lines: ReadonlyArray | CartLineUpdateInput; cartId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiLinesUpdateMutation = { readonly cartLinesUpdate?: { readonly cart?: CartApiObjectFragment | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CartApiNoteUpdateMutationVariables = Exact<{ note?: InputMaybe; cartId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiNoteUpdateMutation = { readonly cartNoteUpdate?: { readonly cart?: CartApiObjectFragment | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CartApiObjectCreateMutationVariables = Exact<{ input: CartInput; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiObjectCreateMutation = { readonly cartCreate?: { readonly cart?: CartApiObjectFragment | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type SetCartUserTokenMutationVariables = Exact<{ buyerIdentity: CartBuyerIdentityInput; cartId: Scalars['ID']; }>; export declare type SetCartUserTokenMutation = { readonly cartBuyerIdentityUpdate?: { readonly cart?: { readonly id: string; } | null | undefined; readonly userErrors: ReadonlyArray<{ readonly code?: CartErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutCompleteWithCreditCardV2MutationVariables = Exact<{ checkoutId: Scalars['ID']; payment: CreditCardPaymentInputV2; includeProductTags: Scalars['Boolean']; includeLineItems: Scalars['Boolean']; includeProductMetadata: Scalars['Boolean']; includeVariantMetadata: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutCompleteWithCreditCardV2Mutation = { readonly checkoutCompleteWithCreditCardV2?: { readonly checkout?: { readonly order?: OrderFragment | null | undefined; } | null | undefined; readonly payment?: PaymentFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutCreateMutationVariables = Exact<{ input: CheckoutCreateInput; queueToken?: InputMaybe; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutCreateMutation = { readonly checkoutCreate?: { readonly queueToken?: string | null | undefined; readonly checkout?: CartFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutCustomerAssociateV2MutationVariables = Exact<{ checkoutId: Scalars['ID']; customerAccessToken: Scalars['String']; }>; export declare type CheckoutCustomerAssociateV2Mutation = { readonly checkoutCustomerAssociateV2?: { readonly checkout?: { readonly id: string; } | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; readonly customer?: { readonly id: string; } | null | undefined; } | null | undefined; }; export declare type CheckoutCustomerDisassociateV2MutationVariables = Exact<{ checkoutId: Scalars['ID']; }>; export declare type CheckoutCustomerDisassociateV2Mutation = { readonly checkoutCustomerDisassociateV2?: { readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutDiscountCodeApplyV2MutationVariables = Exact<{ discountCode: Scalars['String']; checkoutId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutDiscountCodeApplyV2Mutation = { readonly checkoutDiscountCodeApplyV2?: { readonly checkout?: CartFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutDiscountCodeRemoveMutationVariables = Exact<{ checkoutId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutDiscountCodeRemoveMutation = { readonly checkoutDiscountCodeRemove?: { readonly checkout?: CartFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutEmailUpdateV2MutationVariables = Exact<{ checkoutId: Scalars['ID']; email: Scalars['String']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutEmailUpdateV2Mutation = { readonly checkoutEmailUpdateV2?: { readonly checkout?: CartFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutLineItemsAddMutationVariables = Exact<{ lineItems: ReadonlyArray | CheckoutLineItemInput; checkoutId: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutLineItemsAddMutation = { readonly checkoutLineItemsAdd?: { readonly checkout?: CartFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutLineItemsRemoveMutationVariables = Exact<{ checkoutId: Scalars['ID']; lineItemIds: ReadonlyArray | Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutLineItemsRemoveMutation = { readonly checkoutLineItemsRemove?: { readonly checkout?: CartFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutLineItemsUpdateMutationVariables = Exact<{ checkoutId: Scalars['ID']; lineItems: ReadonlyArray | CheckoutLineItemUpdateInput; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutLineItemsUpdateMutation = { readonly checkoutLineItemsUpdate?: { readonly checkout?: CartFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutShippingAddressUpdateV2MutationVariables = Exact<{ shippingAddress: MailingAddressInput; checkoutId: Scalars['ID']; }>; export declare type CheckoutShippingAddressUpdateV2Mutation = { readonly checkoutShippingAddressUpdateV2?: { readonly checkout?: { readonly id: string; } | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CheckoutShippingLineUpdateMutationVariables = Exact<{ checkoutId: Scalars['ID']; shippingRateHandle: Scalars['String']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CheckoutShippingLineUpdateMutation = { readonly checkoutShippingLineUpdate?: { readonly checkout?: CartFragment | null | undefined; readonly checkoutUserErrors: ReadonlyArray<{ readonly code?: CheckoutErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerAccessTokenCreateMutationVariables = Exact<{ input: CustomerAccessTokenCreateInput; }>; export declare type CustomerAccessTokenCreateMutation = { readonly customerAccessTokenCreate?: { readonly customerAccessToken?: { readonly accessToken: string; readonly expiresAt: string; } | null | undefined; readonly customerUserErrors: ReadonlyArray<{ readonly code?: CustomerErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerAccessTokenDeleteMutationVariables = Exact<{ customerAccessToken: Scalars['String']; }>; export declare type CustomerAccessTokenDeleteMutation = { readonly customerAccessTokenDelete?: { readonly deletedAccessToken?: string | null | undefined; readonly deletedCustomerAccessTokenId?: string | null | undefined; readonly userErrors: ReadonlyArray<{ readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerAccessTokenRenewMutationVariables = Exact<{ customerAccessToken: Scalars['String']; }>; export declare type CustomerAccessTokenRenewMutation = { readonly customerAccessTokenRenew?: { readonly userErrors: ReadonlyArray<{ readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; readonly customerAccessToken?: { readonly accessToken: string; readonly expiresAt: string; } | null | undefined; } | null | undefined; }; export declare type CustomerAddressCreateMutationVariables = Exact<{ customerAccessToken: Scalars['String']; address: MailingAddressInput; }>; export declare type CustomerAddressCreateMutation = { readonly customerAddressCreate?: { readonly customerAddress?: AddressFragment | null | undefined; readonly customerUserErrors: ReadonlyArray<{ readonly code?: CustomerErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerAddressDeleteMutationVariables = Exact<{ id: Scalars['ID']; customerAccessToken: Scalars['String']; }>; export declare type CustomerAddressDeleteMutation = { readonly customerAddressDelete?: { readonly deletedCustomerAddressId?: string | null | undefined; readonly customerUserErrors: ReadonlyArray<{ readonly code?: CustomerErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerAddressUpdateMutationVariables = Exact<{ customerAccessToken: Scalars['String']; id: Scalars['ID']; address: MailingAddressInput; }>; export declare type CustomerAddressUpdateMutation = { readonly customerAddressUpdate?: { readonly customerAddress?: AddressFragment | null | undefined; readonly customerUserErrors: ReadonlyArray<{ readonly code?: CustomerErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerCreateMutationVariables = Exact<{ input: CustomerCreateInput; includeCustomerTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CustomerCreateMutation = { readonly customerCreate?: { readonly userErrors: ReadonlyArray<{ readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; readonly customer?: CustomerFragment | null | undefined; readonly customerUserErrors: ReadonlyArray<{ readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerDefaultAddressUpdateMutationVariables = Exact<{ customerAccessToken: Scalars['String']; addressId: Scalars['ID']; }>; export declare type CustomerDefaultAddressUpdateMutation = { readonly customerDefaultAddressUpdate?: { readonly customer?: { readonly id: string; } | null | undefined; readonly customerUserErrors: ReadonlyArray<{ readonly code?: CustomerErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerRecoverMutationVariables = Exact<{ email: Scalars['String']; }>; export declare type CustomerRecoverMutation = { readonly customerRecover?: { readonly customerUserErrors: ReadonlyArray<{ readonly code?: CustomerErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type CustomerUpdateMutationVariables = Exact<{ customerAccessToken: Scalars['String']; customer: CustomerUpdateInput; includeCustomerTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CustomerUpdateMutation = { readonly customerUpdate?: { readonly customer?: CustomerFragment | null | undefined; readonly customerAccessToken?: { readonly accessToken: string; readonly expiresAt: string; } | null | undefined; readonly customerUserErrors: ReadonlyArray<{ readonly code?: CustomerErrorCode | null | undefined; readonly field?: ReadonlyArray | null | undefined; readonly message: string; }>; } | null | undefined; }; export declare type AddressByIdQueryVariables = Exact<{ id: Scalars['ID']; }>; export declare type AddressByIdQuery = { readonly node?: { readonly __typename: 'AppliedGiftCard'; } | { readonly __typename: 'Article'; } | { readonly __typename: 'Blog'; } | { readonly __typename: 'Cart'; } | { readonly __typename: 'CartLine'; } | { readonly __typename: 'Checkout'; } | { readonly __typename: 'CheckoutLineItem'; } | { readonly __typename: 'Collection'; } | { readonly __typename: 'Comment'; } | { readonly __typename: 'ComponentizableCartLine'; } | { readonly __typename: 'ExternalVideo'; } | { readonly __typename: 'GenericFile'; } | { readonly __typename: 'Location'; } | ({ readonly __typename: 'MailingAddress'; } & AddressFragment) | { readonly __typename: 'Market'; } | { readonly __typename: 'MediaImage'; } | { readonly __typename: 'MediaPresentation'; } | { readonly __typename: 'Menu'; } | { readonly __typename: 'MenuItem'; } | { readonly __typename: 'Metafield'; } | { readonly __typename: 'Metaobject'; } | { readonly __typename: 'Model3d'; } | { readonly __typename: 'Order'; } | { readonly __typename: 'Page'; } | { readonly __typename: 'Payment'; } | { readonly __typename: 'Product'; } | { readonly __typename: 'ProductOption'; } | { readonly __typename: 'ProductVariant'; } | { readonly __typename: 'Shop'; } | { readonly __typename: 'ShopPolicy'; } | { readonly __typename: 'UrlRedirect'; } | { readonly __typename: 'Video'; } | null | undefined; }; export declare type AllCategoriesQueryVariables = Exact<{ after?: InputMaybe; first?: InputMaybe; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type AllCategoriesQuery = { readonly collections: { readonly pageInfo: { readonly hasNextPage: boolean; }; readonly edges: ReadonlyArray<{ readonly cursor: string; readonly node: CategoryFragment; }>; }; }; export declare type CartApiObjectByIdQueryVariables = Exact<{ id: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeCustomerTags: Scalars['Boolean']; includeSellingPlans: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartApiObjectByIdQuery = { readonly cart?: CartApiObjectFragment | null | undefined; }; export declare type GetCartApiDiscountCodesQueryVariables = Exact<{ id: Scalars['ID']; }>; export declare type GetCartApiDiscountCodesQuery = { readonly cart?: { readonly discountCodes: ReadonlyArray<{ readonly code: string; }>; } | null | undefined; }; export declare type CategoryQueryVariables = Exact<{ id: Scalars['ID']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CategoryQuery = { readonly node?: { readonly __typename: 'AppliedGiftCard'; } | { readonly __typename: 'Article'; } | { readonly __typename: 'Blog'; } | { readonly __typename: 'Cart'; } | { readonly __typename: 'CartLine'; } | { readonly __typename: 'Checkout'; } | { readonly __typename: 'CheckoutLineItem'; } | ({ readonly __typename: 'Collection'; } & CategoryFragment) | { readonly __typename: 'Comment'; } | { readonly __typename: 'ComponentizableCartLine'; } | { readonly __typename: 'ExternalVideo'; } | { readonly __typename: 'GenericFile'; } | { readonly __typename: 'Location'; } | { readonly __typename: 'MailingAddress'; } | { readonly __typename: 'Market'; } | { readonly __typename: 'MediaImage'; } | { readonly __typename: 'MediaPresentation'; } | { readonly __typename: 'Menu'; } | { readonly __typename: 'MenuItem'; } | { readonly __typename: 'Metafield'; } | { readonly __typename: 'Metaobject'; } | { readonly __typename: 'Model3d'; } | { readonly __typename: 'Order'; } | { readonly __typename: 'Page'; } | { readonly __typename: 'Payment'; } | { readonly __typename: 'Product'; } | { readonly __typename: 'ProductOption'; } | { readonly __typename: 'ProductVariant'; } | { readonly __typename: 'Shop'; } | { readonly __typename: 'ShopPolicy'; } | { readonly __typename: 'UrlRedirect'; } | { readonly __typename: 'Video'; } | null | undefined; }; export declare type CategoryByHandleQueryVariables = Exact<{ handle: Scalars['String']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CategoryByHandleQuery = { readonly collectionByHandle?: ({ readonly __typename: 'Collection'; } & CategoryFragment) | null | undefined; }; export declare type AvailableShippingMethodsQueryVariables = Exact<{ id: Scalars['ID']; }>; export declare type AvailableShippingMethodsQuery = { readonly node?: { readonly __typename: 'AppliedGiftCard'; } | { readonly __typename: 'Article'; } | { readonly __typename: 'Blog'; } | { readonly __typename: 'Cart'; } | { readonly __typename: 'CartLine'; } | { readonly __typename: 'Checkout'; readonly availableShippingRates?: { readonly ready: boolean; readonly shippingRates?: ReadonlyArray | null | undefined; } | null | undefined; } | { readonly __typename: 'CheckoutLineItem'; } | { readonly __typename: 'Collection'; } | { readonly __typename: 'Comment'; } | { readonly __typename: 'ComponentizableCartLine'; } | { readonly __typename: 'ExternalVideo'; } | { readonly __typename: 'GenericFile'; } | { readonly __typename: 'Location'; } | { readonly __typename: 'MailingAddress'; } | { readonly __typename: 'Market'; } | { readonly __typename: 'MediaImage'; } | { readonly __typename: 'MediaPresentation'; } | { readonly __typename: 'Menu'; } | { readonly __typename: 'MenuItem'; } | { readonly __typename: 'Metafield'; } | { readonly __typename: 'Metaobject'; } | { readonly __typename: 'Model3d'; } | { readonly __typename: 'Order'; } | { readonly __typename: 'Page'; } | { readonly __typename: 'Payment'; } | { readonly __typename: 'Product'; } | { readonly __typename: 'ProductOption'; } | { readonly __typename: 'ProductVariant'; } | { readonly __typename: 'Shop'; } | { readonly __typename: 'ShopPolicy'; } | { readonly __typename: 'UrlRedirect'; } | { readonly __typename: 'Video'; } | null | undefined; }; export declare type CartByIdQueryVariables = Exact<{ id: Scalars['ID']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CartByIdQuery = { readonly node?: { readonly __typename: 'AppliedGiftCard'; } | { readonly __typename: 'Article'; } | { readonly __typename: 'Blog'; } | { readonly __typename: 'Cart'; } | { readonly __typename: 'CartLine'; } | ({ readonly __typename: 'Checkout'; } & CartFragment) | { readonly __typename: 'CheckoutLineItem'; } | { readonly __typename: 'Collection'; } | { readonly __typename: 'Comment'; } | { readonly __typename: 'ComponentizableCartLine'; } | { readonly __typename: 'ExternalVideo'; } | { readonly __typename: 'GenericFile'; } | { readonly __typename: 'Location'; } | { readonly __typename: 'MailingAddress'; } | { readonly __typename: 'Market'; } | { readonly __typename: 'MediaImage'; } | { readonly __typename: 'MediaPresentation'; } | { readonly __typename: 'Menu'; } | { readonly __typename: 'MenuItem'; } | { readonly __typename: 'Metafield'; } | { readonly __typename: 'Metaobject'; } | { readonly __typename: 'Model3d'; } | { readonly __typename: 'Order'; } | { readonly __typename: 'Page'; } | { readonly __typename: 'Payment'; } | { readonly __typename: 'Product'; } | { readonly __typename: 'ProductOption'; } | { readonly __typename: 'ProductVariant'; } | { readonly __typename: 'Shop'; } | { readonly __typename: 'ShopPolicy'; } | { readonly __typename: 'UrlRedirect'; } | { readonly __typename: 'Video'; } | null | undefined; }; export declare type CustomerCartQueryVariables = Exact<{ customerAccessToken: Scalars['String']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CustomerCartQuery = { readonly customer?: { readonly lastIncompleteCheckout?: CartFragment | null | undefined; } | null | undefined; }; export declare type CustomerCartIdQueryVariables = Exact<{ customerAccessToken: Scalars['String']; }>; export declare type CustomerCartIdQuery = { readonly customer?: { readonly lastIncompleteCheckout?: { readonly id: string; } | null | undefined; } | null | undefined; }; export declare type OrderDetailsByCheckoutIdQueryVariables = Exact<{ checkoutId: Scalars['ID']; includeProductTags: Scalars['Boolean']; includeLineItems: Scalars['Boolean']; includeProductMetadata: Scalars['Boolean']; includeVariantMetadata: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type OrderDetailsByCheckoutIdQuery = { readonly node?: { readonly __typename: 'AppliedGiftCard'; } | { readonly __typename: 'Article'; } | { readonly __typename: 'Blog'; } | { readonly __typename: 'Cart'; } | { readonly __typename: 'CartLine'; } | { readonly __typename: 'Checkout'; readonly order?: OrderFragment | null | undefined; } | { readonly __typename: 'CheckoutLineItem'; } | { readonly __typename: 'Collection'; } | { readonly __typename: 'Comment'; } | { readonly __typename: 'ComponentizableCartLine'; } | { readonly __typename: 'ExternalVideo'; } | { readonly __typename: 'GenericFile'; } | { readonly __typename: 'Location'; } | { readonly __typename: 'MailingAddress'; } | { readonly __typename: 'Market'; } | { readonly __typename: 'MediaImage'; } | { readonly __typename: 'MediaPresentation'; } | { readonly __typename: 'Menu'; } | { readonly __typename: 'MenuItem'; } | { readonly __typename: 'Metafield'; } | { readonly __typename: 'Metaobject'; } | { readonly __typename: 'Model3d'; } | { readonly __typename: 'Order'; } | { readonly __typename: 'Page'; } | { readonly __typename: 'Payment'; } | { readonly __typename: 'Product'; } | { readonly __typename: 'ProductOption'; } | { readonly __typename: 'ProductVariant'; } | { readonly __typename: 'Shop'; } | { readonly __typename: 'ShopPolicy'; } | { readonly __typename: 'UrlRedirect'; } | { readonly __typename: 'Video'; } | null | undefined; }; export declare type CustomerQueryVariables = Exact<{ customerAccessToken: Scalars['String']; includeCustomerTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CustomerQuery = { readonly customer?: CustomerFragment | null | undefined; }; export declare type CustomerOrderHistoryQueryVariables = Exact<{ customerAccessToken: Scalars['String']; after?: InputMaybe; first?: InputMaybe; includeProductTags: Scalars['Boolean']; includeLineItems: Scalars['Boolean']; includeProductMetadata: Scalars['Boolean']; includeVariantMetadata: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type CustomerOrderHistoryQuery = { readonly customer?: { readonly firstName?: string | null | undefined; readonly lastName?: string | null | undefined; readonly orders: { readonly pageInfo: { readonly hasNextPage: boolean; }; readonly edges: ReadonlyArray<{ readonly cursor: string; readonly node: OrderFragment; }>; }; } | null | undefined; }; export declare type ProductsByIdsQueryVariables = Exact<{ ids: ReadonlyArray | Scalars['ID']; includeInventory: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeProductOptions: Scalars['Boolean']; includeProductMetadata: Scalars['Boolean']; includeProductVariants: Scalars['Boolean']; }>; export declare type ProductsByIdsQuery = { readonly nodes: ReadonlyArray<{ readonly __typename: 'AppliedGiftCard'; } | { readonly __typename: 'Article'; } | { readonly __typename: 'Blog'; } | { readonly __typename: 'Cart'; } | { readonly __typename: 'CartLine'; } | { readonly __typename: 'Checkout'; } | { readonly __typename: 'CheckoutLineItem'; } | { readonly __typename: 'Collection'; } | { readonly __typename: 'Comment'; } | { readonly __typename: 'ComponentizableCartLine'; } | { readonly __typename: 'ExternalVideo'; } | { readonly __typename: 'GenericFile'; } | { readonly __typename: 'Location'; } | { readonly __typename: 'MailingAddress'; } | { readonly __typename: 'Market'; } | { readonly __typename: 'MediaImage'; } | { readonly __typename: 'MediaPresentation'; } | { readonly __typename: 'Menu'; } | { readonly __typename: 'MenuItem'; } | { readonly __typename: 'Metafield'; } | { readonly __typename: 'Metaobject'; } | { readonly __typename: 'Model3d'; } | { readonly __typename: 'Order'; } | { readonly __typename: 'Page'; } | { readonly __typename: 'Payment'; } | ({ readonly __typename: 'Product'; } & BasicProductFragment) | { readonly __typename: 'ProductOption'; } | { readonly __typename: 'ProductVariant'; } | { readonly __typename: 'Shop'; } | { readonly __typename: 'ShopPolicy'; } | { readonly __typename: 'UrlRedirect'; } | { readonly __typename: 'Video'; } | null | undefined>; }; export declare type OrderDetailsByIdQueryVariables = Exact<{ id: Scalars['ID']; includeProductTags: Scalars['Boolean']; includeLineItems: Scalars['Boolean']; includeProductMetadata: Scalars['Boolean']; includeVariantMetadata: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type OrderDetailsByIdQuery = { readonly node?: { readonly __typename: 'AppliedGiftCard'; } | { readonly __typename: 'Article'; } | { readonly __typename: 'Blog'; } | { readonly __typename: 'Cart'; } | { readonly __typename: 'CartLine'; } | { readonly __typename: 'Checkout'; } | { readonly __typename: 'CheckoutLineItem'; } | { readonly __typename: 'Collection'; } | { readonly __typename: 'Comment'; } | { readonly __typename: 'ComponentizableCartLine'; } | { readonly __typename: 'ExternalVideo'; } | { readonly __typename: 'GenericFile'; } | { readonly __typename: 'Location'; } | { readonly __typename: 'MailingAddress'; } | { readonly __typename: 'Market'; } | { readonly __typename: 'MediaImage'; } | { readonly __typename: 'MediaPresentation'; } | { readonly __typename: 'Menu'; } | { readonly __typename: 'MenuItem'; } | { readonly __typename: 'Metafield'; } | { readonly __typename: 'Metaobject'; } | { readonly __typename: 'Model3d'; } | ({ readonly __typename: 'Order'; } & OrderFragment) | { readonly __typename: 'Page'; } | { readonly __typename: 'Payment'; } | { readonly __typename: 'Product'; } | { readonly __typename: 'ProductOption'; } | { readonly __typename: 'ProductVariant'; } | { readonly __typename: 'Shop'; } | { readonly __typename: 'ShopPolicy'; } | { readonly __typename: 'UrlRedirect'; } | { readonly __typename: 'Video'; } | null | undefined; }; export declare type PaymentSettingsQueryVariables = Exact<{ [key: string]: never; }>; export declare type PaymentSettingsQuery = { readonly shop: { readonly paymentSettings: { readonly cardVaultUrl: string; readonly acceptedCardBrands: ReadonlyArray; readonly shopifyPaymentsAccountId?: string | null | undefined; readonly supportedDigitalWallets: ReadonlyArray; readonly currencyCode: CurrencyCode; readonly enabledPresentmentCurrencies: ReadonlyArray; readonly countryCode: CountryCode; }; }; }; export declare type ProductQueryVariables = Exact<{ id: Scalars['ID']; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type ProductQuery = { readonly node?: { readonly __typename: 'AppliedGiftCard'; } | { readonly __typename: 'Article'; } | { readonly __typename: 'Blog'; } | { readonly __typename: 'Cart'; } | { readonly __typename: 'CartLine'; } | { readonly __typename: 'Checkout'; } | { readonly __typename: 'CheckoutLineItem'; } | { readonly __typename: 'Collection'; } | { readonly __typename: 'Comment'; } | { readonly __typename: 'ComponentizableCartLine'; } | { readonly __typename: 'ExternalVideo'; } | { readonly __typename: 'GenericFile'; } | { readonly __typename: 'Location'; } | { readonly __typename: 'MailingAddress'; } | { readonly __typename: 'Market'; } | { readonly __typename: 'MediaImage'; } | { readonly __typename: 'MediaPresentation'; } | { readonly __typename: 'Menu'; } | { readonly __typename: 'MenuItem'; } | { readonly __typename: 'Metafield'; } | { readonly __typename: 'Metaobject'; } | { readonly __typename: 'Model3d'; } | { readonly __typename: 'Order'; } | { readonly __typename: 'Page'; } | { readonly __typename: 'Payment'; } | ({ readonly __typename: 'Product'; } & ProductFragment) | { readonly __typename: 'ProductOption'; } | { readonly __typename: 'ProductVariant'; } | { readonly __typename: 'Shop'; } | { readonly __typename: 'ShopPolicy'; } | { readonly __typename: 'UrlRedirect'; } | { readonly __typename: 'Video'; } | null | undefined; }; export declare type ProductByHandleQueryVariables = Exact<{ handle: Scalars['String']; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type ProductByHandleQuery = { readonly productByHandle?: ({ readonly __typename: 'Product'; } & ProductFragment) | null | undefined; }; export declare type ProductIndexQueryVariables = Exact<{ id?: InputMaybe; handle?: InputMaybe; after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; includeInventory: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeProductOptions: Scalars['Boolean']; includeProductMetadata: Scalars['Boolean']; includeProductVariants: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type ProductIndexQuery = { readonly collection?: ({ readonly __typename: 'Collection'; } & ProductIndexFragment) | null | undefined; }; export declare type ProductsQueryVariables = Exact<{ after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; includeInventory: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; includeProductOptions: Scalars['Boolean']; includeProductMetadata: Scalars['Boolean']; includeProductVariants: Scalars['Boolean']; }>; export declare type ProductsQuery = { readonly products: { readonly pageInfo: { readonly hasNextPage: boolean; readonly hasPreviousPage: boolean; }; readonly edges: ReadonlyArray<{ readonly cursor: string; readonly node: BasicProductFragment; }>; }; }; export declare type SavedAddressesQueryVariables = Exact<{ customerAccessToken: Scalars['String']; }>; export declare type SavedAddressesQuery = { readonly customer?: SavedAddressesFragment | null | undefined; }; export declare type SearchQueryVariables = Exact<{ after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; reverse?: InputMaybe; sortKey?: InputMaybe; query?: InputMaybe; imageMaxHeight?: InputMaybe; imageMaxWidth?: InputMaybe; includeInventory: Scalars['Boolean']; includeStoreAvailability: Scalars['Boolean']; includeProductTags: Scalars['Boolean']; metafieldIdentifiers?: InputMaybe | HasMetafieldsIdentifier>; }>; export declare type SearchQuery = { readonly products: { readonly pageInfo: { readonly hasNextPage: boolean; readonly hasPreviousPage: boolean; }; readonly edges: ReadonlyArray<{ readonly cursor: string; readonly node: ProductFragment; }>; }; }; export declare const MetafieldFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const ImageFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const VariantFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const MediaFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const ProductFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const SellingPlanFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const SellingPlanAllocationFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const CartApiLineFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const AddressFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const SavedAddressesFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const CustomerFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const CartApiObjectFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const DiscountApplicationFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const CartItemFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const ShippingRateFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const CartFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const PaymentFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const OrderItemFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const FulfillmentFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const OrderFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const CategoryFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const BasicVariantFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const BasicProductFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const ProductIndexFragmentDoc: import("graphql/language/ast").DocumentNode; export declare const CartApiAttributesUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CartApiBuyerIdentityUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CartApiDiscountCodesUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CartApiLinesAddDocument: import("graphql/language/ast").DocumentNode; export declare const CartApiLinesRemoveDocument: import("graphql/language/ast").DocumentNode; export declare const CartApiLinesUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CartApiNoteUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CartApiObjectCreateDocument: import("graphql/language/ast").DocumentNode; export declare const SetCartUserTokenDocument: import("graphql/language/ast").DocumentNode; export declare const CheckoutCompleteWithCreditCardV2Document: import("graphql/language/ast").DocumentNode; export declare const CheckoutCreateDocument: import("graphql/language/ast").DocumentNode; export declare const CheckoutCustomerAssociateV2Document: import("graphql/language/ast").DocumentNode; export declare const CheckoutCustomerDisassociateV2Document: import("graphql/language/ast").DocumentNode; export declare const CheckoutDiscountCodeApplyV2Document: import("graphql/language/ast").DocumentNode; export declare const CheckoutDiscountCodeRemoveDocument: import("graphql/language/ast").DocumentNode; export declare const CheckoutEmailUpdateV2Document: import("graphql/language/ast").DocumentNode; export declare const CheckoutLineItemsAddDocument: import("graphql/language/ast").DocumentNode; export declare const CheckoutLineItemsRemoveDocument: import("graphql/language/ast").DocumentNode; export declare const CheckoutLineItemsUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CheckoutShippingAddressUpdateV2Document: import("graphql/language/ast").DocumentNode; export declare const CheckoutShippingLineUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerAccessTokenCreateDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerAccessTokenDeleteDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerAccessTokenRenewDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerAddressCreateDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerAddressDeleteDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerAddressUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerCreateDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerDefaultAddressUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerRecoverDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerUpdateDocument: import("graphql/language/ast").DocumentNode; export declare const AddressByIdDocument: import("graphql/language/ast").DocumentNode; export declare const AllCategoriesDocument: import("graphql/language/ast").DocumentNode; export declare const CartApiObjectByIdDocument: import("graphql/language/ast").DocumentNode; export declare const GetCartApiDiscountCodesDocument: import("graphql/language/ast").DocumentNode; export declare const CategoryDocument: import("graphql/language/ast").DocumentNode; export declare const CategoryByHandleDocument: import("graphql/language/ast").DocumentNode; export declare const AvailableShippingMethodsDocument: import("graphql/language/ast").DocumentNode; export declare const CartByIdDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerCartDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerCartIdDocument: import("graphql/language/ast").DocumentNode; export declare const OrderDetailsByCheckoutIdDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerDocument: import("graphql/language/ast").DocumentNode; export declare const CustomerOrderHistoryDocument: import("graphql/language/ast").DocumentNode; export declare const ProductsByIdsDocument: import("graphql/language/ast").DocumentNode; export declare const OrderDetailsByIdDocument: import("graphql/language/ast").DocumentNode; export declare const PaymentSettingsDocument: import("graphql/language/ast").DocumentNode; export declare const ProductDocument: import("graphql/language/ast").DocumentNode; export declare const ProductByHandleDocument: import("graphql/language/ast").DocumentNode; export declare const ProductIndexDocument: import("graphql/language/ast").DocumentNode; export declare const ProductsDocument: import("graphql/language/ast").DocumentNode; export declare const SavedAddressesDocument: import("graphql/language/ast").DocumentNode; export declare const SearchDocument: import("graphql/language/ast").DocumentNode; export declare type SdkFunctionWrapper = (action: (requestHeaders?: Record) => Promise, operationName: string) => Promise; export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): { cartApiAttributesUpdate(variables: CartApiAttributesUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartApiBuyerIdentityUpdate(variables: CartApiBuyerIdentityUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartApiDiscountCodesUpdate(variables: CartApiDiscountCodesUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartApiLinesAdd(variables: CartApiLinesAddMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartApiLinesRemove(variables: CartApiLinesRemoveMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartApiLinesUpdate(variables: CartApiLinesUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartApiNoteUpdate(variables: CartApiNoteUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartApiObjectCreate(variables: CartApiObjectCreateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; setCartUserToken(variables: SetCartUserTokenMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutCompleteWithCreditCardV2(variables: CheckoutCompleteWithCreditCardV2MutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutCreate(variables: CheckoutCreateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutCustomerAssociateV2(variables: CheckoutCustomerAssociateV2MutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutCustomerDisassociateV2(variables: CheckoutCustomerDisassociateV2MutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutDiscountCodeApplyV2(variables: CheckoutDiscountCodeApplyV2MutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutDiscountCodeRemove(variables: CheckoutDiscountCodeRemoveMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutEmailUpdateV2(variables: CheckoutEmailUpdateV2MutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutLineItemsAdd(variables: CheckoutLineItemsAddMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutLineItemsRemove(variables: CheckoutLineItemsRemoveMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutLineItemsUpdate(variables: CheckoutLineItemsUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutShippingAddressUpdateV2(variables: CheckoutShippingAddressUpdateV2MutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; checkoutShippingLineUpdate(variables: CheckoutShippingLineUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerAccessTokenCreate(variables: CustomerAccessTokenCreateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerAccessTokenDelete(variables: CustomerAccessTokenDeleteMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerAccessTokenRenew(variables: CustomerAccessTokenRenewMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerAddressCreate(variables: CustomerAddressCreateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerAddressDelete(variables: CustomerAddressDeleteMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerAddressUpdate(variables: CustomerAddressUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerCreate(variables: CustomerCreateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerDefaultAddressUpdate(variables: CustomerDefaultAddressUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerRecover(variables: CustomerRecoverMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerUpdate(variables: CustomerUpdateMutationVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; addressById(variables: AddressByIdQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; allCategories(variables?: AllCategoriesQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartApiObjectById(variables: CartApiObjectByIdQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; getCartApiDiscountCodes(variables: GetCartApiDiscountCodesQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; category(variables: CategoryQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; categoryByHandle(variables: CategoryByHandleQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; availableShippingMethods(variables: AvailableShippingMethodsQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; cartById(variables: CartByIdQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerCart(variables: CustomerCartQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerCartId(variables: CustomerCartIdQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; orderDetailsByCheckoutId(variables: OrderDetailsByCheckoutIdQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customer(variables: CustomerQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; customerOrderHistory(variables: CustomerOrderHistoryQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; productsByIds(variables: ProductsByIdsQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; orderDetailsById(variables: OrderDetailsByIdQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; paymentSettings(variables?: PaymentSettingsQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; product(variables: ProductQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; productByHandle(variables: ProductByHandleQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; productIndex(variables: ProductIndexQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; products(variables: ProductsQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; savedAddresses(variables: SavedAddressesQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; search(variables: SearchQueryVariables, requestHeaders?: Dom.RequestInit['headers']): Promise; }; export declare type Sdk = ReturnType; export {};