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; /** * A string containing a hexadecimal representation of a color. * * For example, "#6A8D48". * */ Color: any; /** * Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string. * For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is * represented as `"2019-09-07T15:50:00Z`". * */ DateTime: any; /** * A signed decimal number, which supports arbitrary precision and is serialized as a string. * * Example values: `"29.99"`, `"29.999"`. * */ Decimal: any; /** * A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a * complete list of HTML elements. * * Example value: `"

Grey cotton knit sweater.

"` * */ HTML: any; /** * A [JSON](https://www.json.org/json-en.html) object. * * Example value: * `{ * "product": { * "id": "gid://shopify/Product/1346443542550", * "title": "White T-shirt", * "options": [{ * "name": "Size", * "values": ["M", "L"] * }] * } * }` * */ JSON: any; /** * Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and * [RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string. * * For example, `"https://johns-apparel.myshopify.com"` is a valid URL. It includes a scheme (`https`) and a host * (`johns-apparel.myshopify.com`). * */ URL: any; /** * An unsigned 64-bit integer. Represents whole numeric values between 0 and 2^64 - 1 encoded as a string of base-10 digits. * * Example value: `"50"`. * */ UnsignedInt64: any; }; /** * 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 = { __typename?: 'ApiVersion'; /** The human-readable name of the version. */ displayName: Scalars['String']; /** The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle. */ 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). */ supported: Scalars['Boolean']; }; /** * The input fields for submitting Apple Pay payment method information for checkout. * */ export declare type ApplePayWalletContentInput = { /** The customer's billing address. */ billingAddress: MailingAddressInput; /** The data for the Apple Pay wallet. */ data: Scalars['String']; /** The header data for the Apple Pay wallet. */ header: ApplePayWalletHeaderInput; /** The last digits of the card used to create the payment. */ lastDigits?: InputMaybe; /** The signature for the Apple Pay wallet. */ signature: Scalars['String']; /** The version for the Apple Pay wallet. */ 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. */ applicationData?: InputMaybe; /** The ephemeral public key for the Apple Pay wallet. */ ephemeralPublicKey: Scalars['String']; /** The public key hash for the Apple Pay wallet. */ publicKeyHash: Scalars['String']; /** The transaction ID for the Apple Pay wallet. */ transactionId: Scalars['String']; }; /** Details about the gift card used on the checkout. */ export declare type AppliedGiftCard = Node & { __typename?: 'AppliedGiftCard'; /** The amount that was taken from the gift card by applying it. */ amountUsed: MoneyV2; /** * The amount that was taken from the gift card by applying it. * @deprecated Use `amountUsed` instead. */ amountUsedV2: MoneyV2; /** The amount left on the gift card. */ balance: MoneyV2; /** * The amount left on the gift card. * @deprecated Use `balance` instead. */ balanceV2: MoneyV2; /** A globally-unique ID. */ id: Scalars['ID']; /** The last characters of the gift card. */ lastCharacters: Scalars['String']; /** The amount that was applied to the checkout in its currency. */ presentmentAmountUsed: MoneyV2; }; /** An article in an online store blog. */ export declare type Article = HasMetafields & Node & OnlineStorePublishable & { __typename?: 'Article'; /** * The article's author. * @deprecated Use `authorV2` instead. */ author: ArticleAuthor; /** The article's author. */ authorV2?: Maybe; /** The blog that the article belongs to. */ blog: Blog; /** List of comments posted on the article. */ comments: CommentConnection; /** Stripped content of the article, single line with HTML tags removed. */ content: Scalars['String']; /** The content of the article, complete with HTML formatting. */ contentHtml: Scalars['HTML']; /** Stripped excerpt of the article, single line with HTML tags removed. */ excerpt?: Maybe; /** The excerpt of the article, complete with HTML formatting. */ excerptHtml?: Maybe; /** * A human-friendly unique string for the Article automatically generated from its title. * */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** The image associated with the article. */ image?: Maybe; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** 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. */ onlineStoreUrl?: Maybe; /** The date and time when the article was published. */ publishedAt: Scalars['DateTime']; /** The article’s SEO information. */ seo?: Maybe; /** A categorization that a article can be tagged with. */ tags: Array; /** The article’s name. */ title: Scalars['String']; }; /** 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: Array; }; /** The author of an article. */ export declare type ArticleAuthor = { __typename?: 'ArticleAuthor'; /** The author's bio. */ bio?: Maybe; /** The author’s email. */ email: Scalars['String']; /** The author's first name. */ firstName: Scalars['String']; /** The author's last name. */ lastName: Scalars['String']; /** The author's full name. */ name: Scalars['String']; }; /** * An auto-generated type for paginating through multiple Articles. * */ export declare type ArticleConnection = { __typename?: 'ArticleConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in ArticleEdge. */ nodes: Array
; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one Article and a cursor during pagination. * */ export declare type ArticleEdge = { __typename?: 'ArticleEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of ArticleEdge. */ 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 = { __typename?: 'Attribute'; /** Key or name of the attribute. */ key: Scalars['String']; /** Value of the attribute. */ value?: Maybe; }; /** The input fields for an attribute. */ export declare type AttributeInput = { /** Key or name of the attribute. */ key: Scalars['String']; /** Value of the attribute. */ value: Scalars['String']; }; /** * Automatic discount applications capture the intentions of a discount that was automatically applied. * */ export declare type AutomaticDiscountApplication = DiscountApplication & { __typename?: 'AutomaticDiscountApplication'; /** The method by which the discount's value is allocated to its entitled items. */ allocationMethod: DiscountApplicationAllocationMethod; /** Which lines of targetType that the discount is allocated over. */ targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ targetType: DiscountApplicationTargetType; /** The title of the application. */ title: Scalars['String']; /** The value of the discount application. */ value: PricingValue; }; /** A collection of available shipping rates for a checkout. */ export declare type AvailableShippingRates = { __typename?: '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`. * */ ready: Scalars['Boolean']; /** The fetched shipping rates. `null` until the `ready` field is `true`. */ shippingRates?: Maybe>; }; /** Represents a cart line common fields. */ export declare type BaseCartLine = { /** An attribute associated with the cart line. */ attribute?: Maybe; /** The attributes associated with the cart line. Attributes are represented as key-value pairs. */ attributes: Array; /** 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. */ cost: CartLineCost; /** The discounts that have been applied to the cart line. */ discountAllocations: Array; /** * 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. */ estimatedCost: CartLineEstimatedCost; /** A globally-unique ID. */ id: Scalars['ID']; /** The merchandise that the buyer intends to purchase. */ merchandise: Merchandise; /** The quantity of the merchandise that the customer intends to purchase. */ 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. */ 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 = { __typename?: 'BaseCartLineConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in BaseCartLineEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one BaseCartLine and a cursor during pagination. * */ export declare type BaseCartLineEdge = { __typename?: 'BaseCartLineEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of BaseCartLineEdge. */ node: BaseCartLine; }; /** An online store blog. */ export declare type Blog = HasMetafields & Node & OnlineStorePublishable & { __typename?: 'Blog'; /** Find an article by its handle. */ articleByHandle?: Maybe
; /** List of the blog's articles. */ articles: ArticleConnection; /** The authors who have contributed to the blog. */ authors: Array; /** * A human-friendly unique string for the Blog automatically generated from its title. * */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** 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. */ onlineStoreUrl?: Maybe; /** The blog's SEO information. */ seo?: Maybe; /** The blogs’s title. */ 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: Array; }; /** * An auto-generated type for paginating through multiple Blogs. * */ export declare type BlogConnection = { __typename?: 'BlogConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in BlogEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one Blog and a cursor during pagination. * */ export declare type BlogEdge = { __typename?: 'BlogEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of BlogEdge. */ 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 = { __typename?: 'Brand'; /** The colors of the store's brand. */ colors: BrandColors; /** The store's cover image. */ coverImage?: Maybe; /** The store's default logo. */ logo?: Maybe; /** The store's short description. */ shortDescription?: Maybe; /** The store's slogan. */ slogan?: Maybe; /** The store's preferred logo for square UI elements. */ squareLogo?: Maybe; }; /** * A group of related colors for the shop's brand. * */ export declare type BrandColorGroup = { __typename?: 'BrandColorGroup'; /** The background color. */ background?: Maybe; /** The foreground color. */ foreground?: Maybe; }; /** * The colors of the shop's brand. * */ export declare type BrandColors = { __typename?: 'BrandColors'; /** The shop's primary brand colors. */ primary: Array; /** The shop's secondary brand colors. */ secondary: Array; }; /** 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 & { __typename?: 'Cart'; /** An attribute associated with the cart. */ attribute?: Maybe; /** The attributes associated with the cart. Attributes are represented as key-value pairs. */ attributes: Array; /** Information about the buyer that is interacting with the cart. */ buyerIdentity: CartBuyerIdentity; /** The URL of the checkout for the cart. */ 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). */ cost: CartCost; /** The date and time when the cart was created. */ 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. * */ deliveryGroups: CartDeliveryGroupConnection; /** The discounts that have been applied to the entire cart. */ discountAllocations: Array; /** * The case-insensitive discount codes that the customer added at checkout. * */ discountCodes: Array; /** * 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. */ estimatedCost: CartEstimatedCost; /** A globally-unique ID. */ id: Scalars['ID']; /** A list of lines containing information about the items the customer intends to purchase. */ lines: BaseCartLineConnection; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** A note that is associated with the cart. For example, the note can be a personalized message to the buyer. */ note?: Maybe; /** The total number of items in the cart. */ totalQuantity: Scalars['Int']; /** The date and time when the cart was updated. */ 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: Array; }; /** Return type for `cartAttributesUpdate` mutation. */ export declare type CartAttributesUpdatePayload = { __typename?: 'CartAttributesUpdatePayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** The discounts automatically applied to the cart line based on prerequisites that have been met. */ export declare type CartAutomaticDiscountAllocation = CartDiscountAllocation & { __typename?: 'CartAutomaticDiscountAllocation'; /** The discounted amount that has been applied to the cart line. */ discountedAmount: MoneyV2; /** The title of the allocated discount. */ title: Scalars['String']; }; /** Represents information about the buyer that is interacting with the cart. */ export declare type CartBuyerIdentity = { __typename?: 'CartBuyerIdentity'; /** The country where the buyer is located. */ countryCode?: Maybe; /** The customer account associated with the cart. */ 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. * */ deliveryAddressPreferences: Array; /** The email address of the buyer that is interacting with the cart. */ email?: Maybe; /** The phone number of the buyer that is interacting with the cart. */ 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. * */ walletPreferences: Array; }; /** * 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. */ countryCode?: InputMaybe; /** The access token used to identify the customer associated with the cart. */ 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. * */ deliveryAddressPreferences?: InputMaybe>; /** The email address of the buyer that is interacting with the cart. */ email?: InputMaybe; /** The phone number of the buyer that is interacting with the cart. */ 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. * */ walletPreferences?: InputMaybe>; }; /** Return type for `cartBuyerIdentityUpdate` mutation. */ export declare type CartBuyerIdentityUpdatePayload = { __typename?: 'CartBuyerIdentityUpdatePayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** * 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 & { __typename?: 'CartCodeDiscountAllocation'; /** The code used to apply the discount. */ code: Scalars['String']; /** The discounted amount that has been applied to the cart line. */ 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 = { __typename?: 'CartCompletionActionRequired'; /** The action required to complete the cart completion attempt. */ action?: Maybe; /** The ID of the cart completion attempt. */ 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 = { __typename?: 'CartCompletionFailed'; /** The errors that caused the checkout to fail. */ errors: Array; /** The ID of the cart completion attempt. */ id: Scalars['String']; }; /** A cart checkout completion that's still processing. */ export declare type CartCompletionProcessing = { __typename?: 'CartCompletionProcessing'; /** The ID of the cart completion attempt. */ id: Scalars['String']; /** The number of milliseconds to wait before polling again. */ pollDelay: Scalars['Int']; }; /** A successful completion to checkout a cart and a created order. */ export declare type CartCompletionSuccess = { __typename?: 'CartCompletionSuccess'; /** The date and time when the job completed. */ completedAt?: Maybe; /** The ID of the cart completion attempt. */ id: Scalars['String']; /** The ID of the order that's created in Shopify. */ orderId: Scalars['ID']; /** The URL of the order confirmation in Shopify. */ 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 = { __typename?: '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`. */ checkoutChargeAmount: MoneyV2; /** The amount, before taxes and cart-level discounts, for the customer to pay. */ subtotalAmount: MoneyV2; /** Whether the subtotal amount is estimated. */ subtotalAmountEstimated: Scalars['Boolean']; /** The total amount for the customer to pay. */ totalAmount: MoneyV2; /** Whether the total amount is estimated. */ totalAmountEstimated: Scalars['Boolean']; /** The duty amount for the customer to pay at checkout. */ totalDutyAmount?: Maybe; /** Whether the total duty amount is estimated. */ totalDutyAmountEstimated: Scalars['Boolean']; /** The tax amount for the customer to pay at checkout. */ totalTaxAmount?: Maybe; /** Whether the total tax amount is estimated. */ totalTaxAmountEstimated: Scalars['Boolean']; }; /** Return type for `cartCreate` mutation. */ export declare type CartCreatePayload = { __typename?: 'CartCreatePayload'; /** The new cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** The discounts automatically applied to the cart line based on prerequisites that have been met. */ export declare type CartCustomDiscountAllocation = CartDiscountAllocation & { __typename?: 'CartCustomDiscountAllocation'; /** The discounted amount that has been applied to the cart line. */ discountedAmount: MoneyV2; /** The title of the allocated discount. */ 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 = { __typename?: 'CartDeliveryGroup'; /** A list of cart lines for the delivery group. */ cartLines: BaseCartLineConnection; /** The destination address for the delivery group. */ deliveryAddress: MailingAddress; /** The delivery options available for the delivery group. */ deliveryOptions: Array; /** The ID for the delivery group. */ id: Scalars['ID']; /** The selected delivery option for the delivery group. */ 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 = { __typename?: 'CartDeliveryGroupConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in CartDeliveryGroupEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one CartDeliveryGroup and a cursor during pagination. * */ export declare type CartDeliveryGroupEdge = { __typename?: 'CartDeliveryGroupEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of CartDeliveryGroupEdge. */ node: CartDeliveryGroup; }; /** Information about a delivery option. */ export declare type CartDeliveryOption = { __typename?: 'CartDeliveryOption'; /** The code of the delivery option. */ code?: Maybe; /** The method for the delivery option. */ deliveryMethodType: DeliveryMethodType; /** The description of the delivery option. */ description?: Maybe; /** The estimated cost for the delivery option. */ estimatedCost: MoneyV2; /** The unique identifier of the delivery option. */ handle: Scalars['String']; /** The title of the delivery option. */ title?: Maybe; }; /** * The input fields for submitting direct payment method information for checkout. * */ export declare type CartDirectPaymentMethodInput = { /** The customer's billing address. */ billingAddress: MailingAddressInput; /** The source of the credit card payment. */ cardSource?: InputMaybe; /** The session ID for the direct payment method used to create the payment. */ 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. */ discountedAmount: MoneyV2; }; /** The discount codes applied to the cart. */ export declare type CartDiscountCode = { __typename?: 'CartDiscountCode'; /** Whether the discount code is applicable to the cart's current contents. */ applicable: Scalars['Boolean']; /** The code for the discount. */ code: Scalars['String']; }; /** Return type for `cartDiscountCodesUpdate` mutation. */ export declare type CartDiscountCodesUpdatePayload = { __typename?: 'CartDiscountCodesUpdatePayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** 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 = { __typename?: '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`. */ checkoutChargeAmount: MoneyV2; /** The estimated amount, before taxes and discounts, for the customer to pay. */ subtotalAmount: MoneyV2; /** The estimated total amount for the customer to pay. */ totalAmount: MoneyV2; /** The estimated duty amount for the customer to pay at checkout. */ totalDutyAmount?: Maybe; /** The estimated tax amount for the customer to pay at checkout. */ totalTaxAmount?: Maybe; }; /** * The input fields for submitting a billing address without a selected payment method. * */ export declare type CartFreePaymentMethodInput = { /** The customer's billing address. */ 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. */ 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. * */ buyerIdentity?: InputMaybe; /** * The case-insensitive discount codes that the customer added at checkout. * */ discountCodes?: InputMaybe>; /** A list of merchandise lines to add to the cart. */ lines?: InputMaybe>; /** The metafields to associate with this cart. */ metafields?: InputMaybe>; /** A note that is associated with the cart. For example, the note can be a personalized message to the buyer. */ note?: InputMaybe; }; /** The input fields for a cart metafield value to set. */ export declare type CartInputMetafieldInput = { /** The key name of the metafield. */ 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). * */ 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. * */ value: Scalars['String']; }; /** Represents information about the merchandise in the cart. */ export declare type CartLine = BaseCartLine & Node & { __typename?: 'CartLine'; /** An attribute associated with the cart line. */ attribute?: Maybe; /** The attributes associated with the cart line. Attributes are represented as key-value pairs. */ attributes: Array; /** 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. */ cost: CartLineCost; /** The discounts that have been applied to the cart line. */ discountAllocations: Array; /** * 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. */ estimatedCost: CartLineEstimatedCost; /** A globally-unique ID. */ id: Scalars['ID']; /** The merchandise that the buyer intends to purchase. */ merchandise: Merchandise; /** The quantity of the merchandise that the customer intends to purchase. */ 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. */ 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 = { __typename?: 'CartLineCost'; /** The amount of the merchandise line. */ amountPerQuantity: MoneyV2; /** The compare at amount of the merchandise line. */ compareAtAmountPerQuantity?: Maybe; /** The cost of the merchandise line before line-level discounts. */ subtotalAmount: MoneyV2; /** The total cost of the merchandise line. */ totalAmount: MoneyV2; }; /** The estimated cost of the merchandise line that the buyer will pay at checkout. */ export declare type CartLineEstimatedCost = { __typename?: 'CartLineEstimatedCost'; /** The amount of the merchandise line. */ amount: MoneyV2; /** The compare at amount of the merchandise line. */ compareAtAmount?: Maybe; /** The estimated cost of the merchandise line before discounts. */ subtotalAmount: MoneyV2; /** The estimated total cost of the merchandise line. */ 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. */ attributes?: InputMaybe>; /** The ID of the merchandise that the buyer intends to purchase. */ merchandiseId: Scalars['ID']; /** The quantity of the merchandise. */ quantity?: InputMaybe; /** The ID of the selling plan that the merchandise is being purchased with. */ 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. */ attributes?: InputMaybe>; /** The ID of the merchandise line. */ id: Scalars['ID']; /** The ID of the merchandise for the line item. */ merchandiseId?: InputMaybe; /** The quantity of the line item. */ quantity?: InputMaybe; /** The ID of the selling plan that the merchandise is being purchased with. */ sellingPlanId?: InputMaybe; }; /** Return type for `cartLinesAdd` mutation. */ export declare type CartLinesAddPayload = { __typename?: 'CartLinesAddPayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** Return type for `cartLinesRemove` mutation. */ export declare type CartLinesRemovePayload = { __typename?: 'CartLinesRemovePayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** Return type for `cartLinesUpdate` mutation. */ export declare type CartLinesUpdatePayload = { __typename?: 'CartLinesUpdatePayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** The input fields to delete a cart metafield. */ export declare type CartMetafieldDeleteInput = { /** The key name of the cart metafield. */ key: Scalars['String']; /** The ID of the cart resource. */ ownerId: Scalars['ID']; }; /** Return type for `cartMetafieldDelete` mutation. */ export declare type CartMetafieldDeletePayload = { __typename?: 'CartMetafieldDeletePayload'; /** The ID of the deleted cart metafield. */ deletedId?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** The input fields for a cart metafield value to set. */ export declare type CartMetafieldsSetInput = { /** The key name of the cart metafield. */ key: Scalars['String']; /** The ID of the cart resource. */ 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). * */ 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. * */ value: Scalars['String']; }; /** Return type for `cartMetafieldsSet` mutation. */ export declare type CartMetafieldsSetPayload = { __typename?: 'CartMetafieldsSetPayload'; /** The list of cart metafields that were set. */ metafields?: Maybe>; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** Return type for `cartNoteUpdate` mutation. */ export declare type CartNoteUpdatePayload = { __typename?: 'CartNoteUpdatePayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** * 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. */ amount: MoneyInput; /** * The input fields to use when checking out a cart with a direct payment method (like a credit card). * */ 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. * */ freePaymentMethod?: InputMaybe; /** * An ID of the order placed on the originating platform. * Note that this value doesn't correspond to the Shopify Order ID. * */ sourceIdentifier?: InputMaybe; /** * The input fields to use when checking out a cart with a wallet payment method (like Shop Pay or Apple Pay). * */ walletPaymentMethod?: InputMaybe; }; /** Return type for `cartPaymentUpdate` mutation. */ export declare type CartPaymentUpdatePayload = { __typename?: 'CartPaymentUpdatePayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** * The input fields for updating the selected delivery options for a delivery group. * */ export declare type CartSelectedDeliveryOptionInput = { /** The ID of the cart delivery group. */ deliveryGroupId: Scalars['ID']; /** The handle of the selected delivery option. */ deliveryOptionHandle: Scalars['String']; }; /** Return type for `cartSelectedDeliveryOptionsUpdate` mutation. */ export declare type CartSelectedDeliveryOptionsUpdatePayload = { __typename?: 'CartSelectedDeliveryOptionsUpdatePayload'; /** The updated cart. */ cart?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** Return type for `cartSubmitForCompletion` mutation. */ export declare type CartSubmitForCompletionPayload = { __typename?: 'CartSubmitForCompletionPayload'; /** The result of cart submission for completion. */ result?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** 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 & { __typename?: 'CartUserError'; /** The error code. */ code?: Maybe; /** The path to the input field that caused the error. */ field?: Maybe>; /** The error message. */ 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. */ applePayWalletContent?: InputMaybe; /** The payment method information for the Shop Pay wallet. */ shopPayWalletContent?: InputMaybe; }; /** A container for all the information required to checkout items and pay. */ export declare type Checkout = Node & { __typename?: 'Checkout'; /** The gift cards used on the checkout. */ appliedGiftCards: Array; /** * The available shipping rates for this Checkout. * Should only be used when checkout `requiresShipping` is `true` and * the shipping address is valid. * */ availableShippingRates?: Maybe; /** The identity of the customer associated with the checkout. */ buyerIdentity: CheckoutBuyerIdentity; /** The date and time when the checkout was completed. */ completedAt?: Maybe; /** The date and time when the checkout was created. */ createdAt: Scalars['DateTime']; /** The currency code for the checkout. */ currencyCode: CurrencyCode; /** A list of extra information that is added to the checkout. */ customAttributes: Array; /** Discounts that have been applied on the checkout. */ discountApplications: DiscountApplicationConnection; /** The email attached to this checkout. */ email?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** A list of line item objects, each one containing information about an item in the checkout. */ lineItems: CheckoutLineItemConnection; /** The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded. */ lineItemsSubtotalPrice: MoneyV2; /** The note associated with the checkout. */ note?: Maybe; /** The resulting order from a paid checkout. */ order?: Maybe; /** The Order Status Page for this Checkout, null when checkout is not completed. */ 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. */ 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. */ 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. * */ ready: Scalars['Boolean']; /** States whether or not the fulfillment requires shipping. */ requiresShipping: Scalars['Boolean']; /** The shipping address to where the line items will be shipped. */ shippingAddress?: Maybe; /** * The discounts that have been allocated onto the shipping line by discount applications. * */ shippingDiscountAllocations: Array; /** Once a shipping rate is selected by the customer it is transitioned to a `shipping_line` object. */ shippingLine?: Maybe; /** The price at checkout before shipping and taxes. */ subtotalPrice: MoneyV2; /** * The price at checkout before duties, shipping, and taxes. * @deprecated Use `subtotalPrice` instead. */ subtotalPriceV2: MoneyV2; /** Whether the checkout is tax exempt. */ taxExempt: Scalars['Boolean']; /** Whether taxes are included in the line item and shipping line prices. */ taxesIncluded: Scalars['Boolean']; /** The sum of all the duties applied to the line items in the checkout. */ totalDuties?: Maybe; /** The sum of all the prices of all the items in the checkout, including taxes and duties. */ totalPrice: MoneyV2; /** * The sum of all the prices of all the items in the checkout, including taxes and duties. * @deprecated Use `totalPrice` instead. */ totalPriceV2: MoneyV2; /** The sum of all the taxes applied to the line items and shipping lines in the checkout. */ totalTax: MoneyV2; /** * The sum of all the taxes applied to the line items and shipping lines in the checkout. * @deprecated Use `totalTax` instead. */ totalTaxV2: MoneyV2; /** The date and time when the checkout was last updated. */ updatedAt: Scalars['DateTime']; /** The url pointing to the checkout accessible from the web. */ 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. * */ allowPartialAddresses?: InputMaybe; /** A list of extra information that is added to the checkout. */ customAttributes?: InputMaybe>; /** The text of an optional note that a shop owner can attach to the checkout. */ note?: InputMaybe; }; /** Return type for `checkoutAttributesUpdateV2` mutation. */ export declare type CheckoutAttributesUpdateV2Payload = { __typename?: 'CheckoutAttributesUpdateV2Payload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** The identity of the customer associated with the checkout. */ export declare type CheckoutBuyerIdentity = { __typename?: 'CheckoutBuyerIdentity'; /** The country code for the checkout. For example, `CA`. */ 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. * */ countryCode: CountryCode; }; /** Return type for `checkoutCompleteFree` mutation. */ export declare type CheckoutCompleteFreePayload = { __typename?: 'CheckoutCompleteFreePayload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutCompleteWithCreditCardV2` mutation. */ export declare type CheckoutCompleteWithCreditCardV2Payload = { __typename?: 'CheckoutCompleteWithCreditCardV2Payload'; /** The checkout on which the payment was applied. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** A representation of the attempted payment. */ payment?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation. */ export declare type CheckoutCompleteWithTokenizedPaymentV3Payload = { __typename?: 'CheckoutCompleteWithTokenizedPaymentV3Payload'; /** The checkout on which the payment was applied. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** A representation of the attempted payment. */ payment?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** 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`. * */ allowPartialAddresses?: InputMaybe; /** The identity of the customer associated with the checkout. */ buyerIdentity?: InputMaybe; /** A list of extra information that is added to the checkout. */ customAttributes?: InputMaybe>; /** The email with which the customer wants to checkout. */ email?: InputMaybe; /** A list of line item objects, each one containing information about an item in the checkout. */ lineItems?: InputMaybe>; /** The text of an optional note that a shop owner can attach to the checkout. */ note?: InputMaybe; /** The shipping address to where the line items will be shipped. */ shippingAddress?: InputMaybe; }; /** Return type for `checkoutCreate` mutation. */ export declare type CheckoutCreatePayload = { __typename?: 'CheckoutCreatePayload'; /** The new checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** The checkout queue token. Available only to selected stores. */ queueToken?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutCustomerAssociateV2` mutation. */ export declare type CheckoutCustomerAssociateV2Payload = { __typename?: 'CheckoutCustomerAssociateV2Payload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** The associated customer object. */ customer?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutCustomerDisassociateV2` mutation. */ export declare type CheckoutCustomerDisassociateV2Payload = { __typename?: 'CheckoutCustomerDisassociateV2Payload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutDiscountCodeApplyV2` mutation. */ export declare type CheckoutDiscountCodeApplyV2Payload = { __typename?: 'CheckoutDiscountCodeApplyV2Payload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutDiscountCodeRemove` mutation. */ export declare type CheckoutDiscountCodeRemovePayload = { __typename?: 'CheckoutDiscountCodeRemovePayload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutEmailUpdateV2` mutation. */ export declare type CheckoutEmailUpdateV2Payload = { __typename?: 'CheckoutEmailUpdateV2Payload'; /** The checkout object with the updated email. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** 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 = { __typename?: 'CheckoutGiftCardRemoveV2Payload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutGiftCardsAppend` mutation. */ export declare type CheckoutGiftCardsAppendPayload = { __typename?: 'CheckoutGiftCardsAppendPayload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** A single line item in the checkout, grouped by variant and attributes. */ export declare type CheckoutLineItem = Node & { __typename?: 'CheckoutLineItem'; /** Extra information in the form of an array of Key-Value pairs about the line item. */ customAttributes: Array; /** The discounts that have been allocated onto the checkout line item by discount applications. */ discountAllocations: Array; /** A globally-unique ID. */ id: Scalars['ID']; /** The quantity of the line item. */ quantity: Scalars['Int']; /** Title of the line item. Defaults to the product's title. */ title: Scalars['String']; /** Unit price of the line item. */ unitPrice?: Maybe; /** Product variant of the line item. */ variant?: Maybe; }; /** * An auto-generated type for paginating through multiple CheckoutLineItems. * */ export declare type CheckoutLineItemConnection = { __typename?: 'CheckoutLineItemConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in CheckoutLineItemEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one CheckoutLineItem and a cursor during pagination. * */ export declare type CheckoutLineItemEdge = { __typename?: 'CheckoutLineItemEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of CheckoutLineItemEdge. */ 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. */ customAttributes?: InputMaybe>; /** The quantity of the line item. */ quantity: Scalars['Int']; /** The ID of the product variant for the line item. */ 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. */ customAttributes?: InputMaybe>; /** The ID of the line item. */ id?: InputMaybe; /** The quantity of the line item. */ quantity?: InputMaybe; /** The variant ID of the line item. */ variantId?: InputMaybe; }; /** Return type for `checkoutLineItemsAdd` mutation. */ export declare type CheckoutLineItemsAddPayload = { __typename?: 'CheckoutLineItemsAddPayload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutLineItemsRemove` mutation. */ export declare type CheckoutLineItemsRemovePayload = { __typename?: 'CheckoutLineItemsRemovePayload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutLineItemsReplace` mutation. */ export declare type CheckoutLineItemsReplacePayload = { __typename?: 'CheckoutLineItemsReplacePayload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** Return type for `checkoutLineItemsUpdate` mutation. */ export declare type CheckoutLineItemsUpdatePayload = { __typename?: 'CheckoutLineItemsUpdatePayload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutShippingAddressUpdateV2` mutation. */ export declare type CheckoutShippingAddressUpdateV2Payload = { __typename?: 'CheckoutShippingAddressUpdateV2Payload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Return type for `checkoutShippingLineUpdate` mutation. */ export declare type CheckoutShippingLineUpdatePayload = { __typename?: 'CheckoutShippingLineUpdatePayload'; /** The updated checkout object. */ checkout?: Maybe; /** The list of errors that occurred from executing the mutation. */ checkoutUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `checkoutUserErrors` instead. */ userErrors: Array; }; /** Represents an error that happens during execution of a checkout mutation. */ export declare type CheckoutUserError = DisplayableError & { __typename?: 'CheckoutUserError'; /** The error code. */ code?: Maybe; /** The path to the input field that caused the error. */ field?: Maybe>; /** The error message. */ 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 & { __typename?: 'Collection'; /** Stripped description of the collection, single line with HTML tags removed. */ description: Scalars['String']; /** The description of the collection, complete with HTML formatting. */ descriptionHtml: Scalars['HTML']; /** * A human-friendly unique string for the collection automatically generated from its title. * Limit of 255 characters. * */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** Image associated with the collection. */ image?: Maybe; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** 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. */ onlineStoreUrl?: Maybe; /** List of products in the collection. */ products: ProductConnection; /** The collection's SEO information. */ seo: Seo; /** The collection’s name. Limit of 255 characters. */ title: Scalars['String']; /** The date and time when the collection was last modified. */ 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: Array; }; /** 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 = { __typename?: 'CollectionConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in CollectionEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one Collection and a cursor during pagination. * */ export declare type CollectionEdge = { __typename?: 'CollectionEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of CollectionEdge. */ 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 & { __typename?: 'Comment'; /** The comment’s author. */ author: CommentAuthor; /** Stripped content of the comment, single line with HTML tags removed. */ content: Scalars['String']; /** The content of the comment, complete with HTML formatting. */ contentHtml: Scalars['HTML']; /** A globally-unique ID. */ id: Scalars['ID']; }; /** A comment on an article. */ export declare type CommentContentArgs = { truncateAt?: InputMaybe; }; /** The author of a comment. */ export declare type CommentAuthor = { __typename?: 'CommentAuthor'; /** The author's email. */ email: Scalars['String']; /** The author’s name. */ name: Scalars['String']; }; /** * An auto-generated type for paginating through multiple Comments. * */ export declare type CommentConnection = { __typename?: 'CommentConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in CommentEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one Comment and a cursor during pagination. * */ export declare type CommentEdge = { __typename?: 'CommentEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of CommentEdge. */ node: Comment; }; /** The action for the 3DS payment redirect. */ export declare type CompletePaymentChallenge = { __typename?: 'CompletePaymentChallenge'; /** The URL for the 3DS payment redirect. */ redirectUrl?: Maybe; }; /** An error that occurred during a cart completion attempt. */ export declare type CompletionError = { __typename?: 'CompletionError'; /** The error code. */ code: CompletionErrorCode; /** The error message. */ 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" } /** A country. */ export declare type Country = { __typename?: 'Country'; /** The languages available for the country. */ availableLanguages: Array; /** The currency of the country. */ currency: Currency; /** The ISO code of the country. */ isoCode: CountryCode; /** The market that includes this country. */ market?: Maybe; /** The name of the country. */ name: Scalars['String']; /** The unit system used in the country. */ 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 = { __typename?: 'CreditCard'; /** The brand of the credit card. */ brand?: Maybe; /** The expiry month of the credit card. */ expiryMonth?: Maybe; /** The expiry year of the credit card. */ expiryYear?: Maybe; /** The credit card's BIN number. */ firstDigits?: Maybe; /** The first name of the card holder. */ firstName?: Maybe; /** The last 4 digits of the credit card. */ lastDigits?: Maybe; /** The last name of the card holder. */ lastName?: Maybe; /** The masked credit card number with only the last 4 digits displayed. */ 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. */ 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). */ idempotencyKey: Scalars['String']; /** The amount and currency of the payment. */ paymentAmount: MoneyInput; /** Executes the payment in test mode if possible. Defaults to `false`. */ test?: InputMaybe; /** The ID returned by Shopify's Card Vault. */ 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 = { __typename?: 'Currency'; /** The ISO code of the currency. */ isoCode: CurrencyCode; /** The name of the currency. */ name: Scalars['String']; /** The symbol of the currency. */ 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 & { __typename?: 'Customer'; /** Indicates whether the customer has consented to be sent marketing material via email. */ acceptsMarketing: Scalars['Boolean']; /** A list of addresses for the customer. */ addresses: MailingAddressConnection; /** The date and time when the customer was created. */ createdAt: Scalars['DateTime']; /** The customer’s default address. */ defaultAddress?: Maybe; /** The customer’s name, email or phone number. */ displayName: Scalars['String']; /** The customer’s email address. */ email?: Maybe; /** The customer’s first name. */ firstName?: Maybe; /** A unique ID for the customer. */ id: Scalars['ID']; /** The customer's most recently updated, incomplete checkout. */ lastIncompleteCheckout?: Maybe; /** The customer’s last name. */ lastName?: Maybe; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** The number of orders that the customer has made at the store in their lifetime. */ numberOfOrders: Scalars['UnsignedInt64']; /** The orders associated with the customer. */ orders: OrderConnection; /** The customer’s phone number. */ phone?: Maybe; /** * A comma separated list of tags that have been added to the customer. * Additional access scope required: unauthenticated_read_customer_tags. * */ tags: Array; /** The date and time when the customer information was updated. */ 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: Array; }; /** 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 = { __typename?: 'CustomerAccessToken'; /** The customer’s access token. */ accessToken: Scalars['String']; /** The date and time when the customer access token expires. */ expiresAt: Scalars['DateTime']; }; /** The input fields required to create a customer access token. */ export declare type CustomerAccessTokenCreateInput = { /** The email associated to the customer. */ email: Scalars['String']; /** The login password to be used by the customer. */ password: Scalars['String']; }; /** Return type for `customerAccessTokenCreate` mutation. */ export declare type CustomerAccessTokenCreatePayload = { __typename?: 'CustomerAccessTokenCreatePayload'; /** The newly created customer access token object. */ customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** Return type for `customerAccessTokenCreateWithMultipass` mutation. */ export declare type CustomerAccessTokenCreateWithMultipassPayload = { __typename?: 'CustomerAccessTokenCreateWithMultipassPayload'; /** An access token object associated with the customer. */ customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; }; /** Return type for `customerAccessTokenDelete` mutation. */ export declare type CustomerAccessTokenDeletePayload = { __typename?: 'CustomerAccessTokenDeletePayload'; /** The destroyed access token. */ deletedAccessToken?: Maybe; /** ID of the destroyed customer access token. */ deletedCustomerAccessTokenId?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** Return type for `customerAccessTokenRenew` mutation. */ export declare type CustomerAccessTokenRenewPayload = { __typename?: 'CustomerAccessTokenRenewPayload'; /** The renewed customer access token object. */ customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ userErrors: Array; }; /** Return type for `customerActivateByUrl` mutation. */ export declare type CustomerActivateByUrlPayload = { __typename?: 'CustomerActivateByUrlPayload'; /** The customer that was activated. */ customer?: Maybe; /** A new customer access token for the customer. */ customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; }; /** The input fields to activate a customer. */ export declare type CustomerActivateInput = { /** The activation token required to activate the customer. */ activationToken: Scalars['String']; /** New password that will be set during activation. */ password: Scalars['String']; }; /** Return type for `customerActivate` mutation. */ export declare type CustomerActivatePayload = { __typename?: 'CustomerActivatePayload'; /** The customer object. */ customer?: Maybe; /** A newly created customer access token object for the customer. */ customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** Return type for `customerAddressCreate` mutation. */ export declare type CustomerAddressCreatePayload = { __typename?: 'CustomerAddressCreatePayload'; /** The new customer address object. */ customerAddress?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** Return type for `customerAddressDelete` mutation. */ export declare type CustomerAddressDeletePayload = { __typename?: 'CustomerAddressDeletePayload'; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** ID of the deleted customer address. */ deletedCustomerAddressId?: Maybe; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** Return type for `customerAddressUpdate` mutation. */ export declare type CustomerAddressUpdatePayload = { __typename?: 'CustomerAddressUpdatePayload'; /** The customer’s updated mailing address. */ customerAddress?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** 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. */ acceptsMarketing?: InputMaybe; /** The customer’s email. */ email: Scalars['String']; /** The customer’s first name. */ firstName?: InputMaybe; /** The customer’s last name. */ lastName?: InputMaybe; /** The login password used by the customer. */ password: Scalars['String']; /** * A unique phone number for the customer. * * Formatted using E.164 standard. For example, _+16135551111_. * */ phone?: InputMaybe; }; /** Return type for `customerCreate` mutation. */ export declare type CustomerCreatePayload = { __typename?: 'CustomerCreatePayload'; /** The created customer object. */ customer?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** Return type for `customerDefaultAddressUpdate` mutation. */ export declare type CustomerDefaultAddressUpdatePayload = { __typename?: 'CustomerDefaultAddressUpdatePayload'; /** The updated customer object. */ customer?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** 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 = { __typename?: 'CustomerRecoverPayload'; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** Return type for `customerResetByUrl` mutation. */ export declare type CustomerResetByUrlPayload = { __typename?: 'CustomerResetByUrlPayload'; /** The customer object which was reset. */ customer?: Maybe; /** A newly created customer access token object for the customer. */ customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** 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. */ password: Scalars['String']; /** The reset token required to reset the customer’s password. */ resetToken: Scalars['String']; }; /** Return type for `customerReset` mutation. */ export declare type CustomerResetPayload = { __typename?: 'CustomerResetPayload'; /** The customer object which was reset. */ customer?: Maybe; /** A newly created customer access token object for the customer. */ customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** 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. */ acceptsMarketing?: InputMaybe; /** The customer’s email. */ email?: InputMaybe; /** The customer’s first name. */ firstName?: InputMaybe; /** The customer’s last name. */ lastName?: InputMaybe; /** The login password used by the customer. */ password?: InputMaybe; /** * A unique phone number for the customer. * * Formatted using E.164 standard. For example, _+16135551111_. To remove the phone number, specify `null`. * */ phone?: InputMaybe; }; /** Return type for `customerUpdate` mutation. */ export declare type CustomerUpdatePayload = { __typename?: 'CustomerUpdatePayload'; /** The updated customer object. */ 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. * */ customerAccessToken?: Maybe; /** The list of errors that occurred from executing the mutation. */ customerUserErrors: Array; /** * The list of errors that occurred from executing the mutation. * @deprecated Use `customerUserErrors` instead. */ userErrors: Array; }; /** Represents an error that happens during execution of a customer mutation. */ export declare type CustomerUserError = DisplayableError & { __typename?: 'CustomerUserError'; /** The error code. */ code?: Maybe; /** The path to the input field that caused the error. */ field?: Maybe>; /** The error message. */ 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. * */ customerAddressId?: InputMaybe; /** A delivery address preference of a buyer that is interacting with the cart. */ 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 = { __typename?: 'DiscountAllocation'; /** Amount of discount allocated. */ allocatedAmount: MoneyV2; /** The discount this allocated amount originated from. */ 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. */ allocationMethod: DiscountApplicationAllocationMethod; /** Which lines of targetType that the discount is allocated over. */ targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ targetType: DiscountApplicationTargetType; /** The value of the discount application. */ 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 = { __typename?: 'DiscountApplicationConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in DiscountApplicationEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one DiscountApplication and a cursor during pagination. * */ export declare type DiscountApplicationEdge = { __typename?: 'DiscountApplicationEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of DiscountApplicationEdge. */ 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 & { __typename?: 'DiscountCodeApplication'; /** The method by which the discount's value is allocated to its entitled items. */ allocationMethod: DiscountApplicationAllocationMethod; /** Specifies whether the discount code was applied successfully. */ applicable: Scalars['Boolean']; /** The string identifying the discount code that was used at the time of application. */ code: Scalars['String']; /** Which lines of targetType that the discount is allocated over. */ targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ targetType: DiscountApplicationTargetType; /** The value of the discount application. */ 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. */ field?: Maybe>; /** The error message. */ message: Scalars['String']; }; /** Represents a web address. */ export declare type Domain = { __typename?: 'Domain'; /** The host name of the domain (eg: `example.com`). */ host: Scalars['String']; /** Whether SSL is enabled or not. */ sslEnabled: Scalars['Boolean']; /** The URL of the domain (eg: `https://example.com`). */ url: Scalars['URL']; }; /** Represents a video hosted outside of Shopify. */ export declare type ExternalVideo = Media & Node & { __typename?: 'ExternalVideo'; /** A word or phrase to share the nature or contents of a media. */ alt?: Maybe; /** The embed URL of the video for the respective host. */ embedUrl: Scalars['URL']; /** * The URL. * @deprecated Use `originUrl` instead. */ embeddedUrl: Scalars['URL']; /** The host of the external video. */ host: MediaHost; /** A globally-unique ID. */ id: Scalars['ID']; /** The media content type. */ mediaContentType: MediaContentType; /** The origin URL of the video on the respective host. */ originUrl: Scalars['URL']; /** The presentation for a media. */ presentation?: Maybe; /** The preview image for the media. */ previewImage?: Maybe; }; /** A filter that is supported on the parent field. */ export declare type Filter = { __typename?: 'Filter'; /** A unique identifier. */ id: Scalars['String']; /** A human-friendly string for this filter. */ label: Scalars['String']; /** An enumeration that denotes the type of data this filter represents. */ type: FilterType; /** The list of values for this filter. */ values: Array; }; /** * 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 = { __typename?: 'FilterValue'; /** The number of results that match this filter value. */ count: Scalars['Int']; /** A unique identifier. */ 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. * */ input: Scalars['JSON']; /** A human-friendly string for this filter value. */ label: Scalars['String']; }; /** Represents a single fulfillment in an order. */ export declare type Fulfillment = { __typename?: 'Fulfillment'; /** List of the fulfillment's line items. */ fulfillmentLineItems: FulfillmentLineItemConnection; /** The name of the tracking company. */ trackingCompany?: Maybe; /** * Tracking information associated with the fulfillment, * such as the tracking number and tracking URL. * */ trackingInfo: Array; }; /** 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 = { __typename?: 'FulfillmentLineItem'; /** The associated order's line item. */ lineItem: OrderLineItem; /** The amount fulfilled in this fulfillment. */ quantity: Scalars['Int']; }; /** * An auto-generated type for paginating through multiple FulfillmentLineItems. * */ export declare type FulfillmentLineItemConnection = { __typename?: 'FulfillmentLineItemConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in FulfillmentLineItemEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination. * */ export declare type FulfillmentLineItemEdge = { __typename?: 'FulfillmentLineItemEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of FulfillmentLineItemEdge. */ node: FulfillmentLineItem; }; /** Tracking information associated with the fulfillment. */ export declare type FulfillmentTrackingInfo = { __typename?: 'FulfillmentTrackingInfo'; /** The tracking number of the fulfillment. */ number?: Maybe; /** The URL to track the fulfillment. */ 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 & { __typename?: 'GenericFile'; /** A word or phrase to indicate the contents of a file. */ alt?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** The MIME type of the file. */ mimeType?: Maybe; /** The size of the original file in bytes. */ originalFileSize?: Maybe; /** The preview image for the file. */ previewImage?: Maybe; /** The URL of the file. */ url?: Maybe; }; /** The input fields used to specify a geographical location. */ export declare type GeoCoordinateInput = { /** The coordinate's latitude value. */ latitude: Scalars['Float']; /** The coordinate's longitude value. */ 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. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; }; /** 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: Array; }; /** The input fields to identify a metafield on an owner resource by namespace and key. */ export declare type HasMetafieldsIdentifier = { /** The identifier for the metafield. */ key: Scalars['String']; /** A container for a set of metafields. */ namespace: Scalars['String']; }; /** Represents an image resource. */ export declare type Image = { __typename?: 'Image'; /** A word or phrase to share the nature or contents of an image. */ altText?: Maybe; /** The original height of the image in pixels. Returns `null` if the image is not hosted by Shopify. */ height?: Maybe; /** A unique ID for the image. */ 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. */ originalSrc: Scalars['URL']; /** * The location of the image as a URL. * @deprecated Use `url` instead. */ 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 */ 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). * */ url: Scalars['URL']; /** The original width of the image in pixels. Returns `null` if the image is not hosted by Shopify. */ 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 = { __typename?: 'ImageConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in ImageEdge. */ nodes: Array; /** Information to aid in pagination. */ 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 = { __typename?: 'ImageEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of ImageEdge. */ 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. * */ crop?: InputMaybe; /** * Image height in pixels between 1 and 5760. * */ maxHeight?: InputMaybe; /** * Image width in pixels between 1 and 5760. * */ 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`. * */ preferredContentType?: InputMaybe; /** * Image size multiplier for high-resolution retina displays. Must be within 1..3. * */ scale?: InputMaybe; }; /** A language. */ export declare type Language = { __typename?: 'Language'; /** The name of the language in the language itself. If the language uses capitalization, it is capitalized for a mid-sentence position. */ endonymName: Scalars['String']; /** The ISO code. */ isoCode: LanguageCode; /** The name of the language in the current language. */ 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 = { __typename?: 'Localization'; /** The list of countries with enabled localized experiences. */ availableCountries: Array; /** The list of languages available for the active country. */ availableLanguages: Array; /** The country of the active localized experience. Use the `@inContext` directive to change this value. */ country: Country; /** The language of the active localized experience. Use the `@inContext` directive to change this value. */ language: Language; /** The market including the country of the active localized experience. Use the `@inContext` directive to change this value. */ market: Market; }; /** Represents a location where product inventory is held. */ export declare type Location = HasMetafields & Node & { __typename?: 'Location'; /** The address of the location. */ address: LocationAddress; /** A globally-unique ID. */ id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** The name of the location. */ 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: Array; }; /** * Represents the address of a location. * */ export declare type LocationAddress = { __typename?: 'LocationAddress'; /** The first line of the address for the location. */ address1?: Maybe; /** The second line of the address for the location. */ address2?: Maybe; /** The city of the location. */ city?: Maybe; /** The country of the location. */ country?: Maybe; /** The country code of the location. */ countryCode?: Maybe; /** A formatted version of the address for the location. */ formatted: Array; /** The latitude coordinates of the location. */ latitude?: Maybe; /** The longitude coordinates of the location. */ longitude?: Maybe; /** The phone number of the location. */ phone?: Maybe; /** The province of the location. */ province?: Maybe; /** * The code for the province, state, or district of the address of the location. * */ provinceCode?: Maybe; /** The ZIP code of the location. */ zip?: Maybe; }; /** * An auto-generated type for paginating through multiple Locations. * */ export declare type LocationConnection = { __typename?: 'LocationConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in LocationEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one Location and a cursor during pagination. * */ export declare type LocationEdge = { __typename?: 'LocationEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of LocationEdge. */ 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 & { __typename?: 'MailingAddress'; /** The first line of the address. Typically the street address or PO Box number. */ address1?: Maybe; /** * The second line of the address. Typically the number of the apartment, suite, or unit. * */ address2?: Maybe; /** * The name of the city, district, village, or town. * */ city?: Maybe; /** * The name of the customer's company or organization. * */ company?: Maybe; /** * The name of the country. * */ country?: Maybe; /** * The two-letter code for the country of the address. * * For example, US. * * @deprecated Use `countryCodeV2` instead. */ countryCode?: Maybe; /** * The two-letter code for the country of the address. * * For example, US. * */ countryCodeV2?: Maybe; /** The first name of the customer. */ firstName?: Maybe; /** A formatted version of the address, customized by the provided arguments. */ formatted: Array; /** A comma-separated list of the values for city, province, and country. */ formattedArea?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** The last name of the customer. */ lastName?: Maybe; /** The latitude coordinate of the customer address. */ latitude?: Maybe; /** The longitude coordinate of the customer address. */ longitude?: Maybe; /** * The full name of the customer, based on firstName and lastName. * */ name?: Maybe; /** * A unique phone number for the customer. * * Formatted using E.164 standard. For example, _+16135551111_. * */ phone?: Maybe; /** The region of the address, such as the province, state, or district. */ province?: Maybe; /** * The two-letter code for the region. * * For example, ON. * */ provinceCode?: Maybe; /** The zip or postal code of the address. */ 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 = { __typename?: 'MailingAddressConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in MailingAddressEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one MailingAddress and a cursor during pagination. * */ export declare type MailingAddressEdge = { __typename?: 'MailingAddressEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of MailingAddressEdge. */ 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. * */ address1?: InputMaybe; /** * The second line of the address. Typically the number of the apartment, suite, or unit. * */ address2?: InputMaybe; /** * The name of the city, district, village, or town. * */ city?: InputMaybe; /** * The name of the customer's company or organization. * */ company?: InputMaybe; /** The name of the country. */ country?: InputMaybe; /** The first name of the customer. */ firstName?: InputMaybe; /** The last name of the customer. */ lastName?: InputMaybe; /** * A unique phone number for the customer. * * Formatted using E.164 standard. For example, _+16135551111_. * */ phone?: InputMaybe; /** The region of the address, such as the province, state, or district. */ province?: InputMaybe; /** The zip or postal code of the address. */ zip?: InputMaybe; }; /** * Manual discount applications capture the intentions of a discount that was manually created. * */ export declare type ManualDiscountApplication = DiscountApplication & { __typename?: 'ManualDiscountApplication'; /** The method by which the discount's value is allocated to its entitled items. */ allocationMethod: DiscountApplicationAllocationMethod; /** The description of the application. */ description?: Maybe; /** Which lines of targetType that the discount is allocated over. */ targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ targetType: DiscountApplicationTargetType; /** The title of the application. */ title: Scalars['String']; /** The value of the discount application. */ 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 & { __typename?: 'Market'; /** * A human-readable unique string for the market automatically generated from its title. * */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; }; /** 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: Array; }; /** Represents a media interface. */ export declare type Media = { /** A word or phrase to share the nature or contents of a media. */ alt?: Maybe; /** The media content type. */ mediaContentType: MediaContentType; /** The presentation for a media. */ presentation?: Maybe; /** The preview image for the media. */ previewImage?: Maybe; }; /** * An auto-generated type for paginating through multiple Media. * */ export declare type MediaConnection = { __typename?: 'MediaConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in MediaEdge. */ nodes: Array; /** Information to aid in pagination. */ 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 = { __typename?: 'MediaEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of MediaEdge. */ 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 & { __typename?: 'MediaImage'; /** A word or phrase to share the nature or contents of a media. */ alt?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** The image for the media. */ image?: Maybe; /** The media content type. */ mediaContentType: MediaContentType; /** The presentation for a media. */ presentation?: Maybe; /** The preview image for the media. */ previewImage?: Maybe; }; /** A media presentation. */ export declare type MediaPresentation = Node & { __typename?: 'MediaPresentation'; /** A JSON object representing a presentation view. */ asJson?: Maybe; /** A globally-unique ID. */ 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 & { __typename?: 'Menu'; /** The menu's handle. */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** The menu's child items. */ items: Array; /** The count of items on the menu. */ itemsCount: Scalars['Int']; /** The menu's title. */ title: Scalars['String']; }; /** * A menu item within a parent menu. * */ export declare type MenuItem = Node & { __typename?: 'MenuItem'; /** A globally-unique ID. */ id: Scalars['ID']; /** The menu item's child items. */ items: Array; /** The ID of the linked resource. */ resourceId?: Maybe; /** The menu item's tags to filter a collection. */ tags: Array; /** The menu item's title. */ title: Scalars['String']; /** The menu item's type. */ type: MenuItemType; /** The menu item's URL. */ url?: Maybe; }; /** 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 & { __typename?: 'Metafield'; /** The date and time when the storefront metafield was created. */ createdAt: Scalars['DateTime']; /** The description of a metafield. */ description?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** The unique identifier for the metafield within its namespace. */ key: Scalars['String']; /** The container for a group of metafields that the metafield is associated with. */ namespace: Scalars['String']; /** The type of resource that the metafield is attached to. */ parentResource: MetafieldParentResource; /** Returns a reference object if the metafield's type is a resource reference. */ reference?: Maybe; /** A list of reference objects if the metafield's type is a resource reference list. */ references?: Maybe; /** * The type name of the metafield. * Refer to the list of [supported types](https://shopify.dev/apps/metafields/definitions/types). * */ type: Scalars['String']; /** The date and time when the metafield was last updated. */ updatedAt: Scalars['DateTime']; /** The data stored in the metafield. Always stored as a string, regardless of the metafield's type. */ 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 & { __typename?: 'MetafieldDeleteUserError'; /** The error code. */ code?: Maybe; /** The path to the input field that caused the error. */ field?: Maybe>; /** The error message. */ 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. */ key: Scalars['String']; /** The namespace of the metafield to filter on. */ namespace: Scalars['String']; /** The value of the metafield. */ 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 = { __typename?: 'MetafieldReferenceConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in MetafieldReferenceEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one MetafieldReference and a cursor during pagination. * */ export declare type MetafieldReferenceEdge = { __typename?: 'MetafieldReferenceEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of MetafieldReferenceEdge. */ node: MetafieldReference; }; /** An error that occurs during the execution of `MetafieldsSet`. */ export declare type MetafieldsSetUserError = DisplayableError & { __typename?: 'MetafieldsSetUserError'; /** The error code. */ code?: Maybe; /** The index of the array element that's causing the error. */ elementIndex?: Maybe; /** The path to the input field that caused the error. */ field?: Maybe>; /** The error message. */ 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 & { __typename?: 'Metaobject'; /** Accesses a field of the object by key. */ field?: Maybe; /** * All object fields with defined values. * Omitted object keys can be assumed null, and no guarantees are made about field order. * */ fields: Array; /** The unique handle of the metaobject. Useful as a custom ID. */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** The type of the metaobject. Defines the namespace of its associated metafields. */ type: Scalars['String']; /** The date and time when the metaobject was last updated. */ 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 = { __typename?: 'MetaobjectConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in MetaobjectEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one Metaobject and a cursor during pagination. * */ export declare type MetaobjectEdge = { __typename?: 'MetaobjectEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of MetaobjectEdge. */ node: Metaobject; }; /** Provides the value of a Metaobject field. */ export declare type MetaobjectField = { __typename?: 'MetaobjectField'; /** The field key. */ key: Scalars['String']; /** A referenced object if the field type is a resource reference. */ reference?: Maybe; /** A list of referenced objects if the field type is a resource reference list. */ references?: Maybe; /** * The type name of the field. * See the list of [supported types](https://shopify.dev/apps/metafields/definitions/types). * */ type: Scalars['String']; /** The field value. */ 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. */ handle: Scalars['String']; /** The type of the metaobject. */ type: Scalars['String']; }; /** Represents a Shopify hosted 3D model. */ export declare type Model3d = Media & Node & { __typename?: 'Model3d'; /** A word or phrase to share the nature or contents of a media. */ alt?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** The media content type. */ mediaContentType: MediaContentType; /** The presentation for a media. */ presentation?: Maybe; /** The preview image for the media. */ previewImage?: Maybe; /** The sources for a 3d model. */ sources: Array; }; /** Represents a source for a Shopify hosted 3d model. */ export declare type Model3dSource = { __typename?: 'Model3dSource'; /** The filesize of the 3d model. */ filesize: Scalars['Int']; /** The format of the 3d model. */ format: Scalars['String']; /** The MIME type of the 3d model. */ mimeType: Scalars['String']; /** The URL of the 3d model. */ url: Scalars['String']; }; /** The input fields for a monetary value with currency. */ export declare type MoneyInput = { /** Decimal money amount. */ amount: Scalars['Decimal']; /** Currency of the money. */ currencyCode: CurrencyCode; }; /** * A monetary value with currency. * */ export declare type MoneyV2 = { __typename?: 'MoneyV2'; /** Decimal money amount. */ amount: Scalars['Decimal']; /** Currency of the money. */ 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 = { __typename?: 'Mutation'; /** Updates the attributes on a cart. */ 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. * */ cartBuyerIdentityUpdate?: Maybe; /** Creates a new cart. */ cartCreate?: Maybe; /** Updates the discount codes applied to the cart. */ cartDiscountCodesUpdate?: Maybe; /** Adds a merchandise line to the cart. */ cartLinesAdd?: Maybe; /** Removes one or more merchandise lines from the cart. */ cartLinesRemove?: Maybe; /** Updates one or more merchandise lines on a cart. */ cartLinesUpdate?: Maybe; /** Deletes a cart metafield. */ 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. * */ cartMetafieldsSet?: Maybe; /** Updates the note on the cart. */ cartNoteUpdate?: Maybe; /** Update the customer's payment method that will be used to checkout. */ cartPaymentUpdate?: Maybe; /** Update the selected delivery options for a delivery group. */ cartSelectedDeliveryOptionsUpdate?: Maybe; /** Submit the cart for checkout completion. */ cartSubmitForCompletion?: Maybe; /** Updates the attributes of a checkout if `allowPartialAddresses` is `true`. */ 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. */ 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). */ checkoutCompleteWithCreditCardV2?: Maybe; /** Completes a checkout with a tokenized payment. */ checkoutCompleteWithTokenizedPaymentV3?: Maybe; /** Creates a new checkout. */ checkoutCreate?: Maybe; /** Associates a customer to the checkout. */ checkoutCustomerAssociateV2?: Maybe; /** Disassociates the current checkout customer from the checkout. */ checkoutCustomerDisassociateV2?: Maybe; /** Applies a discount to an existing checkout using a discount code. */ checkoutDiscountCodeApplyV2?: Maybe; /** Removes the applied discounts from an existing checkout. */ checkoutDiscountCodeRemove?: Maybe; /** Updates the email on an existing checkout. */ checkoutEmailUpdateV2?: Maybe; /** Removes an applied gift card from the checkout. */ checkoutGiftCardRemoveV2?: Maybe; /** Appends gift cards to an existing checkout. */ checkoutGiftCardsAppend?: Maybe; /** Adds a list of line items to a checkout. */ checkoutLineItemsAdd?: Maybe; /** Removes line items from an existing checkout. */ checkoutLineItemsRemove?: Maybe; /** Sets a list of line items to a checkout. */ checkoutLineItemsReplace?: Maybe; /** Updates line items on a checkout. */ checkoutLineItemsUpdate?: Maybe; /** Updates the shipping address of an existing checkout. */ checkoutShippingAddressUpdateV2?: Maybe; /** Updates the shipping lines on an existing checkout. */ checkoutShippingLineUpdate?: Maybe; /** * Creates a customer access token. * The customer access token is required to modify the customer object in any way. * */ 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. * */ customerAccessTokenCreateWithMultipass?: Maybe; /** Permanently destroys a customer access token. */ 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`. * */ customerAccessTokenRenew?: Maybe; /** Activates a customer. */ customerActivate?: Maybe; /** Activates a customer with the activation url received from `customerCreate`. */ customerActivateByUrl?: Maybe; /** Creates a new address for a customer. */ customerAddressCreate?: Maybe; /** Permanently deletes the address of an existing customer. */ customerAddressDelete?: Maybe; /** Updates the address of an existing customer. */ customerAddressUpdate?: Maybe; /** Creates a new customer. */ customerCreate?: Maybe; /** Updates the default address of an existing customer. */ 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. * */ 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." * */ 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." * */ customerResetByUrl?: Maybe; /** Updates an existing customer. */ 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: Array; 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: Array; }; /** 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: Array; }; /** 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: Array; }; /** 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: Array; }; /** 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: Array; }; /** 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: Array; }; /** 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: Array; }; /** 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: Array; }; /** 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: Array; }; /** 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: Array; }; /** 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. */ 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. */ 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 & { __typename?: 'Order'; /** The address associated with the payment method. */ billingAddress?: Maybe; /** The reason for the order's cancellation. Returns `null` if the order wasn't canceled. */ cancelReason?: Maybe; /** The date and time when the order was canceled. Returns null if the order wasn't canceled. */ canceledAt?: Maybe; /** The code of the currency used for the payment. */ 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. */ currentSubtotalPrice: MoneyV2; /** The total cost of duties for the order, including refunds. */ currentTotalDuties?: Maybe; /** The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed. */ currentTotalPrice: MoneyV2; /** The total of all taxes applied to the order, excluding taxes for returned line items. */ currentTotalTax: MoneyV2; /** A list of the custom attributes added to the order. */ customAttributes: Array; /** The locale code in which this specific order happened. */ customerLocale?: Maybe; /** The unique URL that the customer can use to access the order. */ customerUrl?: Maybe; /** Discounts that have been applied on the order. */ discountApplications: DiscountApplicationConnection; /** Whether the order has had any edits applied or not. */ edited: Scalars['Boolean']; /** The customer's email address. */ email?: Maybe; /** The financial status of the order. */ financialStatus?: Maybe; /** The fulfillment status for the order. */ fulfillmentStatus: OrderFulfillmentStatus; /** A globally-unique ID. */ id: Scalars['ID']; /** List of the order’s line items. */ lineItems: OrderLineItemConnection; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** * Unique identifier for the order that appears on the order. * For example, _#1000_ or _Store1001. * */ name: Scalars['String']; /** A unique numeric identifier for the order for use by shop owner and customer. */ orderNumber: Scalars['Int']; /** The total cost of duties charged at checkout. */ originalTotalDuties?: Maybe; /** The total price of the order before any applied edits. */ originalTotalPrice: MoneyV2; /** The customer's phone number for receiving SMS notifications. */ 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. * */ processedAt: Scalars['DateTime']; /** The address to where the order will be shipped. */ shippingAddress?: Maybe; /** * The discounts that have been allocated onto the shipping line by discount applications. * */ shippingDiscountAllocations: Array; /** The unique URL for the order's status page. */ statusUrl: Scalars['URL']; /** Price of the order before shipping and taxes. */ subtotalPrice?: Maybe; /** * Price of the order before duties, shipping and taxes. * @deprecated Use `subtotalPrice` instead. */ subtotalPriceV2?: Maybe; /** List of the order’s successful fulfillments. */ successfulFulfillments?: Maybe>; /** The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive). */ 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. */ totalPriceV2: MoneyV2; /** The total amount that has been refunded. */ totalRefunded: MoneyV2; /** * The total amount that has been refunded. * @deprecated Use `totalRefunded` instead. */ totalRefundedV2: MoneyV2; /** The total cost of shipping. */ totalShippingPrice: MoneyV2; /** * The total cost of shipping. * @deprecated Use `totalShippingPrice` instead. */ totalShippingPriceV2: MoneyV2; /** The total cost of taxes. */ totalTax?: Maybe; /** * The total cost of taxes. * @deprecated Use `totalTax` instead. */ 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: Array; }; /** 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 = { __typename?: 'OrderConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in OrderEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; /** The total count of Orders. */ totalCount: Scalars['UnsignedInt64']; }; /** * An auto-generated type which holds one Order and a cursor during pagination. * */ export declare type OrderEdge = { __typename?: 'OrderEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of OrderEdge. */ 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 = { __typename?: 'OrderLineItem'; /** The number of entries associated to the line item minus the items that have been removed. */ currentQuantity: Scalars['Int']; /** List of custom attributes associated to the line item. */ customAttributes: Array; /** The discounts that have been allocated onto the order line item by discount applications. */ discountAllocations: Array; /** The total price of the line item, including discounts, and displayed in the presentment currency. */ 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. */ originalTotalPrice: MoneyV2; /** The number of products variants associated to the line item. */ quantity: Scalars['Int']; /** The title of the product combined with title of the variant. */ title: Scalars['String']; /** The product variant object associated to the line item. */ variant?: Maybe; }; /** * An auto-generated type for paginating through multiple OrderLineItems. * */ export declare type OrderLineItemConnection = { __typename?: 'OrderLineItemConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in OrderLineItemEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one OrderLineItem and a cursor during pagination. * */ export declare type OrderLineItemEdge = { __typename?: 'OrderLineItemEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of OrderLineItemEdge. */ 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 & { __typename?: 'Page'; /** The description of the page, complete with HTML formatting. */ body: Scalars['HTML']; /** Summary of the page body. */ bodySummary: Scalars['String']; /** The timestamp of the page creation. */ createdAt: Scalars['DateTime']; /** A human-friendly unique string for the page automatically generated from its title. */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** 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. */ onlineStoreUrl?: Maybe; /** The page's SEO information. */ seo?: Maybe; /** The title of the page. */ title: Scalars['String']; /** The timestamp of the latest page update. */ 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: Array; }; /** * An auto-generated type for paginating through multiple Pages. * */ export declare type PageConnection = { __typename?: 'PageConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in PageEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one Page and a cursor during pagination. * */ export declare type PageEdge = { __typename?: 'PageEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of PageEdge. */ 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 = { __typename?: 'PageInfo'; /** The cursor corresponding to the last node in edges. */ endCursor?: Maybe; /** Whether there are more pages to fetch following the current page. */ hasNextPage: Scalars['Boolean']; /** Whether there are any pages prior to the current page. */ hasPreviousPage: Scalars['Boolean']; /** The cursor corresponding to the first node in edges. */ 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 & { __typename?: 'Payment'; /** The amount of the payment. */ amount: MoneyV2; /** * The amount of the payment. * @deprecated Use `amount` instead. */ amountV2: MoneyV2; /** The billing address for the payment. */ billingAddress?: Maybe; /** The checkout to which the payment belongs. */ checkout: Checkout; /** The credit card used for the payment in the case of direct payments. */ creditCard?: Maybe; /** A message describing a processing error during asynchronous processing. */ errorMessage?: Maybe; /** A globally-unique ID. */ 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). * */ idempotencyKey?: Maybe; /** The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow. */ nextActionUrl?: Maybe; /** Whether the payment is still processing asynchronously. */ ready: Scalars['Boolean']; /** A flag to indicate if the payment is to be done in test mode for gateways that support it. */ test: Scalars['Boolean']; /** The actual transaction recorded by Shopify after having processed the payment with the gateway. */ transaction?: Maybe; }; /** Settings related to payments. */ export declare type PaymentSettings = { __typename?: 'PaymentSettings'; /** List of the card brands which the shop accepts. */ acceptedCardBrands: Array; /** The url pointing to the endpoint to vault credit cards. */ cardVaultUrl: Scalars['URL']; /** The country where the shop is located. */ countryCode: CountryCode; /** The three-letter code for the shop's primary currency. */ 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. */ enabledPresentmentCurrencies: Array; /** The shop’s Shopify Payments account ID. */ shopifyPaymentsAccountId?: Maybe; /** List of the digital wallets which the shop supports. */ supportedDigitalWallets: Array; }; /** 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" } /** * 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. */ max?: InputMaybe; /** The minimum price in the range. Defaults to zero. */ min?: InputMaybe; }; /** The value of the percentage pricing object. */ export declare type PricingPercentageValue = { __typename?: 'PricingPercentageValue'; /** The percentage value of the object. */ 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 & { __typename?: 'Product'; /** Indicates if at least one product variant is available for sale. */ availableForSale: Scalars['Boolean']; /** List of collections a product belongs to. */ collections: CollectionConnection; /** The compare at price of the product across all variants. */ compareAtPriceRange: ProductPriceRange; /** The date and time when the product was created. */ createdAt: Scalars['DateTime']; /** Stripped description of the product, single line with HTML tags removed. */ description: Scalars['String']; /** The description of the product, complete with HTML formatting. */ descriptionHtml: Scalars['HTML']; /** * The featured image for the product. * * This field is functionally equivalent to `images(first: 1)`. * */ 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. * */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** List of images associated with the product. */ images: ImageConnection; /** Whether the product is a gift card. */ isGiftCard: Scalars['Boolean']; /** The media associated with the product. */ media: MediaConnection; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** 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. */ onlineStoreUrl?: Maybe; /** List of product options. */ options: Array; /** The price range. */ priceRange: ProductPriceRange; /** A categorization that a product can be tagged with, commonly used for filtering and searching. */ productType: Scalars['String']; /** The date and time when the product was published to the channel. */ publishedAt: Scalars['DateTime']; /** Whether the product can only be purchased with a selling plan. */ 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. */ sellingPlanGroups: SellingPlanGroupConnection; /** The product's SEO information. */ 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. * */ tags: Array; /** The product’s title. */ title: Scalars['String']; /** The total quantity of inventory in stock for this Product. */ totalInventory?: 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. * */ 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. * */ variantBySelectedOptions?: Maybe; /** List of the product’s variants. */ variants: ProductVariantConnection; /** The product’s vendor name. */ 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: Array; }; /** * 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: Array; }; /** * 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 = { __typename?: 'ProductConnection'; /** A list of edges. */ edges: Array; /** A list of available filters. */ filters: Array; /** A list of the nodes contained in ProductEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one Product and a cursor during pagination. * */ export declare type ProductEdge = { __typename?: 'ProductEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of ProductEdge. */ 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. */ available?: InputMaybe; /** A range of prices to filter with-in. */ price?: InputMaybe; /** A product metafield to filter on. */ productMetafield?: InputMaybe; /** The product type to filter on. */ productType?: InputMaybe; /** The product vendor to filter on. */ productVendor?: InputMaybe; /** A product tag to filter on. */ tag?: InputMaybe; /** A variant metafield to filter on. */ variantMetafield?: InputMaybe; /** A variant option to filter on. */ 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 & { __typename?: 'ProductOption'; /** A globally-unique ID. */ id: Scalars['ID']; /** The product option’s name. */ name: Scalars['String']; /** The corresponding value to the product option name. */ values: Array; }; /** The price range of the product. */ export declare type ProductPriceRange = { __typename?: 'ProductPriceRange'; /** The highest variant's price. */ maxVariantPrice: MoneyV2; /** The lowest variant's price. */ 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 & { __typename?: 'ProductVariant'; /** Indicates if the product variant is available for sale. */ availableForSale: Scalars['Boolean']; /** The barcode (for example, ISBN, UPC, or GTIN) associated with the variant. */ 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`. */ 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. */ compareAtPriceV2?: Maybe; /** Whether a product is out of stock but still available for purchase (used for backorders). */ currentlyNotInStock: Scalars['Boolean']; /** A globally-unique ID. */ id: Scalars['ID']; /** * Image associated with the product variant. This field falls back to the product image if no image is available. * */ image?: Maybe; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** The product variant’s price. */ price: MoneyV2; /** * The product variant’s price. * @deprecated Use `price` instead. */ priceV2: MoneyV2; /** The product object that the product variant belongs to. */ product: Product; /** The total sellable quantity of the variant for online sales channels. */ quantityAvailable?: Maybe; /** Whether a customer needs to provide a shipping address when placing an order for the product variant. */ requiresShipping: Scalars['Boolean']; /** List of product options applied to the variant. */ selectedOptions: Array; /** 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. */ sellingPlanAllocations: SellingPlanAllocationConnection; /** The SKU (stock keeping unit) associated with the variant. */ sku?: Maybe; /** The in-store pickup availability of this variant by location. */ storeAvailability: StoreAvailabilityConnection; /** The product variant’s title. */ title: Scalars['String']; /** The unit price value for the variant based on the variant's measurement. */ unitPrice?: Maybe; /** The unit price measurement for the variant. */ unitPriceMeasurement?: Maybe; /** The weight of the product variant in the unit system specified with `weight_unit`. */ weight?: Maybe; /** Unit of measurement for weight. */ 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: Array; }; /** 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 = { __typename?: 'ProductVariantConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in ProductVariantEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one ProductVariant and a cursor during pagination. * */ export declare type ProductVariantEdge = { __typename?: 'ProductVariantEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of ProductVariantEdge. */ 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 = { __typename?: 'QueryRoot'; /** Fetch a specific Article by its ID. */ article?: Maybe
; /** List of the shop's articles. */ articles: ArticleConnection; /** Fetch a specific `Blog` by one of its unique attributes. */ blog?: Maybe; /** * Find a blog by its handle. * @deprecated Use `blog` instead. */ blogByHandle?: Maybe; /** List of the shop's blogs. */ 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). * */ cart?: Maybe; /** A poll for the status of the cart checkout completion and order creation. */ cartCompletionAttempt?: Maybe; /** Fetch a specific `Collection` by one of its unique attributes. */ collection?: Maybe; /** * Find a collection by its handle. * @deprecated Use `collection` instead. */ collectionByHandle?: Maybe; /** List of the shop’s collections. */ 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). * */ customer?: Maybe; /** Returns the localized experiences configured for the shop. */ 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. * */ locations: LocationConnection; /** * Retrieve a [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) by its handle. * */ menu?: Maybe; /** Fetch a specific Metaobject by one of its unique identifiers. */ metaobject?: Maybe; /** All active metaobjects for the shop. */ metaobjects: MetaobjectConnection; /** Returns a specific node by ID. */ node?: Maybe; /** Returns the list of nodes with the given IDs. */ nodes: Array>; /** Fetch a specific `Page` by one of its unique attributes. */ page?: Maybe; /** * Find a page by its handle. * @deprecated Use `page` instead. */ pageByHandle?: Maybe; /** List of the shop's pages. */ pages: PageConnection; /** Fetch a specific `Product` by one of its unique attributes. */ product?: Maybe; /** * Find a product by its handle. * @deprecated Use `product` instead. */ 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). * */ productRecommendations?: Maybe>; /** * Tags added to products. * Additional access scope required: unauthenticated_read_product_tags. * */ productTags: StringConnection; /** List of product types for the shop's products that are published to your app. */ productTypes: StringConnection; /** List of the shop’s products. */ products: ProductConnection; /** The list of public Storefront API versions, including supported, release candidate and unstable versions. */ publicApiVersions: Array; /** The shop associated with the storefront access token. */ shop: Shop; /** A list of redirects for a shop. */ 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: Array; }; /** 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 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 QueryRootUrlRedirectsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; query?: InputMaybe; reverse?: InputMaybe; }; /** SEO information. */ export declare type Seo = { __typename?: 'SEO'; /** The meta description. */ description?: Maybe; /** The SEO title. */ title?: Maybe; }; /** * Script discount applications capture the intentions of a discount that * was created by a Shopify Script. * */ export declare type ScriptDiscountApplication = DiscountApplication & { __typename?: 'ScriptDiscountApplication'; /** The method by which the discount's value is allocated to its entitled items. */ allocationMethod: DiscountApplicationAllocationMethod; /** Which lines of targetType that the discount is allocated over. */ targetSelection: DiscountApplicationTargetSelection; /** The type of line that the discount is applicable towards. */ targetType: DiscountApplicationTargetType; /** The title of the application as defined by the Script. */ title: Scalars['String']; /** The value of the discount application. */ value: PricingValue; }; /** * Properties used by customers to select a product variant. * Products can have multiple options, like different sizes or colors. * */ export declare type SelectedOption = { __typename?: 'SelectedOption'; /** The product option’s name. */ name: Scalars['String']; /** The product option’s value. */ value: Scalars['String']; }; /** The input fields required for a selected option. */ export declare type SelectedOptionInput = { /** The product option’s name. */ name: Scalars['String']; /** The product option’s value. */ value: Scalars['String']; }; /** Represents how products and variants can be sold and purchased. */ export declare type SellingPlan = { __typename?: 'SellingPlan'; /** The initial payment due for the purchase. */ checkoutCharge: SellingPlanCheckoutCharge; /** The description of the selling plan. */ description?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** The name of the selling plan. For example, '6 weeks of prepaid granola, delivered weekly'. */ 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. */ options: Array; /** The price adjustments that a selling plan makes when a variant is purchased with a selling plan. */ priceAdjustments: Array; /** Whether purchasing the selling plan will result in multiple deliveries. */ 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 = { __typename?: 'SellingPlanAllocation'; /** The checkout charge amount due for the purchase. */ 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. */ priceAdjustments: Array; /** The remaining balance charge amount due for the purchase. */ 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'. */ sellingPlan: SellingPlan; }; /** * An auto-generated type for paginating through multiple SellingPlanAllocations. * */ export declare type SellingPlanAllocationConnection = { __typename?: 'SellingPlanAllocationConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in SellingPlanAllocationEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one SellingPlanAllocation and a cursor during pagination. * */ export declare type SellingPlanAllocationEdge = { __typename?: 'SellingPlanAllocationEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of SellingPlanAllocationEdge. */ node: SellingPlanAllocation; }; /** The resulting prices for variants when they're purchased with a specific selling plan. */ export declare type SellingPlanAllocationPriceAdjustment = { __typename?: '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. */ 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. */ 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. */ 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`. */ unitPrice?: Maybe; }; /** The initial payment due for the purchase. */ export declare type SellingPlanCheckoutCharge = { __typename?: 'SellingPlanCheckoutCharge'; /** The charge type for the checkout charge. */ type: SellingPlanCheckoutChargeType; /** The charge value for the checkout charge. */ value: SellingPlanCheckoutChargeValue; }; /** The percentage value of the price used for checkout charge. */ export declare type SellingPlanCheckoutChargePercentageValue = { __typename?: 'SellingPlanCheckoutChargePercentageValue'; /** The percentage value of the price used for checkout charge. */ 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 = { __typename?: 'SellingPlanConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in SellingPlanEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one SellingPlan and a cursor during pagination. * */ export declare type SellingPlanEdge = { __typename?: 'SellingPlanEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of SellingPlanEdge. */ node: SellingPlan; }; /** A fixed amount that's deducted from the original variant price. For example, $10.00 off. */ export declare type SellingPlanFixedAmountPriceAdjustment = { __typename?: 'SellingPlanFixedAmountPriceAdjustment'; /** The money value of the price adjustment. */ adjustmentAmount: MoneyV2; }; /** A fixed price adjustment for a variant that's purchased with a selling plan. */ export declare type SellingPlanFixedPriceAdjustment = { __typename?: 'SellingPlanFixedPriceAdjustment'; /** A new price of the variant when it's purchased with the selling plan. */ 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 = { __typename?: 'SellingPlanGroup'; /** A display friendly name for the app that created the selling plan group. */ appName?: Maybe; /** The name of the selling plan group. */ 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. */ options: Array; /** 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'. */ 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 = { __typename?: 'SellingPlanGroupConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in SellingPlanGroupEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one SellingPlanGroup and a cursor during pagination. * */ export declare type SellingPlanGroupEdge = { __typename?: 'SellingPlanGroupEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of SellingPlanGroupEdge. */ 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 = { __typename?: 'SellingPlanGroupOption'; /** The name of the option. For example, 'Delivery every'. */ 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'. */ values: Array; }; /** An option provided by a Selling Plan. */ export declare type SellingPlanOption = { __typename?: 'SellingPlanOption'; /** The name of the option (ie "Delivery every"). */ name?: Maybe; /** The value of the option (ie "Month"). */ value?: Maybe; }; /** A percentage amount that's deducted from the original variant price. For example, 10% off. */ export declare type SellingPlanPercentagePriceAdjustment = { __typename?: 'SellingPlanPercentagePriceAdjustment'; /** The percentage value of the price adjustment. */ 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 = { __typename?: 'SellingPlanPriceAdjustment'; /** The type of price adjustment. An adjustment value can have one of three types: percentage, amount off, or a new price. */ adjustmentValue: SellingPlanPriceAdjustmentValue; /** The number of orders that the price adjustment applies to. If the price adjustment always applies, then this field is `null`. */ 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 = { __typename?: 'ShippingRate'; /** Human-readable unique identifier for this shipping rate. */ handle: Scalars['String']; /** Price of this shipping rate. */ price: MoneyV2; /** * Price of this shipping rate. * @deprecated Use `price` instead. */ priceV2: MoneyV2; /** Title of this shipping rate. */ title: Scalars['String']; }; /** Shop represents a collection of the general settings and information about the shop. */ export declare type Shop = HasMetafields & Node & { __typename?: 'Shop'; /** The shop's branding configuration. */ brand?: Maybe; /** A description of the shop. */ description?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** Returns a metafield found by namespace and key. */ metafield?: Maybe; /** * The metafields associated with the resource matching the supplied list of namespaces and keys. * */ metafields: Array>; /** A string representing the way currency is formatted when the currency isn’t specified. */ moneyFormat: Scalars['String']; /** The shop’s name. */ name: Scalars['String']; /** Settings related to payments. */ paymentSettings: PaymentSettings; /** The primary domain of the shop’s Online Store. */ primaryDomain: Domain; /** The shop’s privacy policy. */ privacyPolicy?: Maybe; /** The shop’s refund policy. */ refundPolicy?: Maybe; /** The shop’s shipping policy. */ shippingPolicy?: Maybe; /** Countries that the shop ships to. */ shipsToCountries: Array; /** The shop’s subscription policy. */ subscriptionPolicy?: Maybe; /** The shop’s terms of service. */ 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: Array; }; /** * The input fields for submitting Shop Pay payment method information for checkout. * */ export declare type ShopPayWalletContentInput = { /** The customer's billing address. */ billingAddress: MailingAddressInput; /** Session token for transaction. */ sessionToken: Scalars['String']; }; /** Policy that a merchant has configured for their store, such as their refund or privacy policy. */ export declare type ShopPolicy = Node & { __typename?: 'ShopPolicy'; /** Policy text, maximum size of 64kb. */ body: Scalars['String']; /** Policy’s handle. */ handle: Scalars['String']; /** A globally-unique ID. */ id: Scalars['ID']; /** Policy’s title. */ title: Scalars['String']; /** Public URL to the policy. */ 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 = { __typename?: 'ShopPolicyWithDefault'; /** The text of the policy. Maximum size: 64KB. */ body: Scalars['String']; /** The handle of the policy. */ handle: Scalars['String']; /** The unique ID of the policy. A default policy doesn't have an ID. */ id?: Maybe; /** The title of the policy. */ title: Scalars['String']; /** Public URL to the policy. */ 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 = { __typename?: 'StoreAvailability'; /** Whether the product variant is in-stock at this location. */ available: Scalars['Boolean']; /** The location where this product variant is stocked at. */ location: Location; /** Returns the estimated amount of time it takes for pickup to be ready (Example: Usually ready in 24 hours). */ pickUpTime: Scalars['String']; }; /** * An auto-generated type for paginating through multiple StoreAvailabilities. * */ export declare type StoreAvailabilityConnection = { __typename?: 'StoreAvailabilityConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in StoreAvailabilityEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one StoreAvailability and a cursor during pagination. * */ export declare type StoreAvailabilityEdge = { __typename?: 'StoreAvailabilityEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of StoreAvailabilityEdge. */ node: StoreAvailability; }; /** * An auto-generated type for paginating through a list of Strings. * */ export declare type StringConnection = { __typename?: 'StringConnection'; /** A list of edges. */ edges: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one String and a cursor during pagination. * */ export declare type StringEdge = { __typename?: 'StringEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of StringEdge. */ node: Scalars['String']; }; /** An error that occurred during cart submit for completion. */ export declare type SubmissionError = { __typename?: 'SubmissionError'; /** The error code. */ code: SubmissionErrorCode; /** The error message. */ 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 = { __typename?: 'SubmitAlreadyAccepted'; /** The ID of the cart completion attempt that will be used for polling for the result. */ attemptId: Scalars['String']; }; /** Cart submit for checkout completion failed. */ export declare type SubmitFailed = { __typename?: 'SubmitFailed'; /** The URL of the checkout for the cart. */ checkoutUrl?: Maybe; /** The list of errors that occurred from executing the mutation. */ errors: Array; }; /** Cart submit for checkout completion is already accepted. */ export declare type SubmitSuccess = { __typename?: 'SubmitSuccess'; /** The ID of the cart completion attempt that will be used for polling for the result. */ attemptId: Scalars['String']; }; /** Cart submit for checkout completion is throttled. */ export declare type SubmitThrottled = { __typename?: '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. * */ 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. */ 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). */ idempotencyKey: Scalars['String']; /** Public Hash Key used for AndroidPay payments only. */ identifier?: InputMaybe; /** The amount and currency of the payment. */ paymentAmount: MoneyInput; /** A simple string or JSON containing the required payment data for the tokenized payment. */ paymentData: Scalars['String']; /** Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`. */ test?: InputMaybe; /** The type of payment token. */ type: PaymentTokenType; }; /** An object representing exchange of money for a product or service. */ export declare type Transaction = { __typename?: 'Transaction'; /** The amount of money that the transaction was for. */ amount: MoneyV2; /** * The amount of money that the transaction was for. * @deprecated Use `amount` instead. */ amountV2: MoneyV2; /** The kind of the transaction. */ kind: TransactionKind; /** * The status of the transaction. * @deprecated Use `statusV2` instead. */ status: TransactionStatus; /** The status of the transaction. */ statusV2?: Maybe; /** Whether the transaction was done in test mode or not. */ 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 = { __typename?: 'UnitPriceMeasurement'; /** The type of unit of measurement for the unit price measurement. */ measuredType?: Maybe; /** The quantity unit for the unit price measurement. */ quantityUnit?: Maybe; /** The quantity value for the unit price measurement. */ quantityValue: Scalars['Float']; /** The reference unit for the unit price measurement. */ referenceUnit?: Maybe; /** The reference value for the unit price measurement. */ 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 & { __typename?: 'UrlRedirect'; /** The ID of the URL redirect. */ id: Scalars['ID']; /** The old path to be redirected from. When the user visits this path, they'll be redirected to the target location. */ path: Scalars['String']; /** The target location where the user will be redirected to. */ target: Scalars['String']; }; /** * An auto-generated type for paginating through multiple UrlRedirects. * */ export declare type UrlRedirectConnection = { __typename?: 'UrlRedirectConnection'; /** A list of edges. */ edges: Array; /** A list of the nodes contained in UrlRedirectEdge. */ nodes: Array; /** Information to aid in pagination. */ pageInfo: PageInfo; }; /** * An auto-generated type which holds one UrlRedirect and a cursor during pagination. * */ export declare type UrlRedirectEdge = { __typename?: 'UrlRedirectEdge'; /** A cursor for use in pagination. */ cursor: Scalars['String']; /** The item at the end of UrlRedirectEdge. */ node: UrlRedirect; }; /** Represents an error in the input of a mutation. */ export declare type UserError = DisplayableError & { __typename?: 'UserError'; /** The path to the input field that caused the error. */ field?: Maybe>; /** The error message. */ 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. */ name: Scalars['String']; /** The value of the variant option to filter on. */ value: Scalars['String']; }; /** Represents a Shopify hosted video. */ export declare type Video = Media & Node & { __typename?: 'Video'; /** A word or phrase to share the nature or contents of a media. */ alt?: Maybe; /** A globally-unique ID. */ id: Scalars['ID']; /** The media content type. */ mediaContentType: MediaContentType; /** The presentation for a media. */ presentation?: Maybe; /** The preview image for the media. */ previewImage?: Maybe; /** The sources for a video. */ sources: Array; }; /** Represents a source for a Shopify hosted video. */ export declare type VideoSource = { __typename?: 'VideoSource'; /** The format of the video source. */ format: Scalars['String']; /** The height of the video. */ height: Scalars['Int']; /** The video MIME type. */ mimeType: Scalars['String']; /** The URL of the video. */ url: Scalars['String']; /** The width of the video. */ 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 _CartFragment = { __typename?: 'Cart'; id: string; checkoutUrl: any; lines: { __typename?: 'BaseCartLineConnection'; edges: Array<{ __typename?: 'BaseCartLineEdge'; node: { __typename?: 'CartLine'; id: string; quantity: number; merchandise: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; product: { __typename?: 'Product'; id: string; title: string; handle: string; description: string; }; }; cost: { __typename?: 'CartLineCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; }; }>; }; cost: { __typename?: 'CartCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; discountCodes: Array<{ __typename?: 'CartDiscountCode'; applicable: boolean; code: string; }>; }; export declare type _ImageFragment = { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; }; export declare type _CartCreatePayloadFragment = { __typename?: 'CartCreatePayload'; cart?: { __typename?: 'Cart'; id: string; checkoutUrl: any; lines: { __typename?: 'BaseCartLineConnection'; edges: Array<{ __typename?: 'BaseCartLineEdge'; node: { __typename?: 'CartLine'; id: string; quantity: number; merchandise: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; product: { __typename?: 'Product'; id: string; title: string; handle: string; description: string; }; }; cost: { __typename?: 'CartLineCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; }; }>; }; cost: { __typename?: 'CartCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; discountCodes: Array<{ __typename?: 'CartDiscountCode'; applicable: boolean; code: string; }>; } | null; userErrors: Array<{ __typename?: 'CartUserError'; code?: CartErrorCode | null; field?: Array | null; message: string; }>; }; export declare type _CreateCartMutationVariables = Exact<{ [key: string]: never; }>; export declare type _CreateCartMutation = { __typename?: 'Mutation'; cartCreate?: { __typename?: 'CartCreatePayload'; cart?: { __typename?: 'Cart'; id: string; checkoutUrl: any; lines: { __typename?: 'BaseCartLineConnection'; edges: Array<{ __typename?: 'BaseCartLineEdge'; node: { __typename?: 'CartLine'; id: string; quantity: number; merchandise: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; product: { __typename?: 'Product'; id: string; title: string; handle: string; description: string; }; }; cost: { __typename?: 'CartLineCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; }; }>; }; cost: { __typename?: 'CartCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; discountCodes: Array<{ __typename?: 'CartDiscountCode'; applicable: boolean; code: string; }>; } | null; userErrors: Array<{ __typename?: 'CartUserError'; code?: CartErrorCode | null; field?: Array | null; message: string; }>; } | null; }; export declare type _CreateCartWithLinesMutationVariables = Exact<{ lines: Array | CartLineInput; }>; export declare type _CreateCartWithLinesMutation = { __typename?: 'Mutation'; cartCreate?: { __typename?: 'CartCreatePayload'; cart?: { __typename?: 'Cart'; id: string; checkoutUrl: any; lines: { __typename?: 'BaseCartLineConnection'; edges: Array<{ __typename?: 'BaseCartLineEdge'; node: { __typename?: 'CartLine'; id: string; quantity: number; merchandise: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; product: { __typename?: 'Product'; id: string; title: string; handle: string; description: string; }; }; cost: { __typename?: 'CartLineCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; }; }>; }; cost: { __typename?: 'CartCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; discountCodes: Array<{ __typename?: 'CartDiscountCode'; applicable: boolean; code: string; }>; } | null; userErrors: Array<{ __typename?: 'CartUserError'; code?: CartErrorCode | null; field?: Array | null; message: string; }>; } | null; }; export declare type _AddLineItemMutationVariables = Exact<{ cartId: Scalars['ID']; lines: Array | CartLineInput; }>; export declare type _AddLineItemMutation = { __typename?: 'Mutation'; cartLinesAdd?: { __typename?: 'CartLinesAddPayload'; cart?: { __typename?: 'Cart'; id: string; checkoutUrl: any; lines: { __typename?: 'BaseCartLineConnection'; edges: Array<{ __typename?: 'BaseCartLineEdge'; node: { __typename?: 'CartLine'; id: string; quantity: number; merchandise: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; product: { __typename?: 'Product'; id: string; title: string; handle: string; description: string; }; }; cost: { __typename?: 'CartLineCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; }; }>; }; cost: { __typename?: 'CartCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; discountCodes: Array<{ __typename?: 'CartDiscountCode'; applicable: boolean; code: string; }>; } | null; userErrors: Array<{ __typename?: 'CartUserError'; code?: CartErrorCode | null; field?: Array | null; message: string; }>; } | null; }; export declare type _UpdateLineItemMutationVariables = Exact<{ cartId: Scalars['ID']; lines: Array | CartLineUpdateInput; }>; export declare type _UpdateLineItemMutation = { __typename?: 'Mutation'; cartLinesUpdate?: { __typename?: 'CartLinesUpdatePayload'; cart?: { __typename?: 'Cart'; id: string; checkoutUrl: any; lines: { __typename?: 'BaseCartLineConnection'; edges: Array<{ __typename?: 'BaseCartLineEdge'; node: { __typename?: 'CartLine'; id: string; quantity: number; merchandise: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; product: { __typename?: 'Product'; id: string; title: string; handle: string; description: string; }; }; cost: { __typename?: 'CartLineCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; }; }>; }; cost: { __typename?: 'CartCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; discountCodes: Array<{ __typename?: 'CartDiscountCode'; applicable: boolean; code: string; }>; } | null; userErrors: Array<{ __typename?: 'CartUserError'; code?: CartErrorCode | null; field?: Array | null; message: string; }>; } | null; }; export declare type _RemoveLineItemMutationVariables = Exact<{ cartId: Scalars['ID']; lineIds: Array | Scalars['ID']; }>; export declare type _RemoveLineItemMutation = { __typename?: 'Mutation'; cartLinesRemove?: { __typename?: 'CartLinesRemovePayload'; cart?: { __typename?: 'Cart'; id: string; checkoutUrl: any; lines: { __typename?: 'BaseCartLineConnection'; edges: Array<{ __typename?: 'BaseCartLineEdge'; node: { __typename?: 'CartLine'; id: string; quantity: number; merchandise: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; product: { __typename?: 'Product'; id: string; title: string; handle: string; description: string; }; }; cost: { __typename?: 'CartLineCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; }; }>; }; cost: { __typename?: 'CartCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; discountCodes: Array<{ __typename?: 'CartDiscountCode'; applicable: boolean; code: string; }>; } | null; userErrors: Array<{ __typename?: 'CartUserError'; code?: CartErrorCode | null; field?: Array | null; message: string; }>; } | null; }; export declare type _CreateCustomerMutationVariables = Exact<{ input: CustomerCreateInput; }>; export declare type _CreateCustomerMutation = { __typename?: 'Mutation'; customerCreate?: { __typename?: 'CustomerCreatePayload'; customer?: { __typename?: 'Customer'; email?: string | null; } | null; customerUserErrors: Array<{ __typename?: 'CustomerUserError'; code?: CustomerErrorCode | null; field?: Array | null; message: string; }>; } | null; }; export declare type _FetchCartQueryVariables = Exact<{ id: Scalars['ID']; }>; export declare type _FetchCartQuery = { __typename?: 'QueryRoot'; cart?: { __typename?: 'Cart'; id: string; checkoutUrl: any; lines: { __typename?: 'BaseCartLineConnection'; edges: Array<{ __typename?: 'BaseCartLineEdge'; node: { __typename?: 'CartLine'; id: string; quantity: number; merchandise: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; product: { __typename?: 'Product'; id: string; title: string; handle: string; description: string; }; }; cost: { __typename?: 'CartLineCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; }; }>; }; cost: { __typename?: 'CartCost'; subtotalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; totalAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; attributes: Array<{ __typename?: 'Attribute'; key: string; value?: string | null; }>; discountAllocations: Array<{ __typename?: 'CartAutomaticDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCodeDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; } | { __typename?: 'CartCustomDiscountAllocation'; discountedAmount: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }>; discountCodes: Array<{ __typename?: 'CartDiscountCode'; applicable: boolean; code: string; }>; } | null; }; export declare type _ProductFragment = { __typename?: 'Product'; id: string; title: string; description: string; handle: string; productType: string; tags: Array; onlineStoreUrl?: any | null; availableForSale: boolean; options: Array<{ __typename?: 'ProductOption'; name: string; values: Array; }>; variants: { __typename?: 'ProductVariantConnection'; edges: Array<{ __typename?: 'ProductVariantEdge'; node: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; compareAtPrice?: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; } | null; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; }; }>; }; priceRange: { __typename?: 'ProductPriceRange'; minVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; maxVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; images: { __typename?: 'ImageConnection'; edges: Array<{ __typename?: 'ImageEdge'; node: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; }; }>; }; }; export declare type _GetProductByHandleQueryVariables = Exact<{ handle: Scalars['String']; }>; export declare type _GetProductByHandleQuery = { __typename?: 'QueryRoot'; product?: { __typename?: 'Product'; id: string; title: string; description: string; handle: string; productType: string; tags: Array; onlineStoreUrl?: any | null; availableForSale: boolean; options: Array<{ __typename?: 'ProductOption'; name: string; values: Array; }>; variants: { __typename?: 'ProductVariantConnection'; edges: Array<{ __typename?: 'ProductVariantEdge'; node: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; compareAtPrice?: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; } | null; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; }; }>; }; priceRange: { __typename?: 'ProductPriceRange'; minVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; maxVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; images: { __typename?: 'ImageConnection'; edges: Array<{ __typename?: 'ImageEdge'; node: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; }; }>; }; } | null; }; export declare type _GetAllProductsQueryVariables = Exact<{ startAfter?: InputMaybe; pageSize?: InputMaybe; }>; export declare type _GetAllProductsQuery = { __typename?: 'QueryRoot'; products: { __typename?: 'ProductConnection'; edges: Array<{ __typename?: 'ProductEdge'; cursor: string; node: { __typename?: 'Product'; id: string; title: string; description: string; handle: string; productType: string; tags: Array; onlineStoreUrl?: any | null; availableForSale: boolean; options: Array<{ __typename?: 'ProductOption'; name: string; values: Array; }>; variants: { __typename?: 'ProductVariantConnection'; edges: Array<{ __typename?: 'ProductVariantEdge'; node: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; compareAtPrice?: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; } | null; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; }; }>; }; priceRange: { __typename?: 'ProductPriceRange'; minVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; maxVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; images: { __typename?: 'ImageConnection'; edges: Array<{ __typename?: 'ImageEdge'; node: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; }; }>; }; }; }>; }; }; export declare type _GetProductsOnCollectionQueryVariables = Exact<{ startAfter?: InputMaybe; pageSize?: InputMaybe; id: Scalars['ID']; }>; export declare type _GetProductsOnCollectionQuery = { __typename?: 'QueryRoot'; collection?: { __typename?: 'Collection'; products: { __typename?: 'ProductConnection'; edges: Array<{ __typename?: 'ProductEdge'; cursor: string; node: { __typename?: 'Product'; id: string; title: string; description: string; handle: string; productType: string; tags: Array; onlineStoreUrl?: any | null; availableForSale: boolean; options: Array<{ __typename?: 'ProductOption'; name: string; values: Array; }>; variants: { __typename?: 'ProductVariantConnection'; edges: Array<{ __typename?: 'ProductVariantEdge'; node: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; compareAtPrice?: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; } | null; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; }; }>; }; priceRange: { __typename?: 'ProductPriceRange'; minVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; maxVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; images: { __typename?: 'ImageConnection'; edges: Array<{ __typename?: 'ImageEdge'; node: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; }; }>; }; }; }>; }; } | null; }; export declare type _GetCollectionsQueryVariables = Exact<{ [key: string]: never; }>; export declare type _GetCollectionsQuery = { __typename?: 'QueryRoot'; collections: { __typename?: 'CollectionConnection'; edges: Array<{ __typename?: 'CollectionEdge'; node: { __typename?: 'Collection'; id: string; handle: string; title: string; products: { __typename?: 'ProductConnection'; edges: Array<{ __typename?: 'ProductEdge'; cursor: string; node: { __typename?: 'Product'; id: string; title: string; description: string; handle: string; productType: string; tags: Array; onlineStoreUrl?: any | null; availableForSale: boolean; options: Array<{ __typename?: 'ProductOption'; name: string; values: Array; }>; variants: { __typename?: 'ProductVariantConnection'; edges: Array<{ __typename?: 'ProductVariantEdge'; node: { __typename?: 'ProductVariant'; id: string; title: string; availableForSale: boolean; quantityAvailable?: number | null; compareAtPrice?: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; } | null; price: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; image?: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; } | null; selectedOptions: Array<{ __typename?: 'SelectedOption'; name: string; value: string; }>; }; }>; }; priceRange: { __typename?: 'ProductPriceRange'; minVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; maxVariantPrice: { __typename?: 'MoneyV2'; amount: any; currencyCode: CurrencyCode; }; }; images: { __typename?: 'ImageConnection'; edges: Array<{ __typename?: 'ImageEdge'; node: { __typename?: 'Image'; id?: string | null; altText?: string | null; url: any; width?: number | null; height?: number | null; }; }>; }; }; }>; }; }; }>; }; }; export declare const _ImageFragmentDoc: any; export declare const _CartFragmentDoc: any; export declare const _CartCreatePayloadFragmentDoc: any; export declare const _ProductFragmentDoc: any; export declare const _CreateCartDocument: any; export declare const _CreateCartWithLinesDocument: any; export declare const _AddLineItemDocument: any; export declare const _UpdateLineItemDocument: any; export declare const _RemoveLineItemDocument: any; export declare const _CreateCustomerDocument: any; export declare const _FetchCartDocument: any; export declare const _GetProductByHandleDocument: any; export declare const _GetAllProductsDocument: any; export declare const _GetProductsOnCollectionDocument: any; export declare const _GetCollectionsDocument: any; export declare type SdkFunctionWrapper = (action: (requestHeaders?: Record) => Promise, operationName: string) => Promise; export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): { _CreateCart(variables?: Exact<{ [key: string]: never; }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<_CreateCartMutation>; _CreateCartWithLines(variables: _CreateCartWithLinesMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<_CreateCartWithLinesMutation>; _AddLineItem(variables: _AddLineItemMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<_AddLineItemMutation>; _UpdateLineItem(variables: _UpdateLineItemMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<_UpdateLineItemMutation>; _RemoveLineItem(variables: _RemoveLineItemMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<_RemoveLineItemMutation>; _CreateCustomer(variables: _CreateCustomerMutationVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<_CreateCustomerMutation>; _FetchCart(variables: _FetchCartQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<_FetchCartQuery>; _GetProductByHandle(variables: _GetProductByHandleQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<_GetProductByHandleQuery>; _GetAllProducts(variables?: Exact<{ startAfter?: string | null | undefined; pageSize?: number | null | undefined; }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<_GetAllProductsQuery>; _GetProductsOnCollection(variables: _GetProductsOnCollectionQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<_GetProductsOnCollectionQuery>; _GetCollections(variables?: Exact<{ [key: string]: never; }> | undefined, requestHeaders?: Dom.RequestInit["headers"]): Promise<_GetCollectionsQuery>; }; export declare type Sdk = ReturnType;