From 6329620335be532ac75d3ef572040da3e8bb7856 Mon Sep 17 00:00:00 2001 From: CJ Date: Fri, 29 May 2020 06:40:52 +0200 Subject: [PATCH] Admin Api Typings --- .env.example | 2 +- README.md | 14 +- generateSchema.js | 10 +- index.d.ts | 48046 +++++++++++++++++++++++++++++++++++++------- package.json | 12 +- 5 files changed, 40260 insertions(+), 7824 deletions(-) diff --git a/.env.example b/.env.example index b866173..d230a39 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,2 @@ -STOREFRONT_ENDPOINT= +ADMIN_ENDPOINT= (https://{shop}.myshopify.com/admin/api/2020-04/graphql.json) ACCESS_TOKEN= \ No newline at end of file diff --git a/README.md b/README.md index e23fb1d..0bfe82e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Shopify Storefront API Types +# Shopify Admin API Types ![Dependencies](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg) ![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg) @@ -6,17 +6,17 @@ ## Overview -Auto-generated Typescript typings for Shopify Storefront API. Current version includes all types for version: `2020-04`. +Auto-generated Typescript typings for Shopify Admin API. Current version includes all types for version: `2020-04`. ![types](https://user-images.githubusercontent.com/1438153/72280575-eb2ec200-3638-11ea-9609-4196400219f5.jpg) ## How to use -1. Install package: `npm i -S shopify-storefront-api-typings` +1. Install package: `npm i -S shopify-admin-api-typings` 2. Import typings in your code. (vscode should find the typings and auto import for you). ```js -import { Checkout } from "shopify-storefront-api-typings"; +import { Checkout } from "shopify-admin-api-typings"; ``` Here is how you can get strongly typed queries with apollo: @@ -44,14 +44,14 @@ const variant: Partial = { title: "Variant" }; ## Build your own typings -If you want to customise the namings or the Storefront API version you can build your own typings. To do that, you need to create a Private app with Storefront API enabled. +If you want to customise the namings or the Admin API version you can build your own typings. To do that, you need to create a Private app with Admin API enabled. 1. Clone this repository ```sh -git clone https://github.com/caki0915/shopify-storefront-api-typings.git +git clone https://github.com/caki0915/shopify-admin-api-typings.git ``` 2. Rename `.env.example` to `.env`. -3. Inside `.env` add your Shopify Storefront API endpoint and access-token. +3. Inside `.env` add your Shopify Admin API endpoint and access-token. 4. Run `npm start` diff --git a/generateSchema.js b/generateSchema.js index 9bed96e..bbd9e90 100644 --- a/generateSchema.js +++ b/generateSchema.js @@ -4,19 +4,19 @@ const { buildClientSchema } = require("graphql/utilities/buildClientSchema"); const { introspectionQuery } = require("graphql/utilities/introspectionQuery"); require("dotenv").config(); -const graphQLClient = new GraphQLClient(process.env.STOREFRONT_ENDPOINT, { +const graphQLClient = new GraphQLClient(process.env.ADMIN_ENDPOINT, { headers: { - "X-Shopify-Storefront-Access-Token": process.env.ACCESS_TOKEN - } + "X-Shopify-Access-Token": process.env.ACCESS_TOKEN, + }, }); -graphQLClient.request(introspectionQuery).then(data => { +graphQLClient.request(introspectionQuery).then((data) => { const build = buildClientSchema(data); generateTypeScriptTypes(build, "./index.d.ts", { typePrefix: "" }) .then(() => { process.exit(0); }) - .catch(err => { + .catch((err) => { console.error(err); process.exit(1); }); diff --git a/index.d.ts b/index.d.ts index 973e1e5..74f4e95 100644 --- a/index.d.ts +++ b/index.d.ts @@ -13,867 +13,787 @@ import { GraphQLResolveInfo, GraphQLScalarType } from 'graphql'; * * *******************************/ /** - * The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. + * The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start. */ export interface QueryRoot { /** - * List of the shop's articles. + * Lookup an App by ID or return the currently authenticated App. */ - articles: ArticleConnection; + app?: App; /** - * Find a blog by its handle. + * Fetches app by handle. + * Returns null if the app doesn't exist. + * */ - blogByHandle?: Blog; + appByHandle?: App; /** - * List of the shop's blogs. + * Fetches app by apiKey. + * Returns null if the app doesn't exist. + * */ - blogs: BlogConnection; + appByKey?: App; /** - * Find a collection by its handle. + * Lookup an AppInstallation by ID or return the AppInstallation for the currently authenticated App. */ - collectionByHandle?: Collection; + appInstallation?: AppInstallation; /** - * List of the shop’s collections. + * List of app installations. */ - collections: CollectionConnection; + appInstallations: AppInstallationConnection; /** - * Find a customer by its access token. + * Returns an automatic discount resource by ID. + * @deprecated Use `automaticDiscountNode` instead */ - customer?: Customer; - node?: Node; - nodes: Array; + automaticDiscount?: DiscountAutomatic; /** - * Find a page by its handle. + * Returns an automatic discount resource by ID. */ - pageByHandle?: Page; + automaticDiscountNode?: DiscountAutomaticNode; /** - * List of the shop's pages. + * List of automatic discounts. */ - pages: PageConnection; + automaticDiscountNodes: DiscountAutomaticNodeConnection; /** - * Find a product by its handle. + * List of the shop's automatic discount saved searches. */ - productByHandle?: Product; + automaticDiscountSavedSearches: SavedSearchConnection; /** - * 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). - * + * List of automatic discounts. + * @deprecated Use `automaticDiscountNodes` instead */ - productRecommendations?: Array; + automaticDiscounts: DiscountAutomaticConnection; /** - * Tags added to products. - * Additional access scope required: unauthenticated_read_product_tags. - * + * List of activated carrier services and which shop locations support them. */ - productTags: StringConnection; + availableCarrierServices: Array; /** - * List of product types for the shop's products that are published to your app. + * List of available locales. */ - productTypes: StringConnection; + availableLocales: Array; /** - * List of the shop’s products. + * Lookup a carrier service by ID. */ - products: ProductConnection; + carrierService?: DeliveryCarrierService; /** - * The list of public Storefront API versions, including supported, release candidate and unstable versions. + * Lookup a channel by ID. + * @deprecated Use `publication` instead */ - publicApiVersions: Array; + channel?: Channel; /** - * The shop associated with the storefront access token. + * List of the active sales channels. + * @deprecated Use `publications` instead */ - shop: Shop; -} - -/** - * The set of valid sort keys for the Article query. - */ -export const enum ArticleSortKeys { + channels: ChannelConnection; /** - * Sort by the `title` value. + * Returns a code discount resource by ID. */ - TITLE = 'TITLE', + codeDiscountNode?: DiscountCodeNode; /** - * Sort by the `blog_title` value. + * Returns a code discount identified by its code. */ - BLOG_TITLE = 'BLOG_TITLE', + codeDiscountNodeByCode?: DiscountCodeNode; /** - * Sort by the `author` value. + * List of code discounts. Special fields for query params: + * * status: active, expired, scheduled + * * type: bxgy, fixed_amount, free_shipping, percentage. */ - AUTHOR = 'AUTHOR', + codeDiscountNodes: DiscountCodeNodeConnection; /** - * Sort by the `updated_at` value. + * List of the shop's code discount saved searches. */ - UPDATED_AT = 'UPDATED_AT', + codeDiscountSavedSearches: SavedSearchConnection; /** - * Sort by the `published_at` value. + * Returns a Collection resource by ID. */ - PUBLISHED_AT = 'PUBLISHED_AT', + collection?: Collection; /** - * Sort by the `id` value. + * Return a collection by its handle. */ - ID = 'ID', + collectionByHandle?: Collection; /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. - * + * A list of rule conditions to define how collections with rules can be created. */ - RELEVANCE = 'RELEVANCE' -} - -export interface ArticleConnection { + collectionRulesConditions: Array; /** - * A list of edges. + * List of the shop's collection saved searches. */ - edges: Array; + collectionSavedSearches: SavedSearchConnection; /** - * Information to aid in pagination. + * List of collections. */ - pageInfo: PageInfo; -} - -export interface ArticleEdge { + collections: CollectionConnection; /** - * A cursor for use in pagination. + * Return the AppInstallation for the currently authenticated App. */ - cursor: string; + currentAppInstallation: AppInstallation; /** - * The item at the end of ArticleEdge. + * Returns the current app's most recent BulkOperation. */ - node: Article; -} - -/** - * An article in an online store blog. - */ -export interface Article extends Node { + currentBulkOperation?: BulkOperation; /** - * The article's author. - * @deprecated Use `authorV2` instead + * Returns a Customer resource by ID. */ - author: ArticleAuthor; + customer?: Customer; /** - * The article's author. + * List of the shop's customer saved searches. */ - authorV2?: ArticleAuthor; + customerSavedSearches: SavedSearchConnection; /** - * The blog that the article belongs to. + * List of customers. */ - blog: Blog; + customers: CustomerConnection; /** - * List of comments posted on the article. + * The paginated list of deletion events. */ - comments: CommentConnection; + deletionEvents: DeletionEventConnection; /** - * Stripped content of the article, single line with HTML tags removed. + * Lookup a Delivery Profile by ID. */ - content: string; + deliveryProfile?: DeliveryProfile; /** - * The content of the article, complete with HTML formatting. + * List of saved delivery profiles. */ - contentHtml: HTML; + deliveryProfiles: DeliveryProfileConnection; /** - * Stripped excerpt of the article, single line with HTML tags removed. + * The shop-wide shipping settings. */ - excerpt?: string; + deliverySettings?: DeliverySetting; /** - * The excerpt of the article, complete with HTML formatting. + * Lookup a Domain by ID. */ - excerptHtml?: HTML; + domain?: Domain; /** - * A human-friendly unique string for the Article automatically generated from its title. - * + * Returns a DraftOrder resource by ID. */ - handle: string; + draftOrder?: DraftOrder; /** - * Globally unique identifier. + * List of the shop's draft order saved searches. */ - id: string; + draftOrderSavedSearches: SavedSearchConnection; /** - * The image associated with the article. + * List of saved draft orders. */ - image?: Image; + draftOrders: DraftOrderConnection; /** - * The date and time when the article was published. + * Returns a Fulfillment resource by ID. */ - publishedAt: DateTime; + fulfillment?: Fulfillment; /** - * The article’s SEO information. + * Returns a Fulfillment order resource by ID. */ - seo?: SEO; + fulfillmentOrder?: FulfillmentOrder; /** - * A categorization that a article can be tagged with. + * Returns a FulfillmentService resource by ID. */ - tags: Array; + fulfillmentService?: FulfillmentService; /** - * The article’s name. + * Returns an InventoryItem resource by ID. */ - title: string; + inventoryItem?: InventoryItem; /** - * The url pointing to the article accessible from the web. + * List of inventory items. */ - url: URL; -} - -/** - * An object with an ID to support global identification. - */ -export interface Node { + inventoryItems: InventoryItemConnection; /** - * Globally unique identifier. + * Returns an InventoryLevel resource by ID. */ - id: string; -} - -/** Use this to resolve interface type Node */ -export type PossibleNodeTypeNames = -'Article' | -'Blog' | -'Comment' | -'Collection' | -'Product' | -'Metafield' | -'ProductVariant' | -'ProductOption' | -'MailingAddress' | -'Checkout' | -'AppliedGiftCard' | -'CheckoutLineItem' | -'Order' | -'Page' | -'ShopPolicy' | -'Payment' | -'ExternalVideo' | -'MediaImage' | -'Model3d' | -'Video'; - -export interface NodeNameMap { - Node: Node; - Article: Article; - Blog: Blog; - Comment: Comment; - Collection: Collection; - Product: Product; - Metafield: Metafield; - ProductVariant: ProductVariant; - ProductOption: ProductOption; - MailingAddress: MailingAddress; - Checkout: Checkout; - AppliedGiftCard: AppliedGiftCard; - CheckoutLineItem: CheckoutLineItem; - Order: Order; - Page: Page; - ShopPolicy: ShopPolicy; - Payment: Payment; - ExternalVideo: ExternalVideo; - MediaImage: MediaImage; - Model3d: Model3d; - Video: Video; -} - -/** - * The author of an article. - */ -export interface ArticleAuthor { + inventoryLevel?: InventoryLevel; /** - * The author's bio. + * Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes. + * */ - bio?: string; + job?: Job; /** - * The author’s email. + * Returns an inventory Location resource by ID. */ - email: string; + location?: Location; /** - * The author's first name. + * List of active locations. */ - firstName: string; + locations: LocationConnection; /** - * The author's last name. + * Returns a list of all origin locations available for a delivery profile. + * @deprecated Use `locationsAvailableForDeliveryProfilesConnection` instead */ - lastName: string; + locationsAvailableForDeliveryProfiles?: Array; /** - * The author's full name. + * Returns a list of all origin locations available for a delivery profile. */ - name: string; -} - -/** - * An online store blog. - */ -export interface Blog extends Node { + locationsAvailableForDeliveryProfilesConnection: LocationConnection; /** - * Find an article by its handle. + * List of a campaign's marketing activities. */ - articleByHandle?: Article; + marketingActivities: MarketingActivityConnection; /** - * List of the blog's articles. + * Returns a MarketingActivity resource by ID. */ - articles: ArticleConnection; + marketingActivity?: MarketingActivity; /** - * The authors who have contributed to the blog. + * Returns a MarketingEvent resource by ID. */ - authors: Array; + marketingEvent?: MarketingEvent; /** - * A human-friendly unique string for the Blog automatically generated from its title. - * + * List of marketing events. */ - handle: string; + marketingEvents: MarketingEventConnection; /** - * Globally unique identifier. + * List of metafield namespaces and keys visible to the Storefront API. */ - id: string; + metafieldStorefrontVisibilities: MetafieldStorefrontVisibilityConnection; /** - * The blogs’s title. + * Returns metafield storefront visibility by ID. */ - title: string; + metafieldStorefrontVisibility?: MetafieldStorefrontVisibility; /** - * The url pointing to the blog accessible from the web. + * Returns a specific node by ID. */ - url: URL; -} - -/** - * An RFC 3986 and RFC 3987 compliant URI string. - * - * Example value: `"https://johns-apparel.myshopify.com"`. - * - */ -export type URL = any; - -export interface CommentConnection { + node?: Node; /** - * A list of edges. + * Returns the list of nodes with the given IDs. */ - edges: Array; + nodes: Array; /** - * Information to aid in pagination. + * Returns an Order resource by ID. */ - pageInfo: PageInfo; -} - -export interface CommentEdge { + order?: Order; /** - * A cursor for use in pagination. + * List of the shop's order saved searches. */ - cursor: string; + orderSavedSearches: SavedSearchConnection; /** - * The item at the end of CommentEdge. + * List of orders placed. */ - node: Comment; -} - -/** - * A comment on an article. - */ -export interface Comment extends Node { + orders: OrderConnection; /** - * The comment’s author. + * Lookup a price rule by ID. */ - author: CommentAuthor; + priceRule?: PriceRule; /** - * Stripped content of the comment, single line with HTML tags removed. + * List of the shop's price rule saved searches. */ - content: string; + priceRuleSavedSearches: SavedSearchConnection; /** - * The content of the comment, complete with HTML formatting. + * List of price rules. */ - contentHtml: HTML; + priceRules: PriceRuleConnection; /** - * Globally unique identifier. + * Returns a private metafield by ID. */ - id: string; -} - -/** - * The author of a comment. - */ -export interface CommentAuthor { + privateMetafield?: PrivateMetafield; /** - * The author's email. + * List of private metafields. */ - email: string; + privateMetafields: PrivateMetafieldConnection; /** - * The author’s name. + * Returns a Product resource by ID. */ - name: string; -} - -/** - * A string containing HTML code. Example value: `"

Grey cotton knit sweater.

"`. - */ -export type HTML = any; - -/** - * Information about pagination in a connection. - */ -export interface PageInfo { + product?: Product; /** - * Indicates if there are more pages to fetch. + * Return a product by its handle. */ - hasNextPage: boolean; + productByHandle?: Product; /** - * Indicates if there are any pages prior to the current page. + * List of the shop's product saved searches. */ - hasPreviousPage: boolean; -} - -/** - * The part of the image that should remain after cropping. - */ -export const enum CropRegion { + productSavedSearches: SavedSearchConnection; /** - * Keep the center of the image. + * Returns a ProductVariant resource by ID. */ - CENTER = 'CENTER', + productVariant?: ProductVariant; /** - * Keep the top of the image. + * List of the product variants. */ - TOP = 'TOP', + productVariants: ProductVariantConnection; /** - * Keep the bottom of the image. + * List of products. */ - BOTTOM = 'BOTTOM', + products: ProductConnection; /** - * Keep the left of the image. + * The list of public Admin API versions, including supported, release candidate and unstable versions. */ - LEFT = 'LEFT', + publicApiVersions: Array; /** - * Keep the right of the image. + * Lookup a publication by ID. */ - RIGHT = 'RIGHT' -} - -/** - * Represents an image resource. - */ -export interface Image { + publication?: Publication; /** - * A word or phrase to share the nature or contents of an image. + * List of the active publications. */ - altText?: string; + publications: PublicationConnection; /** - * A unique identifier for the image. + * Returns a Refund resource by ID. */ - id?: string; + refund?: Refund; /** - * 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. - * + * Lookup a script tag resource by ID. */ - originalSrc: URL; + scriptTag?: ScriptTag; /** - * The location of the image as a URL. - * @deprecated Previously an image had a single `src` field. This could either return the original image - * location or a URL that contained transformations such as sizing or scale. - * - * These transformations were specified by arguments on the parent field. - * - * Now an image has two distinct URL fields: `originalSrc` and `transformedSrc`. - * - * * `originalSrc` - the original unmodified image URL - * * `transformedSrc` - the image URL with the specified transformations included - * - * To migrate to the new fields, image transformations should be moved from the parent field to `transformedSrc`. - * - * Before: - * ```graphql - * { - * shop { - * productImages(maxWidth: 200, scale: 2) { - * edges { - * node { - * src - * } - * } - * } - * } - * } - * ``` - * - * After: - * ```graphql - * { - * shop { - * productImages { - * edges { - * node { - * transformedSrc(maxWidth: 200, scale: 2) - * } - * } - * } - * } - * } - * ``` - * + * List of script tags. */ - src: URL; + scriptTags: ScriptTagConnection; /** - * 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. - * + * Returns a Shop resource corresponding to access token used in request. */ - transformedSrc: URL; -} - -/** - * List of supported image content types. - */ -export const enum ImageContentType { + shop: Shop; /** - * A PNG image. + * List of locales available on a shop. */ - PNG = 'PNG', + shopLocales: Array; /** - * A JPG image. + * Shopify Payments account information, including balances and payouts. */ - JPG = 'JPG', + shopifyPaymentsAccount?: ShopifyPaymentsAccount; /** - * A WEBP image. + * List of TenderTransactions associated with the Shop. */ - WEBP = 'WEBP' -} - -/** - * An ISO-8601 encoded UTC date time string. Example value: `"2019-07-03T20:47:55Z"`. - */ -export type DateTime = any; - -/** - * SEO information. - */ -export interface SEO { + tenderTransactions: TenderTransactionConnection; /** - * The meta description. + * Translatable resource. */ - description?: string; + translatableResource?: TranslatableResource; + + /** + * List of translatable resources. + */ + translatableResources: TranslatableResourceConnection; + + /** + * Returns a webhook subscription by ID. + */ + webhookSubscription?: WebhookSubscription; /** - * The SEO title. + * List of webhook subscriptions. */ - title?: string; + webhookSubscriptions: WebhookSubscriptionConnection; } /** - * The set of valid sort keys for the Blog query. + * A Shopify application. */ -export const enum BlogSortKeys { +export interface App extends Node { /** - * Sort by the `handle` value. + * A unique application API identifier. */ - HANDLE = 'HANDLE', + apiKey: string; /** - * Sort by the `title` value. + * App store page URL of the app. */ - TITLE = 'TITLE', + appStoreAppUrl?: URL; /** - * Sort by the `id` value. + * App store page URL of the developer who created the app. */ - ID = 'ID', + appStoreDeveloperUrl?: URL; /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. - * + * Banner image for the app. */ - RELEVANCE = 'RELEVANCE' -} - -export interface BlogConnection { + banner: Image; /** - * A list of edges. + * Description of the app. */ - edges: Array; + description?: string; /** - * Information to aid in pagination. + * App's developer name. */ - pageInfo: PageInfo; -} - -export interface BlogEdge { - - /** - * A cursor for use in pagination. - */ - cursor: string; + developerName?: string; /** - * The item at the end of BlogEdge. + * Website of the developer who created the app. + * @deprecated Use `appStoreDeveloperUrl` instead */ - node: Blog; -} - -/** - * A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. - */ -export interface Collection extends Node { + developerUrl: URL; /** - * Stripped description of the collection, single line with HTML tags removed. + * Whether the app uses the Embedded App SDK. */ - description: string; + embedded: boolean; /** - * The description of the collection, complete with HTML formatting. + * Requirements that must be met before the app can be installed. */ - descriptionHtml: HTML; + failedRequirements: Array; /** - * A human-friendly unique string for the collection automatically generated from its title. - * Limit of 255 characters. - * + * List of app features. */ - handle: string; + features: Array; /** - * Globally unique identifier. + * Feedback from this app about the store. */ - id: string; + feedback?: AppFeedback; /** - * Image associated with the collection. + * Handle of the app. */ - image?: Image; + handle?: string; /** - * List of products in the collection. + * Icon that represents the app. */ - products: ProductConnection; + icon: Image; /** - * The collection’s name. Limit of 255 characters. + * Globally unique identifier. */ - title: string; + id: string; /** - * The date and time when the collection was last modified. + * Webpage where you can install the app. */ - updatedAt: DateTime; -} - -/** - * The set of valid sort keys for the ProductCollection query. - */ -export const enum ProductCollectionSortKeys { + installUrl?: URL; /** - * Sort by the `title` value. + * Corresponding AppInstallation for this shop and App. + * Returns null if the App is not installed. + * */ - TITLE = 'TITLE', + installation?: AppInstallation; /** - * Sort by the `price` value. + * Webpage that the app starts in. + * @deprecated Use AppInstallation.launchUrl instead */ - PRICE = 'PRICE', + launchUrl: URL; /** - * Sort by the `best-selling` value. + * Menu items for the app, which also appear as submenu items in left navigation sidebar in the Shopify admin. + * + * @deprecated Use AppInstallation.navigationItems instead */ - BEST_SELLING = 'BEST_SELLING', + navigationItems: Array; /** - * Sort by the `created` value. + * Detailed information about the app pricing. */ - CREATED = 'CREATED', + pricingDetails?: string; /** - * Sort by the `id` value. + * Summary of the app pricing details. */ - ID = 'ID', + pricingDetailsSummary: string; /** - * Sort by the `manual` value. + * Link to app privacy policy. */ - MANUAL = 'MANUAL', + privacyPolicyUrl?: URL; /** - * Sort by the `collection-default` value. + * Whether the app is published. */ - COLLECTION_DEFAULT = 'COLLECTION_DEFAULT', + published: boolean; /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. - * + * Screenshots of the app. */ - RELEVANCE = 'RELEVANCE' -} - -export interface ProductConnection { + screenshots: Array; /** - * A list of edges. + * Whether the app was developed by Shopify. */ - edges: Array; + shopifyDeveloped: boolean; /** - * Information to aid in pagination. + * Name of the app. */ - pageInfo: PageInfo; -} - -export interface ProductEdge { + title: string; /** - * A cursor for use in pagination. + * Message that appears when the app is uninstalled. For example: + * By removing this app, you will no longer be able to publish products to MySocialSite or view this app in your Shopify admin. You can re-enable this channel at any time. + * */ - cursor: string; + uninstallMessage: string; /** - * The item at the end of ProductEdge. + * Webpage where you can uninstall the app. + * @deprecated Use AppInstallation.uninstallUrl instead */ - node: Product; + uninstallUrl?: URL; } /** - * 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). + * An object with an ID to support global identification. */ -export interface Product extends Node, HasMetafields { - - /** - * Indicates if at least one product variant is available for sale. - */ - availableForSale: 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: DateTime; - - /** - * Stripped description of the product, single line with HTML tags removed. - */ - description: string; - - /** - * The description of the product, complete with HTML formatting. - */ - descriptionHtml: HTML; - - /** - * 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: string; +export interface Node { /** * Globally unique identifier. */ id: string; +} + +/** Use this to resolve interface type Node */ +export type PossibleNodeTypeNames = +'App' | +'Metafield' | +'PrivateMetafield' | +'AppInstallation' | +'AppSubscription' | +'AppUsageRecord' | +'Channel' | +'Publication' | +'Collection' | +'Product' | +'ProductOption' | +'ProductVariant' | +'DeliveryProfile' | +'DeliveryCountry' | +'DeliveryProvince' | +'DeliveryLocationGroup' | +'Location' | +'InventoryLevel' | +'InventoryItem' | +'DeliveryMethodDefinition' | +'DeliveryCondition' | +'DeliveryRateDefinition' | +'DeliveryParticipant' | +'DeliveryCarrierService' | +'DeliveryZone' | +'AppCredit' | +'AppPurchaseOneTime' | +'DiscountAutomaticBxgy' | +'DiscountAutomaticNode' | +'SavedSearch' | +'DiscountCodeNode' | +'Customer' | +'MailingAddress' | +'Order' | +'CustomerVisit' | +'MarketingEvent' | +'OrderDisputeSummary' | +'LineItem' | +'Duty' | +'FulfillmentOrder' | +'FulfillmentOrderDestination' | +'Fulfillment' | +'FulfillmentEvent' | +'FulfillmentLineItem' | +'FulfillmentOrderLineItem' | +'FulfillmentOrderMerchantRequest' | +'LineItemMutable' | +'Refund' | +'OrderTransaction' | +'BulkOperation' | +'Domain' | +'DraftOrder' | +'DraftOrderLineItem' | +'MarketingActivity' | +'MetafieldStorefrontVisibility' | +'PriceRule' | +'PriceRuleDiscountCode' | +'ScriptTag' | +'Shop' | +'ShopifyPaymentsAccount' | +'ShopifyPaymentsBankAccount' | +'ShopifyPaymentsPayout' | +'ShopifyPaymentsDispute' | +'ShopifyPaymentsVerification' | +'StorefrontAccessToken' | +'TenderTransaction' | +'WebhookSubscription' | +'CalculatedOrder' | +'BasicEvent' | +'CommentEvent' | +'ExternalVideo' | +'MediaImage' | +'Model3d' | +'OnlineStoreArticle' | +'OnlineStoreBlog' | +'OnlineStorePage' | +'Video'; + +export interface NodeNameMap { + Node: Node; + App: App; + Metafield: Metafield; + PrivateMetafield: PrivateMetafield; + AppInstallation: AppInstallation; + AppSubscription: AppSubscription; + AppUsageRecord: AppUsageRecord; + Channel: Channel; + Publication: Publication; + Collection: Collection; + Product: Product; + ProductOption: ProductOption; + ProductVariant: ProductVariant; + DeliveryProfile: DeliveryProfile; + DeliveryCountry: DeliveryCountry; + DeliveryProvince: DeliveryProvince; + DeliveryLocationGroup: DeliveryLocationGroup; + Location: Location; + InventoryLevel: InventoryLevel; + InventoryItem: InventoryItem; + DeliveryMethodDefinition: DeliveryMethodDefinition; + DeliveryCondition: DeliveryCondition; + DeliveryRateDefinition: DeliveryRateDefinition; + DeliveryParticipant: DeliveryParticipant; + DeliveryCarrierService: DeliveryCarrierService; + DeliveryZone: DeliveryZone; + AppCredit: AppCredit; + AppPurchaseOneTime: AppPurchaseOneTime; + DiscountAutomaticBxgy: DiscountAutomaticBxgy; + DiscountAutomaticNode: DiscountAutomaticNode; + SavedSearch: SavedSearch; + DiscountCodeNode: DiscountCodeNode; + Customer: Customer; + MailingAddress: MailingAddress; + Order: Order; + CustomerVisit: CustomerVisit; + MarketingEvent: MarketingEvent; + OrderDisputeSummary: OrderDisputeSummary; + LineItem: LineItem; + Duty: Duty; + FulfillmentOrder: FulfillmentOrder; + FulfillmentOrderDestination: FulfillmentOrderDestination; + Fulfillment: Fulfillment; + FulfillmentEvent: FulfillmentEvent; + FulfillmentLineItem: FulfillmentLineItem; + FulfillmentOrderLineItem: FulfillmentOrderLineItem; + FulfillmentOrderMerchantRequest: FulfillmentOrderMerchantRequest; + LineItemMutable: LineItemMutable; + Refund: Refund; + OrderTransaction: OrderTransaction; + BulkOperation: BulkOperation; + Domain: Domain; + DraftOrder: DraftOrder; + DraftOrderLineItem: DraftOrderLineItem; + MarketingActivity: MarketingActivity; + MetafieldStorefrontVisibility: MetafieldStorefrontVisibility; + PriceRule: PriceRule; + PriceRuleDiscountCode: PriceRuleDiscountCode; + ScriptTag: ScriptTag; + Shop: Shop; + ShopifyPaymentsAccount: ShopifyPaymentsAccount; + ShopifyPaymentsBankAccount: ShopifyPaymentsBankAccount; + ShopifyPaymentsPayout: ShopifyPaymentsPayout; + ShopifyPaymentsDispute: ShopifyPaymentsDispute; + ShopifyPaymentsVerification: ShopifyPaymentsVerification; + StorefrontAccessToken: StorefrontAccessToken; + TenderTransaction: TenderTransaction; + WebhookSubscription: WebhookSubscription; + CalculatedOrder: CalculatedOrder; + BasicEvent: BasicEvent; + CommentEvent: CommentEvent; + ExternalVideo: ExternalVideo; + MediaImage: MediaImage; + Model3d: Model3d; + OnlineStoreArticle: OnlineStoreArticle; + OnlineStoreBlog: OnlineStoreBlog; + OnlineStorePage: OnlineStorePage; + Video: Video; +} + +/** + * An RFC 3986 and RFC 3987 compliant URI string. + * + * Example value: `"https://johns-apparel.myshopify.com"`. + * + */ +export type URL = any; + +/** + * Represents an image resource. + */ +export interface Image extends HasMetafields { /** - * List of images associated with the product. + * A word or phrase to share the nature or contents of an image. */ - images: ImageConnection; + altText?: string; /** - * The media associated with the product. + * A unique identifier for the image. */ - media: MediaConnection; + id?: string; /** * The metafield associated with the resource. @@ -886,76 +806,78 @@ export interface Product extends Node, HasMetafields { metafields: MetafieldConnection; /** - * The online store URL for the product. - * A value of `null` indicates that the product is not published to the Online Store sales channel. + * The location of the original image as a URL. * - */ - onlineStoreUrl?: URL; - - /** - * List of custom product options (maximum of 3 per product). - */ - options: Array; - - /** - * List of price ranges in the presentment currencies for this shop. - */ - presentmentPriceRanges: ProductPriceRangeConnection; - - /** - * The price range. - */ - priceRange: ProductPriceRange; - - /** - * A categorization that a product can be tagged with, commonly used for filtering and searching. - */ - productType: string; - - /** - * The date and time when the product was published to the channel. - */ - publishedAt: DateTime; - - /** - * A categorization that a product can be tagged with, commonly used for filtering and searching. - * Additional access scope required for private apps: unauthenticated_read_product_tags. + * If there are any existing transformations in the original source URL, they will remain and not be stripped. * */ - tags: Array; - - /** - * The product’s title. - */ - title: string; + originalSrc: URL; /** - * The total quantity of inventory in stock for this Product. + * Returns a private metafield found by namespace and key. */ - totalInventory?: number; + privateMetafield?: PrivateMetafield; /** - * The date and time when the product was last modified. + * List of private metafields. */ - updatedAt: DateTime; + privateMetafields: PrivateMetafieldConnection; /** - * 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. + * The location of the image as a URL. + * @deprecated Previously an image had a single `src` field. This could either return the original image + * location or a URL that contained transformations such as sizing or scale. + * + * These transformations were specified by arguments on the parent field. + * + * Now an image has two distinct URL fields: `originalSrc` and `transformedSrc`. + * + * * `originalSrc` - the original unmodified image URL + * * `transformedSrc` - the image URL with the specified transformations included + * + * To migrate to the new fields, image transformations should be moved from the parent field to `transformedSrc`. + * + * Before: + * ```graphql + * { + * shop { + * productImages(maxWidth: 200, scale: 2) { + * edges { + * node { + * src + * } + * } + * } + * } + * } + * ``` + * + * After: + * ```graphql + * { + * shop { + * productImages { + * edges { + * node { + * transformedSrc(maxWidth: 200, scale: 2) + * } + * } + * } + * } + * } + * ``` * */ - variantBySelectedOptions?: ProductVariant; - - /** - * List of the product’s variants. - */ - variants: ProductVariantConnection; + src: URL; /** - * The product’s vendor name. + * 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. + * */ - vendor: string; + transformedSrc: URL; } /** @@ -972,26 +894,50 @@ export interface HasMetafields { * A paginated list of metafields associated with the resource. */ metafields: MetafieldConnection; + + /** + * Returns a private metafield found by namespace and key. + */ + privateMetafield?: PrivateMetafield; + + /** + * List of private metafields. + */ + privateMetafields: PrivateMetafieldConnection; } /** Use this to resolve interface type HasMetafields */ -export type PossibleHasMetafieldsTypeNames = 'Product' | 'ProductVariant'; +export type PossibleHasMetafieldsTypeNames = +'Image' | +'Collection' | +'Product' | +'ProductVariant' | +'Customer' | +'Order' | +'DraftOrder' | +'Shop'; export interface HasMetafieldsNameMap { HasMetafields: HasMetafields; + Image: Image; + Collection: Collection; Product: Product; ProductVariant: ProductVariant; + Customer: Customer; + Order: Order; + DraftOrder: DraftOrder; + Shop: Shop; } /** * Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are - * comprised of keys, values, and value types. + * composed of keys, values, and value types. * */ -export interface Metafield extends Node { +export interface Metafield extends Node, LegacyInteroperability { /** - * The date and time when the storefront metafield was created. + * The date and time when the metafield was created. */ createdAt: DateTime; @@ -1010,18 +956,23 @@ export interface Metafield extends Node { */ key: string; + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + /** * The namespace for a metafield. */ namespace: string; /** - * The parent object that the metafield belongs to. + * Owner type of a metafield visible to the Storefront API. */ - parentResource: MetafieldParentResource; + ownerType: MetafieldOwnerType; /** - * The date and time when the storefront metafield was updated. + * The date and time when the metafield was updated. */ updatedAt: DateTime; @@ -1037,305 +988,896 @@ export interface Metafield extends Node { } /** - * A resource that the metafield belongs to. + * Interoperability metadata for types that directly correspond to a REST Admin API resource. + * For example, on the Product type, LegacyInteroperability returns metadata for the corresponding [Product object](https://help.shopify.com/api/reference/products/product) in the REST Admin API. + * */ -export type MetafieldParentResource = Product | ProductVariant; +export interface LegacyInteroperability { + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; +} -/** Use this to resolve union type MetafieldParentResource */ -export type PossibleMetafieldParentResourceTypeNames = +/** Use this to resolve interface type LegacyInteroperability */ +export type PossibleLegacyInteroperabilityTypeNames = +'Metafield' | 'Product' | -'ProductVariant'; +'ProductVariant' | +'Location' | +'InventoryItem' | +'SavedSearch' | +'Customer' | +'Order' | +'MarketingEvent' | +'Fulfillment' | +'Refund' | +'DraftOrder' | +'MetafieldStorefrontVisibility' | +'PriceRule' | +'ScriptTag' | +'ShopifyPaymentsPayout' | +'ShopifyPaymentsDispute' | +'WebhookSubscription'; -export interface MetafieldParentResourceNameMap { - MetafieldParentResource: MetafieldParentResource; +export interface LegacyInteroperabilityNameMap { + LegacyInteroperability: LegacyInteroperability; + Metafield: Metafield; Product: Product; ProductVariant: ProductVariant; + Location: Location; + InventoryItem: InventoryItem; + SavedSearch: SavedSearch; + Customer: Customer; + Order: Order; + MarketingEvent: MarketingEvent; + Fulfillment: Fulfillment; + Refund: Refund; + DraftOrder: DraftOrder; + MetafieldStorefrontVisibility: MetafieldStorefrontVisibility; + PriceRule: PriceRule; + ScriptTag: ScriptTag; + ShopifyPaymentsPayout: ShopifyPaymentsPayout; + ShopifyPaymentsDispute: ShopifyPaymentsDispute; + WebhookSubscription: WebhookSubscription; } /** - * A product variant represents a different version of a product, such as differing sizes or differing colors. + * 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"`. + * + */ +export type UnsignedInt64 = any; + +/** + * An ISO-8601 encoded UTC date time string. Example value: `"2019-07-03T20:47:55Z"`. + */ +export type DateTime = any; + +/** + * Metafield owner types. */ -export interface ProductVariant extends Node, HasMetafields { +export const enum MetafieldOwnerType { /** - * Indicates if the product variant is in stock. - * @deprecated Use `availableForSale` instead + * A metafield owner type. */ - available?: boolean; + ARTICLE = 'ARTICLE', /** - * Indicates if the product variant is available for sale. + * A metafield owner type. */ - availableForSale: boolean; + BLOG = 'BLOG', /** - * The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`. - * @deprecated Use `compareAtPriceV2` instead + * A metafield owner type. */ - compareAtPrice?: Money; + COLLECTION = 'COLLECTION', /** - * The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`. + * A metafield owner type. */ - compareAtPriceV2?: MoneyV2; + CUSTOMER = 'CUSTOMER', /** - * Whether the product variant is available for sale but currently out of stock. + * A metafield owner type. */ - currentlyNotInStock: boolean; + DRAFTORDER = 'DRAFTORDER', /** - * Globally unique identifier. + * A metafield owner type. */ - id: string; + ORDER = 'ORDER', /** - * Image associated with the product variant. This field falls back to the product image if no image is available. + * A metafield owner type. */ - image?: Image; + PAGE = 'PAGE', /** - * The metafield associated with the resource. + * A metafield owner type. */ - metafield?: Metafield; + PRODUCT = 'PRODUCT', /** - * A paginated list of metafields associated with the resource. + * A metafield owner type. */ - metafields: MetafieldConnection; + PRODUCTIMAGE = 'PRODUCTIMAGE', /** - * List of prices and compare-at prices in the presentment currencies for this shop. + * A metafield owner type. */ - presentmentPrices: ProductVariantPricePairConnection; + PRODUCTVARIANT = 'PRODUCTVARIANT', /** - * List of unit prices in the presentment currencies for this shop. + * A metafield owner type. */ - presentmentUnitPrices: MoneyV2Connection; + SHOP = 'SHOP' +} + +/** + * Metafield value types. + */ +export const enum MetafieldValueType { /** - * The product variant’s price. - * @deprecated Use `priceV2` instead + * A string. */ - price: Money; + STRING = 'STRING', /** - * The product variant’s price. + * An integer. */ - priceV2: MoneyV2; + INTEGER = 'INTEGER', /** - * The product object that the product variant belongs to. + * A JSON string. */ - product: Product; + JSON_STRING = 'JSON_STRING' +} + +export interface MetafieldConnection { /** - * The total sellable quantity of the variant for online sales channels. + * A list of edges. */ - quantityAvailable?: number; + edges: Array; /** - * Whether a customer needs to provide a shipping address when placing an order for the product variant. + * Information to aid in pagination. */ - requiresShipping: boolean; + pageInfo: PageInfo; +} + +export interface MetafieldEdge { /** - * List of product options applied to the variant. + * A cursor for use in pagination. */ - selectedOptions: Array; + cursor: string; /** - * The SKU (stock keeping unit) associated with the variant. + * The item at the end of MetafieldEdge. */ - sku?: string; + node: Metafield; +} + +/** + * Information about pagination in a connection. + */ +export interface PageInfo { /** - * The product variant’s title. + * Indicates if there are more pages to fetch. */ - title: string; + hasNextPage: boolean; /** - * The unit price value for the variant based on the variant's measurement. + * Indicates if there are any pages prior to the current page. */ - unitPrice?: MoneyV2; - - /** - * The unit price measurement for the variant. + hasPreviousPage: boolean; +} + +/** + * Private metafields represent custom metadata that is attached to a resource. + * Private metafields are private to the application that creates them on a shop's resources. + * + */ +export interface PrivateMetafield extends Node { + + /** + * The date and time when the private metafield was created. + */ + createdAt: DateTime; + + /** + * The id of the private metafield. + */ + id: string; + + /** + * The key name for a private metafield. */ - unitPriceMeasurement?: UnitPriceMeasurement; + key: string; + + /** + * The namespace for a private metafield. + */ + namespace: string; + + /** + * The date and time when the private metafield was updated. + */ + updatedAt: DateTime; /** - * The weight of the product variant in the unit system specified with `weight_unit`. + * The value of a private metafield. */ - weight?: number; + value: string; /** - * Unit of measurement for weight. + * Represents the private metafield value type. */ - weightUnit: WeightUnit; + valueType: PrivateMetafieldValueType; } /** - * A monetary value string. Example value: `"100.57"`. + * Private Metafield value types. */ -export type Money = any; +export const enum PrivateMetafieldValueType { + + /** + * A private metafield value type. + */ + STRING = 'STRING', + + /** + * A private metafield value type. + */ + INTEGER = 'INTEGER', + + /** + * A private metafield value type. + */ + JSON_STRING = 'JSON_STRING' +} + +export interface PrivateMetafieldConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; +} + +export interface PrivateMetafieldEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of PrivateMetafieldEdge. + */ + node: PrivateMetafield; +} /** - * A monetary value with currency. - * - * To format currencies, combine this type's amount and currencyCode fields with your client's locale. - * - * For example, in JavaScript you could use Intl.NumberFormat: - * - * ```js - * new Intl.NumberFormat(locale, { - * style: 'currency', - * currency: currencyCode - * }).format(amount); - * ``` - * - * Other formatting libraries include: - * - * * iOS - [NumberFormatter](https://developer.apple.com/documentation/foundation/numberformatter) - * * Android - [NumberFormat](https://developer.android.com/reference/java/text/NumberFormat.html) - * * PHP - [NumberFormatter](http://php.net/manual/en/class.numberformatter.php) - * - * For a more general solution, the [Unicode CLDR number formatting database] is available with many implementations - * (such as [TwitterCldr](https://github.com/twitter/twitter-cldr-rb)). + * The part of the image that should remain after cropping. + */ +export const enum CropRegion { + + /** + * Keep the center of the image. + */ + CENTER = 'CENTER', + + /** + * Keep the top of the image. + */ + TOP = 'TOP', + + /** + * Keep the bottom of the image. + */ + BOTTOM = 'BOTTOM', + + /** + * Keep the left of the image. + */ + LEFT = 'LEFT', + + /** + * Keep the right of the image. + */ + RIGHT = 'RIGHT' +} + +/** + * List of supported image content types. + */ +export const enum ImageContentType { + + /** + * A PNG image. + */ + PNG = 'PNG', + + /** + * A JPG image. + */ + JPG = 'JPG', + + /** + * A WEBP image. + */ + WEBP = 'WEBP' +} + +/** + * Requirements that must be met before an app can be installed. + */ +export interface FailedRequirement { + + /** + * Action to be taken to resolve a failed requirement, including URL link. + */ + action?: NavigationItem; + + /** + * A concise set of copy strings to be displayed to merchants, to guide them in resolving problems your app + * encounters when trying to make use of their Shop and its resources. * */ - export interface MoneyV2 { - - /** - * Decimal money amount. - */ - amount: Decimal; - - /** - * Currency of the money. - */ - currencyCode: CurrencyCode; - } + message: string; +} + +/** + * A navigation item, holding basic link attributes. + */ +export interface NavigationItem { /** - * A signed decimal number, which supports arbitrary precision and is serialized as a string. Example value: `"29.99"`. + * The unique identifier of the navigation item. */ - export type Decimal = any; + id: string; /** - * Currency codes. + * The name of the navigation item. */ - export const enum CurrencyCode { - - /** - * United States Dollars (USD). - */ - USD = 'USD', - - /** - * Euro (EUR). - */ - EUR = 'EUR', - - /** - * United Kingdom Pounds (GBP). - */ - GBP = 'GBP', - - /** - * Canadian Dollars (CAD). - */ - CAD = 'CAD', - - /** - * Afghan Afghani (AFN). - */ - AFN = 'AFN', - - /** - * Albanian Lek (ALL). - */ - ALL = 'ALL', - - /** - * Algerian Dinar (DZD). - */ - DZD = 'DZD', - - /** - * Angolan Kwanza (AOA). - */ - AOA = 'AOA', - - /** - * Argentine Pesos (ARS). - */ - ARS = 'ARS', - - /** - * Armenian Dram (AMD). - */ - AMD = 'AMD', - - /** - * Aruban Florin (AWG). - */ - AWG = 'AWG', - - /** - * Australian Dollars (AUD). - */ - AUD = 'AUD', - - /** - * Barbadian Dollar (BBD). - */ - BBD = 'BBD', - - /** - * Azerbaijani Manat (AZN). - */ - AZN = 'AZN', - - /** - * Bangladesh Taka (BDT). - */ - BDT = 'BDT', - - /** - * Bahamian Dollar (BSD). - */ - BSD = 'BSD', - - /** - * Bahraini Dinar (BHD). - */ - BHD = 'BHD', - - /** - * Burundian Franc (BIF). - */ - BIF = 'BIF', - - /** - * Belarusian Ruble (BYR). - * @deprecated `BYR` is deprecated. Use `BYN` available from version `2019-10` onwards instead. - */ - BYR = 'BYR', - - /** - * Belize Dollar (BZD). - */ - BZD = 'BZD', + title: string; + + /** + * The URL of the page that the navigation item links to. + */ + url: URL; +} + +/** + * Reports the status of shops and their resources and displays this information + * within Shopify admin. AppFeedback is used to notify merchants about steps they need to take + * to set up an app on their store. + * + */ +export interface AppFeedback { + + /** + * The application associated to the feedback. + */ + app: App; + + /** + * A link to where merchants can resolve errors. + */ + link?: Link; + + /** + * The feedback message presented to the merchant. + */ + messages: Array; +} + +/** + * A link to direct users to. + */ +export interface Link extends HasPublishedTranslations { + + /** + * A context-sensitive label for the link. + */ + label: string; + + /** + * The translations associated with the resource. + */ + translations: Array; + + /** + * The URL that the link visits. + */ + url: URL; +} + +/** + * Published translations associated with the resource. + */ +export interface HasPublishedTranslations { + + /** + * The translations associated with the resource. + */ + translations: Array; +} + +/** Use this to resolve interface type HasPublishedTranslations */ +export type PossibleHasPublishedTranslationsTypeNames = +'Link' | +'Collection' | +'Product' | +'ProductOption' | +'ProductVariant' | +'Shop' | +'OnlineStoreArticle' | +'OnlineStoreBlog' | +'OnlineStorePage'; + +export interface HasPublishedTranslationsNameMap { + HasPublishedTranslations: HasPublishedTranslations; + Link: Link; + Collection: Collection; + Product: Product; + ProductOption: ProductOption; + ProductVariant: ProductVariant; + Shop: Shop; + OnlineStoreArticle: OnlineStoreArticle; + OnlineStoreBlog: OnlineStoreBlog; + OnlineStorePage: OnlineStorePage; +} + +/** + * Published translation of a field of a resource. + */ +export interface PublishedTranslation { + + /** + * Translation key. + */ + key: string; + + /** + * Translation locale. + */ + locale: string; + + /** + * Translation value. + */ + value?: string; +} + +/** + * Represents an error in the input of a mutation. + */ +export interface UserError extends DisplayableError { + + /** + * Path to the input field which caused the error. + */ + field?: Array; + + /** + * The error message. + */ + message: string; +} + +/** + * Represents an error in the input of a mutation. + */ +export interface DisplayableError { + + /** + * Path to the input field which caused the error. + */ + field?: Array; + + /** + * The error message. + */ + message: string; +} + +/** Use this to resolve interface type DisplayableError */ +export type PossibleDisplayableErrorTypeNames = +'UserError' | +'DiscountUserError' | +'PriceRuleUserError' | +'MediaUserError' | +'TranslationUserError'; + +export interface DisplayableErrorNameMap { + DisplayableError: DisplayableError; + UserError: UserError; + DiscountUserError: DiscountUserError; + PriceRuleUserError: PriceRuleUserError; + MediaUserError: MediaUserError; + TranslationUserError: TranslationUserError; +} + +/** + * Represents an installed application on a shop. + */ +export interface AppInstallation extends Node { + + /** + * Access scopes granted to an app by a merchant during installation. + */ + accessScopes: Array; + + /** + * Active subscriptions charged to a shop on a recurring basis. + */ + activeSubscriptions: Array; + + /** + * All subscriptions created for a shop. + */ + allSubscriptions: AppSubscriptionConnection; + + /** + * Application which is installed. + */ + app: App; + + /** + * Channel associated with the installed application. + * @deprecated Use `publication` instead + */ + channel?: Channel; + + /** + * Credits that can be used towards future app purchases. + */ + credits: AppCreditConnection; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Url used to launch the app. + */ + launchUrl: URL; + + /** + * One-time purchases to a shop. + */ + oneTimePurchases: AppPurchaseOneTimeConnection; + + /** + * Publication associated with the installed application. + */ + publication?: Publication; + + /** + * Subscriptions charge to a shop on a recurring basis. + * @deprecated Use `activeSubscriptions` instead + */ + subscriptions: Array; + + /** + * Webpage where you can uninstall the app. + */ + uninstallUrl?: URL; +} + +/** + * Represents the access scope permission that is applicable to a merchant's shop, such as `read_orders`. + * + */ +export interface AccessScope { + + /** + * Description of the access scopes enabled on an api permission. + */ + description: string; + + /** + * A human-friendly string for an access scope. + */ + handle: string; +} + +/** + * Provides users access to services and/or features for a duration of time. + */ +export interface AppSubscription extends Node { + + /** + * The date and time when the app subscription was created. + */ + createdAt: DateTime; + + /** + * The date and time when the current app subscription period ends. + */ + currentPeriodEnd?: DateTime; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Attaches a plan to an app subscription. + */ + lineItems: Array; + + /** + * The name of the app subscription. + */ + name: string; + + /** + * The URL where the merchant is redirected after approving the app subscription. + */ + returnUrl: URL; + + /** + * The status of the app subscription. Possible values include pending, active, declined, + * expired, frozen, and cancelled. + */ + status: AppSubscriptionStatus; + + /** + * Specifies whether the app subscription is a test transaction. + */ + test: boolean; + + /** + * The number of days of the free trial. + */ + trialDays: number; +} + +/** + * Attaches a plan to an app subscription. + */ +export interface AppSubscriptionLineItem { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Defines the pricing model for the app subscription. + */ + plan: AppPlanV2; + + /** + * Lists the store's usage for a usage pricing plan. + */ + usageRecords: AppUsageRecordConnection; +} + +/** + * Defines the app plan the merchant is subscribed to. + */ +export interface AppPlanV2 { + + /** + * Defines the pricing model for the app subscription. + */ + pricingDetails: AppPricingDetails; +} + +/** + * Information about the price charged to a shop every plan period. + */ +export type AppPricingDetails = AppUsagePricing | AppRecurringPricing; + +/** Use this to resolve union type AppPricingDetails */ +export type PossibleAppPricingDetailsTypeNames = +'AppUsagePricing' | +'AppRecurringPricing'; + +export interface AppPricingDetailsNameMap { + AppPricingDetails: AppPricingDetails; + AppUsagePricing: AppUsagePricing; + AppRecurringPricing: AppRecurringPricing; +} + +/** + * Defines the usage pricing model for the app subscription. + */ +export interface AppUsagePricing { + + /** + * The total usage records for interval. + */ + balanceUsed: MoneyV2; + + /** + * The limit a store can be charged for usage based pricing. + */ + cappedAmount: MoneyV2; + + /** + * Specifies the interval which usage records are applied. + */ + interval: AppPricingInterval; + + /** + * The terms and conditions for app usage pricing. + */ + terms: string; +} + +/** + * A monetary value with currency. + * + * To format currencies, combine this type's amount and currencyCode fields with your client's locale. + * + * For example, in JavaScript you could use Intl.NumberFormat: + * + * ```js + * new Intl.NumberFormat(locale, { + * style: 'currency', + * currency: currencyCode + * }).format(amount); + * ``` + * + * Other formatting libraries include: + * + * * iOS - [NumberFormatter](https://developer.apple.com/documentation/foundation/numberformatter) + * * Android - [NumberFormat](https://developer.android.com/reference/java/text/NumberFormat.html) + * * PHP - [NumberFormatter](http://php.net/manual/en/class.numberformatter.php) + * + * For a more general solution, the [Unicode CLDR number formatting database] is available with many implementations + * (such as [TwitterCldr](https://github.com/twitter/twitter-cldr-rb)). + * + */ + export interface MoneyV2 { /** - * Bermudian Dollar (BMD). + * Decimal money amount. */ - BMD = 'BMD', + amount: Decimal; /** - * Bhutanese Ngultrum (BTN). + * Currency of the money. + */ + currencyCode: CurrencyCode; + } + + /** + * A signed decimal number, which supports arbitrary precision and is serialized as a string. Example value: `"29.99"`. + */ + export type Decimal = any; + + /** + * Currency codes. + */ + export const enum CurrencyCode { + + /** + * United States Dollars (USD). + */ + USD = 'USD', + + /** + * Euro (EUR). + */ + EUR = 'EUR', + + /** + * United Kingdom Pounds (GBP). + */ + GBP = 'GBP', + + /** + * Canadian Dollars (CAD). + */ + CAD = 'CAD', + + /** + * Afghan Afghani (AFN). + */ + AFN = 'AFN', + + /** + * Albanian Lek (ALL). + */ + ALL = 'ALL', + + /** + * Algerian Dinar (DZD). + */ + DZD = 'DZD', + + /** + * Angolan Kwanza (AOA). + */ + AOA = 'AOA', + + /** + * Argentine Pesos (ARS). + */ + ARS = 'ARS', + + /** + * Armenian Dram (AMD). + */ + AMD = 'AMD', + + /** + * Aruban Florin (AWG). + */ + AWG = 'AWG', + + /** + * Australian Dollars (AUD). + */ + AUD = 'AUD', + + /** + * Barbadian Dollar (BBD). + */ + BBD = 'BBD', + + /** + * Azerbaijani Manat (AZN). + */ + AZN = 'AZN', + + /** + * Bangladesh Taka (BDT). + */ + BDT = 'BDT', + + /** + * Bahamian Dollar (BSD). + */ + BSD = 'BSD', + + /** + * Bahraini Dinar (BHD). + */ + BHD = 'BHD', + + /** + * Burundian Franc (BIF). + */ + BIF = 'BIF', + + /** + * Belarusian Ruble (BYR). + * @deprecated `BYR` is deprecated. Use `BYN` available from version `2019-10` onwards instead. + */ + BYR = 'BYR', + + /** + * Belize Dollar (BZD). + */ + BZD = 'BZD', + + /** + * Bermudian Dollar (BMD). + */ + BMD = 'BMD', + + /** + * Bhutanese Ngultrum (BTN). */ BTN = 'BTN', @@ -1990,38 +2532,63 @@ export type Money = any; ZMW = 'ZMW' } - export interface MetafieldConnection { + /** + * Interval for which pricing details are applied. + */ + export const enum AppPricingInterval { /** - * A list of edges. + * App plan pricing details are applied every 30 days. + */ + EVERY_30_DAYS = 'EVERY_30_DAYS' + } + + /** + * Price charged every interval. + */ + export interface AppRecurringPricing { + + /** + * Specifies the number of days in a billing cycle of the app subscription. */ - edges: Array; + interval: AppPricingInterval; /** - * Information to aid in pagination. + * The amount to be charged to the store every billing interval. */ - pageInfo: PageInfo; + price: MoneyV2; } - export interface MetafieldEdge { + /** + * The set of valid sort keys for the AppUsageRecord query. + */ + export const enum AppUsageRecordSortKeys { /** - * A cursor for use in pagination. + * Sort by the `created_at` value. */ - cursor: string; + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', /** - * The item at the end of MetafieldEdge. + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * */ - node: Metafield; + RELEVANCE = 'RELEVANCE' } - export interface ProductVariantPricePairConnection { + export interface AppUsageRecordConnection { /** * A list of edges. */ - edges: Array; + edges: Array; /** * Information to aid in pagination. @@ -2029,7 +2596,7 @@ export type Money = any; pageInfo: PageInfo; } - export interface ProductVariantPricePairEdge { + export interface AppUsageRecordEdge { /** * A cursor for use in pagination. @@ -2037,341 +2604,330 @@ export type Money = any; cursor: string; /** - * The item at the end of ProductVariantPricePairEdge. + * The item at the end of AppUsageRecordEdge. */ - node: ProductVariantPricePair; + node: AppUsageRecord; } /** - * The compare-at price and price of a variant sharing a currency. - * + * Store usage for app subscriptions with usage pricing. */ - export interface ProductVariantPricePair { + export interface AppUsageRecord extends Node { /** - * The compare-at price of the variant with associated currency. - */ - compareAtPrice?: MoneyV2; - - /** - * The price of the variant with associated currency. + * The date and time when the usage record was created. */ - price: MoneyV2; - } - - export interface MoneyV2Connection { + createdAt: DateTime; /** - * A list of edges. + * The description of the app usage record. */ - edges: Array; + description: string; /** - * Information to aid in pagination. + * Globally unique identifier. */ - pageInfo: PageInfo; - } - - export interface MoneyV2Edge { + id: string; /** - * A cursor for use in pagination. + * The price of the usage record. The only permitted currency code is USD. */ - cursor: string; + price: MoneyV2; /** - * The item at the end of MoneyV2Edge. + * Defines the usage pricing plan the merchant is subscribed to. */ - node: MoneyV2; + subscriptionLineItem: AppSubscriptionLineItem; } /** - * Custom properties that a shop owner can use to define product variants. - * Multiple options can exist. Options are represented as: option1, option2, option3, etc. - * + * The status of the app subscription. */ - export interface SelectedOption { + export const enum AppSubscriptionStatus { /** - * The product option’s name. + * The app subscription is pending approval by the merchant. */ - name: string; + PENDING = 'PENDING', /** - * The product option’s value. + * The app subscription has been approved by the merchant and is ready to be activated by the app. App subscriptions created through the GraphQL Admin API are activated upon approval. */ - value: string; - } - - /** - * The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml). - * - */ - export interface UnitPriceMeasurement { + ACCEPTED = 'ACCEPTED', /** - * The type of unit of measurement for the unit price measurement. + * The app subscription has been activated by the app. Active app subscriptions are charged to the store and partners recieve payouts for active app subscriptions. */ - measuredType?: UnitPriceMeasurementMeasuredType; + ACTIVE = 'ACTIVE', /** - * The quantity unit for the unit price measurement. + * The app subscription was declined by the merchant. */ - quantityUnit?: UnitPriceMeasurementMeasuredUnit; + DECLINED = 'DECLINED', /** - * The quantity value for the unit price measurement. + * The app subscription was not accepted within 2 days of being created. */ - quantityValue: number; + EXPIRED = 'EXPIRED', /** - * The reference unit for the unit price measurement. + * The app subscription is on hold due to a store subscription non-payment. The charge will re-activate once subscription payments resume. */ - referenceUnit?: UnitPriceMeasurementMeasuredUnit; + FROZEN = 'FROZEN', /** - * The reference value for the unit price measurement. + * The app subscription was cancelled by the app. */ - referenceValue: number; + CANCELLED = 'CANCELLED' } /** - * The accepted types of unit of measurement. + * The set of valid sort keys for the AppSubscription query. */ - export const enum UnitPriceMeasurementMeasuredType { + export const enum AppSubscriptionSortKeys { + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', /** - * Unit of measurements representing volumes. + * Sort by the `id` value. */ - VOLUME = 'VOLUME', + ID = 'ID', /** - * Unit of measurements representing weights. + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * */ - WEIGHT = 'WEIGHT', + RELEVANCE = 'RELEVANCE' + } + + export interface AppSubscriptionConnection { /** - * Unit of measurements representing lengths. + * A list of edges. */ - LENGTH = 'LENGTH', + edges: Array; /** - * Unit of measurements representing areas. + * Information to aid in pagination. */ - AREA = 'AREA' + pageInfo: PageInfo; } - /** - * The valid units of measurement for a unit price measurement. - */ - export const enum UnitPriceMeasurementMeasuredUnit { + export interface AppSubscriptionEdge { /** - * 1000 milliliters equals 1 liter. + * A cursor for use in pagination. */ - ML = 'ML', + cursor: string; /** - * 100 centiliters equals 1 liter. + * The item at the end of AppSubscriptionEdge. */ - CL = 'CL', + node: AppSubscription; + } + + /** + * A channel is a group of products and collections that is published to an app. A channel can be a platform or marketplace such + * as Facebook or Pinterest, an online store, or POS. + * + */ + export interface Channel extends Node { /** - * Metric system unit of volume. + * Underlying app used by the channel. */ - L = 'L', + app: App; /** - * 1 cubic meter equals 1000 liters. + * The collection publications for the list of collections published to the channel. */ - M3 = 'M3', + collectionPublicationsV3: ResourcePublicationConnection; /** - * 1000 milligrams equals 1 gram. + * The list of collections published to the channel. */ - MG = 'MG', + collections: CollectionConnection; /** - * Metric system unit of weight. + * Unique identifier for the channel. + * @deprecated Use `id` instead */ - G = 'G', + handle: string; /** - * 1 kilogram equals 1000 grams. + * Whether the collection is available to the channel. */ - KG = 'KG', + hasCollection: boolean; /** - * 1000 millimeters equals 1 meter. + * Globally unique identifier. */ - MM = 'MM', + id: string; /** - * 100 centimeters equals 1 meter. + * Name of the channel. */ - CM = 'CM', + name: string; /** - * Metric system unit of length. + * Menu items for the channel, which also appear as submenu items in left navigation sidebar in the Shopify admin. + * + * @deprecated Use App.navigationItems instead */ - M = 'M', + navigationItems: Array; /** - * Metric system unit of area. + * Home page for the channel. + * @deprecated Use App.launchUrl instead */ - M2 = 'M2' - } - - /** - * Units of measurement for weight. - */ - export const enum WeightUnit { + overviewPath?: URL; /** - * 1 kilogram equals 1000 grams. + * The product publications for the products published to the channel. + * @deprecated Use `productPublicationsV3` instead */ - KILOGRAMS = 'KILOGRAMS', + productPublications: ProductPublicationConnection; /** - * Metric system unit of mass. + * The product publications for the list of products published to the channel. */ - GRAMS = 'GRAMS', + productPublicationsV3: ResourcePublicationConnection; /** - * 1 pound equals 16 ounces. + * The list of products published to the channel. */ - POUNDS = 'POUNDS', + products: ProductConnection; /** - * Imperial system unit of mass. + * Whether or not this channel supports future publishing. */ - OUNCES = 'OUNCES' + supportsFuturePublishing: boolean; } - /** - * Metafield value types. - */ - export const enum MetafieldValueType { + export interface ResourcePublicationConnection { /** - * A string metafield. + * A list of edges. */ - STRING = 'STRING', + edges: Array; /** - * An integer metafield. + * Information to aid in pagination. */ - INTEGER = 'INTEGER', - - /** - * A json string metafield. - */ - JSON_STRING = 'JSON_STRING' + pageInfo: PageInfo; } - export interface CollectionConnection { + export interface ResourcePublicationEdge { /** - * A list of edges. + * A cursor for use in pagination. */ - edges: Array; + cursor: string; /** - * Information to aid in pagination. + * The item at the end of ResourcePublicationEdge. */ - pageInfo: PageInfo; + node: ResourcePublication; } - export interface CollectionEdge { + /** + * A resource publication represents that a resource has been published to a publication. + */ + export interface ResourcePublication { /** - * A cursor for use in pagination. + * The channel the resource publication is published to. + * @deprecated Use `publication` instead */ - cursor: string; + channel: Channel; /** - * The item at the end of CollectionEdge. + * Whether the resource publication is published. Also returns true if the resource publication is scheduled to be published. + * If false, then the resource publication is neither published nor scheduled to be published. + * */ - node: Collection; - } - - /** - * The price range of the product. - */ - export interface ProductPriceRange { + isPublished: boolean; /** - * The highest variant's price. + * The publication the resource publication is published to. */ - maxVariantPrice: MoneyV2; + publication: Publication; /** - * The lowest variant's price. + * The date that the resource publication was or is going to be published to the publication. */ - minVariantPrice: MoneyV2; + publishDate: DateTime; + + /** + * The resource published to the publication. + */ + publishable: Publishable; } /** - * The set of valid sort keys for the ProductImage query. + * A publication is a group of products and collections that is published to an app. A publication can be a platform or marketplace such + * as Facebook or Pinterest, an online store, or POS. + * */ - export const enum ProductImageSortKeys { + export interface Publication extends Node { /** - * Sort by the `created_at` value. + * The app associated with the publication. */ - CREATED_AT = 'CREATED_AT', + app: App; /** - * Sort by the `position` value. + * The collection publications for the list of collections published to the publication. */ - POSITION = 'POSITION', + collectionPublicationsV3: ResourcePublicationConnection; /** - * Sort by the `id` value. + * The list of collections published to the publication. */ - ID = 'ID', + collections: CollectionConnection; /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. - * + * Whether the collection is available to the publication. */ - RELEVANCE = 'RELEVANCE' - } - - export interface ImageConnection { + hasCollection: boolean; /** - * A list of edges. + * Globally unique identifier. */ - edges: Array; + id: string; /** - * Information to aid in pagination. + * Name of the publication. */ - pageInfo: PageInfo; - } - - export interface ImageEdge { + name: string; /** - * A cursor for use in pagination. + * The product publications for the list of products published to the publication. */ - cursor: string; + productPublicationsV3: ResourcePublicationConnection; /** - * The item at the end of ImageEdge. + * The list of products published to the publication. */ - node: Image; + products: ProductConnection; + + /** + * Whether or not this publication supports future publishing. + */ + supportsFuturePublishing: boolean; } - export interface MediaConnection { + export interface CollectionConnection { /** * A list of edges. */ - edges: Array; + edges: Array; /** * Information to aid in pagination. @@ -2379,7 +2935,7 @@ export type Money = any; pageInfo: PageInfo; } - export interface MediaEdge { + export interface CollectionEdge { /** * A cursor for use in pagination. @@ -2387,313 +2943,277 @@ export type Money = any; cursor: string; /** - * The item at the end of MediaEdge. + * The item at the end of CollectionEdge. */ - node: Media; + node: Collection; } /** - * Represents a media interface. + * Represents a collection of products. + * */ - export interface Media { + export interface Collection extends HasMetafields, Node, Publishable, HasPublishedTranslations { /** - * A word or phrase to share the nature or contents of a media. + * The number of publications a resource is published to without feedback errors. */ - alt?: string; + availablePublicationCount: number; /** - * The media content type. + * The stripped description of the collection, in a single line with HTML tags removed. */ - mediaContentType: MediaContentType; + description: string; /** - * The preview image for the media. + * The description of the collection, complete with HTML formatting. */ - previewImage?: Image; - } - - /** Use this to resolve interface type Media */ - export type PossibleMediaTypeNames = - 'ExternalVideo' | - 'MediaImage' | - 'Model3d' | - 'Video'; - - export interface MediaNameMap { - Media: Media; - ExternalVideo: ExternalVideo; - MediaImage: MediaImage; - Model3d: Model3d; - Video: Video; - } - - /** - * The possible content types for a media object. - */ - export const enum MediaContentType { + descriptionHtml: HTML; /** - * An externally hosted video. + * Information about the collection that's provided through resource feedback. */ - EXTERNAL_VIDEO = 'EXTERNAL_VIDEO', + feedback?: ResourceFeedback; /** - * A Shopify hosted image. + * A unique human-friendly string for the collection. Automatically generated from the collection's title. + * */ - IMAGE = 'IMAGE', + handle: string; /** - * A 3d model. + * Whether the collection includes a product. */ - MODEL_3D = 'MODEL_3D', + hasProduct: boolean; /** - * A Shopify hosted video. + * Globally unique identifier. */ - VIDEO = 'VIDEO' - } - - /** - * Custom product property names like "Size", "Color", and "Material". - * Products are based on permutations of these options. - * A product may have a maximum of 3 options. - * 255 characters limit each. - * - */ - export interface ProductOption extends Node { + id: string; /** - * Globally unique identifier. + * The image associated with the collection. */ - id: string; + image?: Image; /** - * The product option’s name. + * The metafield associated with the resource. */ - name: string; + metafield?: Metafield; /** - * The corresponding value to the product option name. + * A paginated list of metafields associated with the resource. */ - values: Array; - } - - export interface ProductPriceRangeConnection { + metafields: MetafieldConnection; /** - * A list of edges. + * Returns a private metafield found by namespace and key. */ - edges: Array; + privateMetafield?: PrivateMetafield; /** - * Information to aid in pagination. + * List of private metafields. */ - pageInfo: PageInfo; - } - - export interface ProductPriceRangeEdge { + privateMetafields: PrivateMetafieldConnection; /** - * A cursor for use in pagination. + * The products that are included in the collection. */ - cursor: string; + products: ProductConnection; /** - * The item at the end of ProductPriceRangeEdge. + * The number of products included in the collection. */ - node: ProductPriceRange; - } - - /** - * Specifies the input fields required for a selected option. - */ - export interface SelectedOptionInput { + productsCount: number; /** - * The product option’s name. + * The number of publications a resource is published on. */ - name: string; + publicationCount: number; /** - * The product option’s value. + * The channels where the collection is published. + * @deprecated Use `resourcePublications` instead */ - value: string; - } - - /** - * The set of valid sort keys for the ProductVariant query. - */ - export const enum ProductVariantSortKeys { + publications: CollectionPublicationConnection; /** - * Sort by the `title` value. + * Check to see whether the resource is published to a given channel. + * @deprecated Use `publishedOnPublication` instead */ - TITLE = 'TITLE', + publishedOnChannel: boolean; /** - * Sort by the `sku` value. + * Check to see whether the resource is published to the calling app's channel. + * @deprecated Use `publishedOnCurrentPublication` instead */ - SKU = 'SKU', + publishedOnCurrentChannel: boolean; /** - * Sort by the `position` value. + * Check to see whether the resource is published to the calling app's publication. */ - POSITION = 'POSITION', + publishedOnCurrentPublication: boolean; /** - * Sort by the `id` value. + * Check to see whether the resource is published to a given publication. */ - ID = 'ID', + publishedOnPublication: boolean; /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. + * The list of resources that are published to a publication. + */ + resourcePublications: ResourcePublicationConnection; + + /** + * The rules used to assign products to the collection. This applies only to smart collections. * */ - RELEVANCE = 'RELEVANCE' - } - - export interface ProductVariantConnection { + ruleSet?: CollectionRuleSet; /** - * A list of edges. + * SEO information for the collection. */ - edges: Array; + seo: SEO; /** - * Information to aid in pagination. + * The order in which the collection's products are sorted. */ - pageInfo: PageInfo; - } - - export interface ProductVariantEdge { + sortOrder: CollectionSortOrder; /** - * A cursor for use in pagination. + * The storefront ID of the collection. */ - cursor: string; + storefrontId: StorefrontID; /** - * The item at the end of ProductVariantEdge. + * The theme template used when viewing this collection in a store. */ - node: ProductVariant; - } - - /** - * The set of valid sort keys for the Collection query. - */ - export const enum CollectionSortKeys { + templateSuffix?: string; /** - * Sort by the `title` value. + * The title of the collection. */ - TITLE = 'TITLE', + title: string; /** - * Sort by the `updated_at` value. + * The translations associated with the resource. */ - UPDATED_AT = 'UPDATED_AT', + translations: Array; /** - * Sort by the `id` value. + * The list of channels that the resource is not published to. + * @deprecated Use `unpublishedPublications` instead */ - ID = 'ID', + unpublishedChannels: ChannelConnection; /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. + * The list of publications that the resource is not published to. + */ + unpublishedPublications: PublicationConnection; + + /** + * The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the collection was last modified. * */ - RELEVANCE = 'RELEVANCE' + updatedAt: 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. + * Represents a resource that can be published to a channel. + * A publishable resource can be either a Product or Collection. + * */ - export interface Customer { - - /** - * Indicates whether the customer has consented to be sent marketing material via email. - */ - acceptsMarketing: boolean; + export interface Publishable { /** - * A list of addresses for the customer. + * The number of publications a resource is published to without feedback errors. */ - addresses: MailingAddressConnection; + availablePublicationCount: number; /** - * The date and time when the customer was created. + * The number of publications a resource is published on. */ - createdAt: DateTime; + publicationCount: number; /** - * The customer’s default address. + * Check to see whether the resource is published to a given channel. + * @deprecated Use `publishedOnPublication` instead */ - defaultAddress?: MailingAddress; + publishedOnChannel: boolean; /** - * The customer’s name, email or phone number. + * Check to see whether the resource is published to the calling app's channel. + * @deprecated Use `publishedOnCurrentPublication` instead */ - displayName: string; + publishedOnCurrentChannel: boolean; /** - * The customer’s email address. + * Check to see whether the resource is published to the calling app's publication. */ - email?: string; + publishedOnCurrentPublication: boolean; /** - * The customer’s first name. + * Check to see whether the resource is published to a given publication. */ - firstName?: string; + publishedOnPublication: boolean; /** - * A unique identifier for the customer. + * The list of resources that are published to a publication. */ - id: string; + resourcePublications: ResourcePublicationConnection; /** - * The customer's most recently updated, incomplete checkout. + * The list of channels that the resource is not published to. + * @deprecated Use `unpublishedPublications` instead */ - lastIncompleteCheckout?: Checkout; + unpublishedChannels: ChannelConnection; /** - * The customer’s last name. + * The list of publications that the resource is not published to. */ - lastName?: string; + unpublishedPublications: PublicationConnection; + } + + /** Use this to resolve interface type Publishable */ + export type PossiblePublishableTypeNames = 'Collection' | 'Product'; + + export interface PublishableNameMap { + Publishable: Publishable; + Collection: Collection; + Product: Product; + } + + export interface ChannelConnection { /** - * The orders associated with the customer. + * A list of edges. */ - orders: OrderConnection; + edges: Array; /** - * The customer’s phone number. + * Information to aid in pagination. */ - phone?: string; + pageInfo: PageInfo; + } + + export interface ChannelEdge { /** - * A list of tags assigned to the customer. - * Additional access scope required: unauthenticated_read_customer_tags. - * + * A cursor for use in pagination. */ - tags: Array; + cursor: string; /** - * The date and time when the customer information was updated. + * The item at the end of ChannelEdge. */ - updatedAt: DateTime; + node: Channel; } - export interface MailingAddressConnection { + export interface PublicationConnection { /** * A list of edges. */ - edges: Array; + edges: Array; /** * Information to aid in pagination. @@ -2701,7 +3221,7 @@ export type Money = any; pageInfo: PageInfo; } - export interface MailingAddressEdge { + export interface PublicationEdge { /** * A cursor for use in pagination. @@ -2709,9801 +3229,41553 @@ export type Money = any; cursor: string; /** - * The item at the end of MailingAddressEdge. + * The item at the end of PublicationEdge. */ - node: MailingAddress; + node: Publication; } /** - * Represents a mailing address for customers and shipping. + * A string containing HTML code. Example value: `"

Grey cotton knit sweater.

"`. */ - export interface MailingAddress extends Node { + export type HTML = any; + + /** + * Represents feedback from apps about a resource, and the steps required to set up the apps on the shop. + * + */ + export interface ResourceFeedback { /** - * The first line of the address. Typically the street address or PO Box number. - * + * Feedback from an app about the steps a merchant needs to take to set up the app on their store. + * @deprecated Use `details` instead */ - address1?: string; + appFeedback: Array; /** - * The second line of the address. Typically the number of the apartment, suite, or unit. - * + * List of AppFeedback detailing issues regarding a resource. */ - address2?: string; + details: Array; /** - * The name of the city, district, village, or town. - * + * Summary of resource feedback pertaining to the resource. */ - city?: string; + summary: string; + } + + /** + * The set of valid sort keys for the ProductCollection query. + */ + export const enum ProductCollectionSortKeys { /** - * The name of the customer's company or organization. - * + * Sort by the `title` value. */ - company?: string; + TITLE = 'TITLE', /** - * The name of the country. - * + * Sort by the `price` value. */ - country?: string; + PRICE = 'PRICE', /** - * The two-letter code for the country of the address. - * - * For example, US. - * - * @deprecated Use `countryCodeV2` instead + * Sort by the `best-selling` value. */ - countryCode?: string; + BEST_SELLING = 'BEST_SELLING', /** - * The two-letter code for the country of the address. - * - * For example, US. - * + * Sort by the `created` value. */ - countryCodeV2?: CountryCode; + CREATED = 'CREATED', /** - * The first name of the customer. + * Sort by the `id` value. */ - firstName?: string; + ID = 'ID', /** - * A formatted version of the address, customized by the provided arguments. + * Sort by the `manual` value. */ - formatted: Array; + MANUAL = 'MANUAL', /** - * A comma-separated list of the values for city, province, and country. + * Sort by the `collection-default` value. */ - formattedArea?: string; + COLLECTION_DEFAULT = 'COLLECTION_DEFAULT', /** - * Globally unique identifier. + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * */ - id: string; + RELEVANCE = 'RELEVANCE' + } + + export interface ProductConnection { /** - * The last name of the customer. + * A list of edges. */ - lastName?: string; + edges: Array; /** - * The latitude coordinate of the customer address. + * Information to aid in pagination. */ - latitude?: number; + pageInfo: PageInfo; + } + + export interface ProductEdge { /** - * The longitude coordinate of the customer address. + * A cursor for use in pagination. */ - longitude?: number; + cursor: string; /** - * The full name of the customer, based on firstName and lastName. - * + * The item at the end of ProductEdge. */ - name?: string; + node: Product; + } + + /** + * Represents a product, including information about related collections and product variants. + */ + export interface Product extends Node, Navigable, HasMetafields, HasPublishedTranslations, Publishable, OnlineStorePreviewable, LegacyInteroperability { /** - * A unique phone number for the customer. - * - * Formatted using E.164 standard. For example, _+16135551111_. - * + * The number of publications a resource is published to without feedback errors. */ - phone?: string; + availablePublicationCount: number; /** - * The region of the address, such as the province, state, or district. + * The description of the product, complete with HTML formatting. + * @deprecated Use `descriptionHtml` instead */ - province?: string; + bodyHtml?: string; /** - * The two-letter code for the region. - * - * For example, ON. - * + * A list of the collections that include the product. */ - provinceCode?: string; + collections: CollectionConnection; /** - * The zip or postal code of the address. + * The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the product was created. + * */ - zip?: string; - } - - /** - * ISO 3166-1 alpha-2 country codes with some differences. - */ - export const enum CountryCode { + createdAt: DateTime; /** - * Afghanistan. + * A default cursor for use in pagination. */ - AF = 'AF', + defaultCursor: string; /** - * Aland Islands. + * A stripped description of the product, single line with HTML tags removed. */ - AX = 'AX', + description: string; /** - * Albania. + * The description of the product, complete with HTML formatting. */ - AL = 'AL', + descriptionHtml: HTML; /** - * Algeria. + * Stripped description of the product, single line with HTML tags removed. + * Truncated to 60 characters. + * + * @deprecated Use `description` instead */ - DZ = 'DZ', + descriptionPlainSummary: string; /** - * Andorra. + * The featured image for the product. */ - AD = 'AD', + featuredImage?: Image; /** - * Angola. + * The featured media for the product. */ - AO = 'AO', + featuredMedia?: Media; /** - * Anguilla. + * Information about the product that's provided through resource feedback. */ - AI = 'AI', + feedback?: ResourceFeedback; /** - * Antigua And Barbuda. + * The theme template used when viewing the gift card in a store. */ - AG = 'AG', + giftCardTemplateSuffix?: string; /** - * Argentina. + * A unique human-friendly string of the product's title. */ - AR = 'AR', + handle: string; /** - * Armenia. + * Whether the product has only a single variant with the default option and value. */ - AM = 'AM', + hasOnlyDefaultVariant: boolean; /** - * Aruba. + * Whether the product has out of stock variants. */ - AW = 'AW', + hasOutOfStockVariants: boolean; /** - * Australia. + * Globally unique identifier. */ - AU = 'AU', + id: string; /** - * Austria. + * The images associated with the product. */ - AT = 'AT', + images: ImageConnection; /** - * Azerbaijan. + * Whether the product is in a given collection. */ - AZ = 'AZ', + inCollection: boolean; /** - * Bahamas. + * Whether the product is a gift card. */ - BS = 'BS', + isGiftCard: boolean; /** - * Bahrain. + * The ID of the corresponding resource in the REST Admin API. */ - BH = 'BH', + legacyResourceId: UnsignedInt64; /** - * Bangladesh. + * The media associated with the product. */ - BD = 'BD', + media: MediaConnection; /** - * Barbados. + * Total count of media belonging to a product. */ - BB = 'BB', + mediaCount: number; /** - * Belarus. + * The metafield associated with the resource. */ - BY = 'BY', + metafield?: Metafield; /** - * Belgium. + * A paginated list of metafields associated with the resource. */ - BE = 'BE', + metafields: MetafieldConnection; /** - * Belize. + * The online store preview URL. */ - BZ = 'BZ', + onlineStorePreviewUrl?: URL; /** - * Benin. + * The online store URL for the product. + * A value of `null` indicates that the product is not published to the Online Store sales channel. + * */ - BJ = 'BJ', + onlineStoreUrl?: URL; /** - * Bermuda. + * A list of custom product options (maximum of 3 per product). */ - BM = 'BM', + options: Array; /** - * Bhutan. + * The price range of the product. */ - BT = 'BT', + priceRange: ProductPriceRange; /** - * Bolivia. + * Returns a private metafield found by namespace and key. */ - BO = 'BO', + privateMetafield?: PrivateMetafield; /** - * Bosnia And Herzegovina. + * List of private metafields. */ - BA = 'BA', + privateMetafields: PrivateMetafieldConnection; /** - * Botswana. + * A list of the channels where the product is published. + * @deprecated Use `resourcePublications` instead */ - BW = 'BW', + productPublications: ProductPublicationConnection; /** - * Bouvet Island. + * The product type specified by the merchant. */ - BV = 'BV', + productType: string; /** - * Brazil. + * The number of publications a resource is published on. */ - BR = 'BR', + publicationCount: number; /** - * British Indian Ocean Territory. + * A list of the channels where the product is published. + * @deprecated Use `resourcePublications` instead */ - IO = 'IO', + publications: ProductPublicationConnection; /** - * Brunei. + * The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the product was published to the Online Store. + * */ - BN = 'BN', + publishedAt?: DateTime; /** - * Bulgaria. + * Check to see whether the resource is published to a given channel. + * @deprecated Use `publishedOnPublication` instead */ - BG = 'BG', + publishedOnChannel: boolean; /** - * Burkina Faso. + * Check to see whether the resource is published to the calling app's channel. + * @deprecated Use `publishedOnCurrentPublication` instead */ - BF = 'BF', + publishedOnCurrentChannel: boolean; /** - * Burundi. + * Check to see whether the resource is published to the calling app's publication. */ - BI = 'BI', + publishedOnCurrentPublication: boolean; /** - * Cambodia. + * Check to see whether the resource is published to a given publication. */ - KH = 'KH', + publishedOnPublication: boolean; /** - * Canada. + * The list of resources that are published to a publication. */ - CA = 'CA', + resourcePublications: ResourcePublicationConnection; /** - * Cape Verde. + * SEO information of the product. */ - CV = 'CV', + seo: SEO; /** - * Caribbean Netherlands. + * The storefront ID of the product. */ - BQ = 'BQ', + storefrontId: StorefrontID; /** - * Cayman Islands. + * A list of the tags that have been added to the product. */ - KY = 'KY', + tags: Array; /** - * Central African Republic. + * The theme template used when viewing the product in a store. */ - CF = 'CF', + templateSuffix?: string; /** - * Chad. + * The title of the product. */ - TD = 'TD', + title: string; /** - * Chile. + * The quantity of inventory in stock. */ - CL = 'CL', + totalInventory: number; /** - * China. + * The number of variants that are associated with the product. */ - CN = 'CN', + totalVariants: number; /** - * Christmas Island. + * Whether inventory tracking has been enabled for the product. */ - CX = 'CX', + tracksInventory: boolean; /** - * Cocos (Keeling) Islands. + * The translations associated with the resource. */ - CC = 'CC', + translations: Array; /** - * Colombia. + * The list of channels that the resource is not published to. + * @deprecated Use `unpublishedPublications` instead */ - CO = 'CO', + unpublishedChannels: ChannelConnection; /** - * Comoros. + * The list of publications that the resource is not published to. */ - KM = 'KM', + unpublishedPublications: PublicationConnection; /** - * Congo. + * The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the product was last modified. + * */ - CG = 'CG', + updatedAt: DateTime; /** - * Congo, The Democratic Republic Of The. + * A list of variants associated with the product. */ - CD = 'CD', + variants: ProductVariantConnection; /** - * Cook Islands. + * The name of the product's vendor. */ - CK = 'CK', + vendor: string; + } + + /** + * A default cursor for use in pagination. + * The default cursor can be used for next and previous navigation. + * + */ + export interface Navigable { /** - * Costa Rica. + * A default cursor for use in pagination. */ - CR = 'CR', + defaultCursor: string; + } + + /** Use this to resolve interface type Navigable */ + export type PossibleNavigableTypeNames = + 'Product' | + 'ProductVariant' | + 'OnlineStoreArticle' | + 'OnlineStorePage'; + + export interface NavigableNameMap { + Navigable: Navigable; + Product: Product; + ProductVariant: ProductVariant; + OnlineStoreArticle: OnlineStoreArticle; + OnlineStorePage: OnlineStorePage; + } + + /** + * Online Store preview URL of the object. + */ + export interface OnlineStorePreviewable { /** - * Croatia. + * The online store preview URL. */ - HR = 'HR', + onlineStorePreviewUrl?: URL; + } + + /** Use this to resolve interface type OnlineStorePreviewable */ + export type PossibleOnlineStorePreviewableTypeNames = 'Product'; + + export interface OnlineStorePreviewableNameMap { + OnlineStorePreviewable: OnlineStorePreviewable; + Product: Product; + } + + /** + * The set of valid sort keys for the Collection query. + */ + export const enum CollectionSortKeys { /** - * Cuba. + * Sort by the `title` value. */ - CU = 'CU', + TITLE = 'TITLE', /** - * Curaçao. + * Sort by the `updated_at` value. */ - CW = 'CW', + UPDATED_AT = 'UPDATED_AT', /** - * Cyprus. + * Sort by the `id` value. */ - CY = 'CY', + ID = 'ID', /** - * Czech Republic. + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * */ - CZ = 'CZ', + RELEVANCE = 'RELEVANCE' + } + + /** + * Represents a media interface. + */ + export interface Media { /** - * Côte d'Ivoire. + * A word or phrase to share the nature or contents of a media. */ - CI = 'CI', + alt?: string; /** - * Denmark. + * The media content type. */ - DK = 'DK', + mediaContentType: MediaContentType; /** - * Djibouti. + * Any errors which have occurred on the media. */ - DJ = 'DJ', + mediaErrors: Array; /** - * Dominica. + * The preview image for the media. */ - DM = 'DM', + preview?: MediaPreviewImage; /** - * Dominican Republic. + * Current status of the media. */ - DO = 'DO', + status: MediaStatus; + } + + /** Use this to resolve interface type Media */ + export type PossibleMediaTypeNames = + 'ExternalVideo' | + 'MediaImage' | + 'Model3d' | + 'Video'; + + export interface MediaNameMap { + Media: Media; + ExternalVideo: ExternalVideo; + MediaImage: MediaImage; + Model3d: Model3d; + Video: Video; + } + + /** + * The possible content types for a media object. + */ + export const enum MediaContentType { /** - * Ecuador. + * A Shopify hosted video. */ - EC = 'EC', + VIDEO = 'VIDEO', /** - * Egypt. + * An externally hosted video. */ - EG = 'EG', + EXTERNAL_VIDEO = 'EXTERNAL_VIDEO', /** - * El Salvador. + * A 3d model. */ - SV = 'SV', + MODEL_3D = 'MODEL_3D', /** - * Equatorial Guinea. + * A Shopify hosted image. */ - GQ = 'GQ', + IMAGE = 'IMAGE' + } + + /** + * Represents a media error. + * + */ + export interface MediaError { /** - * Eritrea. + * Code representing the type of error. */ - ER = 'ER', + code: MediaErrorCode; /** - * Estonia. + * Additional details regarding the error. */ - EE = 'EE', + details?: string; /** - * Eswatini. + * Translated error message. */ - SZ = 'SZ', + message: string; + } + + /** + * Error types for media. + */ + export const enum MediaErrorCode { /** - * Ethiopia. + * Media error has occured for unknown reason. */ - ET = 'ET', + UNKNOWN = 'UNKNOWN', /** - * Falkland Islands (Malvinas). + * Media could not be processed because the signed url was invalid. */ - FK = 'FK', + INVALID_SIGNED_URL = 'INVALID_SIGNED_URL', /** - * Faroe Islands. + * Media could not be processed because the image could not be downloaded. */ - FO = 'FO', + IMAGE_DOWNLOAD_FAILURE = 'IMAGE_DOWNLOAD_FAILURE', /** - * Fiji. + * Media could not be processed because the image could not be processed. */ - FJ = 'FJ', + IMAGE_PROCESSING_FAILURE = 'IMAGE_PROCESSING_FAILURE', /** - * Finland. + * Media timed out because it is currently being modified by another operation. */ - FI = 'FI', + MEDIA_TIMEOUT_ERROR = 'MEDIA_TIMEOUT_ERROR', /** - * France. + * Media could not be created because the external video could not be found. */ - FR = 'FR', + EXTERNAL_VIDEO_NOT_FOUND = 'EXTERNAL_VIDEO_NOT_FOUND', /** - * French Guiana. + * Media could not be created because the external video is not listed or is private. */ - GF = 'GF', + EXTERNAL_VIDEO_UNLISTED = 'EXTERNAL_VIDEO_UNLISTED', /** - * French Polynesia. + * Media could not be created because the external video has an invalid aspect ratio. */ - PF = 'PF', + EXTERNAL_VIDEO_INVALID_ASPECT_RATIO = 'EXTERNAL_VIDEO_INVALID_ASPECT_RATIO', /** - * French Southern Territories. + * Video failed validation. */ - TF = 'TF', + VIDEO_VALIDATION_ERROR = 'VIDEO_VALIDATION_ERROR', /** - * Gabon. + * Model failed validation. */ - GA = 'GA', + MODEL3D_VALIDATION_ERROR = 'MODEL3D_VALIDATION_ERROR' + } + + /** + * Represents the preview image for a media. + */ + export interface MediaPreviewImage { /** - * Gambia. + * The preview image for the media. */ - GM = 'GM', + image?: Image; /** - * Georgia. + * Current status of the preview image. */ - GE = 'GE', + status: MediaPreviewImageStatus; + } + + /** + * The possible statuses for a media preview image. + */ + export const enum MediaPreviewImageStatus { /** - * Germany. + * Preview image is uploaded but not yet processed. */ - DE = 'DE', + UPLOADED = 'UPLOADED', /** - * Ghana. + * Preview image is being processed. */ - GH = 'GH', + PROCESSING = 'PROCESSING', /** - * Gibraltar. + * Preview image is ready to be displayed. */ - GI = 'GI', + READY = 'READY', /** - * Greece. + * Preview image processing has failed. */ - GR = 'GR', + FAILED = 'FAILED' + } + + /** + * The possible statuses for a media object. + */ + export const enum MediaStatus { /** - * Greenland. + * Media has been uploaded but not yet processed. */ - GL = 'GL', + UPLOADED = 'UPLOADED', /** - * Grenada. + * Media is being processed. */ - GD = 'GD', + PROCESSING = 'PROCESSING', /** - * Guadeloupe. + * Media is ready to be displayed. */ - GP = 'GP', + READY = 'READY', /** - * Guatemala. + * Media processing has failed. */ - GT = 'GT', + FAILED = 'FAILED' + } + + /** + * The set of valid sort keys for the ProductImage query. + */ + export const enum ProductImageSortKeys { /** - * Guernsey. + * Sort by the `created_at` value. */ - GG = 'GG', + CREATED_AT = 'CREATED_AT', /** - * Guinea. + * Sort by the `position` value. */ - GN = 'GN', + POSITION = 'POSITION', /** - * Guinea Bissau. + * Sort by the `id` value. */ - GW = 'GW', + ID = 'ID', /** - * Guyana. + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * */ - GY = 'GY', + RELEVANCE = 'RELEVANCE' + } + + export interface ImageConnection { /** - * Haiti. + * A list of edges. */ - HT = 'HT', + edges: Array; /** - * Heard Island And Mcdonald Islands. + * Information to aid in pagination. */ - HM = 'HM', + pageInfo: PageInfo; + } + + export interface ImageEdge { /** - * Holy See (Vatican City State). + * A cursor for use in pagination. */ - VA = 'VA', + cursor: string; /** - * Honduras. + * The item at the end of ImageEdge. */ - HN = 'HN', + node: Image; + } + + /** + * The set of valid sort keys for the ProductMedia query. + */ + export const enum ProductMediaSortKeys { /** - * Hong Kong. + * Sort by the `position` value. */ - HK = 'HK', + POSITION = 'POSITION', /** - * Hungary. + * Sort by the `id` value. */ - HU = 'HU', + ID = 'ID', /** - * Iceland. + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * */ - IS = 'IS', + RELEVANCE = 'RELEVANCE' + } + + export interface MediaConnection { /** - * India. + * A list of edges. */ - IN = 'IN', + edges: Array; /** - * Indonesia. + * Information to aid in pagination. */ - ID = 'ID', + pageInfo: PageInfo; + } + + export interface MediaEdge { /** - * Iran, Islamic Republic Of. + * A cursor for use in pagination. */ - IR = 'IR', + cursor: string; /** - * Iraq. + * The item at the end of MediaEdge. */ - IQ = 'IQ', + node: Media; + } + + /** + * Custom product property names like "Size", "Color", and "Material". + * Products are based on permutations of these options. + * A product may have a maximum of 3 options. + * 255 characters limit each. + * + */ + export interface ProductOption extends Node, HasPublishedTranslations { /** - * Ireland. + * Globally unique identifier. */ - IE = 'IE', + id: string; /** - * Isle Of Man. + * The product option’s name. */ - IM = 'IM', + name: string; /** - * Israel. + * The product option's position. */ - IL = 'IL', + position: number; /** - * Italy. + * The translations associated with the resource. */ - IT = 'IT', + translations: Array; /** - * Jamaica. + * The corresponding value to the product option name. */ - JM = 'JM', + values: Array; + } + + /** + * The price range of the product. + */ + export interface ProductPriceRange { /** - * Japan. + * The highest variant's price. */ - JP = 'JP', + maxVariantPrice: MoneyV2; /** - * Jersey. + * The lowest variant's price. */ - JE = 'JE', + minVariantPrice: MoneyV2; + } + + export interface ProductPublicationConnection { /** - * Jordan. + * A list of edges. */ - JO = 'JO', + edges: Array; /** - * Kazakhstan. + * Information to aid in pagination. */ - KZ = 'KZ', + pageInfo: PageInfo; + } + + export interface ProductPublicationEdge { /** - * Kenya. + * A cursor for use in pagination. */ - KE = 'KE', + cursor: string; /** - * Kiribati. + * The item at the end of ProductPublicationEdge. */ - KI = 'KI', + node: ProductPublication; + } + + /** + * Represents the channels where a product is published. + */ + export interface ProductPublication { /** - * Korea, Democratic People's Republic Of. + * The channel where the product was or is published. */ - KP = 'KP', + channel: Channel; /** - * Kosovo. + * Whether the publication is published or not. */ - XK = 'XK', + isPublished: boolean; /** - * Kuwait. + * The product that was or is going to be published on the channel. */ - KW = 'KW', + product: Product; /** - * Kyrgyzstan. + * The date that the product was or is going to be published on the channel. */ - KG = 'KG', + publishDate?: DateTime; + } + + /** + * SEO information. + */ + export interface SEO { /** - * Lao People's Democratic Republic. + * SEO Description. */ - LA = 'LA', + description?: string; /** - * Latvia. + * SEO Title. */ - LV = 'LV', + title?: string; + } + + /** + * Represents a unique identifier in the Storefront API. A `StorefrontID` value can be used wherever an ID is expected in the Storefront API. + * + * Example value: `"Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzEwMDc5Nzg1MTAw"`. + * + */ + export type StorefrontID = any; + + /** + * The set of valid sort keys for the ProductVariant query. + */ + export const enum ProductVariantSortKeys { /** - * Lebanon. + * Sort by the `title` value. */ - LB = 'LB', + TITLE = 'TITLE', /** - * Lesotho. + * Sort by the `name` value. */ - LS = 'LS', + NAME = 'NAME', /** - * Liberia. + * Sort by the `sku` value. */ - LR = 'LR', + SKU = 'SKU', /** - * Libyan Arab Jamahiriya. + * Sort by the `inventory_quantity` value. */ - LY = 'LY', + INVENTORY_QUANTITY = 'INVENTORY_QUANTITY', /** - * Liechtenstein. + * Sort by the `inventory_management` value. */ - LI = 'LI', + INVENTORY_MANAGEMENT = 'INVENTORY_MANAGEMENT', /** - * Lithuania. + * Sort by the `inventory_levels.available` value. */ - LT = 'LT', + INVENTORY_LEVELS_AVAILABLE = 'INVENTORY_LEVELS_AVAILABLE', /** - * Luxembourg. + * Sort by the `inventory_policy` value. */ - LU = 'LU', + INVENTORY_POLICY = 'INVENTORY_POLICY', /** - * Macao. + * Sort by the `full_title` value. */ - MO = 'MO', + FULL_TITLE = 'FULL_TITLE', /** - * Madagascar. + * Sort by the `popular` value. */ - MG = 'MG', + POPULAR = 'POPULAR', /** - * Malawi. + * Sort by the `position` value. */ - MW = 'MW', + POSITION = 'POSITION', /** - * Malaysia. + * Sort by the `id` value. */ - MY = 'MY', + ID = 'ID', /** - * Maldives. + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * */ - MV = 'MV', + RELEVANCE = 'RELEVANCE' + } + + export interface ProductVariantConnection { /** - * Mali. + * A list of edges. */ - ML = 'ML', + edges: Array; /** - * Malta. + * Information to aid in pagination. */ - MT = 'MT', + pageInfo: PageInfo; + } + + export interface ProductVariantEdge { /** - * Martinique. + * A cursor for use in pagination. */ - MQ = 'MQ', + cursor: string; /** - * Mauritania. + * The item at the end of ProductVariantEdge. */ - MR = 'MR', + node: ProductVariant; + } + + /** + * Represents a product variant. + */ + export interface ProductVariant extends Node, HasMetafields, HasPublishedTranslations, Navigable, LegacyInteroperability { /** - * Mauritius. + * Whether the product variant is available for sale. */ - MU = 'MU', + availableForSale: boolean; /** - * Mayotte. + * The value of the barcode associated with the product. */ - YT = 'YT', + barcode?: string; /** - * Mexico. + * The compare-at price of the variant in the default shop currency. */ - MX = 'MX', + compareAtPrice?: Money; /** - * Moldova, Republic of. + * The date and time when the variant was created. */ - MD = 'MD', + createdAt: DateTime; /** - * Monaco. + * A default cursor for use in pagination. */ - MC = 'MC', + defaultCursor: string; /** - * Mongolia. + * The delivery profile for the variant. */ - MN = 'MN', + deliveryProfile?: DeliveryProfile; /** - * Montenegro. + * Display name of the variant, based on product's title + variant's title. */ - ME = 'ME', + displayName: string; /** - * Montserrat. + * The fulfillment service associated with the product. */ - MS = 'MS', + fulfillmentService?: FulfillmentService; /** - * Morocco. + * Whether changes to the fulfillment service for the product variant are allowed. */ - MA = 'MA', + fulfillmentServiceEditable: EditableProperty; /** - * Mozambique. + * The Harmonized System Code (or HS Tariff Code) for the variant. + * @deprecated Use `InventoryItem.harmonizedSystemCode` instead. */ - MZ = 'MZ', + harmonizedSystemCode?: string; /** - * Myanmar. + * Globally unique identifier. */ - MM = 'MM', + id: string; /** - * Namibia. + * The featured image for the variant. */ - NA = 'NA', + image?: Image; /** - * Nauru. + * The featured image for the variant. + * @deprecated Use the singular `image` field instead. There may never be more than one variant image. */ - NR = 'NR', + images: Array; /** - * Nepal. + * The ID for the inventory item, which is used to query for inventory information. */ - NP = 'NP', + inventoryItem: InventoryItem; /** - * Netherlands. + * The fulfillment service that tracks the number of items in stock for the product variant. + * @deprecated Use tracked attribute on `inventoryItem` instead. */ - NL = 'NL', + inventoryManagement: ProductVariantInventoryManagement; /** - * Netherlands Antilles. + * Whether customers are allowed to place an order for the product variant when it's out of stock. */ - AN = 'AN', + inventoryPolicy: ProductVariantInventoryPolicy; /** - * New Caledonia. + * The total sellable quantity of the variant. */ - NC = 'NC', + inventoryQuantity?: number; /** - * New Zealand. + * The ID of the corresponding resource in the REST Admin API. */ - NZ = 'NZ', + legacyResourceId: UnsignedInt64; /** - * Nicaragua. + * The metafield associated with the resource. */ - NI = 'NI', + metafield?: Metafield; /** - * Niger. + * A paginated list of metafields associated with the resource. */ - NE = 'NE', + metafields: MetafieldConnection; /** - * Nigeria. + * The order of the product variant in the list of product variants. The first position in the list is 1. + * */ - NG = 'NG', + position: number; /** - * Niue. + * List of prices and compare-at prices in the presentment currencies for this shop. */ - NU = 'NU', + presentmentPrices: ProductVariantPricePairConnection; /** - * Norfolk Island. + * The price of the product variant in the default shop currency. */ - NF = 'NF', + price: Money; /** - * North Macedonia. + * Returns a private metafield found by namespace and key. */ - MK = 'MK', + privateMetafield?: PrivateMetafield; /** - * Norway. + * List of private metafields. */ - NO = 'NO', + privateMetafields: PrivateMetafieldConnection; /** - * Oman. + * The product that this variant belongs to. */ - OM = 'OM', + product: Product; /** - * Pakistan. + * Whether a customer needs to provide a shipping address when placing an order for the product variant. + * + * @deprecated Use `InventoryItem.requiresShipping` instead. */ - PK = 'PK', + requiresShipping: boolean; /** - * Palestinian Territory, Occupied. + * List of product options applied to the variant. */ - PS = 'PS', + selectedOptions: Array; /** - * Panama. + * An identifier for the product variant in the shop. Required in order to connect to a fulfillment service. + * */ - PA = 'PA', + sku?: string; /** - * Papua New Guinea. + * The storefront ID of the product variant. */ - PG = 'PG', + storefrontId: StorefrontID; /** - * Paraguay. + * The tax code for the product variant. */ - PY = 'PY', + taxCode?: string; /** - * Peru. + * Whether a tax is charged when the product variant is sold. */ - PE = 'PE', + taxable: boolean; /** - * Philippines. + * The title of the product variant. */ - PH = 'PH', + title: string; /** - * Pitcairn. + * The translations associated with the resource. */ - PN = 'PN', + translations: Array; /** - * Poland. + * The date and time (ISO 8601 format) when the product variant was last modified. + * */ - PL = 'PL', + updatedAt: DateTime; /** - * Portugal. + * The weight of the product variant in the unit system specified with weight_unit. */ - PT = 'PT', + weight?: number; /** - * Qatar. + * The unit of measurement that applies to the product variant's weight. If you don't specify a value for weight_unit, then the shop's default unit of measurement is applied. Valid values: `g`, `kg`, `oz`, `lb`. + * */ - QA = 'QA', + weightUnit: WeightUnit; + } + + /** + * A monetary value string. Example value: `"100.57"`. + */ + export type Money = any; + + /** + * A profile for multi-location, per-product delivery. + */ + export interface DeliveryProfile extends Node { /** - * Republic of Cameroon. + * The number of active shipping rates for the profile. */ - CM = 'CM', + activeMethodDefinitionsCount: number; /** - * Reunion. + * Whether this is the default profile. */ - RE = 'RE', + default: boolean; /** - * Romania. + * Globally unique identifier. */ - RO = 'RO', + id: string; /** - * Russia. + * Whether this shop has enabled legacy compatibility mode for delivery profiles. */ - RU = 'RU', + legacyMode: boolean; /** - * Rwanda. + * The number of locations without rates defined. */ - RW = 'RW', + locationsWithoutRatesCount: number; /** - * Saint Barthélemy. + * The name of the delivery profile. */ - BL = 'BL', + name: string; /** - * Saint Helena. + * The number of active origin locations for the profile. */ - SH = 'SH', + originLocationCount: number; /** - * Saint Kitts And Nevis. + * The number of product variants for this profile. The count for the default profile is not supported and will return -1. + * @deprecated Use `productVariantsCountV2` instead */ - KN = 'KN', + productVariantsCount: number; /** - * Saint Lucia. + * How many product variants are in this profile. */ - LC = 'LC', + productVariantsCountV2: DeliveryProductVariantsCount; /** - * Saint Martin. + * The products and variants associated with this profile. */ - MF = 'MF', + profileItems: DeliveryProfileItemConnection; /** - * Saint Pierre And Miquelon. + * The location groups and associated zones using this profile. */ - PM = 'PM', + profileLocationGroups: Array; /** - * Samoa. + * List of locations that have not been assigned to a location group for this profile. */ - WS = 'WS', + unassignedLocations: Array; /** - * San Marino. + * The number of countries with active rates to deliver to. */ - SM = 'SM', + zoneCountryCount: number; + } + + /** + * How many product variants are in a profile. This count is capped at 500. + */ + export interface DeliveryProductVariantsCount { /** - * Sao Tome And Principe. + * If the count has reached the cap of 500. */ - ST = 'ST', + capped: boolean; /** - * Saudi Arabia. + * The product variant count. */ - SA = 'SA', + count: number; + } + + /** + * The set of valid sort keys for the ProfileItem query. + */ + export const enum ProfileItemSortKeys { /** - * Senegal. + * Sort by the `title` value. */ - SN = 'SN', + TITLE = 'TITLE', /** - * Serbia. + * Sort by the `product_type` value. */ - RS = 'RS', + PRODUCT_TYPE = 'PRODUCT_TYPE', /** - * Seychelles. + * Sort by the `vendor` value. */ - SC = 'SC', + VENDOR = 'VENDOR', /** - * Sierra Leone. + * Sort by the `inventory_total` value. */ - SL = 'SL', + INVENTORY_TOTAL = 'INVENTORY_TOTAL', /** - * Singapore. + * Sort by the `updated_at` value. */ - SG = 'SG', + UPDATED_AT = 'UPDATED_AT', /** - * Sint Maarten. + * Sort by the `created_at` value. */ - SX = 'SX', + CREATED_AT = 'CREATED_AT', /** - * Slovakia. + * Sort by the `published_at` value. */ - SK = 'SK', + PUBLISHED_AT = 'PUBLISHED_AT', /** - * Slovenia. + * Sort by the `id` value. */ - SI = 'SI', + ID = 'ID', /** - * Solomon Islands. - */ - SB = 'SB', - - /** - * Somalia. + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * */ - SO = 'SO', + RELEVANCE = 'RELEVANCE' + } + + export interface DeliveryProfileItemConnection { /** - * South Africa. + * A list of edges. */ - ZA = 'ZA', + edges: Array; /** - * South Georgia And The South Sandwich Islands. + * Information to aid in pagination. */ - GS = 'GS', + pageInfo: PageInfo; + } + + export interface DeliveryProfileItemEdge { /** - * South Korea. + * A cursor for use in pagination. */ - KR = 'KR', + cursor: string; /** - * South Sudan. + * The item at the end of DeliveryProfileItemEdge. */ - SS = 'SS', + node: DeliveryProfileItem; + } + + /** + * A product and the subset of associated variants that are part of this delivery profile. + */ + export interface DeliveryProfileItem { /** - * Spain. + * A product associated with this profile. */ - ES = 'ES', + product: Product; /** - * Sri Lanka. + * The product variants associated with this delivery profile. */ - LK = 'LK', + variants: ProductVariantConnection; + } + + /** + * Links a location group with zones associated to a delivery profile. + */ + export interface DeliveryProfileLocationGroup { /** - * St. Vincent. + * The countries already selected in any zone for the given location group and profile. */ - VC = 'VC', + countriesInAnyZone: Array; /** - * Sudan. + * The location group associated to a delivery profile. */ - SD = 'SD', + locationGroup: DeliveryLocationGroup; /** - * Suriname. + * The applicable zones associated to a location group and delivery profile. */ - SR = 'SR', + locationGroupZones: DeliveryLocationGroupZoneConnection; + } + + /** + * A country with the name of the zone. + */ + export interface DeliveryCountryAndZone { /** - * Svalbard And Jan Mayen. + * The country in the delivery zone. */ - SJ = 'SJ', + country: DeliveryCountry; /** - * Sweden. + * The name of the delivery zone. */ - SE = 'SE', + zone: string; + } + + /** + * A country that is used to define a zone. + */ + export interface DeliveryCountry extends Node { /** - * Switzerland. + * The ISO 3166-1 alpha-2 country code of this country and a flag indicating Rest Of World. */ - CH = 'CH', + code: DeliveryCountryCodeOrRestOfWorld; /** - * Syria. + * Globally unique identifier. */ - SY = 'SY', + id: string; /** - * Taiwan. + * The name of the country. */ - TW = 'TW', + name: string; /** - * Tajikistan. + * The regions associated with this country. */ - TJ = 'TJ', + provinces: Array; + } + + /** + * The ISO 3166-1 alpha-2 country code and a flag indicating Rest Of World. + */ + export interface DeliveryCountryCodeOrRestOfWorld { /** - * Tanzania, United Republic Of. + * The country code. */ - TZ = 'TZ', + countryCode?: CountryCode; /** - * Thailand. + * Indicates if 'Rest of World' is applied. */ - TH = 'TH', + restOfWorld: boolean; + } + + /** + * ISO 3166-1 alpha-2 country codes with some differences. + */ + export const enum CountryCode { /** - * Timor Leste. + * Afghanistan. */ - TL = 'TL', + AF = 'AF', /** - * Togo. + * Aland Islands. */ - TG = 'TG', + AX = 'AX', /** - * Tokelau. + * Albania. */ - TK = 'TK', + AL = 'AL', /** - * Tonga. + * Algeria. */ - TO = 'TO', + DZ = 'DZ', /** - * Trinidad and Tobago. + * Andorra. */ - TT = 'TT', + AD = 'AD', /** - * Tunisia. + * Angola. */ - TN = 'TN', + AO = 'AO', /** - * Turkey. + * Anguilla. */ - TR = 'TR', + AI = 'AI', /** - * Turkmenistan. + * Antigua And Barbuda. */ - TM = 'TM', + AG = 'AG', /** - * Turks and Caicos Islands. + * Argentina. */ - TC = 'TC', + AR = 'AR', /** - * Tuvalu. + * Armenia. */ - TV = 'TV', + AM = 'AM', /** - * Uganda. + * Aruba. */ - UG = 'UG', + AW = 'AW', /** - * Ukraine. + * Australia. */ - UA = 'UA', + AU = 'AU', /** - * United Arab Emirates. + * Austria. */ - AE = 'AE', + AT = 'AT', /** - * United Kingdom. + * Azerbaijan. */ - GB = 'GB', + AZ = 'AZ', /** - * United States. + * Bahamas. */ - US = 'US', + BS = 'BS', /** - * United States Minor Outlying Islands. + * Bahrain. */ - UM = 'UM', + BH = 'BH', /** - * Uruguay. + * Bangladesh. */ - UY = 'UY', + BD = 'BD', /** - * Uzbekistan. + * Barbados. */ - UZ = 'UZ', + BB = 'BB', /** - * Vanuatu. + * Belarus. */ - VU = 'VU', + BY = 'BY', /** - * Venezuela. + * Belgium. */ - VE = 'VE', + BE = 'BE', /** - * Vietnam. + * Belize. */ - VN = 'VN', + BZ = 'BZ', /** - * Virgin Islands, British. + * Benin. */ - VG = 'VG', + BJ = 'BJ', /** - * Wallis And Futuna. + * Bermuda. */ - WF = 'WF', + BM = 'BM', /** - * Western Sahara. + * Bhutan. */ - EH = 'EH', + BT = 'BT', /** - * Yemen. + * Bolivia. */ - YE = 'YE', + BO = 'BO', /** - * Zambia. + * Bosnia And Herzegovina. */ - ZM = 'ZM', + BA = 'BA', /** - * Zimbabwe. + * Botswana. */ - ZW = 'ZW' - } - - /** - * A container for all the information required to checkout items and pay. - */ - export interface Checkout extends Node { + BW = 'BW', /** - * The gift cards used on the checkout. + * Bouvet Island. */ - appliedGiftCards: Array; + BV = 'BV', /** - * The available shipping rates for this Checkout. - * Should only be used when checkout `requiresShipping` is `true` and - * the shipping address is valid. - * + * Brazil. */ - availableShippingRates?: AvailableShippingRates; + BR = 'BR', /** - * The date and time when the checkout was completed. + * British Indian Ocean Territory. */ - completedAt?: DateTime; + IO = 'IO', /** - * The date and time when the checkout was created. + * Brunei. */ - createdAt: DateTime; + BN = 'BN', /** - * The currency code for the Checkout. + * Bulgaria. */ - currencyCode: CurrencyCode; + BG = 'BG', /** - * A list of extra information that is added to the checkout. + * Burkina Faso. */ - customAttributes: Array; + BF = 'BF', /** - * The customer associated with the checkout. - * @deprecated This field will always return null. If you have an authentication token for the customer, you can use the `customer` field on the query root to retrieve it. + * Burundi. */ - customer?: Customer; + BI = 'BI', /** - * Discounts that have been applied on the checkout. + * Cambodia. */ - discountApplications: DiscountApplicationConnection; + KH = 'KH', /** - * The email attached to this checkout. + * Canada. */ - email?: string; + CA = 'CA', /** - * Globally unique identifier. + * Cape Verde. */ - id: string; + CV = 'CV', /** - * A list of line item objects, each one containing information about an item in the checkout. + * Caribbean Netherlands. */ - lineItems: CheckoutLineItemConnection; + BQ = 'BQ', /** - * The sum of all the prices of all the items in the checkout. Taxes, shipping and discounts excluded. + * Cayman Islands. */ - lineItemsSubtotalPrice: MoneyV2; + KY = 'KY', /** - * The note associated with the checkout. + * Central African Republic. */ - note?: string; + CF = 'CF', /** - * The resulting order from a paid checkout. + * Chad. */ - order?: Order; + TD = 'TD', /** - * The Order Status Page for this Checkout, null when checkout is not completed. + * Chile. */ - orderStatusUrl?: URL; + CL = 'CL', /** - * The amount left to be paid. This is equal to the cost of the line items, taxes and shipping minus discounts and gift cards. - * @deprecated Use `paymentDueV2` instead + * China. */ - paymentDue: Money; + CN = 'CN', /** - * The amount left to be paid. This is equal to the cost of the line items, taxes and shipping minus discounts and gift cards. + * Christmas Island. */ - paymentDueV2: MoneyV2; + CX = 'CX', /** - * 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. - * + * Cocos (Keeling) Islands. */ - ready: boolean; + CC = 'CC', /** - * States whether or not the fulfillment requires shipping. + * Colombia. */ - requiresShipping: boolean; + CO = 'CO', /** - * The shipping address to where the line items will be shipped. + * Comoros. */ - shippingAddress?: MailingAddress; + KM = 'KM', /** - * The discounts that have been allocated onto the shipping line by discount applications. - * + * Congo. */ - shippingDiscountAllocations: Array; + CG = 'CG', /** - * Once a shipping rate is selected by the customer it is transitioned to a `shipping_line` object. + * Congo, The Democratic Republic Of The. */ - shippingLine?: ShippingRate; + CD = 'CD', /** - * Price of the checkout before shipping and taxes. - * @deprecated Use `subtotalPriceV2` instead + * Cook Islands. */ - subtotalPrice: Money; + CK = 'CK', /** - * Price of the checkout before shipping and taxes. + * Costa Rica. */ - subtotalPriceV2: MoneyV2; + CR = 'CR', /** - * Specifies if the Checkout is tax exempt. + * Croatia. */ - taxExempt: boolean; + HR = 'HR', /** - * Specifies if taxes are included in the line item and shipping line prices. + * Cuba. */ - taxesIncluded: boolean; + CU = 'CU', /** - * The sum of all the prices of all the items in the checkout, taxes and discounts included. - * @deprecated Use `totalPriceV2` instead + * Curaçao. */ - totalPrice: Money; + CW = 'CW', /** - * The sum of all the prices of all the items in the checkout, taxes and discounts included. + * Cyprus. */ - totalPriceV2: MoneyV2; + CY = 'CY', /** - * The sum of all the taxes applied to the line items and shipping lines in the checkout. - * @deprecated Use `totalTaxV2` instead + * Czech Republic. */ - totalTax: Money; + CZ = 'CZ', /** - * The sum of all the taxes applied to the line items and shipping lines in the checkout. + * Côte d'Ivoire. */ - totalTaxV2: MoneyV2; + CI = 'CI', /** - * The date and time when the checkout was last updated. + * Denmark. */ - updatedAt: DateTime; + DK = 'DK', + + /** + * Djibouti. + */ + DJ = 'DJ', + + /** + * Dominica. + */ + DM = 'DM', + + /** + * Dominican Republic. + */ + DO = 'DO', + + /** + * Ecuador. + */ + EC = 'EC', + + /** + * Egypt. + */ + EG = 'EG', + + /** + * El Salvador. + */ + SV = 'SV', + + /** + * Equatorial Guinea. + */ + GQ = 'GQ', + + /** + * Eritrea. + */ + ER = 'ER', + + /** + * Estonia. + */ + EE = 'EE', + + /** + * Eswatini. + */ + SZ = 'SZ', + + /** + * Ethiopia. + */ + ET = 'ET', + + /** + * Falkland Islands (Malvinas). + */ + FK = 'FK', + + /** + * Faroe Islands. + */ + FO = 'FO', + + /** + * Fiji. + */ + FJ = 'FJ', + + /** + * Finland. + */ + FI = 'FI', + + /** + * France. + */ + FR = 'FR', + + /** + * French Guiana. + */ + GF = 'GF', + + /** + * French Polynesia. + */ + PF = 'PF', + + /** + * French Southern Territories. + */ + TF = 'TF', + + /** + * Gabon. + */ + GA = 'GA', + + /** + * Gambia. + */ + GM = 'GM', + + /** + * Georgia. + */ + GE = 'GE', + + /** + * Germany. + */ + DE = 'DE', + + /** + * Ghana. + */ + GH = 'GH', + + /** + * Gibraltar. + */ + GI = 'GI', + + /** + * Greece. + */ + GR = 'GR', + + /** + * Greenland. + */ + GL = 'GL', + + /** + * Grenada. + */ + GD = 'GD', + + /** + * Guadeloupe. + */ + GP = 'GP', + + /** + * Guatemala. + */ + GT = 'GT', + + /** + * Guernsey. + */ + GG = 'GG', + + /** + * Guinea. + */ + GN = 'GN', + + /** + * Guinea Bissau. + */ + GW = 'GW', + + /** + * Guyana. + */ + GY = 'GY', + + /** + * Haiti. + */ + HT = 'HT', + + /** + * Heard Island And Mcdonald Islands. + */ + HM = 'HM', + + /** + * Holy See (Vatican City State). + */ + VA = 'VA', + + /** + * Honduras. + */ + HN = 'HN', + + /** + * Hong Kong. + */ + HK = 'HK', + + /** + * Hungary. + */ + HU = 'HU', + + /** + * Iceland. + */ + IS = 'IS', + + /** + * India. + */ + IN = 'IN', + + /** + * Indonesia. + */ + ID = 'ID', + + /** + * Iran, Islamic Republic Of. + */ + IR = 'IR', + + /** + * Iraq. + */ + IQ = 'IQ', + + /** + * Ireland. + */ + IE = 'IE', /** - * The url pointing to the checkout accessible from the web. + * Isle Of Man. */ - webUrl: URL; + IM = 'IM', + + /** + * Israel. + */ + IL = 'IL', + + /** + * Italy. + */ + IT = 'IT', + + /** + * Jamaica. + */ + JM = 'JM', + + /** + * Japan. + */ + JP = 'JP', + + /** + * Jersey. + */ + JE = 'JE', + + /** + * Jordan. + */ + JO = 'JO', + + /** + * Kazakhstan. + */ + KZ = 'KZ', + + /** + * Kenya. + */ + KE = 'KE', + + /** + * Kiribati. + */ + KI = 'KI', + + /** + * Korea, Democratic People's Republic Of. + */ + KP = 'KP', + + /** + * Kosovo. + */ + XK = 'XK', + + /** + * Kuwait. + */ + KW = 'KW', + + /** + * Kyrgyzstan. + */ + KG = 'KG', + + /** + * Lao People's Democratic Republic. + */ + LA = 'LA', + + /** + * Latvia. + */ + LV = 'LV', + + /** + * Lebanon. + */ + LB = 'LB', + + /** + * Lesotho. + */ + LS = 'LS', + + /** + * Liberia. + */ + LR = 'LR', + + /** + * Libyan Arab Jamahiriya. + */ + LY = 'LY', + + /** + * Liechtenstein. + */ + LI = 'LI', + + /** + * Lithuania. + */ + LT = 'LT', + + /** + * Luxembourg. + */ + LU = 'LU', + + /** + * Macao. + */ + MO = 'MO', + + /** + * Madagascar. + */ + MG = 'MG', + + /** + * Malawi. + */ + MW = 'MW', + + /** + * Malaysia. + */ + MY = 'MY', + + /** + * Maldives. + */ + MV = 'MV', + + /** + * Mali. + */ + ML = 'ML', + + /** + * Malta. + */ + MT = 'MT', + + /** + * Martinique. + */ + MQ = 'MQ', + + /** + * Mauritania. + */ + MR = 'MR', + + /** + * Mauritius. + */ + MU = 'MU', + + /** + * Mayotte. + */ + YT = 'YT', + + /** + * Mexico. + */ + MX = 'MX', + + /** + * Moldova, Republic of. + */ + MD = 'MD', + + /** + * Monaco. + */ + MC = 'MC', + + /** + * Mongolia. + */ + MN = 'MN', + + /** + * Montenegro. + */ + ME = 'ME', + + /** + * Montserrat. + */ + MS = 'MS', + + /** + * Morocco. + */ + MA = 'MA', + + /** + * Mozambique. + */ + MZ = 'MZ', + + /** + * Myanmar. + */ + MM = 'MM', + + /** + * Namibia. + */ + NA = 'NA', + + /** + * Nauru. + */ + NR = 'NR', + + /** + * Nepal. + */ + NP = 'NP', + + /** + * Netherlands. + */ + NL = 'NL', + + /** + * Netherlands Antilles. + */ + AN = 'AN', + + /** + * New Caledonia. + */ + NC = 'NC', + + /** + * New Zealand. + */ + NZ = 'NZ', + + /** + * Nicaragua. + */ + NI = 'NI', + + /** + * Niger. + */ + NE = 'NE', + + /** + * Nigeria. + */ + NG = 'NG', + + /** + * Niue. + */ + NU = 'NU', + + /** + * Norfolk Island. + */ + NF = 'NF', + + /** + * North Macedonia. + */ + MK = 'MK', + + /** + * Norway. + */ + NO = 'NO', + + /** + * Oman. + */ + OM = 'OM', + + /** + * Pakistan. + */ + PK = 'PK', + + /** + * Palestinian Territory, Occupied. + */ + PS = 'PS', + + /** + * Panama. + */ + PA = 'PA', + + /** + * Papua New Guinea. + */ + PG = 'PG', + + /** + * Paraguay. + */ + PY = 'PY', + + /** + * Peru. + */ + PE = 'PE', + + /** + * Philippines. + */ + PH = 'PH', + + /** + * Pitcairn. + */ + PN = 'PN', + + /** + * Poland. + */ + PL = 'PL', + + /** + * Portugal. + */ + PT = 'PT', + + /** + * Qatar. + */ + QA = 'QA', + + /** + * Republic of Cameroon. + */ + CM = 'CM', + + /** + * Reunion. + */ + RE = 'RE', + + /** + * Romania. + */ + RO = 'RO', + + /** + * Russia. + */ + RU = 'RU', + + /** + * Rwanda. + */ + RW = 'RW', + + /** + * Saint Barthélemy. + */ + BL = 'BL', + + /** + * Saint Helena. + */ + SH = 'SH', + + /** + * Saint Kitts And Nevis. + */ + KN = 'KN', + + /** + * Saint Lucia. + */ + LC = 'LC', + + /** + * Saint Martin. + */ + MF = 'MF', + + /** + * Saint Pierre And Miquelon. + */ + PM = 'PM', + + /** + * Samoa. + */ + WS = 'WS', + + /** + * San Marino. + */ + SM = 'SM', + + /** + * Sao Tome And Principe. + */ + ST = 'ST', + + /** + * Saudi Arabia. + */ + SA = 'SA', + + /** + * Senegal. + */ + SN = 'SN', + + /** + * Serbia. + */ + RS = 'RS', + + /** + * Seychelles. + */ + SC = 'SC', + + /** + * Sierra Leone. + */ + SL = 'SL', + + /** + * Singapore. + */ + SG = 'SG', + + /** + * Sint Maarten. + */ + SX = 'SX', + + /** + * Slovakia. + */ + SK = 'SK', + + /** + * Slovenia. + */ + SI = 'SI', + + /** + * Solomon Islands. + */ + SB = 'SB', + + /** + * Somalia. + */ + SO = 'SO', + + /** + * South Africa. + */ + ZA = 'ZA', + + /** + * South Georgia And The South Sandwich Islands. + */ + GS = 'GS', + + /** + * South Korea. + */ + KR = 'KR', + + /** + * South Sudan. + */ + SS = 'SS', + + /** + * Spain. + */ + ES = 'ES', + + /** + * Sri Lanka. + */ + LK = 'LK', + + /** + * St. Vincent. + */ + VC = 'VC', + + /** + * Sudan. + */ + SD = 'SD', + + /** + * Suriname. + */ + SR = 'SR', + + /** + * Svalbard And Jan Mayen. + */ + SJ = 'SJ', + + /** + * Sweden. + */ + SE = 'SE', + + /** + * Switzerland. + */ + CH = 'CH', + + /** + * Syria. + */ + SY = 'SY', + + /** + * Taiwan. + */ + TW = 'TW', + + /** + * Tajikistan. + */ + TJ = 'TJ', + + /** + * Tanzania, United Republic Of. + */ + TZ = 'TZ', + + /** + * Thailand. + */ + TH = 'TH', + + /** + * Timor Leste. + */ + TL = 'TL', + + /** + * Togo. + */ + TG = 'TG', + + /** + * Tokelau. + */ + TK = 'TK', + + /** + * Tonga. + */ + TO = 'TO', + + /** + * Trinidad and Tobago. + */ + TT = 'TT', + + /** + * Tunisia. + */ + TN = 'TN', + + /** + * Turkey. + */ + TR = 'TR', + + /** + * Turkmenistan. + */ + TM = 'TM', + + /** + * Turks and Caicos Islands. + */ + TC = 'TC', + + /** + * Tuvalu. + */ + TV = 'TV', + + /** + * Uganda. + */ + UG = 'UG', + + /** + * Ukraine. + */ + UA = 'UA', + + /** + * United Arab Emirates. + */ + AE = 'AE', + + /** + * United Kingdom. + */ + GB = 'GB', + + /** + * United States. + */ + US = 'US', + + /** + * United States Minor Outlying Islands. + */ + UM = 'UM', + + /** + * Uruguay. + */ + UY = 'UY', + + /** + * Uzbekistan. + */ + UZ = 'UZ', + + /** + * Vanuatu. + */ + VU = 'VU', + + /** + * Venezuela. + */ + VE = 'VE', + + /** + * Vietnam. + */ + VN = 'VN', + + /** + * Virgin Islands, British. + */ + VG = 'VG', + + /** + * Wallis And Futuna. + */ + WF = 'WF', + + /** + * Western Sahara. + */ + EH = 'EH', + + /** + * Yemen. + */ + YE = 'YE', + + /** + * Zambia. + */ + ZM = 'ZM', + + /** + * Zimbabwe. + */ + ZW = 'ZW' + } + + /** + * A region that is used to define a zone. + */ + export interface DeliveryProvince extends Node { + + /** + * The code of this region. + */ + code: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The name of the region. + */ + name: string; + } + + /** + * A location group is a collection of active locations that share zone and delivery methods across delivery profiles. + */ + export interface DeliveryLocationGroup extends Node { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * List of active locations that are part of this location group. + */ + locations: LocationConnection; + } + + /** + * The set of valid sort keys for the Location query. + */ + export const enum LocationSortKeys { + + /** + * Sort by the `name` value. + */ + NAME = 'NAME', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface LocationConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface LocationEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of LocationEdge. + */ + node: Location; + } + + /** + * Represents the location where the physical good resides. + * + */ + export interface Location extends Node, LegacyInteroperability { + + /** + * Whether this location can be reactivated. + */ + activatable: boolean; + + /** + * The LocationAddress object for location. + */ + address: LocationAddress; + + /** + * Whether the location address has been verified. + */ + addressVerified: boolean; + + /** + * Whether this location can be deactivated. + */ + deactivatable: boolean; + + /** + * Date and time the location was deactivated (null if location is still active). Following UTC ISO8601 format, e.g.: "2019-04-24T13:42:24Z". + */ + deactivatedAt?: string; + + /** + * Whether this location can be deleted. + */ + deletable: boolean; + + /** + * Name of the service provider that fulfills from this location. + */ + fulfillmentService?: FulfillmentService; + + /** + * Indicates whether this location can fulfill online orders. + */ + fulfillsOnlineOrders: boolean; + + /** + * Indicates whether or not this location has active inventory. + */ + hasActiveInventory: boolean; + + /** + * Indicates whether or not this location has unfulfilled orders. + */ + hasUnfulfilledOrders: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * A single inventory level for the given inventory item. + */ + inventoryLevel?: InventoryLevel; + + /** + * Paginated list of inventory levels for inventory items stocked at the location. + */ + inventoryLevels: InventoryLevelConnection; + + /** + * Whether the location is active. + */ + isActive: boolean; + + /** + * Whether the location is your primary location for shipping inventory. + * @deprecated The concept of a primary location is deprecated, shipsInventory can be used to get a fallback location + */ + isPrimary: boolean; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The name of the location. + */ + name: string; + + /** + * Indicates whether or not this location ships inventory. + */ + shipsInventory: boolean; + + /** + * List of suggested addresses for this location (empty if none). + */ + suggestedAddresses: Array; + } + + /** + * Represents the address of the location. + * + */ + export interface LocationAddress { + + /** + * The first line of the address for the location. + */ + address1?: string; + + /** + * The second line of the address for the location. + */ + address2?: string; + + /** + * The city of the location. + */ + city?: string; + + /** + * The country of the location. + */ + country?: string; + + /** + * The two-letter country code of the location. + */ + countryCode?: string; + + /** + * A formatted version of the location address. + */ + formatted: Array; + + /** + * The latitude coordinates of the location. + */ + latitude?: number; + + /** + * The longitude coordinates of the location. + */ + longitude?: number; + + /** + * The phone number of the location. + */ + phone?: string; + + /** + * The province of the location. + */ + province?: string; + + /** + * The code for the region of the address, such as the province, state, or district. + * For example QC for Quebec, Canada. + * + */ + provinceCode?: string; + + /** + * The ZIP code of the location. + */ + zip?: string; + } + + /** + * Represents a fulfillment service. A fulfillment service is a third-party service that prepares and ships orders on behalf of the store owner. + * + */ + export interface FulfillmentService { + + /** + * The callback URL the fulfillment service has registered for requests. + */ + callbackUrl?: URL; + + /** + * Whether the fulfillment service has opted into fulfillment order based requests. + */ + fulfillmentOrdersOptIn: boolean; + + /** + * Human-readable unique identifier for this fulfillment service. + */ + handle: string; + + /** + * The ID of the fulfillment service. + */ + id: string; + + /** + * Whether the fulfillment service tracks product inventory and provides updates to Shopify. + */ + inventoryManagement: boolean; + + /** + * Location associated with the fulfillment service. + */ + location?: Location; + + /** + * Whether the fulfillment service supports local deliveries. + */ + productBased: boolean; + + /** + * The name of the fulfillment service as seen by merchants. + */ + serviceName: string; + + /** + * Shipping methods associated with the fulfillment service provider. + */ + shippingMethods: Array; + + /** + * Type associated with the fulfillment service. + */ + type: FulfillmentServiceType; + } + + /** + * The shipping method for the delivery. + */ + export interface ShippingMethod { + + /** + * A unique code associated with the rate. For example: `expedited_mail` + */ + code: string; + + /** + * A description of the rate, which customers will see at checkout. + * For example: `Includes tracking and insurance`. + * + */ + label: string; + } + + /** + * The type of a fulfillment service. + */ + export const enum FulfillmentServiceType { + + /** + * Fulfillment by gift card. + */ + GIFT_CARD = 'GIFT_CARD', + + /** + * Manual fulfillment by the merchant. + */ + MANUAL = 'MANUAL', + + /** + * Fullfillment by a third-party fulfillment service. + */ + THIRD_PARTY = 'THIRD_PARTY' + } + + /** + * Represents the inventory quantity of an inventory item at a specific location. + * + */ + export interface InventoryLevel extends Node { + + /** + * Quantity of items available at the location. + */ + available: number; + + /** + * Whether inventoryDeactivate is allowed for this inventory level. + */ + canDeactivate: boolean; + + /** + * The date and time when the inventory level was created. + */ + createdAt: DateTime; + + /** + * Reason why canDeactivate is false, or impact of deactivating the inventory level. + */ + deactivationAlert?: string; + + /** + * Reason why canDeactivate is false with URLs linked in HTML, or impact of deactivating the inventory level. + */ + deactivationAlertHtml?: FormattedString; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Quantity of items incoming to the location. + */ + incoming: number; + + /** + * Inventory item associated with the inventory level. + */ + item: InventoryItem; + + /** + * Location associated with the inventory level. + */ + location: Location; + + /** + * The date and time when the inventory level was updated. + */ + updatedAt: DateTime; + } + + /** + * A string containing a strict subset of HTML code. Non-allowed tags will be stripped out. + * Allowed tags: + * * `a` (allowed attributes: `href`) + * * `b` + * * `br` + * * `em` + * * `i` + * * `strong` + * * `u` + * + * Example value: `"Your current domain is johns-apparel.myshopify.com."` + * + */ + export type FormattedString = any; + + /** + * Represents the goods available to be shipped to a customer. + * It holds essential information about the goods, including SKU and whether it is tracked. + * + */ + export interface InventoryItem extends Node, LegacyInteroperability { + + /** + * The ISO code of the country of origin. + */ + countryCodeOfOrigin?: CountryCode; + + /** + * List of country specific harmonized system codes. + */ + countryHarmonizedSystemCodes: CountryHarmonizedSystemCodeConnection; + + /** + * The date and time when the inventory item was created. + */ + createdAt: DateTime; + + /** + * The number of inventory items that share the same SKU with this item. + */ + duplicateSkuCount: number; + + /** + * The harmonized system code of the item. + */ + harmonizedSystemCode?: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * URL for inventory history web page. + */ + inventoryHistoryUrl?: URL; + + /** + * Get the inventory level at a specific location. + */ + inventoryLevel?: InventoryLevel; + + /** + * Paginated list of inventory levels for each location that the inventory item is stocked at. + */ + inventoryLevels: InventoryLevelConnection; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The number of locations where this inventory item is stocked. + */ + locationsCount: number; + + /** + * The ISO code of the province of origin. + */ + provinceCodeOfOrigin?: string; + + /** + * Whether the item requires shipping or not. + */ + requiresShipping: boolean; + + /** + * Inventory item SKU. + */ + sku?: string; + + /** + * Whether the inventory quantities of inventory levels for the item are tracked or not. + */ + tracked: boolean; + + /** + * Whether changes to the inventory item tracked attribute are allowed. + */ + trackedEditable: EditableProperty; + + /** + * Unit cost associated with the inventory item. + */ + unitCost?: MoneyV2; + + /** + * The date and time when the inventory item was updated. + */ + updatedAt: DateTime; + + /** + * The variant that owns this inventory item. + */ + variant: ProductVariant; + } + + export interface CountryHarmonizedSystemCodeConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface CountryHarmonizedSystemCodeEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of CountryHarmonizedSystemCodeEdge. + */ + node: CountryHarmonizedSystemCode; + } + + /** + * Holds the country specific harmonized system code and the country ISO code. + * + */ + export interface CountryHarmonizedSystemCode { + + /** + * Country ISO code. + */ + countryCode: CountryCode; + + /** + * Country specific harmonized system code. + */ + harmonizedSystemCode: string; + } + + export interface InventoryLevelConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface InventoryLevelEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of InventoryLevelEdge. + */ + node: InventoryLevel; + } + + /** + * The attribute editable information. + */ + export interface EditableProperty { + + /** + * Whether the attribute is locked for editing. + */ + locked: boolean; + + /** + * The reason the attribute is locked for editing. + */ + reason?: FormattedString; + } + + /** + * Represents a suggested address for a location. + * + */ + export interface LocationSuggestedAddress { + + /** + * The first line of the suggested address. + */ + address1?: string; + + /** + * The second line of the suggested address. + */ + address2?: string; + + /** + * The city of the suggested address. + */ + city?: string; + + /** + * The country of the suggested address. + */ + country?: string; + + /** + * The country code of the suggested address. + */ + countryCode?: CountryCode; + + /** + * A formatted version of the suggested address. + */ + formatted: Array; + + /** + * The province of the suggested address. + */ + province?: string; + + /** + * The province code of the suggested address. + */ + provinceCode?: string; + + /** + * The ZIP code of the suggested address. + */ + zip?: string; + } + + export interface DeliveryLocationGroupZoneConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DeliveryLocationGroupZoneEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DeliveryLocationGroupZoneEdge. + */ + node: DeliveryLocationGroupZone; + } + + /** + * Links a location group and zone with the associated method definitions in a delivery profile. + */ + export interface DeliveryLocationGroupZone { + + /** + * The number of method definitions in this zone. + */ + methodDefinitionCounts: DeliveryMethodDefinitionCounts; + + /** + * The method definitions associated to a zone and location group in a delivery profile. + */ + methodDefinitions: DeliveryMethodDefinitionConnection; + + /** + * The zone associated to a location group in a delivery profile. + */ + zone: DeliveryZone; + } + + /** + * Then number of method definitions in a zone, separated into merchant-owned and participant definitions. + */ + export interface DeliveryMethodDefinitionCounts { + + /** + * The number of participant method definitions in the current zone. + */ + participantDefinitionsCount: number; + + /** + * The number of merchant-defined method definitions in the current zone. + */ + rateDefinitionsCount: number; + } + + /** + * The different types of method definitions to filter by. + */ + export const enum DeliveryMethodDefinitionType { + + /** + * Static mechant-defined rates. + */ + MERCHANT = 'MERCHANT', + + /** + * Dynamic participant rates. + */ + PARTICIPANT = 'PARTICIPANT' + } + + /** + * The set of valid sort keys for the MethodDefinition query. + */ + export const enum MethodDefinitionSortKeys { + + /** + * Sort by the `rate_provider_type` value. + */ + RATE_PROVIDER_TYPE = 'RATE_PROVIDER_TYPE', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface DeliveryMethodDefinitionConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DeliveryMethodDefinitionEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DeliveryMethodDefinitionEdge. + */ + node: DeliveryMethodDefinition; + } + + /** + * A method definition describes the delivery rate and the conditions that must be met for the method to be applied. + */ + export interface DeliveryMethodDefinition extends Node { + + /** + * Whether this method definition is active. + */ + active: boolean; + + /** + * The description of the method definition. + */ + description?: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The method conditions that must pass for this method definition to be applied to an order. + */ + methodConditions: Array; + + /** + * The name of the method definition. + */ + name: string; + + /** + * Provided rate for this method definition, from a rate definition or participant. + */ + rateProvider: DeliveryRateProvider; + } + + /** + * A condition that must pass for a method definition to be applied to an order. + */ + export interface DeliveryCondition extends Node { + + /** + * The criteria (weight or price) that the field must meet based on the operator. + */ + conditionCriteria: DeliveryConditionCriteria; + + /** + * The field to compare the criteria unit against, using the operator. + */ + field: DeliveryConditionField; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The operator to compare the field and criteria. + */ + operator: DeliveryConditionOperator; + } + + /** + * The criteria (weight or price) that the field must meet based on the operator. + */ + export type DeliveryConditionCriteria = Weight | MoneyV2; + + /** Use this to resolve union type DeliveryConditionCriteria */ + export type PossibleDeliveryConditionCriteriaTypeNames = 'Weight' | 'MoneyV2'; + + export interface DeliveryConditionCriteriaNameMap { + DeliveryConditionCriteria: DeliveryConditionCriteria; + Weight: Weight; + MoneyV2: MoneyV2; + } + + /** + * Represents weight unit and value. + */ + export interface Weight { + + /** + * Unit of measurement for `value`. + */ + unit: WeightUnit; + + /** + * The weight using the unit system specified with `unit`. + */ + value: number; + } + + /** + * Units of measurement for weight. + */ + export const enum WeightUnit { + + /** + * 1 kilogram equals 1000 grams. + */ + KILOGRAMS = 'KILOGRAMS', + + /** + * Metric system unit of mass. + */ + GRAMS = 'GRAMS', + + /** + * 1 pound equals 16 ounces. + */ + POUNDS = 'POUNDS', + + /** + * Imperial system unit of mass. + */ + OUNCES = 'OUNCES' + } + + /** + * The field type that the condition will be applied to. + */ + export const enum DeliveryConditionField { + + /** + * Condition will check against the total weight of the order. + */ + TOTAL_WEIGHT = 'TOTAL_WEIGHT', + + /** + * Condition will check against the total price of the order. + */ + TOTAL_PRICE = 'TOTAL_PRICE' + } + + /** + * The operator to use to determine if the condition passes. + */ + export const enum DeliveryConditionOperator { + + /** + * The condition will check if the field is greater than or equal to the criteria. + */ + GREATER_THAN_OR_EQUAL_TO = 'GREATER_THAN_OR_EQUAL_TO', + + /** + * The condition will check if the field is less than or equal to the criteria. + */ + LESS_THAN_OR_EQUAL_TO = 'LESS_THAN_OR_EQUAL_TO' + } + + /** + * Rate provided by a rate definition or a participant. + */ + export type DeliveryRateProvider = DeliveryRateDefinition | DeliveryParticipant; + + /** Use this to resolve union type DeliveryRateProvider */ + export type PossibleDeliveryRateProviderTypeNames = + 'DeliveryRateDefinition' | + 'DeliveryParticipant'; + + export interface DeliveryRateProviderNameMap { + DeliveryRateProvider: DeliveryRateProvider; + DeliveryRateDefinition: DeliveryRateDefinition; + DeliveryParticipant: DeliveryParticipant; + } + + /** + * The merchant-defined rate of the DeliveryMethodDefinition. + */ + export interface DeliveryRateDefinition extends Node { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The price of this rate. + */ + price: MoneyV2; + } + + /** + * A carrier-defined rate with possible merchant-defined fixed fee or percentage-of-rate fee. + */ + export interface DeliveryParticipant extends Node { + + /** + * Flag to indicate if new available services should be included. + */ + adaptToNewServicesFlag: boolean; + + /** + * Use this carrier service for this participant. + */ + carrierService: DeliveryCarrierService; + + /** + * The merchant-set fixed fee for this participant. + */ + fixedFee?: MoneyV2; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Services offered by the participant and their active status. + */ + participantServices: Array; + + /** + * The merchant-set percentage-of-rate fee for this participant. + */ + percentageOfRateFee: number; + } + + /** + * Information about a carrier or service provider. + */ + export interface DeliveryCarrierService extends Node { + + /** + * Services offered for given destinations. + */ + availableServicesForCountries: Array; + + /** + * The properly formatted name of the service provider, ready to display. + */ + formattedName?: string; + + /** + * The logo of the service provider. + */ + icon: Image; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The name of the service provider. + */ + name?: string; + } + + /** + * The service and the countries they are available for. + */ + export interface DeliveryAvailableService { + + /** + * The countries the service provider ships to. + */ + countries: DeliveryCountryCodesOrRestOfWorld; + + /** + * The name of the service. + */ + name: string; + } + + /** + * A list of ISO 3166-1 alpha-2 country codes or the 'Rest of World'. + */ + export interface DeliveryCountryCodesOrRestOfWorld { + + /** + * List of applicable country codes. + */ + countryCodes: Array; + + /** + * Indicates if 'Rest of World' is applied. + */ + restOfWorld: boolean; + } + + /** + * A service provided by a participant. + */ + export interface DeliveryParticipantService { + + /** + * If the service is active or not. + */ + active: boolean; + + /** + * Name of the service. + */ + name: string; + } + + /** + * A zone is a geographical area that contains delivery methods within a delivery profile. + */ + export interface DeliveryZone extends Node { + + /** + * The list of countries within the zone. + */ + countries: Array; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The name of the zone. + */ + name: string; + } + + /** + * The method of inventory tracking for a product variant. + */ + export const enum ProductVariantInventoryManagement { + + /** + * Shopify tracks this product variant's inventory. + */ + SHOPIFY = 'SHOPIFY', + + /** + * This product variant's inventory is not tracked. + */ + NOT_MANAGED = 'NOT_MANAGED', + + /** + * A third-party fulfillment service tracks this product variant's inventory. + */ + FULFILLMENT_SERVICE = 'FULFILLMENT_SERVICE' + } + + /** + * The inventory policy for a product variant controls whether customers can continue to buy the variant when it + * is out of stock. When the value is continue, customers are able to buy the variant when it's out of stock. + * When the value is deny, customers can't buy the variant when it's out of stock. + * + */ + export const enum ProductVariantInventoryPolicy { + + /** + * Stop selling a product variant when it is out of stock. + */ + DENY = 'DENY', + + /** + * Continue selling a product variant when it is out of stock. + */ + CONTINUE = 'CONTINUE' + } + + export interface ProductVariantPricePairConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface ProductVariantPricePairEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of ProductVariantPricePairEdge. + */ + node: ProductVariantPricePair; + } + + /** + * The compare-at price and price of a variant sharing a currency. + * + */ + export interface ProductVariantPricePair { + + /** + * The compare-at price of the variant with associated currency. + */ + compareAtPrice?: MoneyV2; + + /** + * The price of the variant with associated currency. + */ + price: MoneyV2; + } + + /** + * Custom properties that a shop owner can use to define product variants. + * Multiple options can exist. Options are represented as: option1, option2, option3, etc. + * + */ + export interface SelectedOption { + + /** + * The product option’s name. + */ + name: string; + + /** + * The product option’s value. + */ + value: string; + } + + export interface CollectionPublicationConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface CollectionPublicationEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of CollectionPublicationEdge. + */ + node: CollectionPublication; + } + + /** + * Represents the publications where a collection is published. + */ + export interface CollectionPublication { + + /** + * The channel where the collection will be published. + * @deprecated Use `publication` instead + */ + channel: Channel; + + /** + * The collection to be published on the publication. + */ + collection: Collection; + + /** + * Whether the publication is published or not. + */ + isPublished: boolean; + + /** + * The publication where the collection will be published. + */ + publication: Publication; + + /** + * The date that the publication was or is going to be published. + */ + publishDate: DateTime; + } + + /** + * The set of rules that are used to determine which products are included in the collection. + */ + export interface CollectionRuleSet { + + /** + * Whether products must match any or all of the rules to be included in the collection. + * If true, then products must match one or more of the rules to be included in the collection. + * If false, then products must match all of the rules to be included in the collection. + * + */ + appliedDisjunctively: boolean; + + /** + * The rules used to assign products to the collection. + */ + rules: Array; + } + + /** + * Represents at rule that's used to assign products to a collection. + */ + export interface CollectionRule { + + /** + * The attribute that the rule focuses on (for example, `title` or `product_type`). + */ + column: CollectionRuleColumn; + + /** + * The value that the operator is applied to (for example, `Hats`). + */ + condition: string; + + /** + * The type of operator that the rule is based on (for example, `equals`, `contains`, or `not_equals`). + * + */ + relation: CollectionRuleRelation; + } + + /** + * Specifies the property of a product being used to populate the smart collection. + */ + export const enum CollectionRuleColumn { + + /** + * The `tag` attribute. + */ + TAG = 'TAG', + + /** + * The `title` attribute. + */ + TITLE = 'TITLE', + + /** + * The `type` attribute. + */ + TYPE = 'TYPE', + + /** + * The `vendor` attribute. + */ + VENDOR = 'VENDOR', + + /** + * The `variant_price` attribute. + */ + VARIANT_PRICE = 'VARIANT_PRICE', + + /** + * The `is_price_reduced` attribute. + */ + IS_PRICE_REDUCED = 'IS_PRICE_REDUCED', + + /** + * The `variant_compare_at_price` attribute. + */ + VARIANT_COMPARE_AT_PRICE = 'VARIANT_COMPARE_AT_PRICE', + + /** + * The `variant_weight` attribute. + */ + VARIANT_WEIGHT = 'VARIANT_WEIGHT', + + /** + * The `variant_inventory` attribute. + */ + VARIANT_INVENTORY = 'VARIANT_INVENTORY', + + /** + * The `variant_title` attribute. + */ + VARIANT_TITLE = 'VARIANT_TITLE' + } + + /** + * Specifies the relationship between the `column` and the condition. + */ + export const enum CollectionRuleRelation { + + /** + * The attribute contains the condition. + */ + CONTAINS = 'CONTAINS', + + /** + * The attribute ends with the condition. + */ + ENDS_WITH = 'ENDS_WITH', + + /** + * The attribute is equal to the condition. + */ + EQUALS = 'EQUALS', + + /** + * The attribute is greater than the condition. + */ + GREATER_THAN = 'GREATER_THAN', + + /** + * The attribute is not set. + */ + IS_NOT_SET = 'IS_NOT_SET', + + /** + * The attribute is set. + */ + IS_SET = 'IS_SET', + + /** + * The attribute is less than the condition. + */ + LESS_THAN = 'LESS_THAN', + + /** + * The attribute does not contain the condition. + */ + NOT_CONTAINS = 'NOT_CONTAINS', + + /** + * The attribute does not equal the condition. + */ + NOT_EQUALS = 'NOT_EQUALS', + + /** + * The attribute starts with the condition. + */ + STARTS_WITH = 'STARTS_WITH' + } + + /** + * Specifies the sort order for the products in the collection. + */ + export const enum CollectionSortOrder { + + /** + * Alphabetically, in ascending order (A - Z). + */ + ALPHA_ASC = 'ALPHA_ASC', + + /** + * Alphabetically, in descending order (Z - A). + */ + ALPHA_DESC = 'ALPHA_DESC', + + /** + * By best-selling products. + */ + BEST_SELLING = 'BEST_SELLING', + + /** + * By date created, in ascending order (oldest - newest). + */ + CREATED = 'CREATED', + + /** + * By date created, in descending order (newest - oldest). + */ + CREATED_DESC = 'CREATED_DESC', + + /** + * In the order set manually by the merchant. + */ + MANUAL = 'MANUAL', + + /** + * By price, in ascending order (lowest - highest). + */ + PRICE_ASC = 'PRICE_ASC', + + /** + * By price, in descending order (highest - lowest). + */ + PRICE_DESC = 'PRICE_DESC' + } + + /** + * The set of valid sort keys for the AppTransaction query. + */ + export const enum AppTransactionSortKeys { + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface AppCreditConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface AppCreditEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of AppCreditEdge. + */ + node: AppCredit; + } + + /** + * App credits can be applied by the merchant towards future app purchases, subscriptions, or usage records in Shopify. + */ + export interface AppCredit extends Node { + + /** + * The amount that can be used towards future app purchases in Shopify. + */ + amount: MoneyV2; + + /** + * The date and time when the app credit was created. + */ + createdAt: DateTime; + + /** + * The description of the app credit. + */ + description: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Whether the app credit is a test transaction. + */ + test: boolean; + } + + export interface AppPurchaseOneTimeConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface AppPurchaseOneTimeEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of AppPurchaseOneTimeEdge. + */ + node: AppPurchaseOneTime; + } + + /** + * Services and features purchased once by a store. + */ + export interface AppPurchaseOneTime extends AppPurchase, Node { + + /** + * The date and time when the app purchase was created. + */ + createdAt: DateTime; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The name of the app purchase. + */ + name: string; + + /** + * The amount to be charged to the store for the app purchase. + */ + price: MoneyV2; + + /** + * The status of the app purchase. Possible values include pending, active, declined and cancelled. + */ + status: AppPurchaseStatus; + + /** + * Whether the app purchase is a test transaction. + */ + test: boolean; + } + + /** + * Services and features purchased once by the store. + */ + export interface AppPurchase { + + /** + * The date and time when the app purchase was created. + */ + createdAt: DateTime; + + /** + * The name of the app purchase. + */ + name: string; + + /** + * The amount to be charged to the store for the app purchase. + */ + price: MoneyV2; + + /** + * The status of the app purchase. Possible values include pending, active, declined and cancelled. + */ + status: AppPurchaseStatus; + + /** + * Whether the app purchase is a test transaction. + */ + test: boolean; + } + + /** Use this to resolve interface type AppPurchase */ + export type PossibleAppPurchaseTypeNames = 'AppPurchaseOneTime'; + + export interface AppPurchaseNameMap { + AppPurchase: AppPurchase; + AppPurchaseOneTime: AppPurchaseOneTime; + } + + /** + * The status of the purchase. + */ + export const enum AppPurchaseStatus { + + /** + * The app purchase has been approved by the merchant and is ready to be activated by the app. App purchases created through the GraphQL Admin API are activated upon approval. + */ + ACCEPTED = 'ACCEPTED', + + /** + * The app purchase has been activated by the app. Active app purchases are charged to the store and partners receive payouts for active app purchase. + */ + ACTIVE = 'ACTIVE', + + /** + * The app purchase was declined by the merchant. + */ + DECLINED = 'DECLINED', + + /** + * The app purchase was not accepted within 2 days of being created. + */ + EXPIRED = 'EXPIRED', + + /** + * The app purchase is pending approval by the merchant. + */ + PENDING = 'PENDING' + } + + /** + * The set of valid sort keys for the AppInstallation query. + */ + export const enum AppInstallationSortKeys { + + /** + * Sort by the `installed_at` value. + */ + INSTALLED_AT = 'INSTALLED_AT', + + /** + * Sort by the `app_title` value. + */ + APP_TITLE = 'APP_TITLE', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + /** + * Possible categories of an app installation. + */ + export const enum AppInstallationCategory { + + /** + * Sales channel apps. + */ + CHANNEL = 'CHANNEL', + + /** + * Apps that can be used in the POS mobile client. + */ + POS_EMBEDDED = 'POS_EMBEDDED' + } + + /** + * Possible privacy types of an app installation. + */ + export const enum AppInstallationPrivacy { + PUBLIC = 'PUBLIC', + PRIVATE = 'PRIVATE' + } + + export interface AppInstallationConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface AppInstallationEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of AppInstallationEdge. + */ + node: AppInstallation; + } + + /** + * An automatic discount. + */ + export type DiscountAutomatic = DiscountAutomaticBxgy | DiscountAutomaticBasic; + + /** Use this to resolve union type DiscountAutomatic */ + export type PossibleDiscountAutomaticTypeNames = + 'DiscountAutomaticBxgy' | + 'DiscountAutomaticBasic'; + + export interface DiscountAutomaticNameMap { + DiscountAutomatic: DiscountAutomatic; + DiscountAutomaticBxgy: DiscountAutomaticBxgy; + DiscountAutomaticBasic: DiscountAutomaticBasic; + } + + /** + * An automatic BXGY discount. + */ + export interface DiscountAutomaticBxgy extends Node, HasEvents { + + /** + * The date and time when the discount was created. + */ + createdAt: DateTime; + + /** + * The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount. + */ + customerBuys: DiscountCustomerBuys; + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + customerGets: DiscountCustomerGets; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The paginated list of events associated with the host subject. + */ + events: EventConnection; + + /** + * A legacy unique identifier for the discount. + * @deprecated Use DiscountAutomaticNode.id instead. + */ + id: string; + + /** + * The date and time when the discount starts. + */ + startsAt: DateTime; + + /** + * The status of the discount. + */ + status: DiscountStatus; + + /** + * A detailed summary of the discount. + */ + summary: string; + + /** + * The title of the discount. + */ + title: string; + + /** + * The number of times that the discount has been used. + * @deprecated Use `asyncUsageCount` instead + */ + usageCount: number; + + /** + * The maximum number of times that the discount can be applied to an order. + */ + usesPerOrderLimit?: number; + } + + /** + * Connector to event records on a compatible host. + */ + export interface HasEvents { + + /** + * The paginated list of events associated with the host subject. + */ + events: EventConnection; + } + + /** Use this to resolve interface type HasEvents */ + export type PossibleHasEventsTypeNames = + 'DiscountAutomaticBxgy' | + 'DiscountAutomaticNode' | + 'DiscountCodeNode' | + 'Customer' | + 'Order' | + 'DraftOrder' | + 'PriceRule'; + + export interface HasEventsNameMap { + HasEvents: HasEvents; + DiscountAutomaticBxgy: DiscountAutomaticBxgy; + DiscountAutomaticNode: DiscountAutomaticNode; + DiscountCodeNode: DiscountCodeNode; + Customer: Customer; + Order: Order; + DraftOrder: DraftOrder; + PriceRule: PriceRule; + } + + /** + * The set of valid sort keys for the Event query. + */ + export const enum EventSortKeys { + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface EventConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface EventEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of EventEdge. + */ + node: Event; + } + + /** + * Events chronicle resource activities such as the creation of an article, the fulfillment of an order, or the + * addition of a product. + * + */ + export interface Event { + + /** + * The name of the app that created the event. Returns null when the event originates from the Shopify admin. + */ + appTitle?: string; + + /** + * Whether the event was created by an app. + */ + attributeToApp: boolean; + + /** + * Whether the event was caused by an admin user. + */ + attributeToUser: boolean; + + /** + * The date and time when the event was created. + */ + createdAt: DateTime; + + /** + * Whether the event is critical. + */ + criticalAlert: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Human readable text that describes the event. + */ + message: FormattedString; + } + + /** Use this to resolve interface type Event */ + export type PossibleEventTypeNames = 'BasicEvent' | 'CommentEvent'; + + export interface EventNameMap { + Event: Event; + BasicEvent: BasicEvent; + CommentEvent: CommentEvent; + } + + /** + * The prerequisite items and prerequisite value. + */ + export interface DiscountCustomerBuys { + + /** + * The items required for the discount to be applicable. + */ + items: DiscountItems; + + /** + * The prerequisite value. + */ + value: DiscountCustomerBuysValue; + } + + /** + * Entitled or prerequisite items on a discount. An item could be either collection or product or product_variant. + * + */ + export type DiscountItems = + AllDiscountItems | + DiscountProducts | + DiscountCollections; + + /** Use this to resolve union type DiscountItems */ + export type PossibleDiscountItemsTypeNames = + 'AllDiscountItems' | + 'DiscountProducts' | + 'DiscountCollections'; + + export interface DiscountItemsNameMap { + DiscountItems: DiscountItems; + AllDiscountItems: AllDiscountItems; + DiscountProducts: DiscountProducts; + DiscountCollections: DiscountCollections; + } + + /** + * Whether all items in the cart are entitled to the discount. + */ + export interface AllDiscountItems { + + /** + * Whether all items are selected. The value is hardcoded to `true`. + */ + allItems: boolean; + } + + /** + * The entitled or prerequisite products and product variants for a discount. + */ + export interface DiscountProducts { + + /** + * A list of product variants that the discount can have as a prerequisite or entitlement. + */ + productVariants: ProductVariantConnection; + + /** + * A list of products that the discount can have as a prerequisite or entitlement. + */ + products: ProductConnection; + } + + /** + * A list of collections that the discount can have as a prerequisite or entitlement. + */ + export interface DiscountCollections { + + /** + * A list of collections that the discount can have as a prerequisite or entitlement. + */ + collections: CollectionConnection; + } + + /** + * The prerequisite quantity required for the discount to be applicable. + */ + export type DiscountCustomerBuysValue = + DiscountQuantity | + DiscountPurchaseAmount; + + /** Use this to resolve union type DiscountCustomerBuysValue */ + export type PossibleDiscountCustomerBuysValueTypeNames = + 'DiscountQuantity' | + 'DiscountPurchaseAmount'; + + export interface DiscountCustomerBuysValueNameMap { + DiscountCustomerBuysValue: DiscountCustomerBuysValue; + DiscountQuantity: DiscountQuantity; + DiscountPurchaseAmount: DiscountPurchaseAmount; + } + + /** + * The quantity of items in discount. + */ + export interface DiscountQuantity { + + /** + * The quantity of items. + */ + quantity: UnsignedInt64; + } + + /** + * The prerequisite purchase amount required for the discount to be applicable. + */ + export interface DiscountPurchaseAmount { + + /** + * Decimal money amount. + */ + amount: Decimal; + } + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + export interface DiscountCustomerGets { + + /** + * The items to which the discount applies. + */ + items: DiscountItems; + + /** + * Entitled quantity and the discount value. + */ + value: DiscountCustomerGetsValue; + } + + /** + * The value of the discount and how it will be applied. + */ + export type DiscountCustomerGetsValue = + DiscountOnQuantity | + DiscountAmount | + DiscountPercentage; + + /** Use this to resolve union type DiscountCustomerGetsValue */ + export type PossibleDiscountCustomerGetsValueTypeNames = + 'DiscountOnQuantity' | + 'DiscountAmount' | + 'DiscountPercentage'; + + export interface DiscountCustomerGetsValueNameMap { + DiscountCustomerGetsValue: DiscountCustomerGetsValue; + DiscountOnQuantity: DiscountOnQuantity; + DiscountAmount: DiscountAmount; + DiscountPercentage: DiscountPercentage; + } + + /** + * The quantity of items discounted, the discount value, and how the discount will be applied. + */ + export interface DiscountOnQuantity { + + /** + * The discount's effect on qualifying items. + */ + effect: DiscountEffect; + + /** + * The number of items being discounted. + */ + quantity: DiscountQuantity; + } + + /** + * The type of discount that will be applied. Currently, only percentage off is supported. + */ + export type DiscountEffect = DiscountPercentage; + + /** Use this to resolve union type DiscountEffect */ + export type PossibleDiscountEffectTypeNames = 'DiscountPercentage'; + + export interface DiscountEffectNameMap { + DiscountEffect: DiscountEffect; + DiscountPercentage: DiscountPercentage; + } + + /** + * The percentage value of the discount. + */ + export interface DiscountPercentage { + + /** + * The percentage value of the discount. + */ + percentage: number; + } + + /** + * The fixed amount value of a discount. + */ + export interface DiscountAmount { + + /** + * The value of the discount. + */ + amount: MoneyV2; + + /** + * If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. + */ + appliesOnEachItem: boolean; + } + + /** + * The status of the discount. + */ + export const enum DiscountStatus { + + /** + * The discount is active. + */ + ACTIVE = 'ACTIVE', + + /** + * The discount is expired. + */ + EXPIRED = 'EXPIRED', + + /** + * The discount is scheduled. + */ + SCHEDULED = 'SCHEDULED' + } + + /** + * An automatic basic discount. + */ + export interface DiscountAutomaticBasic { + + /** + * The date and time when the discount was created. + */ + createdAt: DateTime; + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + customerGets: DiscountCustomerGets; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The minimum subtotal or quantity that's required for the discount to be applied. + */ + minimumRequirement: DiscountMinimumRequirement; + + /** + * A short summary of the discount. + */ + shortSummary: string; + + /** + * The date and time when the discount starts. + */ + startsAt: DateTime; + + /** + * The status of the discount. + */ + status: DiscountStatus; + + /** + * A detailed summary of the discount. + */ + summary: string; + + /** + * The title of the discount. + */ + title: string; + + /** + * The number of times that the discount has been used. + * @deprecated Use `asyncUsageCount` instead + */ + usageCount: number; + } + + /** + * The minimum subtotal or quantity requirements for the discount. + */ + export type DiscountMinimumRequirement = + DiscountMinimumQuantity | + DiscountMinimumSubtotal; + + /** Use this to resolve union type DiscountMinimumRequirement */ + export type PossibleDiscountMinimumRequirementTypeNames = + 'DiscountMinimumQuantity' | + 'DiscountMinimumSubtotal'; + + export interface DiscountMinimumRequirementNameMap { + DiscountMinimumRequirement: DiscountMinimumRequirement; + DiscountMinimumQuantity: DiscountMinimumQuantity; + DiscountMinimumSubtotal: DiscountMinimumSubtotal; + } + + /** + * The minimum quantity of items required for the discount to apply. + */ + export interface DiscountMinimumQuantity { + + /** + * The minimum quantity of items that's required for the discount to be applied. + */ + greaterThanOrEqualToQuantity: UnsignedInt64; + } + + /** + * The minimum subtotal required for the discount to apply. + */ + export interface DiscountMinimumSubtotal { + + /** + * The minimum subtotal that's required for the discount to be applied. + */ + greaterThanOrEqualToSubtotal: MoneyV2; + } + + /** + * An automatic discount wrapper node. + */ + export interface DiscountAutomaticNode extends Node, HasEvents { + + /** + * An automatic discount. + */ + automaticDiscount: DiscountAutomatic; + + /** + * The paginated list of events associated with the host subject. + */ + events: EventConnection; + + /** + * Globally unique identifier. + */ + id: string; + } + + /** + * The set of valid sort keys for the AutomaticDiscount query. + */ + export const enum AutomaticDiscountSortKeys { + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface DiscountAutomaticNodeConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DiscountAutomaticNodeEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DiscountAutomaticNodeEdge. + */ + node: DiscountAutomaticNode; + } + + export interface SavedSearchConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface SavedSearchEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of SavedSearchEdge. + */ + node: SavedSearch; + } + + /** + * A saved search is a representation of a search query saved in the admin. + */ + export interface SavedSearch extends Node, LegacyInteroperability { + + /** + * The filters of a saved search. + */ + filters: Array; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The name of a saved search. + */ + name: string; + + /** + * The query string of a saved search. This includes search terms and filters. + */ + query: string; + + /** + * The type of resource this saved search is searching in. + */ + resourceType: SearchResultType; + + /** + * The search terms of a saved search. + */ + searchTerms: string; + } + + /** + * A filter in a search query represented by a key value pair. + */ + export interface SearchFilter { + + /** + * The key of the search filter. + */ + key: string; + + /** + * The value of the search filter. + */ + value: string; + } + + /** + * Specifies the type of resources to be returned from a search. + */ + export const enum SearchResultType { + ORDER = 'ORDER', + CUSTOMER = 'CUSTOMER', + PRODUCT = 'PRODUCT', + ONLINE_STORE_PAGE = 'ONLINE_STORE_PAGE', + ONLINE_STORE_BLOG = 'ONLINE_STORE_BLOG', + ONLINE_STORE_ARTICLE = 'ONLINE_STORE_ARTICLE', + COLLECTION = 'COLLECTION', + DRAFT_ORDER = 'DRAFT_ORDER', + PRICE_RULE = 'PRICE_RULE' + } + + export interface DiscountAutomaticConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DiscountAutomaticEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DiscountAutomaticEdge. + */ + node: DiscountAutomatic; + } + + /** + * A carrier services and their set of shop locations that can be used. + */ + export interface DeliveryCarrierServiceAndLocations { + + /** + * The carrier service. + */ + carrierService: DeliveryCarrierService; + + /** + * The locations that support this carrier service. + */ + locations: Array; + } + + /** + * A locale. + */ + export interface Locale { + + /** + * Locale ISO code. + */ + isoCode: string; + + /** + * Locale name. + */ + name: string; + } + + /** + * A code discount wrapper node. + */ + export interface DiscountCodeNode extends Node, HasEvents { + + /** + * A code discount. + */ + codeDiscount: DiscountCode; + + /** + * The paginated list of events associated with the host subject. + */ + events: EventConnection; + + /** + * Globally unique identifier. + */ + id: string; + } + + /** + * A code discount. + */ + export type DiscountCode = + DiscountCodeBasic | + DiscountCodeBxgy | + DiscountCodeFreeShipping; + + /** Use this to resolve union type DiscountCode */ + export type PossibleDiscountCodeTypeNames = + 'DiscountCodeBasic' | + 'DiscountCodeBxgy' | + 'DiscountCodeFreeShipping'; + + export interface DiscountCodeNameMap { + DiscountCode: DiscountCode; + DiscountCodeBasic: DiscountCodeBasic; + DiscountCodeBxgy: DiscountCodeBxgy; + DiscountCodeFreeShipping: DiscountCodeFreeShipping; + } + + /** + * A basic code discount. + */ + export interface DiscountCodeBasic { + + /** + * Whether the discount can be applied only once per customer. + */ + appliesOncePerCustomer: boolean; + + /** + * The number of times that the discount has been used. + */ + asyncUsageCount: number; + + /** + * The number of redeem codes for the discount. + */ + codeCount: number; + + /** + * A list of redeem codes for the discount. + */ + codes: DiscountRedeemCodeConnection; + + /** + * The date and time when the discount was created. + */ + createdAt: DateTime; + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + customerGets: DiscountCustomerGets; + + /** + * The customers that can use the discount. + */ + customerSelection: DiscountCustomerSelection; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The minimum subtotal or quantity that's required for the discount to be applied. + */ + minimumRequirement?: DiscountMinimumRequirement; + + /** + * A short summary of the discount. + */ + shortSummary: string; + + /** + * The date and time when the discount starts. + */ + startsAt: DateTime; + + /** + * The status of the discount. + */ + status: DiscountStatus; + + /** + * A detailed summary of the discount. + */ + summary: string; + + /** + * The title of the discount. + */ + title: string; + + /** + * The maximum number of times that the discount can be used. + */ + usageLimit?: number; + } + + export interface DiscountRedeemCodeConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DiscountRedeemCodeEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DiscountRedeemCodeEdge. + */ + node: DiscountRedeemCode; + } + + /** + * A redeem code for a code discount. + */ + export interface DiscountRedeemCode { + + /** + * The code of a discount. + */ + code: string; + } + + /** + * The selection of customers who can use this discount. + */ + export type DiscountCustomerSelection = + DiscountCustomerAll | + DiscountCustomers | + DiscountCustomerSavedSearches; + + /** Use this to resolve union type DiscountCustomerSelection */ + export type PossibleDiscountCustomerSelectionTypeNames = + 'DiscountCustomerAll' | + 'DiscountCustomers' | + 'DiscountCustomerSavedSearches'; + + export interface DiscountCustomerSelectionNameMap { + DiscountCustomerSelection: DiscountCustomerSelection; + DiscountCustomerAll: DiscountCustomerAll; + DiscountCustomers: DiscountCustomers; + DiscountCustomerSavedSearches: DiscountCustomerSavedSearches; + } + + /** + * Whether the discount applies to all customers. + */ + export interface DiscountCustomerAll { + + /** + * Always true when resolved to this type. + */ + allCustomers: boolean; + } + + /** + * A list of customers to whom the discount applies. + */ + export interface DiscountCustomers { + + /** + * A list of the customers that can use the discount. + */ + customers: Array; + } + + /** + * Represents information about a customer of the shop, such as the customer's contact details, their order + * history, and whether they've agreed to receive email marketing. + * + */ + export interface Customer extends Node, CommentEventSubject, HasMetafields, LegacyInteroperability, HasEvents { + + /** + * Whether the customer has agreed to receive marketing materials. + */ + acceptsMarketing: boolean; + + /** + * The date and time when the customer consented or objected to receiving marketing material by email. + * + */ + acceptsMarketingUpdatedAt: DateTime; + + /** + * A list of addresses associated with the customer. + */ + addresses: Array; + + /** + * The average amount that the customer spent per order. + * @deprecated Use `averageOrderAmountV2` instead + */ + averageOrderAmount?: Money; + + /** + * The average amount that the customer spent per order. + */ + averageOrderAmountV2?: MoneyV2; + + /** + * Whether the merchant can delete the customer from their store. + * + * A customer can be deleted from a store only if they have not yet made an order. After a customer makes an + * order, they can't be deleted from a store. + * + */ + canDelete: boolean; + + /** + * The date and time when the customer was added to the store. + */ + createdAt: DateTime; + + /** + * The default address associated with the customer. + */ + defaultAddress?: MailingAddress; + + /** + * The full name of the customer, based on the values for first_name and last_name. If the first_name and + * last_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number. + * + */ + displayName: string; + + /** + * The customer's email address. + */ + email?: string; + + /** + * A list of events associated with the customer. + */ + events: EventConnection; + + /** + * The customer's first name. + */ + firstName?: string; + + /** + * Whether the customer has a note associated with them. + */ + hasNote: boolean; + + /** + * Whether the merchant has added timeline comments about the customer on the customer's page. + * + */ + hasTimelineComment: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The image associated with the customer. + */ + image: Image; + + /** + * The customer's last name. + */ + lastName?: string; + + /** + * The customer's last order. + */ + lastOrder?: Order; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The amount of time since the customer was first added to the store. + * + * Example: 'about 12 years'. + * + */ + lifetimeDuration: string; + + /** + * The customer's locale. + */ + locale: string; + + /** + * The marketing subscription opt-in level (as described by the M3AAWG best practices guideline) that the + * customer gave when they consented to receive marketing material by email. + * + * If the customer does not accept email marketing, then this property will be null. + * + */ + marketingOptInLevel?: CustomerMarketingOptInLevel; + + /** + * The metafield associated with the resource. + */ + metafield?: Metafield; + + /** + * A paginated list of metafields associated with the resource. + */ + metafields: MetafieldConnection; + + /** + * A note about the customer. + */ + note?: string; + + /** + * A list of the customer's orders. + */ + orders: OrderConnection; + + /** + * The number of orders that the customer has made at the store in their lifetime. + * + */ + ordersCount: UnsignedInt64; + + /** + * The customer's phone number. + */ + phone?: string; + + /** + * Returns a private metafield found by namespace and key. + */ + privateMetafield?: PrivateMetafield; + + /** + * List of private metafields. + */ + privateMetafields: PrivateMetafieldConnection; + + /** + * The state of the customer's account with the shop. + */ + state: CustomerState; + + /** + * A list of tags assigned to the customer. + */ + tags: Array; + + /** + * Whether the customer is exempt from being charged taxes on their orders. + */ + taxExempt: boolean; + + /** + * The list of tax exemptions applied to the customer. + */ + taxExemptions: Array; + + /** + * The total amount that the customer has spent on orders in their lifetime. + */ + totalSpent: Money; + + /** + * The total amount that the customer has spent on orders in their lifetime. + */ + totalSpentV2: MoneyV2; + + /** + * The date and time when the customer was last updated. + */ + updatedAt: DateTime; + + /** + * Whether the email address is formatted correctly. This does not + * guarantee that the email address actually exists. + * + */ + validEmailAddress: boolean; + + /** + * Whether the customer has verified their email address. + */ + verifiedEmail: boolean; + } + + /** + * The subject line of a comment event. + */ + export interface CommentEventSubject { + + /** + * Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. + */ + hasTimelineComment: boolean; + + /** + * Globally unique identifier. + */ + id: string; + } + + /** Use this to resolve interface type CommentEventSubject */ + export type PossibleCommentEventSubjectTypeNames = + 'Customer' | + 'Order' | + 'DraftOrder' | + 'PriceRule'; + + export interface CommentEventSubjectNameMap { + CommentEventSubject: CommentEventSubject; + Customer: Customer; + Order: Order; + DraftOrder: DraftOrder; + PriceRule: PriceRule; + } + + /** + * Represents a customer mailing address. + * + * For example, a customer's default address and an order's billing address are both mailling addresses. + * + */ + export interface MailingAddress extends Node { + + /** + * The first line of the address. Typically the street address or PO Box number. + * + */ + address1?: string; + + /** + * The second line of the address. Typically the number of the apartment, suite, or unit. + * + */ + address2?: string; + + /** + * The name of the city, district, village, or town. + * + */ + city?: string; + + /** + * The name of the customer's company or organization. + * + */ + company?: string; + + /** + * The name of the country. + * + */ + country?: string; + + /** + * The two-letter code for the country of the address. + * + * For example, US. + * + * @deprecated Use `countryCodeV2` instead + */ + countryCode?: string; + + /** + * The two-letter code for the country of the address. + * + * For example, US. + * + */ + countryCodeV2?: CountryCode; + + /** + * The first name of the customer. + */ + firstName?: string; + + /** + * 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?: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The last name of the customer. + */ + lastName?: string; + + /** + * The latitude coordinate of the customer address. + */ + latitude?: number; + + /** + * The longitude coordinate of the customer address. + */ + longitude?: number; + + /** + * The full name of the customer, based on firstName and lastName. + * + */ + name?: string; + + /** + * A unique phone number for the customer. + * + * Formatted using E.164 standard. For example, _+16135551111_. + * + */ + phone?: string; + + /** + * The region of the address, such as the province, state, or district. + */ + province?: string; + + /** + * The two-letter code for the region. + * + * For example, ON. + * + */ + provinceCode?: string; + + /** + * The zip or postal code of the address. + */ + zip?: string; + } + + /** + * An order represents an agreement to do business between a customer and a merchant. + */ + export interface Order extends Node, CommentEventSubject, HasMetafields, LegacyInteroperability, HasEvents { + + /** + * Generated messages that appear at the top of an order page in the Shopify admin. + * For example, _this is a test order_. + * + */ + alerts: Array; + + /** + * Mailing address provided by the customer. + * Not all orders have mailing addresses. + * + */ + billingAddress?: MailingAddress; + + /** + * Whether the billing address matches the shipping address. + */ + billingAddressMatchesShippingAddress: boolean; + + /** + * Whether the order can be manually marked as paid. + */ + canMarkAsPaid: boolean; + + /** + * Whether notifications can be sent to the customer or not. + */ + canNotifyCustomer: boolean; + + /** + * Reason the order was canceled. + * Returns null if the order wasn't canceled. + * + */ + cancelReason?: OrderCancelReason; + + /** + * Date and time when the order was canceled. + * Returns null if the order wasn't canceled. + * + */ + cancelledAt?: DateTime; + + /** + * Whether payment for the order can be captured. + * Returns true when the customer's credit card has been authorized for payment and the authorization period has not expired. + * + */ + capturable: boolean; + + /** + * Amount of the order-level discount (does not contain any line item discounts). + * @deprecated Use `cartDiscountAmountSet` instead + */ + cartDiscountAmount?: Money; + + /** + * Amount of the order-level discount (does not contain any line item discounts) in shop and presentment currencies. + */ + cartDiscountAmountSet?: MoneyBag; + + /** + * Channel that created the order. + * @deprecated Use `publication` instead + */ + channel?: Channel; + + /** + * The ip address of the client that is associated with this order. + */ + clientIp?: string; + + /** + * Whether the order is closed. + */ + closed: boolean; + + /** + * Date and time when the order closed. + * If the order is not closed, then this field is null. + * + */ + closedAt?: DateTime; + + /** + * Whether inventory has been reserved for the order. + */ + confirmed: boolean; + + /** + * Date and time when the order was created in Shopify. + */ + createdAt: DateTime; + + /** + * The currency of the store at the time of the order. + * If payment hasn't occurred, then this field is null. + * + */ + currencyCode: CurrencyCode; + + /** + * Total amount of duties for the order. If duties are not applicable, then this value is `null`. + */ + currentTotalDutiesSet?: MoneyBag; + + /** + * Custom information added to the order by your customer + * (Also referred to as note attributes). + * + */ + customAttributes: Array; + + /** + * Unique identifier of the customer who placed the order. + * Not all orders have customers associated with them. + * + */ + customer?: Customer; + + /** + * Whether the customer agreed to receive marketing materials. + */ + customerAcceptsMarketing: boolean; + + /** + * Description of the customer's experience with the store leading up to the order. + * + */ + customerJourney?: CustomerJourney; + + /** + * A two-letter or three-letter language code, optionally followed by a region modifier. + * Example values could be 'en', 'en-CA', 'en-PIRATE'. + * + */ + customerLocale?: string; + + /** + * Discounts that have been applied on the order. + */ + discountApplications: DiscountApplicationConnection; + + /** + * Discount code provided by the customer. + */ + discountCode?: string; + + /** + * Primary address of the customer, which is shown on the order. + */ + displayAddress?: MailingAddress; + + /** + * Financial status of the order that can be shown to the merchant. + * This field does not capture all the possible details of an order's financial state and should only be used for display summary purposes. + * + */ + displayFinancialStatus?: OrderDisplayFinancialStatus; + + /** + * Fulfillment status for the order that can be shown to the merchant. + * This field does not capture all the possible details of an order's fulfillment state. It should only be used for display summary purposes. + * + */ + displayFulfillmentStatus: OrderDisplayFulfillmentStatus; + + /** + * Summary of each dispute associated with the order. Sorted in ascending (ASC) order by ID. + */ + disputes: Array; + + /** + * List of possible fulfilments that can be made for the order (includes line items that can be partially fulfilled). + * + */ + draftFulfillments: Array; + + /** + * Whether the order has had any edits applied or not. + */ + edited: boolean; + + /** + * Email address provided by the customer. + */ + email?: string; + + /** + * List of internal events associated with the order. + */ + events: EventConnection; + + /** + * Whether there are items that can be fulfilled. + * After an order is completely fulfilled (or completely refunded without any fulfillments) then this field returns false. + * + */ + fulfillable: boolean; + + /** + * List of fulfillment orders with pagination. + */ + fulfillmentOrders: FulfillmentOrderConnection; + + /** + * List of shipments for the order. + */ + fulfillments: Array; + + /** + * Whether the order has been paid in full. + */ + fullyPaid: boolean; + + /** + * Whether the merchant added timeline comments to the order. + */ + hasTimelineComment: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * First page of the online store that the customer visited before they submitted the order, for displaying to humans. + * @deprecated Use `customerJourney.lastVisit.landingPageHtml` instead + */ + landingPageDisplayText?: string; + + /** + * First page of the online store that the customer visited before they submitted the order. + * @deprecated Use `customerJourney.lastVisit.landingPage` instead + */ + landingPageUrl?: URL; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * List of the order's line items. + */ + lineItems: LineItemConnection; + + /** + * List of the order's line items after any edits. Only available on Developer Preview. + */ + lineItemsMutable: LineItemMutableConnection; + + /** + * If the order was processed using Shopify POS, then this is its location as provided by the merchant. + * + * @deprecated Use `physicalLocation` instead + */ + location?: string; + + /** + * Whether the order can be edited or not. + */ + merchantEditable: boolean; + + /** + * The metafield associated with the resource. + */ + metafield?: Metafield; + + /** + * A paginated list of metafields associated with the resource. + */ + metafields: MetafieldConnection; + + /** + * Unique identifier for the order that appears on the order. + * For example, _#1000_ or _Store1001. + * This value is not unique across multiple stores. + * + */ + name: string; + + /** + * Net payment for the order, based on the total amount received - total amount refunded. + * + * @deprecated Use `netPaymentSet` instead + */ + netPayment: Money; + + /** + * Net payment for the order, based on the total amount received - total amount refunded in shop and presentment currencies. + */ + netPaymentSet: MoneyBag; + + /** + * Line items that can't be fulfilled. + * For example, because some or all of the items have been refunded, or the item is not one which can be fulfilled, such as a tip. + * These line items would be 'lost' if you only considered the line items in draft fulfillments or fulfillments. + * + */ + nonFulfillableLineItems: LineItemConnection; + + /** + * Contents of the note associated with the order. + * + */ + note?: string; + + /** + * Total amount of duties prior to any applied edits for the order. If duties are not applicable, then this value is `null`. + */ + originalTotalDutiesSet?: MoneyBag; + + /** + * Total price of the order prior to any applied edits in shop and presentment currencies. + */ + originalTotalPriceSet: MoneyBag; + + /** + * The payment collection details for an order requiring additional payment. + */ + paymentCollectionDetails: OrderPaymentCollectionDetails; + + /** + * List of all payment gateways used for the order. + * For example, _authorize_net_ and _Cash on Delivery (COD)_. + * + */ + paymentGatewayNames: Array; + + /** + * Phone number provided by the customer. + */ + phone?: string; + + /** + * If the order was processed using Shopify POS, then this is its location as provided by the merchant. + * + */ + physicalLocation?: Location; + + /** + * The payment currency of the customer for this order. + */ + presentmentCurrencyCode: CurrencyCode; + + /** + * Returns a private metafield found by namespace and key. + */ + privateMetafield?: PrivateMetafield; + + /** + * List of private metafields. + */ + privateMetafields: PrivateMetafieldConnection; + + /** + * Date and time when the order was processed. + * When orders are imported from an app, this date and time may not match the date and time when the order was created. + * + */ + processedAt: DateTime; + + /** + * Publication that created the order. + */ + publication?: Publication; + + /** + * Marketing referral code from the link that the customer clicked to visit your store. + * Supports the following URL attributes: _ref_, _source_, or _r_. For example, if the URL is myshopifystore.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. + * + * @deprecated Use `customerJourney.lastVisit.referralCode` instead + */ + referralCode?: string; + + /** + * Website that sent the customer to your online store. + * + * @deprecated Use `customerJourney.lastVisit.referralInfoHtml` instead + */ + referrerDisplayText?: string; + + /** + * Webpage where the customer clicked a link that sent them to your online store. + * For example, _Google_ or _randomblog.com/page1_. + * + * @deprecated Use `customerJourney.lastVisit.referrerUrl` instead + */ + referrerUrl?: URL; + + /** + * The difference between suggested and actual refund amounts. A positive value indicates a difference in the merchants favor and a negative value indicates a difference in the customers favor. + */ + refundDiscrepancySet: MoneyBag; + + /** + * Whether the order can be refunded. + * + */ + refundable: boolean; + + /** + * List of refunds that have been applied to the order. + * + */ + refunds: Array; + + /** + * Whether any line item in the order requires physical shipping. + * + */ + requiresShipping: boolean; + + /** + * Whether the order can be restocked. + * + */ + restockable: boolean; + + /** + * Fraud risk level of the order. + */ + riskLevel: OrderRiskLevel; + + /** + * The order risks associated with this order. + */ + risks: Array; + + /** + * Mailing address for shipping provided by the customer. + */ + shippingAddress?: MailingAddress; + + /** + * Line item that contains the shipping costs. + */ + shippingLine?: ShippingLine; + + /** + * The sum of the quantities for the line items that contribute to the order's subtotal. + */ + subtotalLineItemsQuantity: number; + + /** + * Subtotal of the line items and their discounts (does not contain shipping costs and shipping discounts). + * + * @deprecated Use `subtotalPriceSet` instead + */ + subtotalPrice?: Money; + + /** + * Subtotal of the line items and their discounts (does not contain shipping costs and shipping discounts) in shop and presentment currencies. + */ + subtotalPriceSet?: MoneyBag; + + /** + * The details of the suggested refund. This response can be used to submit a RefundCreate mutation. + */ + suggestedRefund?: SuggestedRefund; + + /** + * List of tags. + */ + tags: Array; + + /** + * Taxes charged for the line item. + */ + taxLines: Array; + + /** + * Whether taxes are included in the subtotal price of the order. + */ + taxesIncluded: boolean; + + /** + * Whether the order is a test. + * Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. + * + */ + test: boolean; + + /** + * Amount authorized for the order, that is uncaptured or undercaptured. + * @deprecated Use `totalCapturableSet` instead + */ + totalCapturable: Money; + + /** + * Amount authorized for the order, that is uncaptured or undercaptured in shop and presentment currencies. + */ + totalCapturableSet: MoneyBag; + + /** + * Total amount discounted from the order (includes order-level and line item discounts). + * @deprecated Use `totalDiscountsSet` instead + */ + totalDiscounts?: Money; + + /** + * Total amount discounted from the order (includes order-level and line item discounts) in shop and presentment currencies. + */ + totalDiscountsSet?: MoneyBag; + + /** + * Total amount of money not yet authorized for the order. + */ + totalOutstandingSet: MoneyBag; + + /** + * Total amount of the order (includes taxes and discounts). + * @deprecated Use `totalPriceSet` instead + */ + totalPrice: Money; + + /** + * Total amount of the order (includes taxes and discounts) in shop and presentment currencies. + */ + totalPriceSet: MoneyBag; + + /** + * Total amount received by the customer for the order. + * @deprecated Use `totalReceivedSet` instead + */ + totalReceived: Money; + + /** + * Total amount received by the customer for the order in shop and presentment currencies. + */ + totalReceivedSet: MoneyBag; + + /** + * Total amount refunded for the order. + * @deprecated Use `totalRefundedSet` instead + */ + totalRefunded: Money; + + /** + * Total amount refunded for the order in shop and presentment currencies. + */ + totalRefundedSet: MoneyBag; + + /** + * Total amount refunded for shipping in shop and presentment currencies. + */ + totalRefundedShippingSet: MoneyBag; + + /** + * Total amount charged for shipping the order. + * @deprecated Use `totalShippingPriceSet` instead + */ + totalShippingPrice: Money; + + /** + * Total amount charged for shipping the order in shop and presentment currencies. + */ + totalShippingPriceSet: MoneyBag; + + /** + * Total of all taxes applied to the order. + * @deprecated Use `totalTaxSet` instead + */ + totalTax?: Money; + + /** + * Total of all taxes applied to the order in shop and presentment currencies. + */ + totalTaxSet?: MoneyBag; + + /** + * Total weight (grams) of the order. + */ + totalWeight?: UnsignedInt64; + + /** + * List of all transactions associated with the order. + */ + transactions: Array; + + /** + * Whether no payments have been made for the order. + * If no payments have been made for the order, then this returns true. + * + */ + unpaid: boolean; + + /** + * Date and time when the order was last modified. + */ + updatedAt: DateTime; + } + + /** + * Presents information or problems to merchants, with 1 or more actions that they can take. + * They can optionally have a specific icon and be dismissed by merchants. + * + */ + export interface ResourceAlert { + + /** + * Buttons in the alert that link to related information. + * For example, _View risk assessment_. + * + */ + actions: Array; + + /** + * Details about the alert. + */ + content: HTML; + + /** + * Unique identifier that appears when an alert is manually closed by the merchant. + * Most alerts cannot be manually closed. + * + */ + dismissibleHandle?: string; + + /** + * Icon that displays with the alert. + */ + icon?: ResourceAlertIcon; + + /** + * Indication of how important the alert is. + */ + severity: ResourceAlertSeverity; + + /** + * The name of the alert. + */ + title: string; + } + + /** + * An action associated to a resource alert. + */ + export interface ResourceAlertAction { + + /** + * Whether the action is primary or not. + */ + primary: boolean; + + /** + * Resource for the action to show. + */ + show?: string; + + /** + * Action title. + */ + title: string; + + /** + * Action target URL. + */ + url: URL; + } + + /** + * The available icons for resource alerts. + */ + export const enum ResourceAlertIcon { + + /** + * A checkmark inside a circle. + */ + CHECKMARK_CIRCLE = 'CHECKMARK_CIRCLE', + + /** + * A lowercase `i` inside a circle. + */ + INFORMATION_CIRCLE = 'INFORMATION_CIRCLE' + } + + /** + * The possible severity levels for a resource alert. + */ + export const enum ResourceAlertSeverity { + + /** + * Indicates a neutral alert. + */ + DEFAULT = 'DEFAULT', + + /** + * Indicates an informative alert. + */ + INFO = 'INFO', + + /** + * Indicates a warning alert. + */ + WARNING = 'WARNING', + + /** + * Indicates a success alert. + */ + SUCCESS = 'SUCCESS', + + /** + * Indicates a critical alert. + */ + CRITICAL = 'CRITICAL', + + /** + * + * @deprecated `ERROR` severity is being deprecated in favour of `WARNING` or `CRITICAL` instead. + */ + ERROR = 'ERROR' + } + + /** + * Represents the reason that the order is being canceled. Valid values are: customer, fraud, inventory, declined, other. + */ + export const enum OrderCancelReason { + + /** + * The customer wanted to cancel the order. + */ + CUSTOMER = 'CUSTOMER', + + /** + * The order was fraudulent. + */ + FRAUD = 'FRAUD', + + /** + * There was insufficient inventory. + */ + INVENTORY = 'INVENTORY', + + /** + * Payment was declined. + */ + DECLINED = 'DECLINED', + + /** + * Some other reason not listed. + */ + OTHER = 'OTHER' + } + + /** + * A collection of monetary values in their respective currencies. + * + */ + export interface MoneyBag { + + /** + * Amount in presentment currency. + */ + presentmentMoney: MoneyV2; + + /** + * Amount in shop currency. + */ + shopMoney: MoneyV2; + } + + /** + * Represents a generic custom attribute. + */ + export interface Attribute { + + /** + * Key or name of the attribute. + */ + key: string; + + /** + * Value of the attribute. + */ + value?: string; + } + + /** + * Represents a customer's activity on a shop's online store. + */ + export interface CustomerJourney { + + /** + * The position of the current order within the customer's order history. + */ + customerOrderIndex: number; + + /** + * The amount of days between first session and order creation date. First session represents first session since the last order, or first session within the 30 day attribution window, if more than 30 days has passed since the last order. + */ + daysToConversion: number; + + /** + * The customer's first session going into the shop. + */ + firstVisit: CustomerVisit; + + /** + * The last session before an order is made. + */ + lastVisit?: CustomerVisit; + + /** + * Events preceding a customer order, such as shop sessions. + */ + moments: Array; + } + + /** + * Information about a customer's session on a shop's online store. + */ + export interface CustomerVisit extends CustomerMoment, Node { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * URL of the first page the customer landed on for the session. + */ + landingPage?: URL; + + /** + * Landing page information with URL linked in HTML. For example, the first page the customer visited was store.myshopify.com/products/1. + */ + landingPageHtml?: HTML; + + /** + * Represent actions taken by an app, on behalf of a merchant, + * to market Shopify resources such as products, collections, and discounts. + * + */ + marketingEvent?: MarketingEvent; + + /** + * When the customer moment occurred. + */ + occurredAt: DateTime; + + /** + * Marketing referral code from the link that the customer clicked to visit the store. + * Supports the following URL attributes: _ref_, _source_, or _r_. + * For example, if the URL is myshopifystore.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. + * + */ + referralCode?: string; + + /** + * Referral information with URLs linked in HTML. + */ + referralInfoHtml: FormattedString; + + /** + * Webpage where the customer clicked a link that sent them to the online store. + * For example, _https://randomblog.com/page1_ or _android-app://com.google.android.gm_. + * + */ + referrerUrl?: URL; + + /** + * Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, + * a website domain, QR code, or unknown. + * + */ + source: string; + + /** + * Describes the source explicitly for first or last session. + */ + sourceDescription?: string; + + /** + * Type of marketing tactic. + */ + sourceType?: MarketingTactic; + + /** + * A set of UTM parameters gathered from the URL parameters of the referrer. + */ + utmParameters?: UTMParameters; + } + + /** + * Represents events preceding a customer order, such as shop sessions. + */ + export interface CustomerMoment { + + /** + * When the customer moment occurred. + */ + occurredAt: DateTime; + } + + /** Use this to resolve interface type CustomerMoment */ + export type PossibleCustomerMomentTypeNames = 'CustomerVisit'; + + export interface CustomerMomentNameMap { + CustomerMoment: CustomerMoment; + CustomerVisit: CustomerVisit; + } + + /** + * Represents actions that market a merchant's store or products. + */ + export interface MarketingEvent extends Node, LegacyInteroperability { + + /** + * The app that the marketing event is attributed to. + */ + app: App; + + /** + * The marketing channel used by the marketing event. + */ + channel?: MarketingChannel; + + /** + * A human-readable description of the marketing event. + */ + description?: string; + + /** + * The date and time when the marketing event ended. + */ + endedAt?: DateTime; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The URL where the marketing event can be managed. + */ + manageUrl?: URL; + + /** + * The URL where the marketing event can be previewed. + */ + previewUrl?: URL; + + /** + * An optional ID that helps Shopify validate engagement data. + */ + remoteId?: string; + + /** + * The date and time when the marketing event is scheduled to end. + */ + scheduledToEndAt?: DateTime; + + /** + * Where the `MarketingEvent` occurred and what kind of content was used. + * Because `utmSource` and `utmMedium` are often used interchangeably, this is + * based on a combination of `marketingChannel`, `referringDomain`, and `type` to + * provide a consistent representation for any given piece of marketing + * regardless of the app that created it. + * + */ + sourceAndMedium: string; + + /** + * The date and time when the marketing event started. + */ + startedAt: DateTime; + + /** + * The display text for the marketing event type. + * @deprecated Use `sourceAndMedium` instead + */ + targetTypeDisplayText: string; + + /** + * The marketing event type. + */ + type: MarketingTactic; + + /** + * The name of the marketing campaign. + */ + utmCampaign?: string; + + /** + * The medium that the marketing campaign is using. Example values: `cpc`, `banner`. + */ + utmMedium?: string; + + /** + * The referrer of the marketing event. Example values: `google`, `newsletter`. + */ + utmSource?: string; + } + + /** + * The available marketing channels for a marketing activity or event. A marketing channel is broad category of marketing, used for reporting aggregation. + * + */ + export const enum MarketingChannel { + + /** + * Paid search. + */ + SEARCH = 'SEARCH', + + /** + * Displayed ads. + */ + DISPLAY = 'DISPLAY', + + /** + * Social media. + */ + SOCIAL = 'SOCIAL', + + /** + * Email. + */ + EMAIL = 'EMAIL', + + /** + * Referral links. + */ + REFERRAL = 'REFERRAL' + } + + /** + * The available types of marketing event. + */ + export const enum MarketingTactic { + + /** + * An abandoned cart recovery email. + */ + ABANDONED_CART = 'ABANDONED_CART', + + /** + * An ad, such as a Facebook ad. + */ + AD = 'AD', + + /** + * An affiliate link. + */ + AFFILIATE = 'AFFILIATE', + + /** + * A link. + */ + LINK = 'LINK', + + /** + * A loyalty program. + */ + LOYALTY = 'LOYALTY', + + /** + * A messaging app, such as Facebook Messenger. + */ + MESSAGE = 'MESSAGE', + + /** + * A newsletter. + */ + NEWSLETTER = 'NEWSLETTER', + + /** + * A notification in the Shopify admin. + */ + NOTIFICATION = 'NOTIFICATION', + + /** + * A blog post. + */ + POST = 'POST', + + /** + * A retargeting ad. + */ + RETARGETING = 'RETARGETING', + + /** + * A transactional email. + */ + TRANSACTIONAL = 'TRANSACTIONAL', + + /** + * Search engine optimization. + */ + SEO = 'SEO', + + /** + * A direct visit to the online store. + */ + DIRECT = 'DIRECT', + + /** + * Popup on merchant's store. + */ + STOREFRONT_APP = 'STOREFRONT_APP', + + /** + * A display ad. + * @deprecated `DISPLAY` is deprecated. Use `AD` instead. + */ + DISPLAY = 'DISPLAY', + + /** + * Paid search. + * @deprecated `SEARCH` is deprecated. Use `AD` instead. + */ + SEARCH = 'SEARCH', + + /** + * A follow-up email. + * @deprecated 'FOLLOW_UP' is deprecated. Use 'TRANSACTIONAL' instead. + */ + FOLLOW_UP = 'FOLLOW_UP', + + /** + * A promotional receipt. + * @deprecated 'RECEIPT' is deprecated. Use 'TRANSACTIONAL' instead. + */ + RECEIPT = 'RECEIPT' + } + + /** + * Represents a set of UTM parameters. + */ + export interface UTMParameters { + + /** + * The name of a marketing campaign. + */ + campaign?: string; + + /** + * Identifies specific content in a marketing campaign. Used to differentiate between similar content or links in a marketing campaign to determine which is the most effective. + */ + content?: string; + + /** + * The medium of a marketing campaign, such as a banner or email newsletter. + */ + medium?: string; + + /** + * The source of traffic to the merchant's store, such as Google or an email newsletter. + */ + source?: string; + + /** + * Paid search terms used by a marketing campaign. + */ + term?: string; + } + + export interface DiscountApplicationConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DiscountApplicationEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DiscountApplicationEdge. + */ + node: DiscountApplication; + } + + /** + * Discount applications capture the intentions of a discount source at + * the time of application on an order's line items or shipping lines. + * + */ + export interface DiscountApplication { + + /** + * The method by which the discount's value is allocated to its entitled items. + */ + allocationMethod: DiscountApplicationAllocationMethod; + + /** + * An ordered index that can be used to identify the discount application and indicate the precedence + * of the discount application for calculations. + * + */ + index: number; + + /** + * How the discount amount is distributed on the discounted lines. + */ + targetSelection: DiscountApplicationTargetSelection; + + /** + * Whether the discount is applied on line items or shipping lines. + */ + targetType: DiscountApplicationTargetType; + + /** + * The value of the discount application. + */ + value: PricingValue; + } + + /** Use this to resolve interface type DiscountApplication */ + export type PossibleDiscountApplicationTypeNames = + 'AutomaticDiscountApplication' | + 'DiscountCodeApplication' | + 'ManualDiscountApplication' | + 'ScriptDiscountApplication'; + + export interface DiscountApplicationNameMap { + DiscountApplication: DiscountApplication; + AutomaticDiscountApplication: AutomaticDiscountApplication; + DiscountCodeApplication: DiscountCodeApplication; + ManualDiscountApplication: ManualDiscountApplication; + ScriptDiscountApplication: ScriptDiscountApplication; + } + + /** + * The method by which the discount's value is allocated onto its entitled lines. + */ + export const 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' + } + + /** + * Which lines on the order that the discount is allocated over, of the type + * defined by the Discount Application's target_type. + * + */ + export const enum DiscountApplicationTargetSelection { + + /** + * The discount is allocated onto all the lines. + */ + ALL = 'ALL', + + /** + * The discount is allocated onto only the lines it is 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 const enum DiscountApplicationTargetType { + + /** + * The discount applies onto line items. + */ + LINE_ITEM = 'LINE_ITEM', + + /** + * The discount applies onto shipping lines. + */ + SHIPPING_LINE = 'SHIPPING_LINE' + } + + /** + * The value of the pricing object. + */ + export type PricingValue = PricingPercentageValue | MoneyV2; + + /** Use this to resolve union type PricingValue */ + export type PossiblePricingValueTypeNames = + 'PricingPercentageValue' | + 'MoneyV2'; + + export interface PricingValueNameMap { + PricingValue: PricingValue; + PricingPercentageValue: PricingPercentageValue; + MoneyV2: MoneyV2; + } + + /** + * The value of the percentage pricing object. + */ + export interface PricingPercentageValue { + + /** + * The percentage value of the object. + */ + percentage: number; + } + + /** + * Represents the order's current financial status. + */ + export const enum OrderDisplayFinancialStatus { + + /** + * Displayed as **Pending**. + */ + PENDING = 'PENDING', + + /** + * Displayed as **Authorized**. + */ + AUTHORIZED = 'AUTHORIZED', + + /** + * Displayed as **Partially paid**. + */ + PARTIALLY_PAID = 'PARTIALLY_PAID', + + /** + * Displayed as **Partially refunded**. + */ + PARTIALLY_REFUNDED = 'PARTIALLY_REFUNDED', + + /** + * Displayed as **Voided**. + */ + VOIDED = 'VOIDED', + + /** + * Displayed as **Paid**. + */ + PAID = 'PAID', + + /** + * Displayed as **Refunded**. + */ + REFUNDED = 'REFUNDED' + } + + /** + * Represents the order's current fulfillment status. Valid values are: unfulfilled, partial, fulfilled, restocked. + */ + export const enum OrderDisplayFulfillmentStatus { + + /** + * Displayed as **Unfulfilled**. + */ + UNFULFILLED = 'UNFULFILLED', + + /** + * Displayed as **Partially fulfilled**. + */ + PARTIALLY_FULFILLED = 'PARTIALLY_FULFILLED', + + /** + * Displayed as **Fulfilled**. + */ + FULFILLED = 'FULFILLED', + + /** + * Displayed as **Restocked**. + */ + RESTOCKED = 'RESTOCKED', + + /** + * Displayed as **Pending fulfillment**. + */ + PENDING_FULFILLMENT = 'PENDING_FULFILLMENT', + + /** + * Displayed as **Open**. + */ + OPEN = 'OPEN', + + /** + * Displayed as **In progress**. + */ + IN_PROGRESS = 'IN_PROGRESS' + } + + /** + * A summary of the important details for a dispute on an order. + */ + export interface OrderDisputeSummary extends Node { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The type that the dispute was initiated as. + */ + initiatedAs: DisputeType; + + /** + * The current status of the dispute. + */ + status: DisputeStatus; + } + + /** + * The possible types for a dispute. + */ + export const enum DisputeType { + + /** + * The dispute has turned into a chargeback. + */ + CHARGEBACK = 'CHARGEBACK', + + /** + * The dispute is in the inquiry phase. + */ + INQUIRY = 'INQUIRY' + } + + /** + * The possible statuses of a dispute. + */ + export const enum DisputeStatus { + NEEDS_RESPONSE = 'NEEDS_RESPONSE', + UNDER_REVIEW = 'UNDER_REVIEW', + CHARGE_REFUNDED = 'CHARGE_REFUNDED', + ACCEPTED = 'ACCEPTED', + WON = 'WON', + LOST = 'LOST' + } + + /** + * Returns unfulfilled line items grouped by their fulfillment service. Each draft fulfillment contains additional information, such as whether the fulfillment requires shipping and whether a shipping label can be printed for it. + * + */ + export interface DraftFulfillment { + + /** + * Whether a label can be purchased. + */ + allowLabelPurchase: boolean; + + /** + * The line items (which might correspond to a variant) that are part of this draft fulfillment. + */ + lineItems: Array; + + /** + * Whether a fulfillment requires shipping. + */ + requiresShipping: boolean; + + /** + * The service responsible for fulfilling the fulfillment. + */ + service: FulfillmentService; + } + + /** + * Represents a single line in a shopping cart. + */ + export interface LineItem extends Node { + + /** + * Whether the line item's variant has an ID and inventory is managed by Shopify. + * @deprecated Use `restockable` instead + */ + canRestock: boolean; + + /** + * List of additional information (metafields) about the line item. + */ + customAttributes: Array; + + /** + * The discounts that have been allocated onto the line item by discount applications. + */ + discountAllocations: Array; + + /** + * The total line price after discounts are applied. + * @deprecated Use `discountedTotalSet` instead + */ + discountedTotal: Money; + + /** + * The total line price after discounts are applied in shop and presentment currencies. + */ + discountedTotalSet: MoneyBag; + + /** + * The price of a single variant unit after line item discounts are applied. + * @deprecated Use `discountedUnitPriceSet` instead + */ + discountedUnitPrice: Money; + + /** + * The price of a single variant unit after line item discounts are applied in shop and presentment currencies. + */ + discountedUnitPriceSet: MoneyBag; + + /** + * The duties associated with the line item. + */ + duties: Array; + + /** + * The total number of units to fulfill. + */ + fulfillableQuantity: number; + + /** + * Name of the service provider who fulfilled the order. + * + * Valid values are either **manual** or the name of the provider. + * For example, **amazon**, **shipwire**. + * + */ + fulfillmentService: FulfillmentService; + + /** + * The line item's fulfillment status. Returns 'fulfilled' if fulfillableQuantity >= quantity, + * 'partial' if fulfillableQuantity > 0, and 'unfulfilled' otherwise. + * + */ + fulfillmentStatus: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The Image object associated to the line item's variant. + */ + image?: Image; + + /** + * Whether the line item can be edited or not. + */ + merchantEditable: boolean; + + /** + * Name of the product. + */ + name: string; + + /** + * A count of the number of line items that cannot be fulfilled. + */ + nonFulfillableQuantity: number; + + /** + * Total price (without discounts) of the line item, based on the original unit price of the variant x quantity. + * + * @deprecated Use `originalTotalSet` instead + */ + originalTotal: Money; + + /** + * Total price (without discounts) of the line item, based on the original unit price of the variant x quantity in shop and presentment currencies. + */ + originalTotalSet: MoneyBag; + + /** + * Variant price without any discounts applied. + * @deprecated Use `originalUnitPriceSet` instead + */ + originalUnitPrice: Money; + + /** + * Variant price without any discounts applied in shop and presentment currencies. + */ + originalUnitPriceSet: MoneyBag; + + /** + * The Product object associated with this line item's variant. + */ + product?: Product; + + /** + * Number of variant items ordered. + */ + quantity: number; + + /** + * The line item's quantity minus its refundedQuantity. + */ + refundableQuantity: number; + + /** + * Whether physical shipping is required for the variant. + */ + requiresShipping: boolean; + + /** + * Whether the line item's variant has an ID and inventory is managed by Shopify. + */ + restockable: boolean; + + /** + * Variant SKU number. + */ + sku?: string; + + /** + * The TaxLine object connected to this line item. + */ + taxLines: Array; + + /** + * Whether the variant is taxable. + */ + taxable: boolean; + + /** + * Title of the product or variant (this field only applies to custom line items). + */ + title: string; + + /** + * The sum of all AppliedDiscounts on this line item. + * @deprecated Use `totalDiscountSet` instead + */ + totalDiscount: Money; + + /** + * The sum of all AppliedDiscounts on this line item in shop and presentment currencies. + */ + totalDiscountSet: MoneyBag; + + /** + * The total discounted value of unfulfilled units. + * @deprecated Use `unfulfilledDiscountedTotalSet` instead + */ + unfulfilledDiscountedTotal: Money; + + /** + * The total discounted value of unfulfilled units in shop and presentment currencies. + */ + unfulfilledDiscountedTotalSet: MoneyBag; + + /** + * The total value before discount of all unfulfilled units. + * @deprecated Use `unfulfilledOriginalTotalSet` instead + */ + unfulfilledOriginalTotal: Money; + + /** + * The total value before discount of all unfulfilled units in shop and presentment currencies. + */ + unfulfilledOriginalTotalSet: MoneyBag; + + /** + * The number of units not yet fulfilled. + */ + unfulfilledQuantity: number; + + /** + * The Variant object associated with this line item. + */ + variant?: ProductVariant; + + /** + * Name of the variant. + */ + variantTitle?: string; + + /** + * Name of the vendor who made the variant. + */ + vendor?: string; + } + + /** + * An amount discounting the line that has been allocated by an associated discount application. + * + */ + export interface DiscountAllocation { + + /** + * Money amount allocated by the discount application. + * @deprecated Use `allocatedAmountSet` instead + */ + allocatedAmount: MoneyV2; + + /** + * Money amount allocated by the discount application in shop and presentment currencies. + */ + allocatedAmountSet: MoneyBag; + + /** + * The discount of which this allocated amount originated from. + */ + discountApplication: DiscountApplication; + } + + /** + * Represents a single duty for a line item. + */ + export interface Duty extends Node { + + /** + * The ISO code of the country of origin of the line item. + */ + countryCodeOfOrigin?: CountryCode; + + /** + * The harmonized system code of the line item. + */ + harmonizedSystemCode?: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The price of the duty for the line item. + */ + price: MoneyBag; + + /** + * The TaxLine objects connected to the duty for the line item. + */ + taxLines: Array; + } + + /** + * Represents the information about the tax charged on the associated line item. + */ + export interface TaxLine { + + /** + * The amount of tax to be charged. + * @deprecated Use `priceSet` instead + */ + price: Money; + + /** + * The amount of tax to be charged in shop and presentment currencies. + */ + priceSet: MoneyBag; + + /** + * The tax rate to be applied. + */ + rate?: number; + + /** + * The percentage of the price that the tax rate represents. + */ + ratePercentage?: number; + + /** + * The name of the tax. + */ + title: string; + } + + export interface FulfillmentOrderConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface FulfillmentOrderEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of FulfillmentOrderEdge. + */ + node: FulfillmentOrder; + } + + /** + * Represents a fulfillment order. In Shopify, a fulfillment order represents a group of one or more items + * in an order that are to be fulfilled from the same location. There can be more than one fulfillment order + * for an order at a given location. + * + */ + export interface FulfillmentOrder extends Node { + + /** + * The fulfillment order's assigned location. This is the location expected to perform fulfillment. + */ + assignedLocation: FulfillmentOrderAssignedLocation; + + /** + * The destination where the items should be sent. + */ + destination?: FulfillmentOrderDestination; + + /** + * A list of fulfillments for the fulfillment order. + */ + fulfillments: FulfillmentConnection; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * A list of the fulfillment order's line items. + */ + lineItems: FulfillmentOrderLineItemConnection; + + /** + * A list of locations that the fulfillment order can potentially move to. + */ + locationsForMove: FulfillmentOrderLocationForMoveConnection; + + /** + * A list of requests sent by the merchant to the fulfillment service for this fulfillment order. + */ + merchantRequests: FulfillmentOrderMerchantRequestConnection; + + /** + * The order that's associated with the fulfillment order. + */ + order: Order; + + /** + * The request status of the fulfillment order. + */ + requestStatus: FulfillmentOrderRequestStatus; + + /** + * The status of the fulfillment order. + */ + status: FulfillmentOrderStatus; + + /** + * The actions that can be performed on this fulfillment order. + */ + supportedActions: Array; + } + + /** + * Represents the assigned location of a fulfillment order, which is a snapshot of the location + * at which the fulfillment order was created. The assigned location is expected to perform fulfillment. + * + */ + export interface FulfillmentOrderAssignedLocation { + + /** + * The first line of the address for the location. + */ + address1?: string; + + /** + * The second line of the address for the location. + */ + address2?: string; + + /** + * The city of the location. + */ + city?: string; + + /** + * The two-letter country code of the location. + */ + countryCode: CountryCode; + + /** + * The location where the fulfillment order was created. This can differ from the + * `FulfillmentOrderAssignedLocation` if the location was updated since the fulfillment order + * was closed. + * + */ + location?: Location; + + /** + * The name of the location. + */ + name: string; + + /** + * The phone number of the location. + */ + phone?: string; + + /** + * The province of the location. + */ + province?: string; + + /** + * The ZIP code of the location. + */ + zip?: string; + } + + /** + * Represents the destination where the items should be sent upon fulfillment. + * + */ + export interface FulfillmentOrderDestination extends Node { + + /** + * The first line of the address of the destination. + */ + address1?: string; + + /** + * The second line of the address of the destination. + */ + address2?: string; + + /** + * The city of the destination. + */ + city?: string; + + /** + * The company of the destination. + */ + company?: string; + + /** + * The two-letter country code of the destination. + */ + countryCode?: CountryCode; + + /** + * The email of the customer at the destination. + */ + email?: string; + + /** + * The first name of the customer at the destination. + */ + firstName?: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The last name of the customer at the destination. + */ + lastName?: string; + + /** + * The phone number of the customer at the destination. + */ + phone?: string; + + /** + * The province of the destination. + */ + province?: string; + + /** + * The ZIP code of the destination. + */ + zip?: string; + } + + export interface FulfillmentConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface FulfillmentEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of FulfillmentEdge. + */ + node: Fulfillment; + } + + /** + * Represents a fulfillment. In Shopify, a fulfillment represents a shipment of one or more items in an order. When an order has been completely fulfilled, it means that all the items that are included in the order have been sent to the customer. There can be more than one fulfillment for an order. + * + */ + export interface Fulfillment extends LegacyInteroperability, Node { + + /** + * The date and time when the fulfillment was created. + */ + createdAt: DateTime; + + /** + * The date that this fulfillment was delivered. + */ + deliveredAt?: DateTime; + + /** + * Human readable display status for this fulfillment. + */ + displayStatus?: FulfillmentDisplayStatus; + + /** + * The estimated date that this fulfillment will arrive. + */ + estimatedDeliveryAt?: DateTime; + + /** + * The history of events associated with this fulfillment. + */ + events: FulfillmentEventConnection; + + /** + * List of the fulfillment's line items. + */ + fulfillmentLineItems: FulfillmentLineItemConnection; + + /** + * A list of fulfillment orders for the fulfillment. + */ + fulfillmentOrders: FulfillmentOrderConnection; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The date and time when the fulfillment went into transit. + */ + inTransitAt?: DateTime; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The location that the fulfillment was processed at. + */ + location?: Location; + + /** + * Human readable reference identifier for this fulfillment. + */ + name: string; + + /** + * The order for which the fulfillment was created. + */ + order: Order; + + /** + * Whether any of the line items in the fulfillment require shipping. + */ + requiresShipping: boolean; + + /** + * Fulfillment service associated with the fulfillment. + */ + service?: FulfillmentService; + + /** + * The status of the fulfillment. + */ + status: FulfillmentStatus; + + /** + * Sum of all line item quantities for the fulfillment. + */ + totalQuantity: number; + + /** + * Tracking information associated with the fulfillment, + * such as the tracking company, tracking number, and tracking URL. + * + */ + trackingInfo: Array; + + /** + * The date and time when the fulfillment was last modified. + * + */ + updatedAt: DateTime; + } + + /** + * The display status of a fulfillment. + */ + export const enum FulfillmentDisplayStatus { + + /** + * Displayed as **Attempted delivery**. + */ + ATTEMPTED_DELIVERY = 'ATTEMPTED_DELIVERY', + + /** + * Displayed as **Canceled**. + */ + CANCELED = 'CANCELED', + + /** + * Displayed as **Confirmed**. + */ + CONFIRMED = 'CONFIRMED', + + /** + * Displayed as **Delivered**. + */ + DELIVERED = 'DELIVERED', + + /** + * Displayed as **Failure**. + */ + FAILURE = 'FAILURE', + + /** + * Displayed as **Fulfilled**. + */ + FULFILLED = 'FULFILLED', + + /** + * Displayed as **In transit**. + */ + IN_TRANSIT = 'IN_TRANSIT', + + /** + * Displayed as **Label printed**. + */ + LABEL_PRINTED = 'LABEL_PRINTED', + + /** + * Displayed as **Label purchased**. + */ + LABEL_PURCHASED = 'LABEL_PURCHASED', + + /** + * Displayed as **Label voided**. + */ + LABEL_VOIDED = 'LABEL_VOIDED', + + /** + * Displayed as **Marked as fulfilled**. + */ + MARKED_AS_FULFILLED = 'MARKED_AS_FULFILLED', + + /** + * Displayed as **Not delivered**. + */ + NOT_DELIVERED = 'NOT_DELIVERED', + + /** + * Displayed as **Out for delivery**. + */ + OUT_FOR_DELIVERY = 'OUT_FOR_DELIVERY', + + /** + * Displayed as **Ready for pickup**. + */ + READY_FOR_PICKUP = 'READY_FOR_PICKUP', + + /** + * Displayed as **Submitted**. + */ + SUBMITTED = 'SUBMITTED' + } + + /** + * The set of valid sort keys for the FulfillmentEvent query. + */ + export const enum FulfillmentEventSortKeys { + + /** + * Sort by the `happened_at` value. + */ + HAPPENED_AT = 'HAPPENED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface FulfillmentEventConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface FulfillmentEventEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of FulfillmentEventEdge. + */ + node: FulfillmentEvent; + } + + /** + * An event that describes a fulfillment at a time. + */ + export interface FulfillmentEvent extends Node { + + /** + * The time at which this fulfillment event happened. + */ + happenedAt: DateTime; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The status of this fulfillment event. + */ + status: FulfillmentEventStatus; + } + + /** + * Event status' describe the status of a fulfillment. + */ + export const enum FulfillmentEventStatus { + + /** + * A shipping label has been purchased. + */ + LABEL_PURCHASED = 'LABEL_PURCHASED', + + /** + * A purchased shipping label has been printed. + */ + LABEL_PRINTED = 'LABEL_PRINTED', + + /** + * The fulfillment is ready to be picked up. + */ + READY_FOR_PICKUP = 'READY_FOR_PICKUP', + + /** + * The fulfillment is confirmed. + */ + CONFIRMED = 'CONFIRMED', + + /** + * The fulfillment is in transit. + */ + IN_TRANSIT = 'IN_TRANSIT', + + /** + * The fulfillment is out for delivery. + */ + OUT_FOR_DELIVERY = 'OUT_FOR_DELIVERY', + + /** + * A delivery was attempted. + */ + ATTEMPTED_DELIVERY = 'ATTEMPTED_DELIVERY', + + /** + * The fulfillment was successfully delivered. + */ + DELIVERED = 'DELIVERED', + + /** + * The fulfillment request failed. + */ + FAILURE = 'FAILURE' + } + + export interface FulfillmentLineItemConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface FulfillmentLineItemEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of FulfillmentLineItemEdge. + */ + node: FulfillmentLineItem; + } + + /** + * Represents a line item from an order that's included in a fulfillment. + */ + export interface FulfillmentLineItem extends Node { + + /** + * The total price after discounts are applied. + * @deprecated Use `discountedTotalSet` instead + */ + discountedTotal: Money; + + /** + * The total price after discounts are applied in shop and presentment currencies. + */ + discountedTotalSet: MoneyBag; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The associated order's line item. + */ + lineItem: LineItem; + + /** + * The total price before discounts are applied. + * @deprecated Use `originalTotalSet` instead + */ + originalTotal: Money; + + /** + * The total price before discounts are applied in shop and presentment currencies. + */ + originalTotalSet: MoneyBag; + + /** + * Number of line items in the fulfillment. + */ + quantity?: number; + } + + /** + * The status of a fulfillment. + */ + export const enum FulfillmentStatus { + + /** + * Shopify has created the fulfillment and is waiting for the third-party fulfillment service to transition it to `open` or `success`. + * + */ + PENDING = 'PENDING', + + /** + * The third-party fulfillment service has acknowledged the fulfilment and is processing it. + * + */ + OPEN = 'OPEN', + + /** + * The fulfillment was completed successfully. + */ + SUCCESS = 'SUCCESS', + + /** + * The fulfillment was canceled. + */ + CANCELLED = 'CANCELLED', + + /** + * There was an error with the fulfillment request. + */ + ERROR = 'ERROR', + + /** + * The fulfillment request failed. + */ + FAILURE = 'FAILURE' + } + + /** + * Represents the tracking information for a fulfillment. + */ + export interface FulfillmentTrackingInfo { + + /** + * The name of the tracking company. + */ + company?: string; + + /** + * The tracking number of the fulfillment. + */ + number?: string; + + /** + * The URLs to track the fulfillment. + */ + url?: URL; + } + + export interface FulfillmentOrderLineItemConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface FulfillmentOrderLineItemEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of FulfillmentOrderLineItemEdge. + */ + node: FulfillmentOrderLineItem; + } + + /** + * Represents a line item belonging to a fulfillment order. + * + */ + export interface FulfillmentOrderLineItem extends Node { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The associated order line item. + */ + lineItem: LineItem; + + /** + * The number of units remaining to be fulfilled. + */ + remainingQuantity: number; + + /** + * The total number of units to be fulfilled. + */ + totalQuantity: number; + } + + export interface FulfillmentOrderLocationForMoveConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface FulfillmentOrderLocationForMoveEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of FulfillmentOrderLocationForMoveEdge. + */ + node: FulfillmentOrderLocationForMove; + } + + /** + * A location that a fulfillment order can potentially move to. + * + */ + export interface FulfillmentOrderLocationForMove { + + /** + * The location being considered as the fulfillment order's new assigned location. + */ + location: Location; + + /** + * A human-readable string with the reason why the fulfillment order, or some of its line items, can't be + * moved to the location. + * + */ + message?: string; + + /** + * Whether the fulfillment order can be moved to the location. + */ + movable: boolean; + } + + /** + * The kinds of request merchants can make to a fulfillment service. + */ + export const enum FulfillmentOrderMerchantRequestKind { + + /** + * The merchant requested fulfillment for a fulfillment order. + * + */ + FULFILLMENT_REQUEST = 'FULFILLMENT_REQUEST', + + /** + * The merchant requested cancellation of an accepted or in-progress fulfillment order. + * + */ + CANCELLATION_REQUEST = 'CANCELLATION_REQUEST' + } + + export interface FulfillmentOrderMerchantRequestConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface FulfillmentOrderMerchantRequestEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of FulfillmentOrderMerchantRequestEdge. + */ + node: FulfillmentOrderMerchantRequest; + } + + /** + * Represents a request made by the merchant to a fulfillment service for a fulfillment order. + * + */ + export interface FulfillmentOrderMerchantRequest extends Node { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The kind of request made. + */ + kind: FulfillmentOrderMerchantRequestKind; + + /** + * The optional message that the merchant included in the request. + */ + message?: string; + + /** + * Additional options requested by the merchant. These depend on the `kind` of the request. + * For example, for a `FULFILLMENT_REQUEST`, one option is `notify_customer`, which indicates whether the + * merchant intends to notify the customer upon fulfillment. The fulfillment service can then set + * `notifyCustomer` when making calls to `FulfillmentCreateV2`. + * + */ + requestOptions?: JSON; + + /** + * The response from the fulfillment service. + */ + responseData?: JSON; + + /** + * The timestamp when the request was made. + */ + sentAt: DateTime; + } + + /** + * A JSON Object. Example value: `{ "key1": "Value 1", "key2": "Value 2", "key3": 3 }` + */ + export type JSON = any; + + /** + * The request status of a fulfillment order. + */ + export const enum FulfillmentOrderRequestStatus { + + /** + * The initial request status for the newly created fulfillment orders. This is the only valid + * request status for fulfillment orders that aren't assigned to a fulfillment service. + * + */ + UNSUBMITTED = 'UNSUBMITTED', + + /** + * The merchant requested fulfillment for this fulfillment order. + */ + SUBMITTED = 'SUBMITTED', + + /** + * The fulfillment service accepted the merchant's fulfillment request. + */ + ACCEPTED = 'ACCEPTED', + + /** + * The fulfillment service rejected the merchant's fulfillment request. + */ + REJECTED = 'REJECTED', + + /** + * The merchant requested a cancellation of the fulfillment request for this fulfillment order. + * + */ + CANCELLATION_REQUESTED = 'CANCELLATION_REQUESTED', + + /** + * The fulfillment service accepted the merchant's fulfillment cancellation request. + * + */ + CANCELLATION_ACCEPTED = 'CANCELLATION_ACCEPTED', + + /** + * The fulfillment service rejected the merchant's fulfillment cancellation request. + * + */ + CANCELLATION_REJECTED = 'CANCELLATION_REJECTED', + + /** + * The fulfillment service closed the fulfillment order without completing it. + */ + CLOSED = 'CLOSED' + } + + /** + * The status of a fulfillment order. + */ + export const enum FulfillmentOrderStatus { + + /** + * The default state for newly created fulfillment orders. + */ + OPEN = 'OPEN', + + /** + * The fulfillment order is being processed. + */ + IN_PROGRESS = 'IN_PROGRESS', + + /** + * The fulfillment order has been cancelled by the merchant. + */ + CANCELLED = 'CANCELLED', + + /** + * The fulfillment order cannot be completed as requested. + */ + INCOMPLETE = 'INCOMPLETE', + + /** + * The fulfillment order has been completed and closed. + */ + CLOSED = 'CLOSED' + } + + /** + * Represents one of the methods that the fulfillment order supports. + * + */ + export interface FulfillmentOrderSupportedAction { + + /** + * The action value. + */ + action: FulfillmentOrderAction; + + /** + * The external URL to be used to initiate the fulfillment process outside Shopify. + */ + externalUrl?: URL; + } + + /** + * The actions that can be taken on a fulfillment order. + */ + export const enum FulfillmentOrderAction { + + /** + * Create a fulfillment for selected line items in the fulfillment order. The corresponding mutation for this action is FulfillmentCreateV2. + */ + CREATE_FULFILLMENT = 'CREATE_FULFILLMENT', + + /** + * Send a request for fulfilling selected line items in a fulfillment order to a fulfillment service. The corresponding mutation for this action is FulfillmentOrderSubmitFulfillmentRequest. + */ + REQUEST_FULFILLMENT = 'REQUEST_FULFILLMENT', + + /** + * Cancel a fulfillment order. The corresponding mutation for this action is FulfillmentOrderCancel. + */ + CANCEL_FULFILLMENT_ORDER = 'CANCEL_FULFILLMENT_ORDER', + + /** + * Move a fulfillment order. The corresponding mutation for this action is FulfillmentOrderMove. + */ + MOVE = 'MOVE', + + /** + * Send a cancellation request to the fulfillment service of a fulfillment order. The corresponding mutation for this action is FulfillmentOrderSubmitCancellationRequest. + */ + REQUEST_CANCELLATION = 'REQUEST_CANCELLATION', + + /** + * Open an external URL to initiate the fulfillment process outside Shopify. + */ + EXTERNAL = 'EXTERNAL' + } + + export interface LineItemConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface LineItemEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of LineItemEdge. + */ + node: LineItem; + } + + export interface LineItemMutableConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface LineItemMutableEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of LineItemMutableEdge. + */ + node: LineItemMutable; + } + + /** + * Represents a single line in a shopping cart. + */ + export interface LineItemMutable extends Node { + + /** + * Whether the line item's variant has an ID and inventory is managed by Shopify. + * @deprecated Use `restockable` instead + */ + canRestock: boolean; + + /** + * List of additional information (metafields) about the line item. + */ + customAttributes: Array; + + /** + * The discounts that have been allocated onto the line item by discount applications. + */ + discountAllocations: Array; + + /** + * The total line price after discounts are applied. + * @deprecated Use `discountedTotalSet` instead + */ + discountedTotal: Money; + + /** + * The total line price after discounts are applied in shop and presentment currencies. + */ + discountedTotalSet: MoneyBag; + + /** + * The price of a single variant unit after line item discounts are applied. + * @deprecated Use `discountedUnitPriceSet` instead + */ + discountedUnitPrice: Money; + + /** + * The price of a single variant unit after line item discounts are applied in shop and presentment currencies. + */ + discountedUnitPriceSet: MoneyBag; + + /** + * The total number of units to fulfill. + */ + fulfillableQuantity: number; + + /** + * Name of the service provider who fulfilled the order. + * + * Valid values are either **manual** or the name of the provider. + * For example, **amazon**, **shipwire**. + * + */ + fulfillmentService: FulfillmentService; + + /** + * The line item's fulfillment status. Returns 'fulfilled' if fulfillableQuantity >= quantity, + * 'partial' if fulfillableQuantity > 0, and 'unfulfilled' otherwise. + * + */ + fulfillmentStatus: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The Image object associated to the line item's variant. + */ + image?: Image; + + /** + * Whether the line item can be edited or not. + */ + merchantEditable: boolean; + + /** + * Name of the product. + */ + name: string; + + /** + * A count of the number of line items that cannot be fulfilled. + */ + nonFulfillableQuantity: number; + + /** + * Total price (without discounts) of the line item, based on the original unit price of the variant x quantity. + * + * @deprecated Use `originalTotalSet` instead + */ + originalTotal: Money; + + /** + * Total price (without discounts) of the line item, based on the original unit price of the variant x quantity in shop and presentment currencies. + */ + originalTotalSet: MoneyBag; + + /** + * Variant price without any discounts applied. + * @deprecated Use `originalUnitPriceSet` instead + */ + originalUnitPrice: Money; + + /** + * Variant price without any discounts applied in shop and presentment currencies. + */ + originalUnitPriceSet: MoneyBag; + + /** + * The Product object associated with this line item's variant. + */ + product?: Product; + + /** + * Number of variant items ordered. + */ + quantity: number; + + /** + * The line item's quantity minus its refundedQuantity. + */ + refundableQuantity: number; + + /** + * Whether physical shipping is required for the variant. + */ + requiresShipping: boolean; + + /** + * Whether the line item's variant has an ID and inventory is managed by Shopify. + */ + restockable: boolean; + + /** + * Variant SKU number. + */ + sku?: string; + + /** + * The TaxLine object connected to this line item. + */ + taxLines: Array; + + /** + * Whether the variant is taxable. + */ + taxable: boolean; + + /** + * Title of the product or variant (this field only applies to custom line items). + */ + title: string; + + /** + * The sum of all AppliedDiscounts on this line item. + * @deprecated Use `totalDiscountSet` instead + */ + totalDiscount: Money; + + /** + * The sum of all AppliedDiscounts on this line item in shop and presentment currencies. + */ + totalDiscountSet: MoneyBag; + + /** + * The total discounted value of unfulfilled units. + * @deprecated Use `unfulfilledDiscountedTotalSet` instead + */ + unfulfilledDiscountedTotal: Money; + + /** + * The total discounted value of unfulfilled units in shop and presentment currencies. + */ + unfulfilledDiscountedTotalSet: MoneyBag; + + /** + * The total value before discount of all unfulfilled units. + * @deprecated Use `unfulfilledOriginalTotalSet` instead + */ + unfulfilledOriginalTotal: Money; + + /** + * The total value before discount of all unfulfilled units in shop and presentment currencies. + */ + unfulfilledOriginalTotalSet: MoneyBag; + + /** + * The number of units not yet fulfilled. + */ + unfulfilledQuantity: number; + + /** + * The Variant object associated with this line item. + */ + variant?: ProductVariant; + + /** + * Name of the variant. + */ + variantTitle?: string; + + /** + * Name of the vendor who made the variant. + */ + vendor?: string; + } + + /** + * The payment collection details for an order requiring additional payment. + */ + export interface OrderPaymentCollectionDetails { + + /** + * URL allowing additional payments to be collected on the order. + */ + additionalPaymentCollectionUrl?: URL; + } + + /** + * Represents a refund of items or transactions in an order. + */ + export interface Refund extends Node, LegacyInteroperability { + + /** + * When the refund was created. + */ + createdAt?: DateTime; + + /** + * List of the order's refunded duties. + */ + duties?: Array; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * Note associated with the refund. + */ + note?: string; + + /** + * The RefundLineItem resources attached to the refund. + */ + refundLineItems: RefundLineItemConnection; + + /** + * Whether the RefundLineItem resources were restocked when the refund was created. + * @deprecated Use `RefundLineItem.restockType` instead. + */ + restocked: boolean; + + /** + * Total amount refunded across all the transactions for this refund. + * @deprecated Use `totalRefundedSet` instead + */ + totalRefunded: MoneyV2; + + /** + * Total amount refunded across all the transactions for this refund in shop and presentment currencies. + */ + totalRefundedSet: MoneyBag; + + /** + * Transactions associated with the refund. + */ + transactions: OrderTransactionConnection; + + /** + * When the refund was last updated. + */ + updatedAt: DateTime; + } + + /** + * Represents a refunded duty. + */ + export interface RefundDuty { + + /** + * Returns the amount of a refunded duty in shop and presentment currencies. + */ + amountSet: MoneyBag; + + /** + * Returns a Duty resource. This represents the Duty in the non-refund context. + */ + originalDuty?: Duty; + } + + export interface RefundLineItemConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface RefundLineItemEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of RefundLineItemEdge. + */ + node: RefundLineItem; + } + + /** + * Represents the details about a refunded line item. + */ + export interface RefundLineItem { + + /** + * Returns a LineItem resource. This represents the LineItem in the non-refund context. + */ + lineItem: LineItem; + + /** + * The inventory restock location. + */ + location?: Location; + + /** + * Returns the price of a refunded line item. + * @deprecated Use `priceSet` instead + */ + price: Money; + + /** + * Returns the price of a refunded line item in shop and presentment currencies. + */ + priceSet: MoneyBag; + + /** + * Returns the quantity of a refunded line item. + */ + quantity: number; + + /** + * Represents the type of restock for the refunded line item. + * @deprecated Use `restockType` instead + */ + refundType: RefundLineItemRefundType; + + /** + * Represents the type of restock for the refunded line item. + */ + restockType: RefundLineItemRestockType; + + /** + * Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund. + */ + restocked: boolean; + + /** + * Returns the subtotal price of a refunded line item. + * @deprecated Use `subtotalSet` instead + */ + subtotal: Money; + + /** + * Returns the subtotal price of a refunded line item in shop and presentment currencies. + */ + subtotalSet: MoneyBag; + + /** + * Returns the total tax charged on a refunded line item. + * @deprecated Use `totalTaxSet` instead + */ + totalTax: Money; + + /** + * Returns the total tax charged on a refunded line item in shop and presentment currencies. + */ + totalTaxSet: MoneyBag; + } + + /** + * The type of restock performed for a particular refund line item. + */ + export const enum RefundLineItemRefundType { + + /** + * Refund line item was returned. + */ + RETURN = 'RETURN', + + /** + * Refund line item was canceled. + */ + CANCEL = 'CANCEL', + + /** + * Refund line item was restocked, without specifically being identified as a return or cancelation. + */ + LEGACY_RESTOCK = 'LEGACY_RESTOCK', + + /** + * Refund line item was not restocked. + */ + NO_RESTOCK = 'NO_RESTOCK' + } + + /** + * The type of restock performed for a particular refund line item. + */ + export const enum RefundLineItemRestockType { + + /** + * Refund line item was returned. + */ + RETURN = 'RETURN', + + /** + * Refund line item was canceled. + */ + CANCEL = 'CANCEL', + + /** + * Refund line item was restocked, without specifically being identified as a return or cancelation. + */ + LEGACY_RESTOCK = 'LEGACY_RESTOCK', + + /** + * Refund line item was not restocked. + */ + NO_RESTOCK = 'NO_RESTOCK' + } + + export interface OrderTransactionConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface OrderTransactionEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of OrderTransactionEdge. + */ + node: OrderTransaction; + } + + /** + * A transaction represents an exchange of money as part of an order. + */ + export interface OrderTransaction extends Node { + + /** + * The masked account number associated with the payment method. + */ + accountNumber?: string; + + /** + * The amount of money. + * @deprecated Use `amountSet` instead + */ + amount: Money; + + /** + * The amount and currency of the transaction in shop and presentment currencies. + */ + amountSet: MoneyBag; + + /** + * The amount and currency of the transaction. + * @deprecated Use `amountSet` instead + */ + amountV2: MoneyV2; + + /** + * Authorization code associated with the transaction. + */ + authorizationCode?: string; + + /** + * Date and time when the transaction was created. + */ + createdAt: DateTime; + + /** + * A standardized error code, independent of the payment provider. + */ + errorCode?: OrderTransactionErrorCode; + + /** + * The human-readable payment gateway name used to process the transaction. + */ + formattedGateway?: string; + + /** + * The payment gateway used to process the transaction. + */ + gateway?: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The kind of transaction. + */ + kind: OrderTransactionKind; + + /** + * Whether the transaction can be manually captured. + */ + manuallyCapturable: boolean; + + /** + * Specifies the available amount to refund on the gateway. Only available within SuggestedRefund. + * @deprecated Use `maximumRefundableV2` instead + */ + maximumRefundable?: Money; + + /** + * Specifies the available amount with currency to refund on the gateway. + * Only available within SuggestedRefund. + * + */ + maximumRefundableV2?: MoneyV2; + + /** + * The associated order. + */ + order?: Order; + + /** + * The associated parent transaction, for example the authorization of a capture. + */ + parentTransaction?: OrderTransaction; + + /** + * Specifies the payment icon to display for this transaction. + */ + paymentIcon?: Image; + + /** + * Specifies the credit card company used to pay for this transaction. + * @deprecated Use `paymentIcon` instead + */ + paymentMethod?: PaymentMethods; + + /** + * Date and time when the transaction was processed. + */ + processedAt?: DateTime; + + /** + * A transaction receipt attached to the transaction by the gateway. + * The value of this field depends on which gateway processed the transaction. + * + * @deprecated Use `receiptJson` instead + */ + receipt?: string; + + /** + * The status of this transaction. + */ + status: OrderTransactionStatus; + + /** + * Whether the transaction is a test transaction. + */ + test: boolean; + + /** + * Specifies the available amount to capture on the gateway. + * Only available when an amount is capturable or manually mark as paid. + * + * @deprecated Use `totalUnsettledSet` instead + */ + totalUnsettled?: Money; + + /** + * Specifies the available amount with currency to capture on the gateway in shop and presentment currencies. + * Only available when an amount is capturable or manually mark as paid. + * + */ + totalUnsettledSet?: MoneyBag; + + /** + * Specifies the available amount with currency to capture on the gateway. + * Only available when an amount is capturable or manually mark as paid. + * + * @deprecated Use `totalUnsettledSet` instead + */ + totalUnsettledV2?: MoneyV2; + } + + /** + * A standardized error code, independent of the payment provider. + */ + export const enum OrderTransactionErrorCode { + + /** + * The card number is incorrect. + */ + INCORRECT_NUMBER = 'INCORRECT_NUMBER', + + /** + * The format of the card number is incorrect. + */ + INVALID_NUMBER = 'INVALID_NUMBER', + + /** + * The format of the expiry date is incorrect. + */ + INVALID_EXPIRY_DATE = 'INVALID_EXPIRY_DATE', + + /** + * The format of the CVC is incorrect. + */ + INVALID_CVC = 'INVALID_CVC', + + /** + * The card is expired. + */ + EXPIRED_CARD = 'EXPIRED_CARD', + + /** + * The CVC does not match the card number. + */ + INCORRECT_CVC = 'INCORRECT_CVC', + + /** + * The ZIP or postal code does not match the card number. + */ + INCORRECT_ZIP = 'INCORRECT_ZIP', + + /** + * The address does not match the card number. + */ + INCORRECT_ADDRESS = 'INCORRECT_ADDRESS', + + /** + * The entered PIN is incorrect. + */ + INCORRECT_PIN = 'INCORRECT_PIN', + + /** + * The card was declined. + */ + CARD_DECLINED = 'CARD_DECLINED', + + /** + * There was an error while processing the payment. + */ + PROCESSING_ERROR = 'PROCESSING_ERROR', + + /** + * Call the card issuer. + */ + CALL_ISSUER = 'CALL_ISSUER', + + /** + * The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back. + * + */ + PICK_UP_CARD = 'PICK_UP_CARD', + + /** + * There is an error in the gateway or merchant configuration. + */ + CONFIG_ERROR = 'CONFIG_ERROR', + + /** + * A real card was used but the gateway was in test mode. + */ + TEST_MODE_LIVE_CARD = 'TEST_MODE_LIVE_CARD', + + /** + * The gateway or merchant configuration doesn't support a feature, such as network tokenization. + */ + UNSUPPORTED_FEATURE = 'UNSUPPORTED_FEATURE', + + /** + * There was an unknown error with processing the payment. + */ + GENERIC_ERROR = 'GENERIC_ERROR', + + /** + * The payment method is not available in the customer's country. + */ + INVALID_COUNTRY = 'INVALID_COUNTRY', + + /** + * The amount is either too high or too low for the provider. + */ + INVALID_AMOUNT = 'INVALID_AMOUNT', + + /** + * The payment method is momentarily unavailable. + */ + PAYMENT_METHOD_UNAVAILABLE = 'PAYMENT_METHOD_UNAVAILABLE', + + /** + * The payment method was invalid. + */ + AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD = 'AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD', + + /** + * The maximum amount has been captured. + */ + AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED = 'AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED', + + /** + * The maximum amount has been refunded. + */ + AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED = 'AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED', + + /** + * The maximum of 10 authorizations has been captured for an order. + */ + AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED = 'AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED', + + /** + * The maximum of 10 refunds has been processed for an order. + */ + AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED = 'AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED', + + /** + * The order was canceled, which canceled all open authorizations. + */ + AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED = 'AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED', + + /** + * The order was not confirmed within three hours. + */ + AMAZON_PAYMENTS_STALE = 'AMAZON_PAYMENTS_STALE' + } + + /** + * The different kinds of order transactions. + */ + export const enum OrderTransactionKind { + + /** + * An authorization and capture performed together in a single step. + */ + SALE = 'SALE', + + /** + * A transfer of the money that was reserved during the authorization stage. + */ + CAPTURE = 'CAPTURE', + + /** + * An amount reserved against the cardholder's funding source. + * Money does not change hands until the authorization is captured. + * + */ + AUTHORIZATION = 'AUTHORIZATION', + + /** + * A cancellation of a pending authorization or capture. + */ + VOID = 'VOID', + + /** + * A partial or full return of captured funds to the cardholder. + * A refund can happen only after a capture is processed. + * + */ + REFUND = 'REFUND', + + /** + * 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. + */ + EMV_AUTHORIZATION = 'EMV_AUTHORIZATION', + + /** + * A suggested refund transaction that can be used to create a refund. + */ + SUGGESTED_REFUND = 'SUGGESTED_REFUND' + } + + /** + * List of payment methods used in Shopify. + */ + export const enum PaymentMethods { + VISA = 'VISA', + MASTERCARD = 'MASTERCARD', + DISCOVER = 'DISCOVER', + AMERICAN_EXPRESS = 'AMERICAN_EXPRESS', + DINERS_CLUB = 'DINERS_CLUB', + JCB = 'JCB', + DANKORT = 'DANKORT', + MAESTRO = 'MAESTRO', + FORBRUGSFORENINGEN = 'FORBRUGSFORENINGEN', + PAYPAL = 'PAYPAL', + BOGUS = 'BOGUS', + BITCOIN = 'BITCOIN', + LITECOIN = 'LITECOIN', + DOGECOIN = 'DOGECOIN' + } + + /** + * Transaction status' describe the status of a transaction. + */ + export const enum OrderTransactionStatus { + + /** + * The transaction succeeded. + */ + SUCCESS = 'SUCCESS', + + /** + * The transaction failed. + */ + FAILURE = 'FAILURE', + + /** + * The transaction is pending. + */ + PENDING = 'PENDING', + + /** + * There was an error while processing the transaction. + */ + ERROR = 'ERROR', + + /** + * Awaiting a response. + */ + AWAITING_RESPONSE = 'AWAITING_RESPONSE', + + /** + * The transaction status is unknown. + */ + UNKNOWN = 'UNKNOWN' + } + + /** + * The likelihood that an order is fraudulent. + */ + export const enum OrderRiskLevel { + + /** + * There is a low level of risk that this order is fraudulent. + */ + LOW = 'LOW', + + /** + * There is a medium level of risk that this order is fraudulent. + */ + MEDIUM = 'MEDIUM', + + /** + * There is a high level of risk that this order is fraudulent. + */ + HIGH = 'HIGH' + } + + /** + * Represents a fraud check on an order. + */ + export interface OrderRisk { + + /** + * Whether the risk level is shown in the Shopify admin. If false, then this order risk is ignored when Shopify determines the overall risk level for the order. + */ + display: boolean; + + /** + * The likelihood that an order is fraudulent, based on this order risk. + * + * The level can be set by Shopify risk analysis or by an app. + * + */ + level?: OrderRiskLevel; + + /** + * The risk message that's shown to the merchant in the Shopify admin. + */ + message?: string; + } + + /** + * Represents the shipping details that the customer chose for their order. + */ + export interface ShippingLine { + + /** + * A reference to the carrier service that provided the rate. + * Present when the rate was computed by a third-party carrier service. + * + */ + carrierIdentifier?: string; + + /** + * A reference to the shipping method. + */ + code?: string; + + /** + * Whether the shipping line is custom or not. + */ + custom: boolean; + + /** + * The general classification of the delivery method. + */ + deliveryCategory?: string; + + /** + * The discounts that have been allocated to the shipping line. + * + */ + discountAllocations: Array; + + /** + * The pre-tax shipping price with discounts applied. + * @deprecated Use `discountedPriceSet` instead + */ + discountedPrice: MoneyV2; + + /** + * The pre-tax shipping price with discounts applied. + */ + discountedPriceSet: MoneyBag; + + /** + * Globally unique identifier. + */ + id?: string; + + /** + * The pre-tax shipping price without any discounts applied. + * @deprecated Use `originalPriceSet` instead + */ + originalPrice: MoneyV2; + + /** + * The pre-tax shipping price without any discounts applied. + */ + originalPriceSet: MoneyBag; + + /** + * The phone number at the shipping address. + */ + phone?: string; + + /** + * Returns the price of the shipping line. + * @deprecated Use `originalPriceSet` instead + */ + price: Money; + + /** + * The fulfillment service requested for the shipping method. + * Present if the shipping method requires processing by a third party fulfillment service. + * + */ + requestedFulfillmentService?: FulfillmentService; + + /** + * A unique identifier for the shipping rate. The format can change without notice and is not meant to be shown to users. + */ + shippingRateHandle?: string; + + /** + * Returns the rate source for the shipping line. + */ + source?: string; + + /** + * The TaxLine objects connected to this shipping line. + */ + taxLines: Array; + + /** + * Returns the title of the shipping line. + */ + title: string; + } + + /** + * Specifies the fields required to return line items on a refund. + */ + export interface RefundLineItemInput { + + /** + * The ID of the line item in the refund. + */ + lineItemId: string; + + /** + * The quantity of the associated line item that was returned. + */ + quantity: number; + + /** + * The type of restock for this line item. + */ + restockType?: RefundLineItemRestockType; + + /** + * The intended location for restocking if `refundType` is not `NO_RESTOCK` + */ + locationId?: string; + } + + /** + * Specifies the fields required to return duties on a refund. + */ + export interface RefundDutyInput { + + /** + * The ID of the duty in the refund. + */ + dutyId: string; + + /** + * The type of refund for this duty. + */ + refundType?: RefundDutyRefundType; + } + + /** + * The type of refund to perform for a particular refund duty. + */ + export const enum RefundDutyRefundType { + + /** + * The duty is proportionally refunded based on the quantity of the refunded line item. + */ + PROPORTIONAL = 'PROPORTIONAL', + + /** + * The duty is fully refunded. + */ + FULL = 'FULL' + } + + /** + * Represents the suggested refund to be submitted based on the items being returned. + */ + export interface SuggestedRefund { + + /** + * The total monetary value to be refunded. + * @deprecated Use `amountSet` instead + */ + amount: Money; + + /** + * The total monetary value to be refunded in shop and presentment currencies. + */ + amountSet: MoneyBag; + + /** + * The sum of all the discounted prices of the line items being refunded. + */ + discountedSubtotalSet: MoneyBag; + + /** + * The total monetary value available to refund. + * @deprecated Use `maximumRefundableSet` instead + */ + maximumRefundable: Money; + + /** + * The total monetary value available to refund in shop and presentment currencies. + */ + maximumRefundableSet: MoneyBag; + + /** + * An array of duties that will be refunded to the customer. + */ + refundDuties: Array; + + /** + * An array of line items that will be returned to the customer. + */ + refundLineItems: Array; + + /** + * Refund details for shipping costs paid by customer. + */ + shipping: ShippingRefund; + + /** + * The sum of all the prices of the line items being refunded. + * @deprecated Use `subtotalSet` instead + */ + subtotal: Money; + + /** + * The sum of all the prices of the line items being refunded in shop and presentment currencies. + */ + subtotalSet: MoneyBag; + + /** + * Array of SuggestedOrderTransaction items. + */ + suggestedTransactions: Array; + + /** + * The total cart discount amount that was applied to all line items in this refund. + */ + totalCartDiscountAmountSet: MoneyBag; + + /** + * The sum of all the duties being refunded from the order (must be positive) in shop and presentment currencies. + */ + totalDutiesSet: MoneyBag; + + /** + * The sum of all the taxes being refunded from the order (must be positive) in shop and presentment currencies. + */ + totalTaxSet: MoneyBag; + + /** + * The sum of all the taxes being refunded from the order (must be positive). + * @deprecated Use `totalTaxSet` instead + */ + totalTaxes: Money; + } + + /** + * Represents the shipping costs refunded on the Refund. + */ + export interface ShippingRefund { + + /** + * The monetary value of the shipping fees to be returned. + * @deprecated Use `amountSet` instead + */ + amount: Money; + + /** + * The monetary value of the shipping fees to be returned in shop and presentment currencies. + */ + amountSet: MoneyBag; + + /** + * The maximum amount of shipping fees currently refundable. + * @deprecated Use `maximumRefundableSet` instead + */ + maximumRefundable: Money; + + /** + * The maximum amount of shipping fees currently refundable in shop and presentment currencies. + */ + maximumRefundableSet: MoneyBag; + + /** + * The monetary value of the tax allocated to shipping fees to be returned. + * @deprecated Use `taxSet` instead + */ + tax: Money; + + /** + * The monetary value of the tax allocated to shipping fees to be returned in shop and presentment currencies. + */ + taxSet: MoneyBag; + } + + /** + * Represents a suggested transaction. + */ + export interface SuggestedOrderTransaction { + + /** + * The masked account number associated with the payment method. + */ + accountNumber?: string; + + /** + * The amount of the transaction. + * @deprecated Use `amountSet` instead + */ + amount: Money; + + /** + * The amount on the order transaction in applicable currencies. + */ + amountSet: MoneyBag; + + /** + * The human-readable payment gateway name used to process the transaction. + */ + formattedGateway?: string; + + /** + * The payment gateway used to process the transaction. + */ + gateway?: string; + + /** + * Specifies the kind of the suggested order transaction. + */ + kind: SuggestedOrderTransactionKind; + + /** + * Specifies the available amount to refund on the gateway. Only available within SuggestedRefund. + * @deprecated Use `maximumRefundableSet` instead + */ + maximumRefundable?: Money; + + /** + * Specifies the available amount to refund on the gateway in shop and presentment currencies. Only available within SuggestedRefund. + */ + maximumRefundableSet?: MoneyBag; + + /** + * The associated parent transaction, for example the authorization of a capture. + */ + parentTransaction?: OrderTransaction; + } + + /** + * Specifies the kind of the suggested order transaction. + */ + export const enum SuggestedOrderTransactionKind { + + /** + * A suggested refund transaction for an order. + */ + SUGGESTED_REFUND = 'SUGGESTED_REFUND' + } + + /** + * The valid values for the marketing subscription opt-in active at the time the customer consented to email + * marketing. + * + * The levels are defined by [the M3AAWG best practices guideline + * document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf). + * + */ + export const enum CustomerMarketingOptInLevel { + + /** + * The customer started receiving marketing email(s) after providing their email address, without any + * intermediate steps. + * + */ + SINGLE_OPT_IN = 'SINGLE_OPT_IN', + + /** + * After providing their email address, the customer received a confirmation email which required them to + * perform a prescribed action before receiving marketing emails. + * + */ + CONFIRMED_OPT_IN = 'CONFIRMED_OPT_IN', + + /** + * The customer receives marketing emails, but the original opt-in process is unknown. + * + */ + UNKNOWN = 'UNKNOWN' + } + + /** + * The set of valid sort keys for the Order query. + */ + export const enum OrderSortKeys { + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `customer_name` value. + */ + CUSTOMER_NAME = 'CUSTOMER_NAME', + + /** + * Sort by the `financial_status` value. + */ + FINANCIAL_STATUS = 'FINANCIAL_STATUS', + + /** + * Sort by the `fulfillment_status` value. + */ + FULFILLMENT_STATUS = 'FULFILLMENT_STATUS', + + /** + * Sort by the `order_number` value. + */ + ORDER_NUMBER = 'ORDER_NUMBER', + + /** + * Sort by the `processed_at` value. + */ + PROCESSED_AT = 'PROCESSED_AT', + + /** + * Sort by the `total_price` value. + */ + TOTAL_PRICE = 'TOTAL_PRICE', + + /** + * Sort by the `updated_at` value. + */ + UPDATED_AT = 'UPDATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface OrderConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface OrderEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of OrderEdge. + */ + node: Order; + } + + /** + * The valid values for the state of a customer's account with a shop. + */ + export const enum CustomerState { + + /** + * The customer declined the email invite to create an account. + */ + DECLINED = 'DECLINED', + + /** + * The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time. + */ + DISABLED = 'DISABLED', + + /** + * The customer has created an account. + */ + ENABLED = 'ENABLED', + + /** + * The customer has received an email invite to create an account. + */ + INVITED = 'INVITED' + } + + /** + * Available customer tax exemptions. + */ + export const enum TaxExemption { + + /** + * This customer is exempt from specific taxes for holding a valid STATUS_CARD_EXEMPTION in Canada. + */ + CA_STATUS_CARD_EXEMPTION = 'CA_STATUS_CARD_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in British Columbia. + */ + CA_BC_RESELLER_EXEMPTION = 'CA_BC_RESELLER_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Manitoba. + */ + CA_MB_RESELLER_EXEMPTION = 'CA_MB_RESELLER_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Saskatchewan. + */ + CA_SK_RESELLER_EXEMPTION = 'CA_SK_RESELLER_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid DIPLOMAT_EXEMPTION in Canada. + */ + CA_DIPLOMAT_EXEMPTION = 'CA_DIPLOMAT_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in British Columbia. + */ + CA_BC_COMMERCIAL_FISHERY_EXEMPTION = 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Manitoba. + */ + CA_MB_COMMERCIAL_FISHERY_EXEMPTION = 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Nova Scotia. + */ + CA_NS_COMMERCIAL_FISHERY_EXEMPTION = 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Prince Edward Island. + */ + CA_PE_COMMERCIAL_FISHERY_EXEMPTION = 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Saskatchewan. + */ + CA_SK_COMMERCIAL_FISHERY_EXEMPTION = 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in British Columbia. + */ + CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION = 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in Saskatchewan. + */ + CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION = 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in British Columbia. + */ + CA_BC_SUB_CONTRACTOR_EXEMPTION = 'CA_BC_SUB_CONTRACTOR_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in Saskatchewan. + */ + CA_SK_SUB_CONTRACTOR_EXEMPTION = 'CA_SK_SUB_CONTRACTOR_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in British Columbia. + */ + CA_BC_CONTRACTOR_EXEMPTION = 'CA_BC_CONTRACTOR_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in Saskatchewan. + */ + CA_SK_CONTRACTOR_EXEMPTION = 'CA_SK_CONTRACTOR_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid PURCHASE_EXEMPTION in Ontario. + */ + CA_ON_PURCHASE_EXEMPTION = 'CA_ON_PURCHASE_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Manitoba. + */ + CA_MB_FARMER_EXEMPTION = 'CA_MB_FARMER_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Nova Scotia. + */ + CA_NS_FARMER_EXEMPTION = 'CA_NS_FARMER_EXEMPTION', + + /** + * This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Saskatchewan. + */ + CA_SK_FARMER_EXEMPTION = 'CA_SK_FARMER_EXEMPTION' + } + + /** + * A list of customer saved searches that contain the customers to whom the discount applies. + */ + export interface DiscountCustomerSavedSearches { + + /** + * A list of customer saved searches that contain the customers who can use the discount. + */ + savedSearches: Array; + } + + /** + * A BXGY code discount. + */ + export interface DiscountCodeBxgy { + + /** + * Whether the discount can be applied only once per customer. + */ + appliesOncePerCustomer: boolean; + + /** + * The number of times that the discount has been used. + */ + asyncUsageCount: number; + + /** + * The number of redeem codes for the discount. + */ + codeCount: number; + + /** + * A list of redeem codes for the discount. + */ + codes: DiscountRedeemCodeConnection; + + /** + * The date and time when the discount was created. + */ + createdAt: DateTime; + + /** + * The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount. + */ + customerBuys: DiscountCustomerBuys; + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + customerGets: DiscountCustomerGets; + + /** + * The customers that can use the discount. + */ + customerSelection: DiscountCustomerSelection; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The date and time when the discount starts. + */ + startsAt: DateTime; + + /** + * The status of the discount. + */ + status: DiscountStatus; + + /** + * A detailed summary of the discount. + */ + summary: string; + + /** + * The title of the discount. + */ + title: string; + + /** + * The maximum number of times that the discount can be used. + */ + usageLimit?: number; + + /** + * The maximum number of times that the discount can be applied to an order. + */ + usesPerOrderLimit?: number; + } + + /** + * A free shipping code discount. + */ + export interface DiscountCodeFreeShipping { + + /** + * Whether the discount can be applied only once per customer. + */ + appliesOncePerCustomer: boolean; + + /** + * The number of times that the discount has been used. + */ + asyncUsageCount: number; + + /** + * The number of redeem codes for the discount. + */ + codeCount: number; + + /** + * A list of redeem codes for the discount. + */ + codes: DiscountRedeemCodeConnection; + + /** + * The date and time when the discount was created. + */ + createdAt: DateTime; + + /** + * The customers that can use the discount. + */ + customerSelection: DiscountCustomerSelection; + + /** + * A shipping destination that qualifies for the discount. + */ + destinationSelection: DiscountShippingDestinationSelection; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The minimum subtotal or quantity that's required for the discount to be applied. + */ + minimumRequirement?: DiscountMinimumRequirement; + + /** + * A short summary of the discount. + */ + shortSummary: string; + + /** + * The date and time when the discount starts. + */ + startsAt: DateTime; + + /** + * The status of the discount. + */ + status: DiscountStatus; + + /** + * A detailed summary of the discount. + */ + summary: string; + + /** + * The title of the discount. + */ + title: string; + + /** + * The maximum number of times that the discount can be used. + */ + usageLimit?: number; + } + + /** + * The selection of shipping countries to which this discount applies. + */ + export type DiscountShippingDestinationSelection = + DiscountCountryAll | + DiscountCountries; + + /** Use this to resolve union type DiscountShippingDestinationSelection */ + export type PossibleDiscountShippingDestinationSelectionTypeNames = + 'DiscountCountryAll' | + 'DiscountCountries'; + + export interface DiscountShippingDestinationSelectionNameMap { + DiscountShippingDestinationSelection: DiscountShippingDestinationSelection; + DiscountCountryAll: DiscountCountryAll; + DiscountCountries: DiscountCountries; + } + + /** + * Whether the discount applies to all countries. + */ + export interface DiscountCountryAll { + + /** + * Always true when resolved to this type. + */ + allCountries: boolean; + } + + /** + * The shipping destination where the discount applies. + */ + export interface DiscountCountries { + + /** + * The codes for the countries where the discount can be used. + */ + countries: Array; + + /** + * Whether the discount is applicable to countries that have not been defined in the shop's shipping zones. + */ + includeRestOfWorld: boolean; + } + + /** + * The set of valid sort keys for the CodeDiscount query. + */ + export const enum CodeDiscountSortKeys { + + /** + * Sort by the `starts_at` value. + */ + STARTS_AT = 'STARTS_AT', + + /** + * Sort by the `ends_at` value. + */ + ENDS_AT = 'ENDS_AT', + + /** + * Sort by the `title` value. + */ + TITLE = 'TITLE', + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `updated_at` value. + */ + UPDATED_AT = 'UPDATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface DiscountCodeNodeConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DiscountCodeNodeEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DiscountCodeNodeEdge. + */ + node: DiscountCodeNode; + } + + /** + * Collections may use rules to automatically include the matching products. This defines restrictions for a type of rule. + */ + export interface CollectionRuleConditions { + + /** + * Allowed relations of the rule. + */ + allowedRelations: Array; + + /** + * Most commonly used relation for this rule. + */ + defaultRelation: CollectionRuleRelation; + + /** + * Type of the rule. + */ + ruleType: CollectionRuleColumn; + } + + /** + * An asynchronous long-running operation to fetch data in bulk. + * + * Bulk operations are created using the `bulkOperationRunQuery` mutation. After they are created, + * clients should poll the `status` field for updates. When `COMPLETED`, the `url` field contains + * a link to the data in [JSONL](http://jsonlines.org/) format. + * + * See the [bulk operations guide](https://help.shopify.com/api/guides/bulk-operations) for more details. + * + */ + export interface BulkOperation extends Node { + + /** + * When the bulk operation was successfully completed. + */ + completedAt?: DateTime; + + /** + * When the bulk operation was created. + */ + createdAt: DateTime; + + /** + * Error code for failed operations. + */ + errorCode?: BulkOperationErrorCode; + + /** + * File size in bytes of the file in the `url` field. + */ + fileSize?: UnsignedInt64; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The running count of all objects processed. + * For example, when fetching all products and their variants, this field counts both products and variants. + * This field can be used to track operation progress. + * + */ + objectCount: UnsignedInt64; + + /** + * URL to partial/incomplete response data (in [JSONL](http://jsonlines.org/) format) returned by a failed operation. + * Expires **one week** after the operation fails. Returns `null` when there's no data available. + * + */ + partialDataUrl?: URL; + + /** + * GraphQL query document specified in `bulkOperationRunQuery`. + */ + query: string; + + /** + * Status of the bulk operation. + */ + status: BulkOperationStatus; + + /** + * URL to the response data in [JSONL](http://jsonlines.org/) format. + * Expires **one week** after the operation completes. + * + */ + url?: URL; + } + + /** + * Error codes for failed bulk operations. + */ + export const enum BulkOperationErrorCode { + + /** + * The provided operation `query` returned access denied due to missing + * [access scopes](https://help.shopify.com/api/getting-started/authentication/oauth/scopes). + * Review the requested object permissions and execute the query as a normal non-bulk GraphQL request to see more details. + * + */ + ACCESS_DENIED = 'ACCESS_DENIED', + + /** + * Operation resulted in partial or incomplete data due to internal server errors during execution. + * + */ + INTERNAL_SERVER_ERROR = 'INTERNAL_SERVER_ERROR', + + /** + * Operation resulted in partial or incomplete data due to query timeouts during execution. + * In some cases, timeouts can be avoided by modifying your `query` to select fewer fields. + * + */ + TIMEOUT = 'TIMEOUT' + } + + /** + * Statuses of a bulk operation. + */ + export const enum BulkOperationStatus { + + /** + * Operation created. + */ + CREATED = 'CREATED', + + /** + * Operation running. + */ + RUNNING = 'RUNNING', + + /** + * Operation completed. + */ + COMPLETED = 'COMPLETED', + + /** + * Operation canceling. + */ + CANCELING = 'CANCELING', + + /** + * Operation canceled. + */ + CANCELED = 'CANCELED', + + /** + * Operation failed. + */ + FAILED = 'FAILED', + + /** + * Operation URL has expired. + */ + EXPIRED = 'EXPIRED' + } + + /** + * The set of valid sort keys for the CustomerSavedSearch query. + */ + export const enum CustomerSavedSearchSortKeys { + + /** + * Sort by the `name` value. + */ + NAME = 'NAME', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + /** + * The set of valid sort keys for the Customer query. + */ + export const enum CustomerSortKeys { + + /** + * Sort by the `name` value. + */ + NAME = 'NAME', + + /** + * Sort by the `location` value. + */ + LOCATION = 'LOCATION', + + /** + * Sort by the `orders_count` value. + */ + ORDERS_COUNT = 'ORDERS_COUNT', + + /** + * Sort by the `last_order_date` value. + */ + LAST_ORDER_DATE = 'LAST_ORDER_DATE', + + /** + * Sort by the `total_spent` value. + */ + TOTAL_SPENT = 'TOTAL_SPENT', + + /** + * Sort by the `updated_at` value. + */ + UPDATED_AT = 'UPDATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface CustomerConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface CustomerEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of CustomerEdge. + */ + node: Customer; + } + + /** + * The set of valid sort keys for the DeletionEvent query. + */ + export const enum DeletionEventSortKeys { + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + /** + * The supported subject types of deletion events. + */ + export const enum DeletionEventSubjectType { + COLLECTION = 'COLLECTION', + PRODUCT = 'PRODUCT' + } + + export interface DeletionEventConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DeletionEventEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DeletionEventEdge. + */ + node: DeletionEvent; + } + + /** + * Deletion events chronicle the destruction of resources (e.g. products and collections). + * Once deleted, the deletion event is the only trace of the original's existence, + * as the resource itself has been removed and can no longer be accessed. + * + */ + export interface DeletionEvent { + + /** + * The date and time when the deletion event for the related resource was generated. + */ + occurredAt: DateTime; + + /** + * The id of the resource that was deleted. + */ + subjectId: string; + + /** + * The type of resource that was deleted. + */ + subjectType: DeletionEventSubjectType; + } + + export interface DeliveryProfileConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DeliveryProfileEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DeliveryProfileEdge. + */ + node: DeliveryProfile; + } + + /** + * Delivery shop-level settings. + */ + export interface DeliverySetting { + + /** + * Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned. + */ + legacyModeBlocked: DeliveryLegacyModeBlocked; + + /** + * Enables legacy compatability mode for the multi-location delivery profiles feature. + */ + legacyModeProfiles: boolean; + } + + /** + * Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned. + */ + export interface DeliveryLegacyModeBlocked { + + /** + * Whether the shop can convert to full multi-location delivery profiles mode. + */ + blocked: boolean; + + /** + * The reasons why the shop is blocked from converting to full multi-location delivery profiles mode. + */ + reasons?: Array; + } + + /** + * Reasons the shop is blocked from converting to full multi-location delivery profiles mode. + */ + export const enum DeliveryLegacyModeBlockedReason { + + /** + * Multi-Location is disabled. + */ + MULTI_LOCATION_DISABLED = 'MULTI_LOCATION_DISABLED', + + /** + * No locations that can fulfill online orders. + */ + NO_LOCATIONS_FULFILLING_ONLINE_ORDERS = 'NO_LOCATIONS_FULFILLING_ONLINE_ORDERS' + } + + /** + * A unique string that represents the address of a Shopify store on the Internet. + */ + export interface Domain extends Node { + + /** + * The host name of the domain (eg: `example.com`). + */ + host: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Whether SSL is enabled or not. + */ + sslEnabled: boolean; + + /** + * The URL of the domain (eg: `https://example.com`). + */ + url: URL; + } + + /** + * Represents a draft order. Merchants can use draft orders to create orders on behalf of their customers. + * + */ + export interface DraftOrder extends Node, HasMetafields, CommentEventSubject, LegacyInteroperability, HasEvents { + + /** + * Order-level discount applied to the draft order. + */ + appliedDiscount?: DraftOrderAppliedDiscount; + + /** + * Billing address of the customer. + * + */ + billingAddress?: MailingAddress; + + /** + * Date and time when the draft order converted to a new order, + * and the draft order's status changed to **Completed**. + * + */ + completedAt?: DateTime; + + /** + * Date and time when the draft order was created in Shopify. + */ + createdAt: DateTime; + + /** + * Three letter code for the currency of the store at the time that the invoice is sent. + * + */ + currencyCode: CurrencyCode; + + /** + * Custom information added to the draft order on behalf of your customer. + * + */ + customAttributes: Array; + + /** + * Customer who will be sent an invoice for the draft order, if there is one. + */ + customer?: Customer; + + /** + * Email address of the customer, which is used to send notifications to. + */ + email?: string; + + /** + * List of events associated with the draft order. + */ + events: EventConnection; + + /** + * Whether the merchant has added timeline comments to the draft order. + */ + hasTimelineComment: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Date and time when the invoice was last emailed to the customer. + */ + invoiceSentAt?: DateTime; + + /** + * Link to the checkout, which is sent to your customer in the invoice email. + */ + invoiceUrl?: URL; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * List of the line items in the draft order. + */ + lineItems: DraftOrderLineItemConnection; + + /** + * The metafield associated with the resource. + */ + metafield?: Metafield; + + /** + * A paginated list of metafields associated with the resource. + */ + metafields: MetafieldConnection; + + /** + * Unique identifier for the draft order, which is unique within the store. For example, _#D1223_. + * + */ + name: string; + + /** + * Text from an optional note attached to the draft order. + */ + note2?: string; + + /** + * Order that was created from this draft order. + */ + order?: Order; + + /** + * Returns a private metafield found by namespace and key. + */ + privateMetafield?: PrivateMetafield; + + /** + * List of private metafields. + */ + privateMetafields: PrivateMetafieldConnection; + + /** + * Shipping mailing address of the customer. + */ + shippingAddress?: MailingAddress; + + /** + * Line item that contains the shipping costs. + */ + shippingLine?: ShippingLine; + + /** + * Status of the draft order. + */ + status: DraftOrderStatus; + + /** + * Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes). + * + */ + subtotalPrice: Money; + + /** + * Tags added to the draft order. + */ + tags: Array; + + /** + * Whether the draft order is tax exempt. + */ + taxExempt: boolean; + + /** + * Total amount of taxes charged for each line item and shipping line. + */ + taxLines: Array; + + /** + * Whether the line item prices include taxes. + */ + taxesIncluded: boolean; + + /** + * Total amount of the draft order (includes taxes, shipping charges, and discounts). + */ + totalPrice: Money; + + /** + * Total shipping charge for the draft order. + */ + totalShippingPrice: Money; + + /** + * Total amount of taxes for the draft order. + */ + totalTax: Money; + + /** + * Total weight (grams) of the draft order. + */ + totalWeight: UnsignedInt64; + + /** + * Date and time when the draft order was last changed. + * The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01). + * + */ + updatedAt: DateTime; + } + + /** + * The order-level discount applied to a draft order. + */ + export interface DraftOrderAppliedDiscount { + + /** + * Amount of the order-level discount that is applied to the draft order. + * @deprecated Use `amountV2` instead + */ + amount: Money; + + /** + * Amount of money discounted. + */ + amountV2: MoneyV2; + + /** + * Description of the order-level discount. + */ + description: string; + + /** + * Name of the order-level discount. + */ + title?: string; + + /** + * Amount of the order level discount (when value_type is percentage, + * the value in this field is the percentage discount). + * + */ + value: number; + + /** + * Type of the order-level discount. + */ + valueType: DraftOrderAppliedDiscountType; + } + + /** + * The valid discount types that can be applied to a draft order. + */ + export const enum DraftOrderAppliedDiscountType { + + /** + * A fixed amount in the store's currency. + */ + FIXED_AMOUNT = 'FIXED_AMOUNT', + + /** + * A percentage of the order subtotal. + */ + PERCENTAGE = 'PERCENTAGE' + } + + export interface DraftOrderLineItemConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DraftOrderLineItemEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DraftOrderLineItemEdge. + */ + node: DraftOrderLineItem; + } + + /** + * Represents a line item included in a draft order. + */ + export interface DraftOrderLineItem extends Node { + + /** + * Discount which will be applied to the line item or the overall order. + * + */ + appliedDiscount?: DraftOrderAppliedDiscount; + + /** + * Whether this is a product variant line item, or a custom line item. + * If set to true indicates a custom line item. If set to false indicates a product variant line item. + * + */ + custom: boolean; + + /** + * List of additional information (metafields) about the line item. + */ + customAttributes: Array; + + /** + * Line item price after discounts are applied. + * + */ + discountedTotal: Money; + + /** + * The `discountedTotal` divided by `quantity`, resulting in the value of the discount per unit. + * + */ + discountedUnitPrice: Money; + + /** + * Name of the service provider who fulfilled the order. + * + * Valid values are either **manual** or the name of the provider. + * For example, **amazon**, **shipwire**. + * + */ + fulfillmentService: FulfillmentService; + + /** + * Weight in grams. Can only be specified if this is a custom line item. + * + * @deprecated Use `weight` instead + */ + grams?: number; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Image associated with the draft order line item. + */ + image?: Image; + + /** + * Whether the line item represents the puchase of a gift card. + */ + isGiftCard: boolean; + + /** + * Name of the product. + */ + name: string; + + /** + * Total price (without discounts) of the line item, based on the original unit price of the variant x quantity. + * + */ + originalTotal: Money; + + /** + * Variant price without any discounts applied. + */ + originalUnitPrice: Money; + + /** + * The product corresponding to the line item’s product variant. + * + */ + product?: Product; + + /** + * Number of variant items requested in the draft order. + */ + quantity: number; + + /** + * Whether physical shipping is required for the variant. + */ + requiresShipping: boolean; + + /** + * Variant SKU number. + */ + sku?: string; + + /** + * A list of tax line objects, each of which details the total taxes applicable to the order. + * + */ + taxLines: Array; + + /** + * Whether the variant is taxable. + */ + taxable: boolean; + + /** + * Title of the product or variant (this field only applies to custom line items). + */ + title: string; + + /** + * Total value of the discount applied to the line item. + * + */ + totalDiscount: Money; + + /** + * Associated variant for the line item. + * + */ + variant?: ProductVariant; + + /** + * Name of the variant. + */ + variantTitle?: string; + + /** + * Name of the vendor who made the variant. + */ + vendor?: string; + + /** + * Weight unit and value for a draft order line item. + */ + weight?: Weight; + } + + /** + * The valid statuses for a draft order. + */ + export const enum DraftOrderStatus { + + /** + * The draft order has been paid. + */ + COMPLETED = 'COMPLETED', + + /** + * An invoice for the draft order has been sent to the customer. + */ + INVOICE_SENT = 'INVOICE_SENT', + + /** + * The draft order is open. It has not been paid, and an invoice hasn't been sent. + */ + OPEN = 'OPEN' + } + + /** + * The set of valid sort keys for the DraftOrder query. + */ + export const enum DraftOrderSortKeys { + + /** + * Sort by the `number` value. + */ + NUMBER = 'NUMBER', + + /** + * Sort by the `updated_at` value. + */ + UPDATED_AT = 'UPDATED_AT', + + /** + * Sort by the `status` value. + */ + STATUS = 'STATUS', + + /** + * Sort by the `total_price` value. + */ + TOTAL_PRICE = 'TOTAL_PRICE', + + /** + * Sort by the `customer_name` value. + */ + CUSTOMER_NAME = 'CUSTOMER_NAME', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface DraftOrderConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface DraftOrderEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of DraftOrderEdge. + */ + node: DraftOrder; + } + + export interface InventoryItemConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface InventoryItemEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of InventoryItemEdge. + */ + node: InventoryItem; + } + + /** + * A job corresponds to some long running task that the client should poll for status. + */ + export interface Job { + + /** + * This indicates if the job is still queued or has been run. + */ + done: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * This field will only resolve once the job is done. Can be used to ask for object(s) that have been changed by the job. + */ + query?: QueryRoot; + } + + /** + * The set of valid sort keys for the MarketingActivity query. + */ + export const enum MarketingActivitySortKeys { + + /** + * Sort by the `title` value. + */ + TITLE = 'TITLE', + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface MarketingActivityConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface MarketingActivityEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of MarketingActivityEdge. + */ + node: MarketingActivity; + } + + /** + * A marketing activity represents marketing created by an app on behalf of the merchant. + */ + export interface MarketingActivity extends Node { + + /** + * The url of the activity listing page of this marketing activity in the marketing section. + */ + activityListUrl?: URL; + + /** + * Amount spent on this marketing activity. + */ + adSpend?: MoneyV2; + + /** + * The app which created this marketing activity. + */ + app: App; + + /** + * Errors generated when app was trying to complete this activity. + */ + appErrors?: MarketingActivityExtensionAppErrors; + + /** + * The budget for this marketing activity. + */ + budget?: MarketingBudget; + + /** + * The date and time when the marketing activity was created. + */ + createdAt: DateTime; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The broad category of marketing, used for reporting aggregation. + */ + marketingChannel: MarketingChannel; + + /** + * Associated marketing event of this marketing activity. + */ + marketingEvent?: MarketingEvent; + + /** + * A contextual description of the marketing activity based on the platform and tactic used. + */ + sourceAndMedium: string; + + /** + * Status helps to identify if this marketing activity has been completed, queued, failed etc. + */ + status: MarketingActivityStatus; + + /** + * The [date and time]( + * https://help.shopify.com/https://en.wikipedia.org/wiki/ISO_8601 + * ) when the activity's status last changed. + */ + statusTransitionedAt?: DateTime; + + /** + * The method of marketing used for this marketing activity. + */ + tactic: MarketingTactic; + + /** + * Expected status set by app in prior to an asynchronous operation. + */ + targetStatus?: MarketingActivityStatus; + + /** + * Title of this marketing activity. + */ + title: string; + + /** + * The date and time when the marketing activity was updated. + */ + updatedAt: DateTime; + + /** + * The set of UTM parameters being tracked for this marketing activity. + */ + utmParameters?: UTMParameters; + } + + /** + * Represents errors returned from apps when using the marketing activity extension. + */ + export interface MarketingActivityExtensionAppErrors { + + /** + * The app error type. + */ + code: MarketingActivityExtensionAppErrorCode; + + /** + * The list of errors returned by the app. + */ + userErrors: Array; + } + + /** + * The error code resulted from the marketing activity extension integration. + */ + export const enum MarketingActivityExtensionAppErrorCode { + + /** + * The shop/user must be onboarded to use the app. + */ + NOT_ONBOARDED_ERROR = 'NOT_ONBOARDED_ERROR', + + /** + * The app has returned validation errors. + */ + VALIDATION_ERROR = 'VALIDATION_ERROR', + + /** + * The app is not responding or returning unexpected data. + */ + API_ERROR = 'API_ERROR', + + /** + * The app has returned an error when invoking the platform. + */ + PLATFORM_ERROR = 'PLATFORM_ERROR', + + /** + * The app needs to be installed. + */ + INSTALL_REQUIRED_ERROR = 'INSTALL_REQUIRED_ERROR' + } + + /** + * This type combines budget amount and its marketing budget type. + * + */ + export interface MarketingBudget { + + /** + * The budget type for a marketing activity. + */ + budgetType: MarketingBudgetBudgetType; + + /** + * The amount of budget for marketing activity. + */ + total: MoneyV2; + } + + /** + * The budget type for a marketing activity. + */ + export const enum MarketingBudgetBudgetType { + + /** + * A daily budget. + */ + DAILY = 'DAILY', + + /** + * A budget for the lifetime of a marketing activity. + */ + LIFETIME = 'LIFETIME' + } + + /** + * Status helps to identify if this marketing activity has been completed, queued, failed etc. + */ + export const enum MarketingActivityStatus { + + /** + * This marketing activity is currently running. + */ + ACTIVE = 'ACTIVE', + + /** + * This marketing activity is permanently unavailable. + */ + DELETED = 'DELETED', + + /** + * This marketing activity was deleted and it was triggered from outside of Shopify. + */ + DELETED_EXTERNALLY = 'DELETED_EXTERNALLY', + + /** + * This marketing activity is disconnected and no longer editable. + */ + DISCONNECTED = 'DISCONNECTED', + + /** + * This marketing activity is unable to run. + */ + FAILED = 'FAILED', + + /** + * This marketing activity has completed running. + */ + INACTIVE = 'INACTIVE', + + /** + * This marketing activity is currently not running. + */ + PAUSED = 'PAUSED', + + /** + * This marketing activity is pending creation on the app's platform. + */ + PENDING = 'PENDING', + + /** + * This marketing activity is scheduled to run. + */ + SCHEDULED = 'SCHEDULED', + + /** + * There is no defined status for external marketing activities. + */ + UNDEFINED = 'UNDEFINED' + } + + /** + * The set of valid sort keys for the MarketingEvent query. + */ + export const enum MarketingEventSortKeys { + + /** + * Sort by the `started_at` value. + */ + STARTED_AT = 'STARTED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface MarketingEventConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface MarketingEventEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of MarketingEventEdge. + */ + node: MarketingEvent; + } + + export interface MetafieldStorefrontVisibilityConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface MetafieldStorefrontVisibilityEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of MetafieldStorefrontVisibilityEdge. + */ + node: MetafieldStorefrontVisibility; + } + + /** + * Represents a whitelist record that enables a metafield to be visible to the storefront. + * + */ + export interface MetafieldStorefrontVisibility extends Node, LegacyInteroperability { + + /** + * The date and time when the whitelist record was created. + */ + createdAt: DateTime; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Key of a metafield in the visibility whitelist. + */ + key: string; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * Namespace of a metafield in the visibility whitelist. + */ + namespace: string; + + /** + * Owner type of a metafield in the visibility whitelist. + */ + ownerType: MetafieldOwnerType; + + /** + * The date and time when the whitelist record was updated. + */ + updatedAt: DateTime; + } + + /** + * Price rules are a set of conditions, including entitlements and prerequisites, that must be met in order for a discount code to apply. + */ + export interface PriceRule extends Node, CommentEventSubject, LegacyInteroperability, HasEvents { + + /** + * The maximum number of times that the price rule can be allocated onto an order. + */ + allocationLimit?: number; + + /** + * The method by which the price rule's value is allocated to its entitled items. + */ + allocationMethod: PriceRuleAllocationMethod; + + /** + * The application that created the price rule. + */ + app?: App; + + /** + * The date and time when the price rule was created. + */ + createdAt: DateTime; + + /** + * The customers that can use this price rule. + */ + customerSelection: PriceRuleCustomerSelection; + + /** + * List of the price rule's discount codes. + */ + discountCodes: PriceRuleDiscountCodeConnection; + + /** + * How many discount codes associated with the price rule. + */ + discountCodesCount: number; + + /** + * The date and time when the price rule ends. For open-ended price rules, use `null`. + */ + endsAt?: DateTime; + + /** + * Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. + * @deprecated Use `prerequisiteToEntitlementQuantityRatio` instead + */ + entitlementToPrerequisiteQuantityRatio?: PriceRuleEntitlementToPrerequisiteQuantityRatio; + + /** + * The paginated list of events associated with the price rule. + */ + events: EventConnection; + + /** + * A list of the price rule's features. + */ + features: Array; + + /** + * Indicates whether there are any timeline comments on the price rule. + */ + hasTimelineComment: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The items to which the price rule applies. + */ + itemEntitlements: PriceRuleItemEntitlements; + + /** + * The items required for the price rule to be applicable. + */ + itemPrerequisites: PriceRuleLineItemPrerequisites; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * Whether the price rule can be applied only once per customer. + */ + oncePerCustomer: boolean; + + /** + * The number of the entitled items must fall within this range for the price rule to be applicable. + */ + prerequisiteQuantityRange?: PriceRuleQuantityRange; + + /** + * The shipping cost must fall within this range for the price rule to be applicable. + */ + prerequisiteShippingPriceRange?: PriceRuleMoneyRange; + + /** + * The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable. + */ + prerequisiteSubtotalRange?: PriceRuleMoneyRange; + + /** + * Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. + */ + prerequisiteToEntitlementQuantityRatio?: PriceRulePrerequisiteToEntitlementQuantityRatio; + + /** + * URLs that can be used to share the discount. + */ + shareableUrls: Array; + + /** + * The shipping lines to which the price rule applies. + */ + shippingEntitlements: PriceRuleShippingLineEntitlements; + + /** + * The date and time when the price rule starts. + */ + startsAt: DateTime; + + /** + * The status of the price rule. + */ + status: PriceRuleStatus; + + /** + * A detailed summary of the price rule. + */ + summary?: string; + + /** + * The type of lines (line_item or shipping_line) to which the price rule applies. + */ + target: PriceRuleTarget; + + /** + * The title of the price rule. + */ + title: string; + + /** + * The total sales from orders where the price rule was used. + */ + totalSales?: MoneyV2; + + /** + * A list of the price rule's features. + * @deprecated Use `features` instead + */ + traits: Array; + + /** + * The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count. + */ + usageCount: number; + + /** + * The maximum number of times that the price rule can be used in total. + */ + usageLimit?: number; + + /** + * A time period during which a price rule is applicable. + */ + validityPeriod: PriceRuleValidityPeriod; + + /** + * The value of the price rule. + * @deprecated Use `valueV2` instead + */ + value: PriceRuleValue; + + /** + * The value of the price rule. + */ + valueV2: PricingValue; + } + + /** + * The method by which the price rule's value is allocated to its entitled items. + */ + export const enum PriceRuleAllocationMethod { + + /** + * The value will be applied to each of the entitled items. + */ + EACH = 'EACH', + + /** + * The value will be applied once across the entitled items. + */ + ACROSS = 'ACROSS' + } + + /** + * A selection of customers for whom the price rule applies. + */ + export interface PriceRuleCustomerSelection { + + /** + * List of customers to whom the price rule applies. + */ + customers: CustomerConnection; + + /** + * Whether the price rule applies to all customers. + */ + forAllCustomers: boolean; + + /** + * A list of customer saved searches that contain the customers who can use the price rule. + */ + savedSearches: Array; + } + + /** + * The set of valid sort keys for the DiscountCode query. + */ + export const enum DiscountCodeSortKeys { + + /** + * Sort by the `code` value. + */ + CODE = 'CODE', + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface PriceRuleDiscountCodeConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface PriceRuleDiscountCodeEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of PriceRuleDiscountCodeEdge. + */ + node: PriceRuleDiscountCode; + } + + /** + * A discount code of a price rule. + */ + export interface PriceRuleDiscountCode extends Node { + + /** + * The application that created the discount code. + */ + app?: App; + + /** + * The code to use the discount. + */ + code: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count. + */ + usageCount: number; + } + + /** + * Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. + */ + export interface PriceRuleEntitlementToPrerequisiteQuantityRatio { + + /** + * The quantity of entitlements in the ratio. + */ + entitlementQuantity: number; + + /** + * The quantity of prerequisites in the ratio. + */ + prerequisiteQuantity: number; + } + + /** + * A list of features used by the price rule. + */ + export const enum PriceRuleFeature { + + /** + * The price rule supports quantity BXGY discounts. + */ + BUY_ONE_GET_ONE = 'BUY_ONE_GET_ONE', + + /** + * The price rule supports BXGY discounts using custom allocation limit. + */ + BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT = 'BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT', + + /** + * The price rule supports bulk discounts. + */ + BULK = 'BULK', + + /** + * The price rule supports specific customers. + */ + SPECIFIC_CUSTOMERS = 'SPECIFIC_CUSTOMERS', + + /** + * The price rule supports quantity discounts. + */ + QUANTITY_DISCOUNTS = 'QUANTITY_DISCOUNTS' + } + + /** + * The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned. + */ + export interface PriceRuleItemEntitlements { + + /** + * The collections to which the price rule applies. + */ + collections: CollectionConnection; + + /** + * The product variants to which the price rule applies. + */ + productVariants: ProductVariantConnection; + + /** + * The products to which the price rule applies. + */ + products: ProductConnection; + + /** + * Whether the price rule applies to all line items. + */ + targetAllLineItems: boolean; + } + + /** + * Single or multiple line item products, product variants or collections required for the price rule to be applicable, can also be provided in combination. + */ + export interface PriceRuleLineItemPrerequisites { + + /** + * The collections required for the price rule to be applicable. + */ + collections: CollectionConnection; + + /** + * The product variants required for the price rule to be applicable. + */ + productVariants: ProductVariantConnection; + + /** + * The products required for the price rule to be applicable. + */ + products: ProductConnection; + } + + /** + * A quantity range within which the price rule is applicable. + */ + export interface PriceRuleQuantityRange { + + /** + * The lower bound of the quantity range. + */ + greaterThan?: number; + + /** + * The lower bound or equal of the quantity range. + */ + greaterThanOrEqualTo?: number; + + /** + * The upper bound of the quantity range. + */ + lessThan?: number; + + /** + * The upper bound or equal of the quantity range. + */ + lessThanOrEqualTo?: number; + } + + /** + * A money range within which the price rule is applicable. + */ + export interface PriceRuleMoneyRange { + + /** + * The lower bound of the money range. + */ + greaterThan?: Money; + + /** + * The lower bound or equal of the money range. + */ + greaterThanOrEqualTo?: Money; + + /** + * The upper bound of the money range. + */ + lessThan?: Money; + + /** + * The upper bound or equal of the money range. + */ + lessThanOrEqualTo?: Money; + } + + /** + * Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. + */ + export interface PriceRulePrerequisiteToEntitlementQuantityRatio { + + /** + * The quantity of entitlements in the ratio. + */ + entitlementQuantity: number; + + /** + * The quantity of prerequisites in the ratio. + */ + prerequisiteQuantity: number; + } + + /** + * Shareable URL for the discount code associated with the price rule. + */ + export interface PriceRuleShareableUrl { + + /** + * The image URL of the item (product or collection) to which the discount applies. + */ + targetItemImage?: Image; + + /** + * The type of page that's associated with the URL. + */ + targetType: PriceRuleShareableUrlTargetType; + + /** + * The title of the page that's associated with the URL. + */ + title: string; + + /** + * The URL for the discount code. + */ + url: URL; + } + + /** + * Page type where shareable URL lands. + */ + export const enum PriceRuleShareableUrlTargetType { + HOME = 'HOME', + PRODUCT = 'PRODUCT', + COLLECTION = 'COLLECTION' + } + + /** + * The shipping lines to which the price rule applies to. + */ + export interface PriceRuleShippingLineEntitlements { + + /** + * The codes for the countries to which the price rule applies to. + */ + countryCodes: Array; + + /** + * Whether the price rule is applicable to countries that have not been defined in the shop's shipping zones. + */ + includeRestOfWorld: boolean; + + /** + * Whether the price rule applies to all shipping lines. + */ + targetAllShippingLines: boolean; + } + + /** + * The status of the price rule. + */ + export const enum PriceRuleStatus { + ACTIVE = 'ACTIVE', + EXPIRED = 'EXPIRED', + SCHEDULED = 'SCHEDULED' + } + + /** + * The type of lines (line_item or shipping_line) to which the price rule applies. + */ + export const enum PriceRuleTarget { + + /** + * The price rule applies to line items. + */ + LINE_ITEM = 'LINE_ITEM', + + /** + * The price rule applies to shipping lines. + */ + SHIPPING_LINE = 'SHIPPING_LINE' + } + + /** + * A list of features used by the price rule. + */ + export const enum PriceRuleTrait { + + /** + * The price rule supports quantity BXGY discounts. + */ + BUY_ONE_GET_ONE = 'BUY_ONE_GET_ONE', + + /** + * The price rule supports BXGY discounts using custom allocation limit. + */ + BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT = 'BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT', + + /** + * The price rule supports bulk discounts. + */ + BULK = 'BULK', + + /** + * The price rule supports specific customers. + */ + SPECIFIC_CUSTOMERS = 'SPECIFIC_CUSTOMERS', + + /** + * The price rule supports quantity discounts. + */ + QUANTITY_DISCOUNTS = 'QUANTITY_DISCOUNTS' + } + + /** + * A time period during which a price rule is applicable. + */ + export interface PriceRuleValidityPeriod { + + /** + * The time after which the price rule becomes invalid. + */ + end?: DateTime; + + /** + * The time after which the price rule is valid. + */ + start: DateTime; + } + + /** + * The value of the price rule. + */ + export type PriceRuleValue = PriceRulePercentValue | PriceRuleFixedAmountValue; + + /** Use this to resolve union type PriceRuleValue */ + export type PossiblePriceRuleValueTypeNames = + 'PriceRulePercentValue' | + 'PriceRuleFixedAmountValue'; + + export interface PriceRuleValueNameMap { + PriceRuleValue: PriceRuleValue; + PriceRulePercentValue: PriceRulePercentValue; + PriceRuleFixedAmountValue: PriceRuleFixedAmountValue; + } + + /** + * The value of a percent price rule. + */ + export interface PriceRulePercentValue { + + /** + * The percent value of the price rule. + */ + percentage: number; + } + + /** + * The value of a fixed amount price rule. + */ + export interface PriceRuleFixedAmountValue { + + /** + * The monetary value of the price rule. + */ + amount: Money; + } + + /** + * The set of valid sort keys for the PriceRule query. + */ + export const enum PriceRuleSortKeys { + + /** + * Sort by the `starts_at` value. + */ + STARTS_AT = 'STARTS_AT', + + /** + * Sort by the `ends_at` value. + */ + ENDS_AT = 'ENDS_AT', + + /** + * Sort by the `title` value. + */ + TITLE = 'TITLE', + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `updated_at` value. + */ + UPDATED_AT = 'UPDATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface PriceRuleConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface PriceRuleEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of PriceRuleEdge. + */ + node: PriceRule; + } + + /** + * The set of valid sort keys for the Product query. + */ + export const enum ProductSortKeys { + + /** + * Sort by the `title` value. + */ + TITLE = 'TITLE', + + /** + * Sort by the `product_type` value. + */ + PRODUCT_TYPE = 'PRODUCT_TYPE', + + /** + * Sort by the `vendor` value. + */ + VENDOR = 'VENDOR', + + /** + * Sort by the `inventory_total` value. + */ + INVENTORY_TOTAL = 'INVENTORY_TOTAL', + + /** + * Sort by the `updated_at` value. + */ + UPDATED_AT = 'UPDATED_AT', + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `published_at` value. + */ + PUBLISHED_AT = 'PUBLISHED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + /** + * A version of the API. + */ + export interface ApiVersion { + + /** + * The human-readable name of the version. + */ + displayName: string; + + /** + * The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle. + */ + handle: string; + + /** + * Whether the version is supported by Shopify. + */ + supported: boolean; + } + + /** + * A script tag represents remote JavaScript code that is loaded into the pages of a shop's storefront or the order status page of checkout. + * + */ + export interface ScriptTag extends Node, LegacyInteroperability { + + /** + * The date and time when the script tag was created. + */ + createdAt: DateTime; + + /** + * The page or pages on the online store that the script should be included. + */ + displayScope: ScriptTagDisplayScope; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The URL to the remote script. + */ + src: URL; + + /** + * The date and time when the script tag was last updated. + */ + updatedAt: DateTime; + } + + /** + * The page or pages on the online store where the script should be included. + * + */ + export const enum ScriptTagDisplayScope { + + /** + * Include the script on both the web storefront and the order status page. + */ + ALL = 'ALL', + + /** + * Include the script only on the order status page. + */ + ORDER_STATUS = 'ORDER_STATUS', + + /** + * Include the script only on the web storefront. + */ + ONLINE_STORE = 'ONLINE_STORE' + } + + export interface ScriptTagConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface ScriptTagEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of ScriptTagEdge. + */ + node: ScriptTag; + } + + /** + * Represents the shop object. + * + */ + export interface Shop extends Node, HasPublishedTranslations, HasMetafields { + + /** + * Alert message that appears in the Shopify admin. + */ + alerts: Array; + + /** + * The token required to query the shop's reports or dashboards. + */ + analyticsToken: string; + + /** + * List of app installations on the shop. + * @deprecated Use `QueryRoot.appInstallations` instead. + */ + appInstallations: AppInstallationConnection; + + /** + * Paginated list of fulfillment orders assigned to fulfillment services. + */ + assignedFulfillmentOrders: FulfillmentOrderConnection; + + /** + * List of sales channels not currently installed on the shop. + */ + availableChannelApps: AppConnection; + + /** + * The shop's billing address information. + */ + billingAddress: MailingAddress; + + /** + * List of channel app installations on the shop. + * @deprecated Use `appInstallations` instead + */ + channelAppInstallations: AppInstallationConnection; + + /** + * Exposes the number of channels. + * @deprecated Use `publicationCount` instead + */ + channelCount: number; + + /** + * List of the shop's active sales channels. + * @deprecated Use `QueryRoot.channels` instead. + */ + channels: ChannelConnection; + + /** + * Specifies whether the shop supports checkouts via Checkout API. + */ + checkoutApiSupported: boolean; + + /** + * Return a collection by its handle. + * @deprecated Use `QueryRoot.collectionByHandle` instead. + */ + collectionByHandle?: Collection; + + /** + * List of the shop's collection saved searches. + * @deprecated Use `QueryRoot.priceRuleSavedSearches` instead. + */ + collectionSavedSearches: SavedSearchConnection; + + /** + * List of the shop's collections. + * @deprecated Use `QueryRoot.collections` instead. + */ + collections: CollectionConnection; + + /** + * The public-facing contact email address for the shop. + * Customers will use this email to communicate with the shop owner. + * + */ + contactEmail: string; + + /** + * Countries that have been defined in shipping zones for the shop. + */ + countriesInShippingZones: CountriesInShippingZones; + + /** + * The three letter code for the shop's currency. + */ + currencyCode: CurrencyCode; + + /** + * How currencies are displayed on your store. + */ + currencyFormats: CurrencyFormats; + + /** + * The currency settings for the shop. + */ + currencySettings: CurrencySettingConnection; + + /** + * The shop's customer account requirement preference. + */ + customerAccounts: ShopCustomerAccountsSetting; + + /** + * List of the shop's customer saved searches. + * @deprecated Use `QueryRoot.customerSavedSearches` instead. + */ + customerSavedSearches: SavedSearchConnection; + + /** + * Tags added to customer accounts. + */ + customerTags: StringConnection; + + /** + * Customer accounts associated to the shop. + * @deprecated Use `QueryRoot.customers` instead. + */ + customers: CustomerConnection; + + /** + * The shop's meta description used in search engine results. + */ + description?: string; + + /** + * List of the shop's draft order saved searches. + * @deprecated Use `QueryRoot.draftOrderSavedSearches` instead. + */ + draftOrderSavedSearches: SavedSearchConnection; + + /** + * Tags added to draft orders. + */ + draftOrderTags: StringConnection; + + /** + * List of saved draft orders on the shop. + * @deprecated Use `QueryRoot.draftOrders` instead. + */ + draftOrders: DraftOrderConnection; + + /** + * The shop owner's email address. + * Shopify will use this email address to communicate with the shop owner. + * + */ + email: string; + + /** + * The presentment currencies enabled for the shop. + */ + enabledPresentmentCurrencies: Array; + + /** + * The shop's features. + */ + features: ShopFeatures; + + /** + * Paginated list of merchant-managed and third-party fulfillment orders. + */ + fulfillmentOrders: FulfillmentOrderConnection; + + /** + * List of the shop's installed fulfillment services. + */ + fulfillmentServices: Array; + + /** + * The shop's time zone as defined by the IANA. + */ + ianaTimezone: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * List of apps that are installed on the shop. + * @deprecated Use `appInstallations` instead + */ + installedApps: AppConnection; + + /** + * List of the shop's inventory items. + * @deprecated Use `QueryRoot.inventoryItems` instead. + */ + inventoryItems: InventoryItemConnection; + + /** + * The number of pendings orders on the shop. + * Limited to a maximum of 10000. + * + */ + limitedPendingOrderCount: LimitedPendingOrderCount; + + /** + * List of active locations of the shop. + * @deprecated Use `QueryRoot.locations` instead. + */ + locations: LocationConnection; + + /** + * List of a shop's marketing events. + * @deprecated Use `QueryRoot.marketingEvents` instead. + */ + marketingEvents: MarketingEventConnection; + + /** + * The metafield associated with the resource. + */ + metafield?: Metafield; + + /** + * A paginated list of metafields associated with the resource. + */ + metafields: MetafieldConnection; + + /** + * The shop's .myshopify.com domain name. + */ + myshopifyDomain: string; + + /** + * The shop's name. + */ + name: string; + + /** + * The navigation settings of the shop. + */ + navigationSettings: Array; + + /** + * The prefix that appears before order numbers. + */ + orderNumberFormatPrefix: string; + + /** + * The suffix that appears after order numbers. + */ + orderNumberFormatSuffix: string; + + /** + * List of the shop's order saved searches. + * @deprecated Use `QueryRoot.orderSavedSearches` instead. + */ + orderSavedSearches: SavedSearchConnection; + + /** + * Tags added to orders. + */ + orderTags: StringConnection; + + /** + * List of orders placed on the shop. + * @deprecated Use `QueryRoot.orders` instead. + */ + orders: OrderConnection; + + /** + * Settings related to payments. + */ + paymentSettings: PaymentSettings; + + /** + * Number of pending orders on the shop. + * @deprecated Use `limitedPendingOrderCount` instead + */ + pendingOrderCount: number; + + /** + * The shop's plan. + */ + plan: ShopPlan; + + /** + * List of the shop's price rule saved searches. + * @deprecated Use `QueryRoot.priceRuleSavedSearches` instead. + */ + priceRuleSavedSearches: SavedSearchConnection; + + /** + * List of the shop’s price rules. + * @deprecated Use `QueryRoot.priceRules` instead. + */ + priceRules: PriceRuleConnection; + + /** + * The shop's primary domain name. + */ + primaryDomain: Domain; + + /** + * Returns a private metafield found by namespace and key. + */ + privateMetafield?: PrivateMetafield; + + /** + * List of private metafields. + */ + privateMetafields: PrivateMetafieldConnection; + + /** + * Return a product by its handle. + * @deprecated Use `QueryRoot.productByHandle` instead. + */ + productByHandle?: Product; + + /** + * All images of all products of the shop. + */ + productImages: ImageConnection; + + /** + * List of the shop's product saved searches. + * @deprecated Use `QueryRoot.productSavedSearches` instead. + */ + productSavedSearches: SavedSearchConnection; + + /** + * Tags added to products. + */ + productTags: StringConnection; + + /** + * Types added to products. + */ + productTypes: StringConnection; + + /** + * List of the shop's product variants. + * @deprecated Use `QueryRoot.productVariants` instead. + */ + productVariants: ProductVariantConnection; + + /** + * Vendors added to products. + */ + productVendors: StringConnection; + + /** + * List of the shop's products. + * @deprecated Use `QueryRoot.products`. + */ + products: ProductConnection; + + /** + * Exposes the number of publications. + */ + publicationCount: number; + + /** + * Resource limits of a shop. + */ + resourceLimits: ShopResourceLimits; + + /** + * The URL of the rich text editor. + */ + richTextEditorUrl: URL; + + /** + * Return admin search results. + */ + search: SearchResultConnection; + + /** + * List of search filter options. + */ + searchFilters: SearchFilterOptions; + + /** + * Whether the shop has outstanding setup steps. + */ + setupRequired: boolean; + + /** + * Countries that the shop ships to. + */ + shipsToCountries: Array; + + /** + * Shopify Payments account information, including balances and payouts. + * @deprecated Use `QueryRoot.shopifyPaymentsAccount` instead. + */ + shopifyPaymentsAccount?: ShopifyPaymentsAccount; + + /** + * Storefront access token of a private application. Scoped per-application. + */ + storefrontAccessTokens: StorefrontAccessTokenConnection; + + /** + * The URL of the shop's storefront. + * @deprecated Use `url` instead + */ + storefrontUrl: URL; + + /** + * Specifies whether or not taxes are charged for shipping. + */ + taxShipping: boolean; + + /** + * The setting for whether applicable taxes are included in product prices. + */ + taxesIncluded: boolean; + + /** + * The shop's time zone abbreviation. + */ + timezoneAbbreviation: string; + + /** + * The shop's time zone offset. + */ + timezoneOffset: string; + + /** + * The shop's time zone offset expressed in number of minutes. + */ + timezoneOffsetMinutes: number; + + /** + * The translations associated with the resource. + */ + translations: Array; + + /** + * The shop's unit system. + */ + unitSystem: UnitSystem; + + /** + * All images uploaded to the shop. + */ + uploadedImages: ImageConnection; + + /** + * Fetch list of images uploaded to shop by ids. + */ + uploadedImagesByIds: Array; + + /** + * The URL of the shop's storefront. + */ + url: URL; + + /** + * The shop's primary unit of weight for products and shipping. + */ + weightUnit: WeightUnit; + } + + /** + * Alert message that appears in the Shopify admin. + */ + export interface ShopAlert { + + /** + * Button in the alert that links to related information. + */ + action: ShopAlertAction; + + /** + * Description of the alert. + */ + description: string; + } + + /** + * An action associated to a shop alert. + */ + export interface ShopAlertAction { + + /** + * Action title. + */ + title: string; + + /** + * Action target URL. + */ + url: URL; + } + + /** + * The assigment status to be used to filter fulfillment orders. + */ + export const enum FulfillmentOrderAssignmentStatus { + + /** + * Fulfillment orders for which the merchant has requested cancellation of + * the previously accepted fulfillment request. + * + */ + CANCELLATION_REQUESTED = 'CANCELLATION_REQUESTED', + + /** + * Fulfillment orders for which the merchant has requested fulfillment. + * + */ + FULFILLMENT_REQUESTED = 'FULFILLMENT_REQUESTED', + + /** + * Fulfillment orders for which the merchant's fulfillment request has been accepted. + * Any number of fulfillments can be created on these fulfillment orders + * to completely fulfill the requested items. + * + */ + FULFILLMENT_ACCEPTED = 'FULFILLMENT_ACCEPTED' + } + + /** + * The set of valid sort keys for the FulfillmentOrder query. + */ + export const enum FulfillmentOrderSortKeys { + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface AppConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface AppEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of AppEdge. + */ + node: App; + } + + /** + * Countries that have been defined in shipping zones for the shop. + */ + export interface CountriesInShippingZones { + + /** + * Countries that have been defined in shipping zones. + */ + countryCodes: Array; + + /** + * Whether 'Rest of World' has been defined in any shipping zones. + */ + includeRestOfWorld: boolean; + } + + /** + * Currency formats. + */ + export interface CurrencyFormats { + + /** + * HTML without currency. + */ + moneyFormat: FormattedString; + + /** + * Email without currency. + */ + moneyInEmailsFormat: string; + + /** + * HTML with currency. + */ + moneyWithCurrencyFormat: FormattedString; + + /** + * Email with currency. + */ + moneyWithCurrencyInEmailsFormat: string; + } + + export interface CurrencySettingConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface CurrencySettingEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of CurrencySettingEdge. + */ + node: CurrencySetting; + } + + /** + * Represents a currency setting. + */ + export interface CurrencySetting { + + /** + * The currency's ISO code. + */ + currencyCode: CurrencyCode; + + /** + * The full name of the currency. + */ + currencyName: string; + + /** + * Flag describing whether the currency is enabled. + */ + enabled: boolean; + + /** + * Date and time when the exchange rate for the currency was last modified. + */ + rateUpdatedAt?: DateTime; + } + + /** + * Represents the shop's customer account requirement preference. + * + */ + export const enum ShopCustomerAccountsSetting { + REQUIRED = 'REQUIRED', + OPTIONAL = 'OPTIONAL', + DISABLED = 'DISABLED' + } + + export interface StringConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface StringEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of StringEdge. + */ + node: string; + } + + /** + * Represents the feature set available to the shop. + * + */ + export interface ShopFeatures { + + /** + * Whether a shop has access to avalara avatax. + */ + avalaraAvatax: boolean; + + /** + * Branding of the shop. + */ + branding: ShopBranding; + + /** + * Whether a shop's storefront can have CAPTCHA protection. + */ + captcha: boolean; + + /** + * Whether a shop's storefront can have CAPTCHA protection for domains not managed by Shopify. + */ + captchaExternalDomains: boolean; + + /** + * Whether the delivery profiles functionality is enabled for this shop. + */ + deliveryProfiles: boolean; + + /** + * Whether a shop has access to the dynamic remarketing feature. + */ + dynamicRemarketing: boolean; + + /** + * Whether a shop can create gift cards. + */ + giftCards: boolean; + + /** + * Display Harmonized System codes on products. Used for customs when shipping cross-border. + */ + harmonizedSystemCode: boolean; + + /** + * Whether to show the live view. Live view is hidden from merchants that are on a trial or don't have a storefront. + */ + liveView: boolean; + + /** + * Whether the multi-location functionality is enabled for this shop. + */ + multiLocation: boolean; + + /** + * Whether a shop has access to the onboarding visual. + */ + onboardingVisual: boolean; + + /** + * Whether a shop has access to all reporting features. + */ + reports: boolean; + + /** + * Whether the shop has a Shopify Plus subscription. + * @deprecated Use Shop.plan.shopifyPlus instead. + */ + shopifyPlus: boolean; + + /** + * Whether to show metrics. Metrics are hidden for new merchants until they become meaningful. + */ + showMetrics: boolean; + + /** + * Whether the shop has an online storefront. + */ + storefront: boolean; + } + + /** + * Possible branding of a shop. + * Branding can be used to define the look of a shop including its styling and logo in the Shopify Admin. + * + */ + export const enum ShopBranding { + + /** + * Shop has Shopify Gold branding. + */ + SHOPIFY_GOLD = 'SHOPIFY_GOLD', + + /** + * Shop has Shopify Plus branding. + */ + SHOPIFY_PLUS = 'SHOPIFY_PLUS', + + /** + * Shop has Rogers branding. + */ + ROGERS = 'ROGERS', + + /** + * Shop has Shopify branding. + */ + SHOPIFY = 'SHOPIFY' + } + + /** + * The set of valid sort keys for the Apps query. + */ + export const enum AppsSortKeys { + + /** + * Sort by the `title` value. + */ + TITLE = 'TITLE', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + /** + * The total number of pending orders on a shop if less then a maximum, or that maximum. + * The atMax field indicates when this maximum has been reached. + * + */ + export interface LimitedPendingOrderCount { + + /** + * This is set when the number of pending orders has reached the maximum. + */ + atMax: boolean; + + /** + * The number of pendings orders on the shop. + * Limited to a maximum of 10000. + * + */ + count: number; + } + + /** + * Possible sort of tags. + */ + export const enum ShopTagSort { + + /** + * Alphabetical sort. + */ + ALPHABETICAL = 'ALPHABETICAL', + + /** + * Popularity sort. + */ + POPULAR = 'POPULAR' + } + + /** + * Settings related to payments. + */ + export interface PaymentSettings { + + /** + * List of the digital wallets which the shop supports. + */ + supportedDigitalWallets: Array; + } + + /** + * Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. + */ + export const enum DigitalWallet { + + /** + * Apple Pay. + */ + APPLE_PAY = 'APPLE_PAY', + + /** + * Android Pay. + */ + ANDROID_PAY = 'ANDROID_PAY', + + /** + * Google Pay. + */ + GOOGLE_PAY = 'GOOGLE_PAY', + + /** + * Shopify Pay. + */ + SHOPIFY_PAY = 'SHOPIFY_PAY' + } + + /** + * Represents the billing plan of the shop. + * + */ + export interface ShopPlan { + + /** + * The name of the shop's billing plan. + */ + displayName: string; + + /** + * Whether the shop is a partner development shop for testing purposes. + */ + partnerDevelopment: boolean; + + /** + * Whether the shop has a Shopify Plus subscription. + */ + shopifyPlus: boolean; + } + + /** + * Resource limits of a shop. + */ + export interface ShopResourceLimits { + + /** + * Maximum number of locations allowed. + */ + locationLimit: number; + + /** + * Maximum number of product options allowed. + */ + maxProductOptions: number; + + /** + * Maximum number of variants allowed. + */ + maxProductVariants: number; + + /** + * Whether the shop has reached the limit of the number of URL redirects it can make for resources. + */ + redirectLimitReached: boolean; + + /** + * SKU limits. If the shop has unlimited skus the quantity used cannot be retrieved. + */ + skuResourceLimits: ResourceLimit; + } + + /** + * A resource limit represents the limits that the resource has. + */ + export interface ResourceLimit { + + /** + * Whether or not the resource is available. + */ + available: boolean; + + /** + * Quantity available. If null the quantity available is unlimited. + */ + quantityAvailable?: number; + + /** + * Quantity limit of the resource. If null the quantity is unlimited. + */ + quantityLimit?: number; + + /** + * Quantity used of the resource. If null the quantity used cannot be retrieved. + */ + quantityUsed?: number; + } + + /** + * The connection type for SearchResult. + */ + export interface SearchResultConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + + /** + * Information to aid in pagination. + * @deprecated The provided information is not accurate. + */ + resultsAfterCount: number; + } + + export interface SearchResultEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of SearchResultEdge. + */ + node: SearchResult; + } + + /** + * Represents an individual result returned from a search. + */ + export interface SearchResult { + + /** + * Returns the search result description text. + */ + description?: string; + + /** + * Returns the Image resource presented to accompany a search result. + */ + image?: Image; + + /** + * Returns the ID of the resource returned in the search result. + */ + reference: Node; + + /** + * Returns the resource title. + */ + title: string; + + /** + * Returns the absolute URL to the resource in the search result. + */ + url: URL; + } + + /** + * A list of search filters along with their specific options in value and label pair for filtering. + */ + export interface SearchFilterOptions { + + /** + * A list of options that can be use to filter product availability. + */ + productAvailability: Array; + } + + /** + * A filter option is one possible value in a search filter. + */ + export interface FilterOption { + + /** + * The filter option's label for display purposes. + */ + label: string; + + /** + * The filter option's value. + */ + value: string; + } + + /** + * Balance and payout information for a + * [Shopify Payments](https://help.shopify.com/manual/payments/shopify-payments/getting-paid-with-shopify-payments) + * account. Balance includes all balances for the currencies supported by the shop. + * You can also query for a list of payouts, where each payout includes the corresponding currencyCode field. + * + */ + export interface ShopifyPaymentsAccount extends Node { + + /** + * Whether the Shopify Payments setup is completed. + */ + activated: boolean; + + /** + * Current balances in all currencies for the account. + */ + balance: Array; + + /** + * All bank accounts configured for the Shopify Payments account. + */ + bankAccounts: ShopifyPaymentsBankAccountConnection; + + /** + * Statement descriptor used for charges. + * + * This is what buyers will see on their credit card or bank statements when making a purchase. + * + * @deprecated Use `chargeStatementDescriptors` instead + */ + chargeStatementDescriptor?: string; + + /** + * Statement descriptors used for charges. + * + * This is what buyers will see on their credit card or bank statements when making a purchase. + * + */ + chargeStatementDescriptors?: ShopifyPaymentsChargeStatementDescriptor; + + /** + * The Shopify Payments account country. + */ + country: string; + + /** + * The default payout currency for the Shopify Payments account. + */ + defaultCurrency: CurrencyCode; + + /** + * All disputes related to the Shopify Payments account. + */ + disputes: ShopifyPaymentsDisputeConnection; + + /** + * The fraud settings of the Shopify Payments account. + */ + fraudSettings: ShopifyPaymentsFraudSettings; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The notifications settings for the account. + */ + notificationSettings: ShopifyPaymentsNotificationSettings; + + /** + * Whether the Shopify Payments account can be onboarded. + */ + onboardable: boolean; + + /** + * Payout schedule for the account. + */ + payoutSchedule: ShopifyPaymentsPayoutSchedule; + + /** + * Descriptor used for payouts. + * + * This is what merchants will see on their bank statement when receiving a payout. + * + */ + payoutStatementDescriptor?: string; + + /** + * All current and previous payouts made between the account and the bank account. + */ + payouts: ShopifyPaymentsPayoutConnection; + + /** + * The permitted documents for identity verification. + */ + permittedVerificationDocuments: Array; + + /** + * The verifications necessary for this account. + */ + verifications: Array; + } + + export interface ShopifyPaymentsBankAccountConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface ShopifyPaymentsBankAccountEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of ShopifyPaymentsBankAccountEdge. + */ + node: ShopifyPaymentsBankAccount; + } + + /** + * A bank account that can receive payouts. + * + */ + export interface ShopifyPaymentsBankAccount extends Node { + + /** + * The account number of the bank account. + * + */ + accountNumber: string; + + /** + * The last digits of the account number (the rest is redacted). + * + */ + accountNumberLastDigits: string; + + /** + * The name of the bank. + * + */ + bankName?: string; + + /** + * The country of the bank. + * + */ + country: CountryCode; + + /** + * The date that the bank account was created. + */ + createdAt: DateTime; + + /** + * The currency of the bank account. + * + */ + currency: CurrencyCode; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * All current and previous payouts made between the account and the bank account. + */ + payouts: ShopifyPaymentsPayoutConnection; + + /** + * The routing number of the bank account. + * + */ + routingNumber: string; + + /** + * The status of the bank account. + * + */ + status: ShopifyPaymentsBankAccountStatus; + } + + /** + * The possible transaction types for a payout. + */ + export const enum ShopifyPaymentsPayoutTransactionType { + + /** + * The payout is a deposit. + */ + DEPOSIT = 'DEPOSIT', + + /** + * The payout is a withdrawal. + */ + WITHDRAWAL = 'WITHDRAWAL' + } + + export interface ShopifyPaymentsPayoutConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface ShopifyPaymentsPayoutEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of ShopifyPaymentsPayoutEdge. + */ + node: ShopifyPaymentsPayout; + } + + /** + * Payouts represent the movement of money between a merchant's Shopify + * Payments balance and their bank account. + * + */ + export interface ShopifyPaymentsPayout extends LegacyInteroperability, Node { + + /** + * The bank account for the payout. + */ + bankAccount: ShopifyPaymentsBankAccount; + + /** + * The total amount and currency of the payout. + * @deprecated Use `net` instead + */ + gross: MoneyV2; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The exact time when the payout was issued. The payout only contains + * balance transactions that were available at this time. + * + */ + issuedAt: DateTime; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The total amount and currency of the payout. + */ + net: MoneyV2; + + /** + * The transfer status of the payout. + */ + status: ShopifyPaymentsPayoutStatus; + + /** + * The summary of the payout. + */ + summary: ShopifyPaymentsPayoutSummary; + + /** + * The direction of the payout. + */ + transactionType: ShopifyPaymentsPayoutTransactionType; + } + + /** + * The transfer status of the payout. + */ + export const enum ShopifyPaymentsPayoutStatus { + + /** + * The payout has been created and had transactions assigned to it, but + * it has not yet been submitted to the bank. + * + */ + SCHEDULED = 'SCHEDULED', + + /** + * The payout has been submitted to the bank. + */ + IN_TRANSIT = 'IN_TRANSIT', + + /** + * The payout has been successfully deposited into the bank. + */ + PAID = 'PAID', + + /** + * The payout has been declined by the bank. + */ + FAILED = 'FAILED', + + /** + * The payout has been canceled by Shopify. + */ + CANCELED = 'CANCELED' + } + + /** + * Breakdown of the total fees and gross of each of the different types of transactions associated + * with the payout. + * + */ + export interface ShopifyPaymentsPayoutSummary { + + /** + * Total fees for all adjustments including disputes. + */ + adjustmentsFee: MoneyV2; + + /** + * Total gross amount for all adjustments including disputes. + */ + adjustmentsGross: MoneyV2; + + /** + * Total fees for all charges. + */ + chargesFee: MoneyV2; + + /** + * Total gross amount for all charges. + */ + chargesGross: MoneyV2; + + /** + * Total fees for all refunds. + */ + refundsFee: MoneyV2; + + /** + * Total gross amount for all refunds. + */ + refundsFeeGross: MoneyV2; + + /** + * Total fees for all reserved funds. + */ + reservedFundsFee: MoneyV2; + + /** + * Total gross amount for all reserved funds. + */ + reservedFundsGross: MoneyV2; + + /** + * Total fees for all retried payouts. + */ + retriedPayoutsFee: MoneyV2; + + /** + * Total gross amount for all retried payouts. + */ + retriedPayoutsGross: MoneyV2; + } + + /** + * The bank account status. + */ + export const enum ShopifyPaymentsBankAccountStatus { + + /** + * A bank account that hasn't had any activity and that's not validated. + */ + NEW = 'NEW', + + /** + * It was determined that the bank account exists. + */ + VALIDATED = 'VALIDATED', + + /** + * Bank account validation was successful. + */ + VERIFIED = 'VERIFIED', + + /** + * A payout to the bank account failed. + */ + ERRORED = 'ERRORED' + } + + /** + * The charge descriptors for a payments account. + */ + export interface ShopifyPaymentsChargeStatementDescriptor { + + /** + * The default charge statement descriptor. + */ + default?: string; + + /** + * The prefix of the statement descriptor. + */ + prefix: string; + } + + /** Use this to resolve interface type ShopifyPaymentsChargeStatementDescriptor */ + export type PossibleShopifyPaymentsChargeStatementDescriptorTypeNames = + 'ShopifyPaymentsDefaultChargeStatementDescriptor' | + 'ShopifyPaymentsJpChargeStatementDescriptor'; + + export interface ShopifyPaymentsChargeStatementDescriptorNameMap { + ShopifyPaymentsChargeStatementDescriptor: ShopifyPaymentsChargeStatementDescriptor; + ShopifyPaymentsDefaultChargeStatementDescriptor: ShopifyPaymentsDefaultChargeStatementDescriptor; + ShopifyPaymentsJpChargeStatementDescriptor: ShopifyPaymentsJpChargeStatementDescriptor; + } + + export interface ShopifyPaymentsDisputeConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface ShopifyPaymentsDisputeEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of ShopifyPaymentsDisputeEdge. + */ + node: ShopifyPaymentsDispute; + } + + /** + * A dispute occurs when a buyer questions the legitimacy of a charge with their financial institution. + */ + export interface ShopifyPaymentsDispute extends LegacyInteroperability, Node { + + /** + * The total amount disputed by the cardholder. + */ + amount: MoneyV2; + + /** + * The deadline for evidence submission. + */ + evidenceDueBy?: Date; + + /** + * The date when evidence was sent. Returns null if evidence has not yet been sent. + */ + evidenceSentOn?: Date; + + /** + * The date when this dispute was resolved. Returns null if the dispute is not yet resolved. + */ + finalizedOn?: Date; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The date when this dispute was initiated. + */ + initiatedAt: DateTime; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The order that contains the charge that is under dispute. + */ + order?: Order; + + /** + * The reason of the dispute. + */ + reasonDetails: ShopifyPaymentsDisputeReasonDetails; + + /** + * The current state of the dispute. + */ + status: DisputeStatus; + + /** + * Indicates if this dispute is still in the inquiry phase or has turned into a chargeback. + */ + type: DisputeType; + } + + /** + * An [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) encoded UTC date string. Example value: `"2019-07-16"`. + * + */ + export type Date = any; + + /** + * Details regarding a dispute reason. + */ + export interface ShopifyPaymentsDisputeReasonDetails { + + /** + * The raw code provided by the payment network. + */ + networkReasonCode?: string; + + /** + * The reason for the dispute provided by the cardholder's banks. + */ + reason: ShopifyPaymentsDisputeReason; + } + + /** + * The reason for the dispute provided by the cardholder's bank. + */ + export const enum ShopifyPaymentsDisputeReason { + + /** + * The cardholder claims that they didn’t authorize the payment. + */ + FRAUDULENT = 'FRAUDULENT', + + /** + * The dispute is uncategorized, so you should contact the customer for additional details to find out why the payment was disputed. + */ + GENERAL = 'GENERAL', + + /** + * The customer doesn’t recognize the payment appearing on their card statement. + */ + UNRECOGNIZED = 'UNRECOGNIZED', + + /** + * The customer claims they were charged multiple times for the same product or service. + */ + DUPLICATE = 'DUPLICATE', + + /** + * The customer claims that you continued to charge them after a subscription was canceled. + */ + SUBSCRIPTION_CANCELLED = 'SUBSCRIPTION_CANCELLED', + + /** + * The product or service was received but was defective, damaged, or not as described. + */ + PRODUCT_UNACCEPTABLE = 'PRODUCT_UNACCEPTABLE', + + /** + * The customer claims they did not receive the products or services purchased. + */ + PRODUCT_NOT_RECEIVED = 'PRODUCT_NOT_RECEIVED', + + /** + * The customer claims that the purchased product was returned or the transaction was otherwise canceled, but you have not yet provided a refund or credit. + */ + CREDIT_NOT_PROCESSED = 'CREDIT_NOT_PROCESSED', + + /** + * The customer account associated with the purchase is incorrect. + */ + INCORRECT_ACCOUNT_DETAILS = 'INCORRECT_ACCOUNT_DETAILS', + + /** + * The customer's bank account has insufficient funds. + */ + INSUFFICIENT_FUNDS = 'INSUFFICIENT_FUNDS', + + /** + * The customer's bank cannot process the charge. + */ + BANK_CANNOT_PROCESS = 'BANK_CANNOT_PROCESS', + + /** + * The customer's bank cannot proceed with the debit since it has not been authorized. + */ + DEBIT_NOT_AUTHORIZED = 'DEBIT_NOT_AUTHORIZED', + + /** + * The customer initiated the dispute, so you should contact the customer for additional details to find out why the payment was disputed. + */ + CUSTOMER_INITIATED = 'CUSTOMER_INITIATED' + } + + /** + * The fraud settings of a payments account. + */ + export interface ShopifyPaymentsFraudSettings { + + /** + * Decline a charge if there is an AVS failure. + */ + declineChargeOnAvsFailure: boolean; + + /** + * Decline a charge if there is an CVC failure. + */ + declineChargeOnCvcFailure: boolean; + } + + /** + * The notification settings for the account. + */ + export interface ShopifyPaymentsNotificationSettings { + + /** + * Receive email notifications when new payouts are sent or payouts fail. + */ + payouts: boolean; + } + + /** + * The payment schedule for a payments account. + */ + export interface ShopifyPaymentsPayoutSchedule { + + /** + * The interval at which payouts are sent to the connected bank account. + */ + interval: ShopifyPaymentsPayoutInterval; + + /** + * The day of the month funds will be paid out. + * + * The value can be any day of the month from the 1st to the 31st. + * If the payment interval is set to monthly, this value will be used. + * Payouts scheduled between 29-31st of the month are sent on the last day of shorter months. + * + */ + monthlyAnchor?: number; + + /** + * The day of the week funds will be paid out. + * + * The value can be any weekday from Monday to Friday. + * If the payment interval is set to weekly, this value will be used. + * + */ + weeklyAnchor?: DayOfTheWeek; + } + + /** + * The interval at which payouts are sent to the connected bank account. + */ + export const enum ShopifyPaymentsPayoutInterval { + + /** + * Each business day. + */ + DAILY = 'DAILY', + + /** + * Each week, on the day of week specified by weeklyAnchor. + */ + WEEKLY = 'WEEKLY', + + /** + * Each month, on the day of month specified by monthlyAnchor. + */ + MONTHLY = 'MONTHLY', + + /** + * Payouts will not be automatically made. + */ + MANUAL = 'MANUAL' + } + + /** + * Days of the week from Monday to Sunday. + */ + export const enum DayOfTheWeek { + + /** + * Monday. + */ + MONDAY = 'MONDAY', + + /** + * Tuesday. + */ + TUESDAY = 'TUESDAY', + + /** + * Wednesday. + */ + WEDNESDAY = 'WEDNESDAY', + + /** + * Thursday. + */ + THURSDAY = 'THURSDAY', + + /** + * Friday. + */ + FRIDAY = 'FRIDAY', + + /** + * Saturday. + */ + SATURDAY = 'SATURDAY', + + /** + * Sunday. + */ + SUNDAY = 'SUNDAY' + } + + /** + * A document which can be used to verify an individual. + */ + export interface ShopifyPaymentsVerificationDocument { + + /** + * True if the back side of the document is required. + */ + backRequired: boolean; + + /** + * True if the front side of the document is required. + */ + frontRequired: boolean; + + /** + * The type of the document which can be used for verification. + */ + type: ShopifyPaymentsVerificationDocumentType; + } + + /** + * The types of possible verification documents. + */ + export const enum ShopifyPaymentsVerificationDocumentType { + + /** + * The subject's driver's license. + */ + DRIVERS_LICENSE = 'DRIVERS_LICENSE', + + /** + * A government's identification document of the subject. + */ + GOVERNMENT_IDENTIFICATION = 'GOVERNMENT_IDENTIFICATION', + + /** + * The subject's passport. + */ + PASSPORT = 'PASSPORT' + } + + /** + * Each subject (individual) of an account has a verification object giving + * information about the verification state. + * + */ + export interface ShopifyPaymentsVerification extends Node { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The status of the verification. + */ + status: ShopifyPaymentsVerificationStatus; + + /** + * The subject/individual who has to be verified. + */ + subject: ShopifyPaymentsVerificationSubject; + } + + /** + * The status of a verification. + */ + export const enum ShopifyPaymentsVerificationStatus { + + /** + * The verification has been verified. + */ + VERIFIED = 'VERIFIED', + + /** + * The verification has not yet been verified. + */ + UNVERIFIED = 'UNVERIFIED', + + /** + * The verification request has been submitted but a response has not yet been given. + */ + PENDING = 'PENDING' + } + + /** + * The verification subject represents an individual that has to be verified. + */ + export interface ShopifyPaymentsVerificationSubject { + + /** + * The family name of the individual to verify. + */ + familyName: string; + + /** + * The given name of the individual to verify. + */ + givenName: string; + } + + export interface StorefrontAccessTokenConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface StorefrontAccessTokenEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of StorefrontAccessTokenEdge. + */ + node: StorefrontAccessToken; + } + + /** + * Token used to delegate unauthenticated access scopes to clients that need to access the unautheticated Storefront API. + * + */ + export interface StorefrontAccessToken extends Node { + + /** + * List of permissions associated with the token. + */ + accessScopes: Array; + + /** + * The issued public access token. + */ + accessToken: string; + + /** + * The date and time when the public access token was created. + */ + createdAt: DateTime; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * An arbitrary title for each token determined by the developer, used for reference purposes. + */ + title: string; + + /** + * The date and time when the storefront access token was updated. + */ + updatedAt: DateTime; + } + + /** + * Systems of weights and measures. + */ + export const enum UnitSystem { + + /** + * Imperial system of weights and measures. + */ + IMPERIAL_SYSTEM = 'IMPERIAL_SYSTEM', + + /** + * Metric system of weights and measures. + */ + METRIC_SYSTEM = 'METRIC_SYSTEM' + } + + /** + * The set of valid sort keys for the ShopImage query. + */ + export const enum ShopImageSortKeys { + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + /** + * Available locale for a shop. + */ + export interface ShopLocale { + + /** + * Locale identifier. + */ + locale: string; + + /** + * Locale name. + */ + name: string; + + /** + * Whether or not this is the default locale for the shop. + */ + primary: boolean; + + /** + * Whether or not the locale is published. + */ + published: boolean; + } + + export interface TenderTransactionConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface TenderTransactionEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of TenderTransactionEdge. + */ + node: TenderTransaction; + } + + /** + * A tender transaction represents a transaction which modifies the shop's balance. + */ + export interface TenderTransaction extends Node { + + /** + * The amount and currency of the tender transaction. + */ + amount: MoneyV2; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Information about the payment method used for this transaction. + */ + paymentMethod?: string; + + /** + * Date and time when the transaction was processed. + */ + processedAt?: DateTime; + + /** + * The remote gateway reference associated with the tender transaction. + */ + remoteReference?: string; + + /** + * Whether the transaction is a test transaction. + */ + test: boolean; + + /** + * Information about the payment instrument used for this transaction. + */ + transactionDetails?: TenderTransactionDetails; + } + + /** + * Information about the payment instrument used for this transaction. + */ + export type TenderTransactionDetails = TenderTransactionCreditCardDetails; + + /** Use this to resolve union type TenderTransactionDetails */ + export type PossibleTenderTransactionDetailsTypeNames = + 'TenderTransactionCreditCardDetails'; + + export interface TenderTransactionDetailsNameMap { + TenderTransactionDetails: TenderTransactionDetails; + TenderTransactionCreditCardDetails: TenderTransactionCreditCardDetails; + } + + /** + * Information about the credit card used for this transaction. + */ + export interface TenderTransactionCreditCardDetails { + + /** + * The name of the company that issued the customer's credit card. + */ + creditCardCompany?: string; + + /** + * The customer's credit card number, with most of the leading digits redacted. + */ + creditCardNumber?: string; + } + + /** + * A resource that has translatable fields. + */ + export interface TranslatableResource { + + /** + * GID of the resource. + */ + resourceId: string; + + /** + * Translatable content. + */ + translatableContent: Array; + + /** + * Translatable content translations. + */ + translations: Array; + } + + /** + * Translatable content of a resource's field. + */ + export interface TranslatableContent { + + /** + * Digest (hash) of the content. + */ + digest?: string; + + /** + * Content key. + */ + key: string; + + /** + * Content locale. + */ + locale: string; + + /** + * Content value. + */ + value?: string; + } + + /** + * Translation of a field of a resource. + */ + export interface Translation { + + /** + * Translation key. + */ + key: string; + + /** + * Translation locale. + */ + locale: string; + + /** + * Marked as outdated. + */ + outdated: boolean; + + /** + * Translation value. + */ + value?: string; + } + + /** + * Specifies the type of resources that are translatable. + */ + export const enum TranslatableResourceType { + + /** + * Represents a product. + */ + PRODUCT = 'PRODUCT', + + /** + * Represents a product variant. + */ + PRODUCT_VARIANT = 'PRODUCT_VARIANT', + + /** + * Represents an email template. + */ + EMAIL_TEMPLATE = 'EMAIL_TEMPLATE', + + /** + * Represents an online store theme. + */ + ONLINE_STORE_THEME = 'ONLINE_STORE_THEME', + + /** + * Represents an article. + */ + ONLINE_STORE_ARTICLE = 'ONLINE_STORE_ARTICLE', + + /** + * Represents an online store blog. + */ + ONLINE_STORE_BLOG = 'ONLINE_STORE_BLOG', + + /** + * Represents an online store page. + */ + ONLINE_STORE_PAGE = 'ONLINE_STORE_PAGE', + + /** + * Represents a collection of products. + */ + COLLECTION = 'COLLECTION', + + /** + * Represents a link to direct users to. + */ + LINK = 'LINK', + + /** + * Represents a metafield. + */ + METAFIELD = 'METAFIELD', + + /** + * Represents an SMS template. + */ + SMS_TEMPLATE = 'SMS_TEMPLATE', + + /** + * Represents a shop. + */ + SHOP = 'SHOP', + + /** + * Represents a shop policy. + */ + SHOP_POLICY = 'SHOP_POLICY', + + /** + * Represents a payment gateway. + */ + PAYMENT_GATEWAY = 'PAYMENT_GATEWAY', + + /** + * Represents a custom product property name like "Size", "Color", and "Material". + */ + PRODUCT_OPTION = 'PRODUCT_OPTION', + + /** + * Represents a delivery method definition. For example, "Standard", or "Expedited". + */ + DELIVERY_METHOD_DEFINITION = 'DELIVERY_METHOD_DEFINITION' + } + + export interface TranslatableResourceConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface TranslatableResourceEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of TranslatableResourceEdge. + */ + node: TranslatableResource; + } + + /** + * Represents a subscription to a webhook. + * + */ + export interface WebhookSubscription extends Node, LegacyInteroperability { + + /** + * URL where the webhook subscription should send the POST request when the event occurs. + */ + callbackUrl: URL; + + /** + * The date and time when the webhook subscription was created. + */ + createdAt: DateTime; + + /** + * The format in which the webhook subscription should send the data. + */ + format: WebhookSubscriptionFormat; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The list of fields to be included in the webhook subscription. + */ + includeFields: Array; + + /** + * The ID of the corresponding resource in the REST Admin API. + */ + legacyResourceId: UnsignedInt64; + + /** + * The list of namespaces for any metafields that should be included in the webhook subscription. + */ + metafieldNamespaces: Array; + + /** + * The type of event that triggers the webhook. + */ + topic: WebhookSubscriptionTopic; + + /** + * The date and time when the webhook subscription was updated. + */ + updatedAt: DateTime; + } + + /** + * The supported formats for webhook subscriptions. + */ + export const enum WebhookSubscriptionFormat { + JSON = 'JSON', + XML = 'XML' + } + + /** + * The supported topics for webhook subscriptions. + */ + export const enum WebhookSubscriptionTopic { + + /** + * The webhook topic for `app/uninstalled` events. + */ + APP_UNINSTALLED = 'APP_UNINSTALLED', + + /** + * The webhook topic for `carts/create` events. + */ + CARTS_CREATE = 'CARTS_CREATE', + + /** + * The webhook topic for `carts/update` events. + */ + CARTS_UPDATE = 'CARTS_UPDATE', + + /** + * The webhook topic for `channels/delete` events. + */ + CHANNELS_DELETE = 'CHANNELS_DELETE', + + /** + * The webhook topic for `checkouts/create` events. + */ + CHECKOUTS_CREATE = 'CHECKOUTS_CREATE', + + /** + * The webhook topic for `checkouts/delete` events. + */ + CHECKOUTS_DELETE = 'CHECKOUTS_DELETE', + + /** + * The webhook topic for `checkouts/update` events. + */ + CHECKOUTS_UPDATE = 'CHECKOUTS_UPDATE', + + /** + * The webhook topic for `collection_listings/add` events. + */ + COLLECTION_LISTINGS_ADD = 'COLLECTION_LISTINGS_ADD', + + /** + * The webhook topic for `collection_listings/remove` events. + */ + COLLECTION_LISTINGS_REMOVE = 'COLLECTION_LISTINGS_REMOVE', + + /** + * The webhook topic for `collection_listings/update` events. + */ + COLLECTION_LISTINGS_UPDATE = 'COLLECTION_LISTINGS_UPDATE', + + /** + * The webhook topic for `collection_publications/create` events. + */ + COLLECTION_PUBLICATIONS_CREATE = 'COLLECTION_PUBLICATIONS_CREATE', + + /** + * The webhook topic for `collection_publications/delete` events. + */ + COLLECTION_PUBLICATIONS_DELETE = 'COLLECTION_PUBLICATIONS_DELETE', + + /** + * The webhook topic for `collection_publications/update` events. + */ + COLLECTION_PUBLICATIONS_UPDATE = 'COLLECTION_PUBLICATIONS_UPDATE', + + /** + * The webhook topic for `collections/create` events. + */ + COLLECTIONS_CREATE = 'COLLECTIONS_CREATE', + + /** + * The webhook topic for `collections/delete` events. + */ + COLLECTIONS_DELETE = 'COLLECTIONS_DELETE', + + /** + * The webhook topic for `collections/update` events. + */ + COLLECTIONS_UPDATE = 'COLLECTIONS_UPDATE', + + /** + * The webhook topic for `customer_groups/create` events. + */ + CUSTOMER_GROUPS_CREATE = 'CUSTOMER_GROUPS_CREATE', + + /** + * The webhook topic for `customer_groups/delete` events. + */ + CUSTOMER_GROUPS_DELETE = 'CUSTOMER_GROUPS_DELETE', + + /** + * The webhook topic for `customer_groups/update` events. + */ + CUSTOMER_GROUPS_UPDATE = 'CUSTOMER_GROUPS_UPDATE', + + /** + * The webhook topic for `customers/create` events. + */ + CUSTOMERS_CREATE = 'CUSTOMERS_CREATE', + + /** + * The webhook topic for `customers/delete` events. + */ + CUSTOMERS_DELETE = 'CUSTOMERS_DELETE', + + /** + * The webhook topic for `customers/disable` events. + */ + CUSTOMERS_DISABLE = 'CUSTOMERS_DISABLE', + + /** + * The webhook topic for `customers/enable` events. + */ + CUSTOMERS_ENABLE = 'CUSTOMERS_ENABLE', + + /** + * The webhook topic for `customers/update` events. + */ + CUSTOMERS_UPDATE = 'CUSTOMERS_UPDATE', + + /** + * The webhook topic for `disputes/create` events. + */ + DISPUTES_CREATE = 'DISPUTES_CREATE', + + /** + * The webhook topic for `disputes/update` events. + */ + DISPUTES_UPDATE = 'DISPUTES_UPDATE', + + /** + * The webhook topic for `draft_orders/create` events. + */ + DRAFT_ORDERS_CREATE = 'DRAFT_ORDERS_CREATE', + + /** + * The webhook topic for `draft_orders/delete` events. + */ + DRAFT_ORDERS_DELETE = 'DRAFT_ORDERS_DELETE', + + /** + * The webhook topic for `draft_orders/update` events. + */ + DRAFT_ORDERS_UPDATE = 'DRAFT_ORDERS_UPDATE', + + /** + * The webhook topic for `fulfillment_events/create` events. + */ + FULFILLMENT_EVENTS_CREATE = 'FULFILLMENT_EVENTS_CREATE', + + /** + * The webhook topic for `fulfillment_events/delete` events. + */ + FULFILLMENT_EVENTS_DELETE = 'FULFILLMENT_EVENTS_DELETE', + + /** + * The webhook topic for `fulfillments/create` events. + */ + FULFILLMENTS_CREATE = 'FULFILLMENTS_CREATE', + + /** + * The webhook topic for `fulfillments/update` events. + */ + FULFILLMENTS_UPDATE = 'FULFILLMENTS_UPDATE', + + /** + * The webhook topic for `attributed_sessions/first` events. + */ + ATTRIBUTED_SESSIONS_FIRST = 'ATTRIBUTED_SESSIONS_FIRST', + + /** + * The webhook topic for `attributed_sessions/last` events. + */ + ATTRIBUTED_SESSIONS_LAST = 'ATTRIBUTED_SESSIONS_LAST', + + /** + * The webhook topic for `order_transactions/create` events. + */ + ORDER_TRANSACTIONS_CREATE = 'ORDER_TRANSACTIONS_CREATE', + + /** + * The webhook topic for `orders/cancelled` events. + */ + ORDERS_CANCELLED = 'ORDERS_CANCELLED', + + /** + * The webhook topic for `orders/create` events. + */ + ORDERS_CREATE = 'ORDERS_CREATE', + + /** + * The webhook topic for `orders/delete` events. + */ + ORDERS_DELETE = 'ORDERS_DELETE', + + /** + * The webhook topic for `orders/edited` events. + */ + ORDERS_EDITED = 'ORDERS_EDITED', + + /** + * The webhook topic for `orders/fulfilled` events. + */ + ORDERS_FULFILLED = 'ORDERS_FULFILLED', + + /** + * The webhook topic for `orders/paid` events. + */ + ORDERS_PAID = 'ORDERS_PAID', + + /** + * The webhook topic for `orders/partially_fulfilled` events. + */ + ORDERS_PARTIALLY_FULFILLED = 'ORDERS_PARTIALLY_FULFILLED', + + /** + * The webhook topic for `orders/updated` events. + */ + ORDERS_UPDATED = 'ORDERS_UPDATED', + + /** + * The webhook topic for `product_listings/add` events. + */ + PRODUCT_LISTINGS_ADD = 'PRODUCT_LISTINGS_ADD', + + /** + * The webhook topic for `product_listings/remove` events. + */ + PRODUCT_LISTINGS_REMOVE = 'PRODUCT_LISTINGS_REMOVE', + + /** + * The webhook topic for `product_listings/update` events. + */ + PRODUCT_LISTINGS_UPDATE = 'PRODUCT_LISTINGS_UPDATE', + + /** + * The webhook topic for `product_publications/create` events. + */ + PRODUCT_PUBLICATIONS_CREATE = 'PRODUCT_PUBLICATIONS_CREATE', + + /** + * The webhook topic for `product_publications/delete` events. + */ + PRODUCT_PUBLICATIONS_DELETE = 'PRODUCT_PUBLICATIONS_DELETE', + + /** + * The webhook topic for `product_publications/update` events. + */ + PRODUCT_PUBLICATIONS_UPDATE = 'PRODUCT_PUBLICATIONS_UPDATE', + + /** + * The webhook topic for `products/create` events. + */ + PRODUCTS_CREATE = 'PRODUCTS_CREATE', + + /** + * The webhook topic for `products/delete` events. + */ + PRODUCTS_DELETE = 'PRODUCTS_DELETE', + + /** + * The webhook topic for `products/update` events. + */ + PRODUCTS_UPDATE = 'PRODUCTS_UPDATE', + + /** + * The webhook topic for `refunds/create` events. + */ + REFUNDS_CREATE = 'REFUNDS_CREATE', + + /** + * The webhook topic for `shipping_addresses/create` events. + */ + SHIPPING_ADDRESSES_CREATE = 'SHIPPING_ADDRESSES_CREATE', + + /** + * The webhook topic for `shipping_addresses/update` events. + */ + SHIPPING_ADDRESSES_UPDATE = 'SHIPPING_ADDRESSES_UPDATE', + + /** + * The webhook topic for `shop/update` events. + */ + SHOP_UPDATE = 'SHOP_UPDATE', + + /** + * The webhook topic for `tax_services/create` events. + */ + TAX_SERVICES_CREATE = 'TAX_SERVICES_CREATE', + + /** + * The webhook topic for `tax_services/update` events. + */ + TAX_SERVICES_UPDATE = 'TAX_SERVICES_UPDATE', + + /** + * The webhook topic for `themes/create` events. + */ + THEMES_CREATE = 'THEMES_CREATE', + + /** + * The webhook topic for `themes/delete` events. + */ + THEMES_DELETE = 'THEMES_DELETE', + + /** + * The webhook topic for `themes/publish` events. + */ + THEMES_PUBLISH = 'THEMES_PUBLISH', + + /** + * The webhook topic for `themes/update` events. + */ + THEMES_UPDATE = 'THEMES_UPDATE', + + /** + * The webhook topic for `variants/in_stock` events. + */ + VARIANTS_IN_STOCK = 'VARIANTS_IN_STOCK', + + /** + * The webhook topic for `variants/out_of_stock` events. + */ + VARIANTS_OUT_OF_STOCK = 'VARIANTS_OUT_OF_STOCK', + + /** + * The webhook topic for `inventory_levels/connect` events. + */ + INVENTORY_LEVELS_CONNECT = 'INVENTORY_LEVELS_CONNECT', + + /** + * The webhook topic for `inventory_levels/update` events. + */ + INVENTORY_LEVELS_UPDATE = 'INVENTORY_LEVELS_UPDATE', + + /** + * The webhook topic for `inventory_levels/disconnect` events. + */ + INVENTORY_LEVELS_DISCONNECT = 'INVENTORY_LEVELS_DISCONNECT', + + /** + * The webhook topic for `attribution/risk` events. + */ + ATTRIBUTION_RISK = 'ATTRIBUTION_RISK', + + /** + * The webhook topic for `inventory_items/create` events. + */ + INVENTORY_ITEMS_CREATE = 'INVENTORY_ITEMS_CREATE', + + /** + * The webhook topic for `inventory_items/update` events. + */ + INVENTORY_ITEMS_UPDATE = 'INVENTORY_ITEMS_UPDATE', + + /** + * The webhook topic for `inventory_items/delete` events. + */ + INVENTORY_ITEMS_DELETE = 'INVENTORY_ITEMS_DELETE', + + /** + * The webhook topic for `locations/create` events. + */ + LOCATIONS_CREATE = 'LOCATIONS_CREATE', + + /** + * The webhook topic for `locations/update` events. + */ + LOCATIONS_UPDATE = 'LOCATIONS_UPDATE', + + /** + * The webhook topic for `locations/delete` events. + */ + LOCATIONS_DELETE = 'LOCATIONS_DELETE', + + /** + * The webhook topic for `tender_transactions/create` events. + */ + TENDER_TRANSACTIONS_CREATE = 'TENDER_TRANSACTIONS_CREATE', + + /** + * The webhook topic for `app_purchases_one_time/update` events. + */ + APP_PURCHASES_ONE_TIME_UPDATE = 'APP_PURCHASES_ONE_TIME_UPDATE', + + /** + * The webhook topic for `app_subscriptions/update` events. + */ + APP_SUBSCRIPTIONS_UPDATE = 'APP_SUBSCRIPTIONS_UPDATE', + + /** + * The webhook topic for `locales/create` events. + */ + LOCALES_CREATE = 'LOCALES_CREATE', + + /** + * The webhook topic for `locales/update` events. + */ + LOCALES_UPDATE = 'LOCALES_UPDATE' + } + + /** + * The set of valid sort keys for the WebhookSubscription query. + */ + export const enum WebhookSubscriptionSortKeys { + + /** + * Sort by the `created_at` value. + */ + CREATED_AT = 'CREATED_AT', + + /** + * Sort by the `id` value. + */ + ID = 'ID', + + /** + * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the + * results by relevance to the search term(s). When no search query is specified, this sort key is not + * deterministic and should not be used. + * + */ + RELEVANCE = 'RELEVANCE' + } + + export interface WebhookSubscriptionConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface WebhookSubscriptionEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of WebhookSubscriptionEdge. + */ + node: WebhookSubscription; + } + + /** + * The schema's entry point for all mutation operations. + */ + export interface Mutation { + + /** + * Allows an app to create a credit for a shop that can be used towards future app purchases. + */ + appCreditCreate?: AppCreditCreatePayload; + + /** + * Allows an app to charge a shop for features or services one time. + */ + appPurchaseOneTimeCreate?: AppPurchaseOneTimeCreatePayload; + + /** + * Cancels an app subscription on a store. + */ + appSubscriptionCancel?: AppSubscriptionCancelPayload; + + /** + * Allows an app to charge a store for features or services on a recurring basis. + */ + appSubscriptionCreate?: AppSubscriptionCreatePayload; + + /** + * Updates the app plan's pricing details attached to an app subscription. + */ + appSubscriptionLineItemUpdate?: AppSubscriptionLineItemUpdatePayload; + + /** + * Allows an app to charge a store for usage. + */ + appUsageRecordCreate?: AppUsageRecordCreatePayload; + + /** + * Starts the cancelation process of a running bulk operation. + * + * There may be a short delay from when a cancelation starts until the operation is actually canceled. + * + */ + bulkOperationCancel?: BulkOperationCancelPayload; + + /** + * Creates and runs a bulk operation query. + * + * See the [bulk operations guide](https://help.shopify.com/api/guides/bulk-operations) for more details. + * + */ + bulkOperationRunQuery?: BulkOperationRunQueryPayload; + + /** + * Adds products to a collection. + */ + collectionAddProducts?: CollectionAddProductsPayload; + + /** + * Creates a collection. + * + */ + collectionCreate?: CollectionCreatePayload; + + /** + * Deletes a collection. + */ + collectionDelete?: CollectionDeletePayload; + + /** + * Publishes a collection to a channel. + * @deprecated Use `publishablePublish` instead + */ + collectionPublish?: CollectionPublishPayload; + + /** + * Removes a set of products from a given collection. It can take a long time to run. Instead of returning a collection it returns a job, which should be polled. + */ + collectionRemoveProducts?: CollectionRemoveProductsPayload; + + /** + * Asynchronously reorders a set of products from a given collection. + */ + collectionReorderProducts?: CollectionReorderProductsPayload; + + /** + * Unpublishes a collection. + * @deprecated Use `publishableUnpublish` instead + */ + collectionUnpublish?: CollectionUnpublishPayload; + + /** + * Updates a collection. + */ + collectionUpdate?: CollectionUpdatePayload; + + /** + * Add tax exemptions to a customer. + */ + customerAddTaxExemptions?: CustomerAddTaxExemptionsPayload; + + /** + * Creates a new customer. + */ + customerCreate?: CustomerCreatePayload; + + /** + * Deletes a customer. + */ + customerDelete?: CustomerDeletePayload; + + /** + * Generates a new account activation URL. + */ + customerGenerateAccountActivationUrl?: CustomerGenerateAccountActivationUrlPayload; + + /** + * Remove tax exemptions from a customer. + */ + customerRemoveTaxExemptions?: CustomerRemoveTaxExemptionsPayload; + + /** + * Replace tax exemptions on a customer. + */ + customerReplaceTaxExemptions?: CustomerReplaceTaxExemptionsPayload; + + /** + * Updates a customer's attributes. + */ + customerUpdate?: CustomerUpdatePayload; + + /** + * Updates a customer's default address. + */ + customerUpdateDefaultAddress?: CustomerUpdateDefaultAddressPayload; + + /** + * Creates a delivery profile. + */ + deliveryProfileCreate?: deliveryProfileCreatePayload; + + /** + * Enqueues the deletion/removal of a delivery profile. + */ + deliveryProfileRemove?: deliveryProfileRemovePayload; + + /** + * Updates a delivery profile. + */ + deliveryProfileUpdate?: deliveryProfileUpdatePayload; + + /** + * Set the delivery settings for a shop. + */ + deliverySettingUpdate?: DeliverySettingUpdatePayload; + + /** + * Assign a location as the shipping origin while in legacy compatibility mode profiles. + */ + deliveryShippingOriginAssign?: DeliveryShippingOriginAssignPayload; + + /** + * Activates an automatic discount. + */ + discountAutomaticActivate?: DiscountAutomaticActivatePayload; + + /** + * Creates a basic automatic discount. + */ + discountAutomaticBasicCreate?: DiscountAutomaticBasicCreatePayload; + + /** + * Updates a basic automatic discount using its ID and input. + */ + discountAutomaticBasicUpdate?: DiscountAutomaticBasicUpdatePayload; + + /** + * Asynchronously delete automatic discounts in bulk if a `search` or `saved_search_id` argument is provided or if a + * maximum discount threshold is reached (1,000). Otherwise, deletions will occur inline. + * **Warning:** All automatic discounts will be deleted if a blank `search` argument is provided. + * + */ + discountAutomaticBulkDelete?: DiscountAutomaticBulkDeletePayload; + + /** + * Creates a BXGY automatic discount. + */ + discountAutomaticBxgyCreate?: DiscountAutomaticBxgyCreatePayload; + + /** + * Updates a BXGY automatic discount using its ID and input. + */ + discountAutomaticBxgyUpdate?: DiscountAutomaticBxgyUpdatePayload; + + /** + * Deactivates an automatic discount. + */ + discountAutomaticDeactivate?: DiscountAutomaticDeactivatePayload; + + /** + * Deletes an automatic discount. + */ + discountAutomaticDelete?: DiscountAutomaticDeletePayload; + + /** + * Activates a code discount. + */ + discountCodeActivate?: DiscountCodeActivatePayload; + + /** + * Creates a basic code discount. + */ + discountCodeBasicCreate?: DiscountCodeBasicCreatePayload; + + /** + * Updates a basic code discount. + */ + discountCodeBasicUpdate?: DiscountCodeBasicUpdatePayload; + + /** + * Creates a BXGY code discount. + */ + discountCodeBxgyCreate?: DiscountCodeBxgyCreatePayload; + + /** + * Updates a BXGY code discount. + */ + discountCodeBxgyUpdate?: DiscountCodeBxgyUpdatePayload; + + /** + * Deactivates a code discount. + */ + discountCodeDeactivate?: DiscountCodeDeactivatePayload; + + /** + * Deletes a code discount. + */ + discountCodeDelete?: DiscountCodeDeletePayload; + + /** + * Creates a free shipping code discount. + */ + discountCodeFreeShippingCreate?: DiscountCodeFreeShippingCreatePayload; + + /** + * Updates a free shipping code discount. + */ + discountCodeFreeShippingUpdate?: DiscountCodeFreeShippingUpdatePayload; + + /** + * Calculates the properties of a draft order. Useful for determining information + * such as total taxes or price without actually creating a draft order. + * + */ + draftOrderCalculate?: DraftOrderCalculatePayload; + + /** + * Completes a draft order and creates an order. + */ + draftOrderComplete?: DraftOrderCompletePayload; + + /** + * Creates a draft order. + */ + draftOrderCreate?: DraftOrderCreatePayload; + + /** + * Deletes a draft order. + */ + draftOrderDelete?: DraftOrderDeletePayload; + + /** + * Previews a draft order invoice email. + */ + draftOrderInvoicePreview?: DraftOrderInvoicePreviewPayload; + + /** + * Sends an email invoice for a draft order. + */ + draftOrderInvoiceSend?: DraftOrderInvoiceSendPayload; + + /** + * Updates a draft order. + */ + draftOrderUpdate?: DraftOrderUpdatePayload; + + /** + * Triggers a workflow defined by the merchant in Shopify Flow. To learn more, see [_Create Shopify Flow triggers_](https://help.shopify.com/api/embedded-apps/app-extensions/flow/create-triggers). + */ + flowTriggerReceive?: FlowTriggerReceivePayload; + + /** + * Cancels a fulfillment. + */ + fulfillmentCancel?: FulfillmentCancelPayload; + + /** + * Creates a fulfillment for an order. + * @deprecated Use the new [fulfillmentOrder](https://shopify.dev/tutorials/manage-fulfillments-with-fulfillment-and-fulfillmentorder-resources) APIs to manage fulfillments. + */ + fulfillmentCreate?: FulfillmentCreatePayload; + + /** + * Creates a fulfillment for one or many fulfillment orders. + * The fulfillment orders are associated with the same order and are assigned to the same location. + * + */ + fulfillmentCreateV2?: FulfillmentCreateV2Payload; + + /** + * Accept a cancellation request sent to a fulfillment service for a fulfillment order. + */ + fulfillmentOrderAcceptCancellationRequest?: FulfillmentOrderAcceptCancellationRequestPayload; + + /** + * Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. + */ + fulfillmentOrderAcceptFulfillmentRequest?: FulfillmentOrderAcceptFulfillmentRequestPayload; + + /** + * Marks a fulfillment order as canceled. + */ + fulfillmentOrderCancel?: FulfillmentOrderCancelPayload; + + /** + * Marks an in-progress fulfillment order as incomplete, indicating the fulfillment service is unable to ship any remaining items and intends to close the fulfillment order. + */ + fulfillmentOrderClose?: FulfillmentOrderClosePayload; + + /** + * Moves a fulfillment order to a new location. + */ + fulfillmentOrderMove?: FulfillmentOrderMovePayload; + + /** + * Rejects a cancellation request sent to a fulfillment service for a fulfillment order. + */ + fulfillmentOrderRejectCancellationRequest?: FulfillmentOrderRejectCancellationRequestPayload; + + /** + * Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. + */ + fulfillmentOrderRejectFulfillmentRequest?: FulfillmentOrderRejectFulfillmentRequestPayload; + + /** + * Sends a cancellation request to the fulfillment service of a fulfillment order. + */ + fulfillmentOrderSubmitCancellationRequest?: FulfillmentOrderSubmitCancellationRequestPayload; + + /** + * Sends a fulfillment request to the fulfillment service of a fulfillment order. + */ + fulfillmentOrderSubmitFulfillmentRequest?: FulfillmentOrderSubmitFulfillmentRequestPayload; + + /** + * Creates a fulfillment service. + */ + fulfillmentServiceCreate?: FulfillmentServiceCreatePayload; + + /** + * Deletes a fulfillment service. + */ + fulfillmentServiceDelete?: FulfillmentServiceDeletePayload; + + /** + * Updates a fulfillment service. + */ + fulfillmentServiceUpdate?: FulfillmentServiceUpdatePayload; + + /** + * Updates tracking information for a fulfillment. + * @deprecated Use the new [fulfillmentOrder](https://shopify.dev/tutorials/manage-fulfillments-with-fulfillment-and-fulfillmentorder-resources) APIs to manage fulfillments. + */ + fulfillmentTrackingInfoUpdate?: FulfillmentTrackingInfoUpdatePayload; + + /** + * Updates tracking information for a fulfillment. + */ + fulfillmentTrackingInfoUpdateV2?: FulfillmentTrackingInfoUpdateV2Payload; + + /** + * Activate an inventory item at a location. + */ + inventoryActivate?: InventoryActivatePayload; + + /** + * Adjusts the inventory by a certain quantity. + */ + inventoryAdjustQuantity?: InventoryAdjustQuantityPayload; + + /** + * Adjusts the inventory at a location for multiple inventory items. + */ + inventoryBulkAdjustQuantityAtLocation?: InventoryBulkAdjustQuantityAtLocationPayload; + + /** + * Deactivate an inventory item at a location. + */ + inventoryDeactivate?: InventoryDeactivatePayload; + + /** + * Updates an inventory item. + */ + inventoryItemUpdate?: InventoryItemUpdatePayload; + + /** + * Kit Skill requested by developer for app and shop. + */ + kitSkillTriggerRequest?: KitSkillTriggerRequestPayload; + + /** + * Updates a marketing activity. + */ + marketingActivityUpdate?: MarketingActivityUpdatePayload; + + /** + * Creates a new marketing event engagement for a marketing activity. + */ + marketingEngagementCreate?: MarketingEngagementCreatePayload; + + /** + * Deletes a metafield. + */ + metafieldDelete?: MetafieldDeletePayload; + + /** + * Makes a Metafield with a specific namespace and key visible to the storefront API. + * + */ + metafieldStorefrontVisibilityCreate?: MetafieldStorefrontVisibilityCreatePayload; + + /** + * Deletes a Metafield Storefront Visibility. + * + */ + metafieldStorefrontVisibilityDelete?: MetafieldStorefrontVisibilityDeletePayload; + + /** + * Captures from an authorized transaction on an order. + */ + orderCapture?: OrderCapturePayload; + + /** + * Closes an open order. + * + */ + orderClose?: OrderClosePayload; + + /** + * Add a custom item to the order. + */ + orderEditAddCustomItem?: OrderEditAddCustomItemPayload; + + /** + * Add a line item from an existing product variant. + */ + orderEditAddVariant?: OrderEditAddVariantPayload; + + /** + * Start editing an order. + * + */ + orderEditBegin?: OrderEditBeginPayload; + + /** + * Applies and saves staged changes to an order. + * + */ + orderEditCommit?: OrderEditCommitPayload; + + /** + * Set the quantity of an item on the order. + */ + orderEditSetQuantity?: OrderEditSetQuantityPayload; + + /** + * Marks an order as paid. + * + */ + orderMarkAsPaid?: OrderMarkAsPaidPayload; + + /** + * Opens a closed order. + * + */ + orderOpen?: OrderOpenPayload; + + /** + * Updates an order. + */ + orderUpdate?: OrderUpdatePayload; + + /** + * Activate a price rule. + */ + priceRuleActivate?: PriceRuleActivatePayload; + + /** + * Create a price rule using the input. + */ + priceRuleCreate?: PriceRuleCreatePayload; + + /** + * Deactivate a price rule. + */ + priceRuleDeactivate?: PriceRuleDeactivatePayload; + + /** + * Delete a price rule. + */ + priceRuleDelete?: PriceRuleDeletePayload; + + /** + * Create a discount code for a price rule. + */ + priceRuleDiscountCodeCreate?: PriceRuleDiscountCodeCreatePayload; + + /** + * Update a discount code for a price rule. + */ + priceRuleDiscountCodeUpdate?: PriceRuleDiscountCodeUpdatePayload; + + /** + * Update a price rule using its id and an input. + */ + priceRuleUpdate?: PriceRuleUpdatePayload; + + /** + * Deletes a private metafield. + * + */ + privateMetafieldDelete?: PrivateMetafieldDeletePayload; + + /** + * Creates or update a private metafield. + * + */ + privateMetafieldUpsert?: PrivateMetafieldUpsertPayload; + + /** + * Appends images to a product. + */ + productAppendImages?: ProductAppendImagesPayload; + + /** + * Creates a product. + */ + productCreate?: ProductCreatePayload; + + /** + * Creates media for a product. + */ + productCreateMedia?: ProductCreateMediaPayload; + + /** + * Deletes a product. + */ + productDelete?: ProductDeletePayload; + + /** + * Removes a product images from the product. + */ + productDeleteImages?: ProductDeleteImagesPayload; + + /** + * Deletes media for a product. + */ + productDeleteMedia?: ProductDeleteMediaPayload; + + /** + * Duplicates a product. + */ + productDuplicate?: ProductDuplicatePayload; + + /** + * Updates an image of a product. + */ + productImageUpdate?: ProductImageUpdatePayload; + + /** + * Publishes a product. + * @deprecated Use `publishablePublish` instead + */ + productPublish?: ProductPublishPayload; + + /** + * Asynchronously reorders a set of images for a given product. + */ + productReorderImages?: ProductReorderImagesPayload; + + /** + * Asynchronously Reoders the media attached to a product. + */ + productReorderMedia?: ProductReorderMediaPayload; + + /** + * Unpublishes a product. + * @deprecated Use `publishableUnpublish` instead + */ + productUnpublish?: ProductUnpublishPayload; + + /** + * Updates a product. + */ + productUpdate?: ProductUpdatePayload; + + /** + * Updates media for a product. + */ + productUpdateMedia?: ProductUpdateMediaPayload; + + /** + * Creates a product variant. + */ + productVariantCreate?: ProductVariantCreatePayload; + + /** + * Deletes a product variant. + */ + productVariantDelete?: ProductVariantDeletePayload; + + /** + * Updates a product variant. + */ + productVariantUpdate?: ProductVariantUpdatePayload; + + /** + * Publishes a resource to a channel. + */ + publishablePublish?: PublishablePublishPayload; + + /** + * Publishes a resource to current channel. + */ + publishablePublishToCurrentChannel?: PublishablePublishToCurrentChannelPayload; + + /** + * Unpublishes a resource to a channel. + */ + publishableUnpublish?: PublishableUnpublishPayload; + + /** + * Unpublishes a resource to current channel. + */ + publishableUnpublishToCurrentChannel?: PublishableUnpublishToCurrentChannelPayload; + + /** + * Creates a refund. + */ + refundCreate?: RefundCreatePayload; + + /** + * Creates a saved search. + */ + savedSearchCreate?: SavedSearchCreatePayload; + + /** + * Delete a saved search. + */ + savedSearchDelete?: SavedSearchDeletePayload; + + /** + * Update a saved search. + */ + savedSearchUpdate?: SavedSearchUpdatePayload; + + /** + * Creates a new script tag. + * + */ + scriptTagCreate?: ScriptTagCreatePayload; + + /** + * Deletes a script tag. + * + */ + scriptTagDelete?: ScriptTagDeletePayload; + + /** + * Updates a script tag. + * + */ + scriptTagUpdate?: ScriptTagUpdatePayload; + + /** + * Deletes a shipping package. + */ + shippingPackageDelete?: ShippingPackageDeletePayload; + + /** + * Sets a Shipping Package as the default shipping package. The default shipping package is the one used to calculate shipping costs on checkout. + */ + shippingPackageMakeDefault?: ShippingPackageMakeDefaultPayload; + + /** + * Updates a custom shipping package. + */ + shippingPackageUpdate?: ShippingPackageUpdatePayload; + + /** + * Disables a locale for a shop. + */ + shopLocaleDisable?: ShopLocaleDisablePayload; + + /** + * Enables a locale for a shop. + */ + shopLocaleEnable?: ShopLocaleEnablePayload; + + /** + * Updates a locale for a shop. + */ + shopLocaleUpdate?: ShopLocaleUpdatePayload; + + /** + * Generates the URL and signed paramaters needed to upload an asset to Shopify. + */ + stagedUploadTargetGenerate?: StagedUploadTargetGeneratePayload; + + /** + * Uploads multiple images. + */ + stagedUploadTargetsGenerate?: StagedUploadTargetsGeneratePayload; + + /** + * Creates staged upload target URLs for each input and is the first step in the upload process. The returned upload targets with URLs can be used as endpoints to upload the files. + */ + stagedUploadsCreate?: StagedUploadsCreatePayload; + + /** + * Creates a storefront access token. + */ + storefrontAccessTokenCreate?: StorefrontAccessTokenCreatePayload; + + /** + * Deletes a storefront access token. + */ + storefrontAccessTokenDelete?: StorefrontAccessTokenDeletePayload; + + /** + * Add tags to a taggable object. + */ + tagsAdd?: TagsAddPayload; + + /** + * Remove tags from a taggable object. + */ + tagsRemove?: TagsRemovePayload; + + /** + * Creates or updates translations. + */ + translationsRegister?: TranslationsRegisterPayload; + + /** + * Removes translations. + */ + translationsRemove?: TranslationsRemovePayload; + + /** + * Creates a new webhook subscription. + * + */ + webhookSubscriptionCreate?: WebhookSubscriptionCreatePayload; + + /** + * Deletes a webhook subscription. + * + */ + webhookSubscriptionDelete?: WebhookSubscriptionDeletePayload; + + /** + * Updates a webhook subscription. + * + */ + webhookSubscriptionUpdate?: WebhookSubscriptionUpdatePayload; + } + + /** + * Specifies the fields for a monetary value with currency. + */ + export interface MoneyInput { + + /** + * Decimal money amount. + */ + amount: Decimal; + + /** + * Currency of the money. + */ + currencyCode: CurrencyCode; + } + + /** + * Return type for `appCreditCreate` mutation. + */ + export interface AppCreditCreatePayload { + + /** + * The newly created app credit. + */ + appCredit?: AppCredit; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `appPurchaseOneTimeCreate` mutation. + */ + export interface AppPurchaseOneTimeCreatePayload { + + /** + * The newly created app one-time purchase. + */ + appPurchaseOneTime?: AppPurchaseOneTime; + + /** + * The URL where the merchant can approve or decline the app one-time purchase. + */ + confirmationUrl?: URL; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `appSubscriptionCancel` mutation. + */ + export interface AppSubscriptionCancelPayload { + + /** + * The cancelled app subscription. + */ + appSubscription?: AppSubscription; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Allows an app to add more than one plan to an app subscription. + */ + export interface AppSubscriptionLineItemInput { + + /** + * Defines the pricing model for the app subscription. + */ + plan: AppPlanInput; + } + + /** + * Defines the pricing model for the app subscription. + */ + export interface AppPlanInput { + + /** + * Usage based billing pricing details. + */ + appUsagePricingDetails?: AppUsagePricingInput; + + /** + * Recurring based billing pricing details. + */ + appRecurringPricingDetails?: AppRecurringPricingInput; + } + + /** + * Allows an app to charge a store for usage. + */ + export interface AppUsagePricingInput { + + /** + * The limit a customer can be charged for usage based pricing. + */ + cappedAmount: MoneyInput; + + /** + * The terms and conditions for app usage. + */ + terms: string; + } + + /** + * Allows an app to charge per billing interval. + */ + export interface AppRecurringPricingInput { + + /** + * The amount to be charged to the store every billing interval. The only permitted currency code is USD. + */ + price: MoneyInput; + } + + /** + * Return type for `appSubscriptionCreate` mutation. + */ + export interface AppSubscriptionCreatePayload { + + /** + * The newly created app subscription. + */ + appSubscription?: AppSubscription; + + /** + * The URL where the merchant approves or declines an app subscription. + */ + confirmationUrl?: URL; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `appSubscriptionLineItemUpdate` mutation. + */ + export interface AppSubscriptionLineItemUpdatePayload { + + /** + * The updated app subscription. + */ + appSubscription?: AppSubscription; + + /** + * The URL where the merchant approves or declines the updated app subscription line item. + */ + confirmationUrl?: URL; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `appUsageRecordCreate` mutation. + */ + export interface AppUsageRecordCreatePayload { + + /** + * The newly created app usage record. + */ + appUsageRecord?: AppUsageRecord; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `bulkOperationCancel` mutation. + */ + export interface BulkOperationCancelPayload { + + /** + * The bulk operation to be canceled. + */ + bulkOperation?: BulkOperation; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `bulkOperationRunQuery` mutation. + */ + export interface BulkOperationRunQueryPayload { + + /** + * The newly created bulk operation. + */ + bulkOperation?: BulkOperation; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `collectionAddProducts` mutation. + */ + export interface CollectionAddProductsPayload { + + /** + * The updated collection. + */ + collection?: Collection; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields required to create a collection. + */ + export interface CollectionInput { + + /** + * The description of the collection, in HTML format. + */ + descriptionHtml?: string; + + /** + * A unique human-friendly string for the collection. Automatically generated from the collection's title. + * + */ + handle?: string; + + /** + * Specifies the collection to update or create a new collection if absent. + */ + id?: string; + + /** + * The image associated with the collection. + */ + image?: ImageInput; + + /** + * Initial list of collection products. Only valid with `productCreate` and without rules. + */ + products?: Array; + + /** + * Initial list of collection publications. Only valid with `productCreate`. This argument is deprecated: Use PublishablePublish instead. + */ + publications?: Array; + + /** + * The private metafields to associated with this product. + */ + privateMetafields?: Array; + + /** + * The rules used to assign products to the collection. + * + */ + ruleSet?: CollectionRuleSetInput; + + /** + * The theme template used when viewing the collection in a store. + */ + templateSuffix?: string; + + /** + * The order in which the collection's products are sorted. + */ + sortOrder?: CollectionSortOrder; + + /** + * Required for creating a new collection. + */ + title?: string; + + /** + * The metafields to associate with this collection. + */ + metafields?: Array; + + /** + * SEO information for the collection. + */ + seo?: SEOInput; + + /** + * Indicates whether a redirect is required after a new handle has been provided. + * If true, then the old handle is redirected to the new one automatically. + * + */ + redirectNewHandle?: boolean; + } + + /** + * Specifies the input fields for an image. + */ + export interface ImageInput { + + /** + * Globally unique identifier. + */ + id?: string; + + /** + * A word or phrase to share the nature or contents of an image. + */ + altText?: string; + + /** + * The URL of the image. May be a signed upload URL. + */ + src?: string; + } + + /** + * Specifies the publications to which a collection will be published. + */ + export interface CollectionPublicationInput { + + /** + * The ID of the publication. + */ + publicationId?: string; + + /** + * The ID of the channel. This argument is deprecated: Use publicationId instead. + */ + channelId?: string; + + /** + * This argument is deprecated: Use publicationId instead. + */ + channelHandle?: string; + } + + /** + * Specifies the input fields for a PrivateMetafield. + * + */ + export interface PrivateMetafieldInput { + + /** + * The owning resource. + */ + owner?: string; + + /** + * The namespace for the private metafield. + */ + namespace: string; + + /** + * The key for the private metafield. + */ + key: string; + + /** + * The value and value type of the metafield, wrapped in a ValueInput object. + */ + valueInput: PrivateMetafieldValueInput; + } + + /** + * Value Input wraps two fields of Private Metafields into one. Those fields are value and value_type. + * + */ + export interface PrivateMetafieldValueInput { + + /** + * The value of a private metafield. + */ + value: string; + + /** + * Represents the private metafield value type. + */ + valueType: PrivateMetafieldValueType; + } + + /** + * Specifies a rule set for the collection. + */ + export interface CollectionRuleSetInput { + + /** + * Whether products must match any or all of the rules to be included in the collection. + * If true, then products must match one or more of the rules to be included in the collection. + * If false, then products must match all of the rules to be included in the collection. + * + */ + appliedDisjunctively: boolean; + + /** + * The rules used to assign products to the collection. + */ + rules?: Array; + } + + /** + * Specifies a rule to associate with a collection. + */ + export interface CollectionRuleInput { + + /** + * The attribute that the rule focuses on (for example, `title` or `product_type`). + */ + column: CollectionRuleColumn; + + /** + * The type of operator that the rule is based on (for example, `equals`, `contains`, or `not_equals`). + * + */ + relation: CollectionRuleRelation; + + /** + * The value that the operator is applied to (for example, `Hats`). + */ + condition: string; + } + + /** + * Specifies the input fields for a metafield. + */ + export interface MetafieldInput { + + /** + * The description of the metafield . + */ + description?: string; + + /** + * The unique ID of the metafield. + */ + id?: string; + + /** + * The key name of the metafield. + */ + key?: string; + + /** + * The namespace for a metafield. + */ + namespace?: string; + + /** + * The value of a metafield. + */ + value?: string; + + /** + * The value type of a metafield. + */ + valueType?: MetafieldValueType; + } + + /** + * SEO information. + */ + export interface SEOInput { + + /** + * SEO title of the product. + */ + title?: string; + + /** + * SEO description of the product. + */ + description?: string; + } + + /** + * Return type for `collectionCreate` mutation. + */ + export interface CollectionCreatePayload { + + /** + * The collection that has been created. + */ + collection?: Collection; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the collection to delete. + */ + export interface CollectionDeleteInput { + + /** + * The ID of the collection to be deleted. + */ + id: string; + } + + /** + * Return type for `collectionDelete` mutation. + */ + export interface CollectionDeletePayload { + + /** + * The ID of the collection that was deleted. + */ + deletedCollectionId?: string; + + /** + * The shop associated with the collection. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies a collection to publish and the sales channels to publish it to. + */ + export interface CollectionPublishInput { + + /** + * The collection to create or update publications for. + */ + id: string; + + /** + * The channels where the collection will be published. + */ + collectionPublications: Array; + } + + /** + * Return type for `collectionPublish` mutation. + */ + export interface CollectionPublishPayload { + + /** + * The published collection. + */ + collection?: Collection; + + /** + * The channels where the collection has been published. + */ + collectionPublications?: Array; + + /** + * The shop associated with the collection. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `collectionRemoveProducts` mutation. + */ + export interface CollectionRemoveProductsPayload { + + /** + * The asynchronous job removing the products. + */ + job?: Job; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * An individual move to perform of an object to a position. + */ + export interface MoveInput { + + /** + * The ID of the object to be moved. + */ + id: string; + + /** + * The new position of the object in the set, using a 0 based index. + */ + newPosition: UnsignedInt64; + } + + /** + * Return type for `collectionReorderProducts` mutation. + */ + export interface CollectionReorderProductsPayload { + + /** + * The asynchronous job reordering the products. + */ + job?: Job; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the collection to unpublish and the sales channels to remove it from. + */ + export interface CollectionUnpublishInput { + + /** + * The collection to create or update publications for. + */ + id: string; + + /** + * The channels where the collection is published. + */ + collectionPublications: Array; + } + + /** + * Return type for `collectionUnpublish` mutation. + */ + export interface CollectionUnpublishPayload { + + /** + * The collection that has been unpublished. + */ + collection?: Collection; + + /** + * The shop associated with the collection. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `collectionUpdate` mutation. + */ + export interface CollectionUpdatePayload { + + /** + * The updated collection. + */ + collection?: Collection; + + /** + * The asynchronous job updating the products based on the new rule set. + */ + job?: Job; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `customerAddTaxExemptions` mutation. + */ + export interface CustomerAddTaxExemptionsPayload { + + /** + * The updated customer. + */ + customer?: Customer; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Provides the fields and values to use when creating or updating a customer. + */ + export interface CustomerInput { + + /** + * Whether the customer has consented to receive marketing material via email. + */ + acceptsMarketing?: boolean; + + /** + * The date and time when the customer consented or objected to receiving marketing material by email. Set + * whenever the customer consents or objects to marketing material. + * + */ + acceptsMarketingUpdatedAt?: DateTime; + + /** + * An input that specifies addresses for a customer. + */ + addresses?: Array; + + /** + * The unique email address of the customer. + */ + email?: string; + + /** + * The customer's first name. + */ + firstName?: string; + + /** + * Specifies the customer to update, or creates a new customer if one doesn't exist. + */ + id?: string; + + /** + * The customer's last name. + */ + lastName?: string; + + /** + * The customer's locale. + */ + locale?: string; + + /** + * The marketing subscription opt-in level (as described by the M3AAWG best practices guideline) that was + * enabled when the customer consented to receiving marketing material by email. + * + */ + marketingOptInLevel?: CustomerMarketingOptInLevel; + + /** + * Attaches additional metadata to the customer. + */ + metafields?: Array; + + /** + * A note about the customer. + */ + note?: string; + + /** + * The unique phone number for the customer. + */ + phone?: string; + + /** + * The private metafields to associated with this product. + */ + privateMetafields?: Array; + + /** + * Tags that the shop owner has attached to the customer. + */ + tags?: Array; + + /** + * Whether the customer is exempt from paying taxes on their order. + */ + taxExempt?: boolean; + + /** + * The list of tax exemptions to apply to the customer. + */ + taxExemptions?: Array; + } + + /** + * The fields used to create or update a mailing address. + */ + export interface MailingAddressInput { + + /** + * The first line of the address. Typically the street address or PO Box number. + * + */ + address1?: string; + + /** + * The second line of the address. Typically the number of the apartment, suite, or unit. + * + */ + address2?: string; + + /** + * The name of the city, district, village, or town. + * + */ + city?: string; + + /** + * The name of the customer's company or organization. + * + */ + company?: string; + + /** + * The name of the country. This argument is deprecated: Use `countryCode` instead. + */ + country?: string; + + /** + * The two-letter code for the country of the address. + */ + countryCode?: CountryCode; + + /** + * The first name of the customer. + */ + firstName?: string; + + /** + * This argument is deprecated: Not needed for 90% of mutations, and provided separately where it is needed. + */ + id?: string; + + /** + * The last name of the customer. + */ + lastName?: string; + + /** + * A unique phone number for the customer. + * + * Formatted using E.164 standard. For example, _+16135551111_. + * + */ + phone?: string; + + /** + * The region of the address, such as the province, state, or district. This argument is deprecated: Use `provinceCode` instead. + */ + province?: string; + + /** + * The code for the region of the address, such as the province, state, or district. + * For example QC for Quebec, Canada. + * + */ + provinceCode?: string; + + /** + * The zip or postal code of the address. + */ + zip?: string; + } + + /** + * Return type for `customerCreate` mutation. + */ + export interface CustomerCreatePayload { + + /** + * The created customer. + */ + customer?: Customer; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the customer to delete. + */ + export interface CustomerDeleteInput { + + /** + * The ID of the customer to delete. + */ + id: string; + } + + /** + * Return type for `customerDelete` mutation. + */ + export interface CustomerDeletePayload { + + /** + * ID of the deleted customer. + */ + deletedCustomerId?: string; + + /** + * Shop of the deleted customer. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `customerGenerateAccountActivationUrl` mutation. + */ + export interface CustomerGenerateAccountActivationUrlPayload { + + /** + * The newly generated account activation URL. + */ + accountActivationUrl?: URL; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `customerRemoveTaxExemptions` mutation. + */ + export interface CustomerRemoveTaxExemptionsPayload { + + /** + * The updated customer. + */ + customer?: Customer; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `customerReplaceTaxExemptions` mutation. + */ + export interface CustomerReplaceTaxExemptionsPayload { + + /** + * The updated customer. + */ + customer?: Customer; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `customerUpdate` mutation. + */ + export interface CustomerUpdatePayload { + + /** + * The updated customer. + */ + customer?: Customer; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `customerUpdateDefaultAddress` mutation. + */ + export interface CustomerUpdateDefaultAddressPayload { + + /** + * The customer whose address was updated. + */ + customer?: Customer; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Input fields for a delivery profile. + */ + export interface DeliveryProfileInput { + + /** + * The name of the profile. + */ + name?: string; + + /** + * The location groups associated with the profile. + */ + profileLocationGroups?: Array; + + /** + * The location groups to be created in the profile. + */ + locationGroupsToCreate?: Array; + + /** + * The location groups to be updated in the profile. + */ + locationGroupsToUpdate?: Array; + + /** + * The location groups to be deleted in the profile. + */ + locationGroupsToDelete?: Array; + + /** + * The product variant ids to be associated with this profile. + */ + variantsToAssociate?: Array; + + /** + * The product variant ids to be dissociated from this profile and returned to the default profile. + */ + variantsToDissociate?: Array; + + /** + * Zones to delete. + */ + zonesToDelete?: Array; + + /** + * Method definitions to delete. + */ + methodDefinitionsToDelete?: Array; + + /** + * Conditions to delete. + */ + conditionsToDelete?: Array; + } + + /** + * Input fields for a delivery location group associated to a profile. + */ + export interface DeliveryProfileLocationGroupInput { + + /** + * Globally unique identifier of the LocationGroup. + */ + id?: string; + + /** + * The location ids of the locations to be moved to this location group. + */ + locations?: Array; + + /** + * Zones to create. + */ + zonesToCreate?: Array; + + /** + * Zones to update. + */ + zonesToUpdate?: Array; + } + + /** + * Input fields for a delivery zone associated to a location group and profile. + */ + export interface DeliveryLocationGroupZoneInput { + + /** + * Globally unique identifier of the Zone. + */ + id?: string; + + /** + * The name of the zone. + */ + name?: string; + + /** + * Countries to associate with the zone. + */ + countries?: Array; + + /** + * Method definitions to create. + */ + methodDefinitionsToCreate?: Array; + + /** + * Method definitions to update. + */ + methodDefinitionsToUpdate?: Array; + } + + /** + * Input fields to specify a country. + */ + export interface DeliveryCountryInput { + + /** + * The country code of the country. + */ + code?: CountryCode; + + /** + * Use Rest of World as the country. + */ + restOfWorld?: boolean; + + /** + * The regions associated with this country. + */ + provinces?: Array; + + /** + * Associate all available provinces with this country. + */ + includeAllProvinces?: boolean; + } + + /** + * The input fields to specify a region. + */ + export interface DeliveryProvinceInput { + + /** + * The code of the region. + */ + code: string; + } + + /** + * Input fields for a method definition. + */ + export interface DeliveryMethodDefinitionInput { + + /** + * Globally unique identifier of the method definition. Use only when updating a method definiton. + */ + id?: string; + + /** + * The name of the method definition. + */ + name?: string; + + /** + * The description of the method definition. + */ + description?: string; + + /** + * Whether or not to use this method definition during rate calculation. + */ + active?: boolean; + + /** + * A rate definition to apply to the method definition. + */ + rateDefinition?: DeliveryRateDefinitionInput; + + /** + * A participant to apply to the method definition. + */ + participant?: DeliveryParticipantInput; + + /** + * Weight conditions on the method definition. + */ + weightConditionsToCreate?: Array; + + /** + * Price conditions on the method definition. + */ + priceConditionsToCreate?: Array; + + /** + * Conditions on the method definition to update. + */ + conditionsToUpdate?: Array; + } + + /** + * Input fields for a rate definition. + */ + export interface DeliveryRateDefinitionInput { + + /** + * Globally unique identifier of the rate definition. + */ + id?: string; + + /** + * The price of the rate definition. + */ + price: MoneyInput; + } + + /** + * Input fields for a participant. + */ + export interface DeliveryParticipantInput { + + /** + * Globally unique identifier of the participant. + */ + id?: string; + + /** + * Global identifier of the carrier service. + */ + carrierServiceId?: string; + + /** + * The merchant-set fixed fee for this participant. + */ + fixedFee?: MoneyInput; + + /** + * The merchant-set percentage-of-rate fee for this participant. + */ + percentageOfRateFee?: number; + + /** + * Services offered by the participant and their active status. + */ + participantServices?: Array; + + /** + * Flag to indicate if new available services should be included. + */ + adaptToNewServices?: boolean; + } + + /** + * Input fields for a service provided by a participant. + */ + export interface DeliveryParticipantServiceInput { + + /** + * Name of the service. + */ + name: string; + + /** + * If the service is active or not. + */ + active: boolean; + } + + /** + * Input fields for the weight-based conditions of a method definition. + */ + export interface DeliveryWeightConditionInput { + + /** + * The criteria for the weight. + */ + criteria?: WeightInput; + + /** + * The operator to use for comparison. + */ + operator?: DeliveryConditionOperator; + } + + /** + * Specifies the weight unit and value inputs. + * + */ + export interface WeightInput { + + /** + * The weight value using the unit system specified with `weight_unit`. + */ + value: number; + + /** + * Unit of measurement for `value`. + */ + unit: WeightUnit; + } + + /** + * Input fields for the price-based conditions of a method definition. + */ + export interface DeliveryPriceConditionInput { + + /** + * The criteria for the price. + */ + criteria?: MoneyInput; + + /** + * The operator to use for comparison. + */ + operator?: DeliveryConditionOperator; + } + + /** + * Input fields for updating the conditions of a method definition. + */ + export interface DeliveryUpdateConditionInput { + + /** + * Globally unique identifier of the condition. + */ + id: string; + + /** + * The value of the criteria of the condition. + */ + criteria?: number; + + /** + * The unit of the criteria of the condition. + */ + criteriaUnit?: string; + + /** + * The field to use, either total_weight or total_price. + */ + field?: DeliveryConditionField; + + /** + * The operator to use for comparison. + */ + operator?: DeliveryConditionOperator; + } + + /** + * Return type for `deliveryProfileCreate` mutation. + */ + export interface deliveryProfileCreatePayload { + + /** + * The delivery profile that was created. + */ + profile?: DeliveryProfile; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `deliveryProfileRemove` mutation. + */ + export interface deliveryProfileRemovePayload { + + /** + * The profile deletion job triggered by the mutation. + */ + job?: Job; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `deliveryProfileUpdate` mutation. + */ + export interface deliveryProfileUpdatePayload { + + /** + * The delivery profile that was updated. + */ + profile?: DeliveryProfile; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Input fields for shop-level delivery settings. + */ + export interface DeliverySettingInput { + + /** + * Enables legacy compatability mode for the multi-location delivery profiles feature. + */ + legacyModeProfiles?: boolean; + } + + /** + * Return type for `deliverySettingUpdate` mutation. + */ + export interface DeliverySettingUpdatePayload { + + /** + * The updated delivery shop level settings. + */ + setting?: DeliverySetting; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `deliveryShippingOriginAssign` mutation. + */ + export interface DeliveryShippingOriginAssignPayload { + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountAutomaticActivate` mutation. + */ + export interface DiscountAutomaticActivatePayload { + + /** + * The activated automatic discount. + */ + automaticDiscountNode?: DiscountAutomaticNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * An error that occurs during the execution of a discount mutation. + */ + export interface DiscountUserError extends DisplayableError { + + /** + * An error code to uniquely identify the error. + */ + code?: DiscountErrorCode; + + /** + * Extra information about this error. + */ + extraInfo?: string; + + /** + * Path to the input field which caused the error. + */ + field?: Array; + + /** + * The error message. + */ + message: string; + } + + /** + * Possible error codes that could be returned by a discounts mutation. + */ + export const enum DiscountErrorCode { + + /** + * Input value is blank. + */ + BLANK = 'BLANK', + + /** + * Input value is not present. + */ + PRESENT = 'PRESENT', + + /** + * Input value should be equal to allowed value. + */ + EQUAL_TO = 'EQUAL_TO', + + /** + * Input value should be greater than minimum allowed value. + */ + GREATER_THAN = 'GREATER_THAN', + + /** + * Input value should be greater than or equal to minimum allowed value. + */ + GREATER_THAN_OR_EQUAL_TO = 'GREATER_THAN_OR_EQUAL_TO', + + /** + * Input value is invalid. + */ + INVALID = 'INVALID', + + /** + * Input value should be less or equal to maximum allowed value. + */ + LESS_THAN_OR_EQUAL_TO = 'LESS_THAN_OR_EQUAL_TO', + + /** + * Input value should be less than maximum allowed value. + */ + LESS_THAN = 'LESS_THAN', + + /** + * Input value is already taken. + */ + TAKEN = 'TAKEN', + + /** + * Input value is too long. + */ + TOO_LONG = 'TOO_LONG', + + /** + * Input value is too short. + */ + TOO_SHORT = 'TOO_SHORT', + + /** + * Unexpected internal error happened. + */ + INTERNAL_ERROR = 'INTERNAL_ERROR', + + /** + * Too many arguments provided. + */ + TOO_MANY_ARGUMENTS = 'TOO_MANY_ARGUMENTS', + + /** + * Missing a required argument. + */ + MISSING_ARGUMENT = 'MISSING_ARGUMENT', + + /** + * Exceeded maximum allowed value. + */ + EXCEEDED_MAX = 'EXCEEDED_MAX', + + /** + * Cannot have both minimum subtotal and quantity present. + */ + MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT = 'MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT', + + /** + * Value is outside allowed range. + */ + VALUE_OUTSIDE_RANGE = 'VALUE_OUTSIDE_RANGE', + + /** + * Active period overlaps with other automatic discounts. At any given time, only one automatic discount can be active. + */ + ACTIVE_PERIOD_OVERLAP = 'ACTIVE_PERIOD_OVERLAP', + + /** + * Attribute selection contains conflicting settings. + */ + CONFLICT = 'CONFLICT', + + /** + * Value is already present through another selection. + */ + IMPLICIT_DUPLICATE = 'IMPLICIT_DUPLICATE', + + /** + * Input value is already present. + */ + DUPLICATE = 'DUPLICATE' + } + + /** + * Specifies input field to create or update automatic basic discount. + */ + export interface DiscountAutomaticBasicInput { + + /** + * The title of the discount. + */ + title?: string; + + /** + * The date and time when the discount starts. + */ + startsAt?: DateTime; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The minimum subtotal or quantity that's required for the discount to be applied. + */ + minimumRequirement?: DiscountMinimumRequirementInput; + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + customerGets?: DiscountCustomerGetsInput; + } + + /** + * Specifies the quantity or subtotal minimum requirements for a discount. + */ + export interface DiscountMinimumRequirementInput { + + /** + * The minimum required quantity. + */ + quantity?: DiscountMinimumQuantityInput; + + /** + * The minimum required subtotal. + */ + subtotal?: DiscountMinimumSubtotalInput; + } + + /** + * Specifies the quantity minimum requirements for a discount. + */ + export interface DiscountMinimumQuantityInput { + + /** + * The minimum quantity of items that's required for the discount to be applied. + */ + greaterThanOrEqualToQuantity?: UnsignedInt64; + } + + /** + * Specifies the subtotal minimum requirements for a discount. + */ + export interface DiscountMinimumSubtotalInput { + + /** + * The minimum subtotal that's required for the discount to be applied. + */ + greaterThanOrEqualToSubtotal?: Decimal; + } + + /** + * Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount. + */ + export interface DiscountCustomerGetsInput { + + /** + * The quantity of items discounted and the discount value. + */ + value?: DiscountCustomerGetsValueInput; + + /** + * The IDs of the items that the customer gets. The items can be either collections or products. + */ + items?: DiscountItemsInput; + } + + /** + * Specifies the quantity of items discounted and the discount value. + */ + export interface DiscountCustomerGetsValueInput { + + /** + * The quantity of the items that are discounted and the discount value. + */ + discountOnQuantity?: DiscountOnQuantityInput; + + /** + * The percentage value of the discount. Value must be between 0.00 - 1.00. + */ + percentage?: number; + + /** + * The value of the discount. + */ + discountAmount?: DiscountAmountInput; + } + + /** + * Specifies the quantity of items discounted and the discount value. + */ + export interface DiscountOnQuantityInput { + + /** + * The quantity of items that are discounted. + */ + quantity?: UnsignedInt64; + + /** + * The percentage value of the discount. + */ + effect?: DiscountEffectInput; + } + + /** + * Specifies how the discount will be applied. Currently, only percentage off is supported. + */ + export interface DiscountEffectInput { + + /** + * The percentage value of the discount. Value must be between 0.00 - 1.00. + */ + percentage?: number; + } + + /** + * Specifies the value of the discount and how it is applied. + */ + export interface DiscountAmountInput { + + /** + * The value of the discount. + */ + amount?: Decimal; + + /** + * If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. + */ + appliesOnEachItem?: boolean; + } + + /** + * Specifies the items attached to a discount. + */ + export interface DiscountItemsInput { + + /** + * The products and product variants that are attached to a discount. + */ + products?: DiscountProductsInput; + + /** + * The collections that are attached to a discount. + */ + collections?: DiscountCollectionsInput; + + /** + * Whether all items should be selected. + */ + all?: boolean; + } + + /** + * Specifies the products and product variants attached to a discount. + */ + export interface DiscountProductsInput { + + /** + * Specifies list of product ids to add. + */ + productsToAdd?: Array; + + /** + * Specifies list of product ids to remove. + */ + productsToRemove?: Array; + + /** + * Specifies list of product variant ids to add. + */ + productVariantsToAdd?: Array; + + /** + * Specifies list of product variant ids to remove. + */ + productVariantsToRemove?: Array; + } + + /** + * Specifies the collections attached to a discount. + */ + export interface DiscountCollectionsInput { + + /** + * Specifies list of collection ids to add. + */ + add?: Array; + + /** + * Specifies list of collection ids to remove. + */ + remove?: Array; + } + + /** + * Return type for `discountAutomaticBasicCreate` mutation. + */ + export interface DiscountAutomaticBasicCreatePayload { + + /** + * The created automatic discount. + */ + automaticDiscountNode?: DiscountAutomaticNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountAutomaticBasicUpdate` mutation. + */ + export interface DiscountAutomaticBasicUpdatePayload { + + /** + * The updated automatic discount. + */ + automaticDiscountNode?: DiscountAutomaticNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountAutomaticBulkDelete` mutation. + */ + export interface DiscountAutomaticBulkDeletePayload { + + /** + * The asynchronous job removing the automatic discounts. + */ + job?: Job; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies input field to create or update automatic bogo discount. + */ + export interface DiscountAutomaticBxgyInput { + + /** + * The date and time when the discount starts. + */ + startsAt?: DateTime; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The title of the discount. + */ + title?: string; + + /** + * The maximum number of times that the discount can be applied to an order. + */ + usesPerOrderLimit?: UnsignedInt64; + + /** + * The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount. + */ + customerBuys?: DiscountCustomerBuysInput; + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + customerGets?: DiscountCustomerGetsInput; + } + + /** + * Specifies the prerequisite items and prerequisite quantity. + */ + export interface DiscountCustomerBuysInput { + + /** + * The quantity of prerequisite items. + */ + value?: DiscountCustomerBuysValueInput; + + /** + * The IDs of items that the customer buys. The items can be either collections or products. + */ + items?: DiscountItemsInput; + } + + /** + * Specifies the prerequisite quantity for the discount. + */ + export interface DiscountCustomerBuysValueInput { + + /** + * The quantity of prerequisite items. + */ + quantity?: UnsignedInt64; + + /** + * The prerequisite purchase amount required for the discount to be applicable. + */ + amount?: Decimal; + } + + /** + * Return type for `discountAutomaticBxgyCreate` mutation. + */ + export interface DiscountAutomaticBxgyCreatePayload { + + /** + * The created automatic discount. + */ + automaticDiscountNode?: DiscountAutomaticNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountAutomaticBxgyUpdate` mutation. + */ + export interface DiscountAutomaticBxgyUpdatePayload { + + /** + * The updated automatic discount. + */ + automaticDiscountNode?: DiscountAutomaticNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountAutomaticDeactivate` mutation. + */ + export interface DiscountAutomaticDeactivatePayload { + + /** + * The deactivated automatic discount. + */ + automaticDiscountNode?: DiscountAutomaticNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountAutomaticDelete` mutation. + */ + export interface DiscountAutomaticDeletePayload { + + /** + * The deleted automatic discount ID. + */ + deletedAutomaticDiscountId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountCodeActivate` mutation. + */ + export interface DiscountCodeActivatePayload { + + /** + * The activated code discount. + */ + codeDiscountNode?: DiscountCodeNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies input field to create or update code basic discount. + */ + export interface DiscountCodeBasicInput { + + /** + * The title of the discount. + */ + title?: string; + + /** + * The date and time when the discount starts. + */ + startsAt?: DateTime; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The maximum number of times that the discount can be used. For open-ended discounts, use `null`. + */ + usageLimit?: number; + + /** + * Whether the discount can be applied only once per customer. + */ + appliesOncePerCustomer?: boolean; + + /** + * The minimum subtotal or quantity that's required for the discount to be applied. + */ + minimumRequirement?: DiscountMinimumRequirementInput; + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + customerGets?: DiscountCustomerGetsInput; + + /** + * The customers that can use the discount. + */ + customerSelection?: DiscountCustomerSelectionInput; + + /** + * The code to use the discount. + */ + code?: string; + } + + /** + * Specifies the customers who can use this discount. + */ + export interface DiscountCustomerSelectionInput { + + /** + * Whether all customers can use this discount. + */ + all?: boolean; + + /** + * The list of customer IDs to add or remove from the list of customers. + */ + customers?: DiscountCustomersInput; + + /** + * The list of customer saved search IDs to add or remove from the list of customer saved searches. + */ + customerSavedSearches?: DiscountCustomerSavedSearchesInput; + } + + /** + * Specifies which customers to add to or remove from the discount. + */ + export interface DiscountCustomersInput { + + /** + * A list of customers to add to the current list of customers who can use the discount. + */ + add?: Array; + + /** + * A list of customers to remove from the current list of customers who can use the discount. + */ + remove?: Array; + } + + /** + * Specifies which customer saved searches to add to or remove from the discount. + */ + export interface DiscountCustomerSavedSearchesInput { + + /** + * A list of customer saved searches to add to the current list of customer saved searches. + */ + add?: Array; + + /** + * A list of customer saved searches to remove from the current list of customer saved searches. + */ + remove?: Array; + } + + /** + * Return type for `discountCodeBasicCreate` mutation. + */ + export interface DiscountCodeBasicCreatePayload { + + /** + * The created code discount. + */ + codeDiscountNode?: DiscountCodeNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountCodeBasicUpdate` mutation. + */ + export interface DiscountCodeBasicUpdatePayload { + + /** + * The updated code discount. + */ + codeDiscountNode?: DiscountCodeNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies input field to create or update a BXGY code discount. + */ + export interface DiscountCodeBxgyInput { + + /** + * The title of the discount. + */ + title?: string; + + /** + * The date and time when the discount starts. + */ + startsAt?: DateTime; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount. + */ + customerBuys?: DiscountCustomerBuysInput; + + /** + * The qualifying items in an order, the quantity of each one, and the total value of the discount. + */ + customerGets?: DiscountCustomerGetsInput; + + /** + * The customers that can use the discount. + */ + customerSelection?: DiscountCustomerSelectionInput; + + /** + * The code to use the discount. + */ + code?: string; + + /** + * The maximum number of times that the discount can be used. For open-ended discounts, use `null`. + */ + usageLimit?: number; + + /** + * The maximum number of times that the discount can be applied to an order. + */ + usesPerOrderLimit?: number; + + /** + * Whether the discount can be applied only once per customer. + */ + appliesOncePerCustomer?: boolean; + } + + /** + * Return type for `discountCodeBxgyCreate` mutation. + */ + export interface DiscountCodeBxgyCreatePayload { + + /** + * The created code discount. + */ + codeDiscountNode?: DiscountCodeNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountCodeBxgyUpdate` mutation. + */ + export interface DiscountCodeBxgyUpdatePayload { + + /** + * The updated code discount. + */ + codeDiscountNode?: DiscountCodeNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountCodeDeactivate` mutation. + */ + export interface DiscountCodeDeactivatePayload { + + /** + * The deactivated code discount. + */ + codeDiscountNode?: DiscountCodeNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountCodeDelete` mutation. + */ + export interface DiscountCodeDeletePayload { + + /** + * The deleted code discount ID. + */ + deletedCodeDiscountId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies input field to create or update free shipping code discount. + */ + export interface DiscountCodeFreeShippingInput { + + /** + * The title of the discount. + */ + title?: string; + + /** + * The date and time when the discount starts. + */ + startsAt?: DateTime; + + /** + * The date and time when the discount ends. For open-ended discounts, use `null`. + */ + endsAt?: DateTime; + + /** + * The code to use the discount. + */ + code?: string; + + /** + * The maximum number of times that the discount can be used. For open-ended discounts, use `null`. + */ + usageLimit?: number; + + /** + * Whether the discount can be applied only once per customer. + */ + appliesOncePerCustomer?: boolean; + + /** + * The minimum subtotal or quantity that's required for the discount to be applied. + */ + minimumRequirement?: DiscountMinimumRequirementInput; + + /** + * The customers that can use the discount. + */ + customerSelection?: DiscountCustomerSelectionInput; + + /** + * A list of destinations where the discount will apply. + */ + destination?: DiscountShippingDestinationSelectionInput; + } + + /** + * Specifies the destinations where the free shipping discount will be applied. + */ + export interface DiscountShippingDestinationSelectionInput { + + /** + * Whether the discount code applies to all countries. + */ + all?: boolean; + + /** + * A list of countries where the discount code will apply. + */ + countries?: DiscountCountriesInput; + } + + /** + * Specifies a list of countries to add or remove from the free shipping discount. + */ + export interface DiscountCountriesInput { + + /** + * The country codes to add to the list of countries where the discount applies. + */ + add?: Array; + + /** + * The country codes to remove from the list of countries where the discount applies. + */ + remove?: Array; + + /** + * Whether the discount code is applicable to countries that have not been defined in the shop's shipping zones. + */ + includeRestOfWorld?: boolean; + } + + /** + * Return type for `discountCodeFreeShippingCreate` mutation. + */ + export interface DiscountCodeFreeShippingCreatePayload { + + /** + * The created code discount. + */ + codeDiscountNode?: DiscountCodeNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `discountCodeFreeShippingUpdate` mutation. + */ + export interface DiscountCodeFreeShippingUpdatePayload { + + /** + * The updated code discount. + */ + codeDiscountNode?: DiscountCodeNode; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * The input fields used to create or update a draft order. + */ + export interface DraftOrderInput { + + /** + * The discount that will be applied to the draft order. + * A draft order line item can have one discount. A draft order can also have one order-level discount. + * + */ + appliedDiscount?: DraftOrderAppliedDiscountInput; + + /** + * The mailing address associated with the payment method. + * + */ + billingAddress?: MailingAddressInput; + + /** + * Customer associated with the draft order. + * + */ + customerId?: string; + + /** + * Extra information added to the customer. + * + */ + customAttributes?: Array; + + /** + * The customer's email address. + * + */ + email?: string; + + /** + * Product variant line item or custom line item associated to the draft order. + * Each draft order must include at least one line item. + * + */ + lineItems?: Array; + + /** + * Metafields attached to the draft order. + * + */ + metafields?: Array; + + /** + * The private metafields attached to the draft order. + */ + privateMetafields?: Array; + + /** + * The text of an optional note that a shop owner can attach to the draft order. + * + */ + note?: string; + + /** + * The mailing address to where the order will be shipped. + * + */ + shippingAddress?: MailingAddressInput; + + /** + * A shipping line object, which details the shipping method used. + * + */ + shippingLine?: ShippingLineInput; + + /** + * Additional short descriptors, commonly used for filtering and searching, + * formatted as a string of comma-separated values. + * + */ + tags?: Array; + + /** + * Whether or not taxes are exempt for the draft order. + * If false, then Shopify will refer to the taxable field for each line item. + * If a customer is applied to the draft order, then Shopify will use the customer's tax exempt field instead. + * + */ + taxExempt?: boolean; + + /** + * Sent as part of a draft order object to load customer shipping information. + * + */ + useCustomerDefaultAddress?: boolean; + } + + /** + * The input fields for applying an order-level discount to a draft order. + */ + export interface DraftOrderAppliedDiscountInput { + + /** + * The applied amount of the discount. + * + */ + amount?: Money; + + /** + * Reason for the discount. + * + */ + description?: string; + + /** + * Title of the discount. + * + */ + title?: string; + + /** + * The value of the discount. + * If the type of the discount is fixed amount, then this is a fixed dollar amount. + * If the type is percentage, then this is the percentage. + * + */ + value: number; + + /** + * The type of discount. + * + */ + valueType: DraftOrderAppliedDiscountType; + } + + /** + * Specifies the input fields required for an attribute. + */ + export interface AttributeInput { + + /** + * Key or name of the attribute. + */ + key: string; + + /** + * Value of the attribute. + */ + value: string; + } + + /** + * The input fields used to create a line item for a draft order. + */ + export interface DraftOrderLineItemInput { + + /** + * Discount which will be applied to the line item. + * + */ + appliedDiscount?: DraftOrderAppliedDiscountInput; + + /** + * Represents a generic custom attribute using a key value pair. + * + */ + customAttributes?: Array; + + /** + * Ignored when variant ID is provided. This argument is deprecated: Use `weight` instead. + */ + grams?: number; + + /** + * Ignored when variant ID is provided. + */ + originalUnitPrice?: Money; + + /** + * The number of products that were purchased. + * + */ + quantity: number; + + /** + * Ignored when variant ID is provided. + */ + requiresShipping?: boolean; + + /** + * Ignored when variant ID is provided. + */ + sku?: string; + + /** + * Ignored when variant ID is provided. + */ + taxable?: boolean; + + /** + * Ignored when variant ID is provided. + */ + title?: string; + + /** + * The ID of the product variant corresponding to the line item. + * Null if custom line item. Required if product variant line item. + * + */ + variantId?: string; + + /** + * Specifies the weight unit and value inputs. + * Ignored when variant ID is provided. + * + */ + weight?: WeightInput; + } + + /** + * Specifies the shipping details for the order. + */ + export interface ShippingLineInput { + + /** + * Price of the shipping rate. + */ + price?: Money; + + /** + * A unique identifier for the shipping rate. + */ + shippingRateHandle?: string; + + /** + * Title of the shipping rate. + */ + title?: string; + } + + /** + * Return type for `draftOrderCalculate` mutation. + */ + export interface DraftOrderCalculatePayload { + + /** + * The calculated properties for a draft order. + */ + calculatedDraftOrder?: CalculatedDraftOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * The computed properties for a draft order. + */ + export interface CalculatedDraftOrder { + + /** + * Order-level discount applied to the draft order. + */ + appliedDiscount?: DraftOrderAppliedDiscount; + + /** + * The available shipping rates for the draft order. Requires a customer with a valid shipping address and at least one line item. + */ + availableShippingRates: Array; + + /** + * Customer who will be sent an invoice for the draft order, if there is one. + */ + customer?: Customer; + + /** + * Line items in the draft order with their computed properties. + */ + lineItems: Array; + + /** + * Line item that contains the shipping costs. + */ + shippingLine?: ShippingLine; + + /** + * Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes). + * + */ + subtotalPrice: Money; + + /** + * Total amount of taxes charged for each line item and shipping line. + */ + taxLines: Array; + + /** + * Total amount of the draft order (includes taxes, shipping charges, and discounts). + */ + totalPrice: Money; + + /** + * Total shipping charge for the draft order. + */ + totalShippingPrice: Money; + + /** + * Total amount of taxes for the draft order. + */ + totalTax: Money; + } + + /** + * A shipping rate to be applied to an order. + */ + export interface ShippingRate { + + /** + * Human-readable unique identifier for this shipping rate. + */ + handle: string; + + /** + * Price of this shipping rate. + */ + price: MoneyV2; + + /** + * Title of this shipping rate. + */ + title: string; + } + + /** + * The computed line items for a draft order. + */ + export interface CalculatedDraftOrderLineItem { + + /** + * Discount applied to the line item. + */ + appliedDiscount?: DraftOrderAppliedDiscount; + + /** + * Indicates if this is a product variant line item, or a custom line item. + */ + custom: boolean; + + /** + * List of additional information (metafields) about the line item. + */ + customAttributes: Array; + + /** + * Total price with discounts applied. + */ + discountedTotal: MoneyV2; + + /** + * Unit price with discounts applied. + */ + discountedUnitPrice: MoneyV2; + + /** + * Name of the service provider who fulfilled the order. + * + * Valid values are either **manual** or the name of the provider. + * For example, **amazon**, **shipwire**. + * + */ + fulfillmentService: FulfillmentService; + + /** + * Image associated with the draft order line item. + */ + image?: Image; + + /** + * Indicates whether the line item represents the puchase of a gift card. + */ + isGiftCard: boolean; + + /** + * Name of the product. + */ + name: string; + + /** + * Total price (without discounts) of the line item, based on the original unit price of the variant x quantity. + * + */ + originalTotal: MoneyV2; + + /** + * Variant price without any discounts applied. + */ + originalUnitPrice: MoneyV2; + + /** + * Product associated with the draft order line item. + */ + product?: Product; + + /** + * Number of variant items requested in the draft order. + */ + quantity: number; + + /** + * Whether physical shipping is required for the variant. + */ + requiresShipping: boolean; + + /** + * Variant SKU number. + */ + sku?: string; + + /** + * Whether the variant is taxable. + */ + taxable: boolean; + + /** + * Title of the product or variant (this field only applies to custom line items). + */ + title: string; + + /** + * Total value of the discount. + */ + totalDiscount: MoneyV2; + + /** + * Variant associated with the draft order line item. + */ + variant?: ProductVariant; + + /** + * Name of the variant. + */ + variantTitle?: string; + + /** + * Name of the vendor who made the variant. + */ + vendor?: string; + + /** + * Weight unit and value for a draft order line item. + */ + weight?: Weight; + } + + /** + * Return type for `draftOrderComplete` mutation. + */ + export interface DraftOrderCompletePayload { + + /** + * The completed draft order. + */ + draftOrder?: DraftOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `draftOrderCreate` mutation. + */ + export interface DraftOrderCreatePayload { + + /** + * The created draft order. + * + */ + draftOrder?: DraftOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the draft order to delete by its ID. + */ + export interface DraftOrderDeleteInput { + + /** + * The ID of the draft order to delete. + * + */ + id: string; + } + + /** + * Return type for `draftOrderDelete` mutation. + */ + export interface DraftOrderDeletePayload { + + /** + * The ID of the deleted draft order. + * + */ + deletedId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the fields for an email. + */ + export interface EmailInput { + + /** + * Specifies the email subject. + */ + subject?: string; + + /** + * Specifies the email recipient. + */ + to?: string; + + /** + * Specifies the email sender. + */ + from?: string; + + /** + * Specifies the email body. + */ + body?: string; + + /** + * Specifies any bcc recipients for the email. + */ + bcc?: Array; + + /** + * Specifies a custom message to include in the email. + */ + customMessage?: string; + } + + /** + * Return type for `draftOrderInvoicePreview` mutation. + */ + export interface DraftOrderInvoicePreviewPayload { + + /** + * HTML to preview the draft order invoice email. + */ + previewHtml?: HTML; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `draftOrderInvoiceSend` mutation. + */ + export interface DraftOrderInvoiceSendPayload { + + /** + * The draft order an invoice email is sent for. + */ + draftOrder?: DraftOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `draftOrderUpdate` mutation. + */ + export interface DraftOrderUpdatePayload { + + /** + * The updated draft order. + */ + draftOrder?: DraftOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `flowTriggerReceive` mutation. + */ + export interface FlowTriggerReceivePayload { + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentCancel` mutation. + */ + export interface FulfillmentCancelPayload { + + /** + * The canceled fulfillment. + */ + fulfillment?: Fulfillment; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * The input fields used to create a fulfillment. + */ + export interface FulfillmentInput { + + /** + * The ID of the order to be fulfilled. + */ + orderId: string; + + /** + * The line items to be fulfilled. + */ + lineItems?: Array; + + /** + * Tracking numbers associated with the fulfillment. + */ + trackingNumbers?: Array; + + /** + * The URLs to track the fulfillment. + */ + trackingUrls?: Array; + + /** + * The name of the tracking company. + */ + trackingCompany?: string; + + /** + * Whether the customer is notified. + * If set to true, a notification is sent when the fulfillment is created. + * + */ + notifyCustomer?: boolean; + + /** + * A reference to the shipping method, such as `Free Shipping`. + */ + shippingMethod?: string; + + /** + * The ID of the location from which the items will be fulfilled. + */ + locationId: string; + } + + /** + * The input fields used to include a line item from an order in a fulfillment. + */ + export interface FulfillmentLineItemInput { + + /** + * The ID of the line item. + */ + id: string; + + /** + * The quantity of the line item to be fulfilled. + */ + quantity?: number; + } + + /** + * Return type for `fulfillmentCreate` mutation. + */ + export interface FulfillmentCreatePayload { + + /** + * The created fulfillment. + */ + fulfillment?: Fulfillment; + + /** + * The order for which the fulfillment is created. + */ + order?: Order; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * The input fields used to create a fulfillment from fulfillment orders. + */ + export interface FulfillmentV2Input { + + /** + * The fulfillment's tracking information, including a tracking URL, a tracking number, + * and the company associated with the fulfillment. + * + */ + trackingInfo?: FulfillmentTrackingInput; + + /** + * Whether the customer is notified. + * If set to true, a notification is sent when the fulfillment is created. + * + */ + notifyCustomer?: boolean; + + /** + * Pairs of `fulfillment_order_id` and `fulfillment_order_line_items` that represent the fulfillment + * order line items that have to be fulfilled for each fulfillment order. For any given pair, if the + * fulfillment order line items are left blank then all the fulfillment order line items of the + * associated fulfillment order ID will be fulfilled. + * + */ + lineItemsByFulfillmentOrder: Array; + } + + /** + * The input fields used to specify all possible fields for tracking information. + */ + export interface FulfillmentTrackingInput { + + /** + * The tracking number of the fulfillment. + */ + number?: string; + + /** + * The URL to track the fulfillment. + */ + url?: URL; + + /** + * The name of the tracking company. + */ + company?: string; + } + + /** + * The input fields used to include the line items of a specified fulfillment order that should be fulfilled. + * + */ + export interface FulfillmentOrderLineItemsInput { + + /** + * The ID of the fulfillment order. + */ + fulfillmentOrderId: string; + + /** + * The fulfillment order line items to be fulfilled. + * If left blank, all line items of the fulfillment order will be fulfilled. + * + */ + fulfillmentOrderLineItems?: Array; + } + + /** + * The input fields used to include a line item from a fulfillment order. + */ + export interface FulfillmentOrderLineItemInput { + + /** + * The ID of the fulfillment order line item. + */ + id: string; + + /** + * The quantity of the fulfillment order line item. + */ + quantity: number; + } + + /** + * Return type for `fulfillmentCreateV2` mutation. + */ + export interface FulfillmentCreateV2Payload { + + /** + * The created fulfillment. + */ + fulfillment?: Fulfillment; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderAcceptCancellationRequest` mutation. + */ + export interface FulfillmentOrderAcceptCancellationRequestPayload { + + /** + * The fulfillment order whose cancellation request was accepted. + */ + fulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderAcceptFulfillmentRequest` mutation. + */ + export interface FulfillmentOrderAcceptFulfillmentRequestPayload { + + /** + * The fulfillment order whose fulfillment request was accepted. + */ + fulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderCancel` mutation. + */ + export interface FulfillmentOrderCancelPayload { + + /** + * The fulfillment order that was marked as canceled. + */ + fulfillmentOrder?: FulfillmentOrder; + + /** + * The fulfillment order that was created to replace the canceled fulfillment order. + */ + replacementFulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderClose` mutation. + */ + export interface FulfillmentOrderClosePayload { + + /** + * The fulfillment order that was marked as incomplete. + */ + fulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderMove` mutation. + */ + export interface FulfillmentOrderMovePayload { + + /** + * A new fulfillment order representing all items that were able to be moved to the new location. + */ + movedFulfillmentOrder?: FulfillmentOrder; + + /** + * The fulfillment order that was moved. On success, this fulfillment order will be closed. + */ + originalFulfillmentOrder?: FulfillmentOrder; + + /** + * A new fulfillment order representing any items still assigned to the original location. + * This is created if all line items on the original fulfillment order could not be moved to the new location + * due to not being stocked there. + * + */ + remainingFulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderRejectCancellationRequest` mutation. + */ + export interface FulfillmentOrderRejectCancellationRequestPayload { + + /** + * The fulfillment order whose cancellation request was rejected. + */ + fulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderRejectFulfillmentRequest` mutation. + */ + export interface FulfillmentOrderRejectFulfillmentRequestPayload { + + /** + * The fulfillment order whose fulfillment request was rejected. + */ + fulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderSubmitCancellationRequest` mutation. + */ + export interface FulfillmentOrderSubmitCancellationRequestPayload { + + /** + * The fulfillment order whose cancellation was requested. + */ + fulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentOrderSubmitFulfillmentRequest` mutation. + */ + export interface FulfillmentOrderSubmitFulfillmentRequestPayload { + + /** + * The original fulfillment order intended to request fulfillment for. + * + */ + originalFulfillmentOrder?: FulfillmentOrder; + + /** + * The fulfillment order that was submitted to the fulfillment service. This will be the same as + * the original fulfillment order field. The exception to this is partial fulfillment requests or + * fulfillment request for cancelled or incomplete fulfillment orders. + * + */ + submittedFulfillmentOrder?: FulfillmentOrder; + + /** + * This field will only be present for partial fulfillment requests. This will represent the new + * fulfillment order with the remaining line items not submitted to the fulfillment service. + * + */ + unsubmittedFulfillmentOrder?: FulfillmentOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentServiceCreate` mutation. + */ + export interface FulfillmentServiceCreatePayload { + + /** + * The created fulfillment service. + */ + fulfillmentService?: FulfillmentService; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentServiceDelete` mutation. + */ + export interface FulfillmentServiceDeletePayload { + + /** + * The ID of the deleted fulfillment service. + */ + deletedId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentServiceUpdate` mutation. + */ + export interface FulfillmentServiceUpdatePayload { + + /** + * The updated fulfillment service. + */ + fulfillmentService?: FulfillmentService; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies all possible fields for updating tracking information. + */ + export interface TrackingInfoUpdateInput { + + /** + * Tracking information consisting of one or more tracking URLs and numbers associated with the fulfillment. + * + */ + trackingDetails?: Array; + + /** + * The name of the tracking company. + */ + trackingCompany?: string; + + /** + * Indicates whether the customer will be notified of this update and future updates for this fulfillment. + * + */ + notifyCustomer?: boolean; + } + + /** + * Specifies the fields for tracking information. + */ + export interface TrackingInfoInput { + + /** + * The tracking number of the fulfillment. + */ + number?: string; + + /** + * The URL to track the fulfillment. + */ + url?: string; + } + + /** + * Return type for `fulfillmentTrackingInfoUpdate` mutation. + */ + export interface FulfillmentTrackingInfoUpdatePayload { + + /** + * The updated fulfillment with tracking information. + */ + fulfillment?: Fulfillment; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `fulfillmentTrackingInfoUpdateV2` mutation. + */ + export interface FulfillmentTrackingInfoUpdateV2Payload { + + /** + * The updated fulfillment with tracking information. + */ + fulfillment?: Fulfillment; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `inventoryActivate` mutation. + */ + export interface InventoryActivatePayload { + + /** + * The newly activated inventory level. + */ + inventoryLevel?: InventoryLevel; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the fields required to adjust the inventory quantity. + */ + export interface InventoryAdjustQuantityInput { + + /** + * ID of the inventory level to adjust. + */ + inventoryLevelId: string; + + /** + * Count by which to adjust the available quantity. + */ + availableDelta: number; + } + + /** + * Return type for `inventoryAdjustQuantity` mutation. + */ + export interface InventoryAdjustQuantityPayload { + + /** + * Represents the updated inventory quantity of an inventory item at a specific location. + */ + inventoryLevel?: InventoryLevel; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the items and their adjustments. + */ + export interface InventoryAdjustItemInput { + + /** + * ID of the inventory item to adjust. + */ + inventoryItemId: string; + + /** + * Count by which to adjust the available quantity. + */ + availableDelta: number; + } + + /** + * Return type for `inventoryBulkAdjustQuantityAtLocation` mutation. + */ + export interface InventoryBulkAdjustQuantityAtLocationPayload { + + /** + * The updated inventory quantities. + */ + inventoryLevels?: Array; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `inventoryDeactivate` mutation. + */ + export interface InventoryDeactivatePayload { + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Inventory items. + */ + export interface InventoryItemUpdateInput { + + /** + * Unit cost associated with the inventory item, the currency is the shop's default currency. + */ + cost?: Decimal; + + /** + * Whether the inventory item is tracked. + */ + tracked?: boolean; + + /** + * The ISO code of the country of origin. + */ + countryCodeOfOrigin?: CountryCode; + + /** + * The ISO code of the province of origin. + */ + provinceCodeOfOrigin?: string; + + /** + * The harmonized system code of the inventory item. + */ + harmonizedSystemCode?: string; + + /** + * List of country-specific harmonized system codes. + */ + countryHarmonizedSystemCodes?: Array; + } + + /** + * Holds the country specific harmonized system code and the country ISO code. + * + */ + export interface CountryHarmonizedSystemCodeInput { + + /** + * Country specific harmonized system code. + */ + harmonizedSystemCode: string; + + /** + * Country ISO code. + */ + countryCode: CountryCode; + } + + /** + * Return type for `inventoryItemUpdate` mutation. + */ + export interface InventoryItemUpdatePayload { + + /** + * The updated inventory item. + */ + inventoryItem?: InventoryItem; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * The locale language allowed for Kit Skill. + */ + export const enum KitSkillLocale { + + /** + * English language. + */ + EN = 'EN' + } + + /** + * Return type for `kitSkillTriggerRequest` mutation. + */ + export interface KitSkillTriggerRequestPayload { + + /** + * Conversation unique identifier sent to Conversation API and returned to app developer. + */ + conversationUid?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields required to update a marketing activity. + */ + export interface MarketingActivityUpdateInput { + + /** + * The id for this marketing activity. + */ + id: string; + + /** + * The ID of the recommendation this marketing activity was created from, if one exists. + */ + marketingRecommendationId?: string; + + /** + * The title of this marketing activity. + */ + title?: string; + + /** + * The budget for this marketing activity. + */ + budget?: MarketingActivityBudgetInput; + + /** + * The cumulative amount spent on this marketing activity. This argument is deprecated: Use `MarketingEngagementCreate.MarketingEngagementInput.adSpend` GraphQL to send the ad spend. + */ + adSpend?: MoneyInput; + + /** + * The current state of the marketing activity. + */ + status?: MarketingActivityStatus; + + /** + * Specifies the + * [Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) + * that are associated with a related marketing campaign. UTMInput is required for all Marketing + * tactics except Storefront App. This utm param can be only set once and never modified. + * + */ + utm?: UTMInput; + + /** + * A list of the items that were marketed in this marketing activity. Valid types for these items are: + * * `Product` + * * `Shop` (Must be your current shop). + * + */ + marketedResources?: Array; + + /** + * Encoded context provided by Shopify during the update marketing activity callback. This argument is deprecated: This context is no longer needed by Shopify in the callback. + */ + context?: string; + + /** + * Error messages generated when app was trying to complete this activity. + */ + errors?: JSON; + } + + /** + * This type combines budget amount and its marketing budget type. + */ + export interface MarketingActivityBudgetInput { + + /** + * Budget type for marketing activity. + */ + budgetType?: MarketingBudgetBudgetType; + + /** + * Amount of budget for the marketing activity. + */ + total?: MoneyInput; + } + + /** + * Specifies the + * [Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) + * that are associated with a related marketing campaign. + * + */ + export interface UTMInput { + + /** + * The name of the UTM campaign. + */ + campaign: string; + + /** + * The name of the website or application where the referral link exists. + */ + source: string; + + /** + * The UTM campaign medium. + */ + medium: string; + } + + /** + * Return type for `marketingActivityUpdate` mutation. + */ + export interface MarketingActivityUpdatePayload { + + /** + * The updated marketing activity. + */ + marketingActivity?: MarketingActivity; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * This object represents marketing engagement input fields for a marketing engagement. + */ + export interface MarketingEngagementInput { + + /** + * The date that these engagements occurred on. + */ + occurredOn: Date; + + /** + * The total number of impressions for the day. + */ + impressionsCount?: number; + + /** + * The total number of views for the day. + */ + viewsCount?: number; + + /** + * The total number of clicks on the marketing event for the day. + */ + clicksCount?: number; + + /** + * The total number of shares for the day. + */ + sharesCount?: number; + + /** + * The total number of favorites for the day. + */ + favoritesCount?: number; + + /** + * The total number of comments for the day. + */ + commentsCount?: number; + + /** + * The total number of unsubscribes for the day. + */ + unsubscribesCount?: number; + + /** + * The total number of complaints for the day. + */ + complaintsCount?: number; + + /** + * The total number of fails for the day. + */ + failsCount?: number; + + /** + * The total number of sends for the day. + */ + sendsCount?: number; + + /** + * The total number of unique views for the day. + */ + uniqueViewsCount?: number; + + /** + * The total number of unique clicks for the day. + */ + uniqueClicksCount?: number; + + /** + * The total ad spend for the day, if the marketing event is a paid ad with a daily spend. + */ + adSpend?: MoneyInput; + + /** + * Whether the engagements are reported as lifetime values rather than daily totals. + */ + isCumulative?: boolean; + + /** + * The UTC Offset that the app is using to determine which date to allocate spend to. + */ + utcOffset?: UtcOffset; + + /** + * The date time at which the data was fetched. + */ + fetchedAt?: DateTime; + } + + /** + * Time between UTC time and a location's observed time, in the format `"+HH:MM"` or `"-HH:MM"`. + * + * Example value: `"-07:00"`. + * + */ + export type UtcOffset = any; + + /** + * Return type for `marketingEngagementCreate` mutation. + */ + export interface MarketingEngagementCreatePayload { + + /** + * The marketing engagement that was created. + */ + marketingEngagement?: MarketingEngagement; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Marketing engagement represents customer activity taken on a marketing event. + */ + export interface MarketingEngagement { + + /** + * The total ad spend for the day, if the marketing event is a paid ad with a daily spend. + */ + adSpend?: MoneyV2; + + /** + * The total number of clicks on the marketing event for the day. + */ + clicksCount?: number; + + /** + * The total number of comments for the day. + */ + commentsCount?: number; + + /** + * The total number of complaints for the day. + */ + complaintsCount?: number; + + /** + * The total number of fails for the day. + */ + failsCount?: number; + + /** + * The total number of favorites for the day. + */ + favoritesCount?: number; + + /** + * The date time at which the data was fetched. + */ + fetchedAt?: DateTime; + + /** + * The total number of impressions for the day. + */ + impressionsCount?: number; + + /** + * Whether the engagements are reported as lifetime values rather than daily totals. + */ + isCumulative?: boolean; + + /** + * The marketing activity related to this engagement. + */ + marketingActivity: MarketingActivity; + + /** + * The date that these engagements occurred on. + */ + occurredOn: Date; + + /** + * The total number of sends for the day. + */ + sendsCount?: number; + + /** + * The total number of shares for the day. + */ + sharesCount?: number; + + /** + * The total number of unique clicks for the day. + */ + uniqueClicksCount?: number; + + /** + * The total number of unique views for the day. + */ + uniqueViewsCount?: number; + + /** + * The total number of unsubscribes for the day. + */ + unsubscribesCount?: number; + + /** + * The UTC Offset that the app is using to determine which date to allocate spend to. + */ + utcOffset?: UtcOffset; + + /** + * The total number of views for the day. + */ + viewsCount?: number; + } + + /** + * Specifies the input fields to delete a metafield. + */ + export interface MetafieldDeleteInput { + + /** + * The ID of the metafield to delete. + */ + id: string; + } + + /** + * Return type for `metafieldDelete` mutation. + */ + export interface MetafieldDeletePayload { + + /** + * The ID of the deleted metafield. + */ + deletedId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields for a MetafieldStorefrontVisibilityInput. + * + */ + export interface MetafieldStorefrontVisibilityInput { + + /** + * The namespace of the metafield to be visible to the storefront api. + */ + namespace: string; + + /** + * The key of the metafield to be visible to the storefront api. + */ + key: string; + + /** + * The core resource ( e.g.: Product ) that owns this metafield. + */ + ownerType: MetafieldOwnerType; + } + + /** + * Return type for `metafieldStorefrontVisibilityCreate` mutation. + */ + export interface MetafieldStorefrontVisibilityCreatePayload { + + /** + * The metafield storefront visibility that was created. + */ + metafieldStorefrontVisibility?: MetafieldStorefrontVisibility; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `metafieldStorefrontVisibilityDelete` mutation. + */ + export interface MetafieldStorefrontVisibilityDeletePayload { + + /** + * The ID of the deleted metafield storefront visibility. + */ + deletedMetafieldStorefrontVisibilityId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the authorized transaction to capture and the total amount to capture from it. + */ + export interface OrderCaptureInput { + + /** + * The ID of the order to capture. + */ + id: string; + + /** + * The ID of the authorized transaction to capture. + */ + parentTransactionId: string; + + /** + * The amount to capture. + */ + amount: Money; + + /** + * The currency (in ISO format) that is used to capture the order. This must be the presentment currency (the currency used by the customer) and is a required field for orders where the currency and presentment currency differ. + */ + currency?: CurrencyCode; + } + + /** + * Return type for `orderCapture` mutation. + */ + export interface OrderCapturePayload { + + /** + * The transaction of the capture. + */ + transaction?: OrderTransaction; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies an open order to close. + */ + export interface OrderCloseInput { + + /** + * The ID of the order to close. + */ + id: string; + } + + /** + * Return type for `orderClose` mutation. + */ + export interface OrderClosePayload { + + /** + * The closed order. + */ + order?: Order; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `orderEditAddCustomItem` mutation. + */ + export interface OrderEditAddCustomItemPayload { + + /** + * The added line item. + */ + calculatedLineItem?: CalculatedLineItem; + + /** + * An order with the edits calculated. + */ + calculatedOrder?: CalculatedOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * A line item involved in order editing that may be newly added or have new changes applied. + * + */ + export interface CalculatedLineItem { + + /** + * List of additional information (metafields) about the line item. + */ + customAttributes: Array; + + /** + * The discounts that have been allocated onto the line item by discount applications. + */ + discountAllocations: Array; + + /** + * The total line price after discounts are applied in shop and presentment currencies. + */ + discountedUnitPriceSet: MoneyBag; + + /** + * The total number of items that can be edited. + */ + editableQuantity: number; + + /** + * The editable quantity prior to any changes made in the current edit. + */ + editableQuantityBeforeChanges: number; + + /** + * The total price of editable lines in shop and presentment currencies. + */ + editableSubtotalSet: MoneyBag; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The Image object associated to the line item's variant. + */ + image?: Image; + + /** + * Variant price without any discounts applied in shop and presentment currencies. + */ + originalUnitPriceSet: MoneyBag; + + /** + * The total number of items. + */ + quantity: number; + + /** + * Whether the line item can be restocked or not. + */ + restockable: boolean; + + /** + * Whether the changes on the line item will result in a restock. + */ + restocking: boolean; + + /** + * Variant SKU number. + */ + sku?: string; + + /** + * A list of changes that affect this line item. + */ + stagedChanges: Array; + + /** + * Title of the product or variant. + */ + title: string; + + /** + * The total price of uneditable lines in shop and presentment currencies. + */ + uneditableSubtotalSet: MoneyBag; + + /** + * The product variant associated with this line item. Will be null for custom line items and items whose + * variant has been deleted. + * + */ + variant?: ProductVariant; + + /** + * Name of the variant. + */ + variantTitle?: string; + } + + /** + * A change that has been applied to an order. + * + */ + export type OrderStagedChange = + OrderStagedChangeAddCustomItem | + OrderStagedChangeAddVariant | + OrderStagedChangeIncrementItem | + OrderStagedChangeDecrementItem; + + /** Use this to resolve union type OrderStagedChange */ + export type PossibleOrderStagedChangeTypeNames = + 'OrderStagedChangeAddCustomItem' | + 'OrderStagedChangeAddVariant' | + 'OrderStagedChangeIncrementItem' | + 'OrderStagedChangeDecrementItem'; + + export interface OrderStagedChangeNameMap { + OrderStagedChange: OrderStagedChange; + OrderStagedChangeAddCustomItem: OrderStagedChangeAddCustomItem; + OrderStagedChangeAddVariant: OrderStagedChangeAddVariant; + OrderStagedChangeIncrementItem: OrderStagedChangeIncrementItem; + OrderStagedChangeDecrementItem: OrderStagedChangeDecrementItem; + } + + /** + * A newly created custom item. + * + */ + export interface OrderStagedChangeAddCustomItem { + + /** + * The price of an individual item without any discounts applied. + */ + originalUnitPrice: MoneyV2; + + /** + * The number of items. + */ + quantity: number; + + /** + * The title of the item. + */ + title: string; + } + + /** + * A new item created from an existing product variant. + * + */ + export interface OrderStagedChangeAddVariant { + + /** + * The number of items. + */ + quantity: number; + + /** + * The product variant of the added item. + */ + variant: ProductVariant; + } + + /** + * An addition of items to an existing line item on the order. + * + */ + export interface OrderStagedChangeIncrementItem { + + /** + * The number of items added. + */ + delta: number; + + /** + * The original line item. + */ + lineItem: LineItem; + } + + /** + * An removal of items from an existing line item on the order. + * + */ + export interface OrderStagedChangeDecrementItem { + + /** + * The number of items removed. + */ + delta: number; + + /** + * The original line item. + */ + lineItem: LineItem; + + /** + * The intention to restock the removed items. + */ + restock: boolean; + } + + /** + * An order with edits applied but not saved. + * + */ + export interface CalculatedOrder extends Node { + + /** + * Returns only the new line items being added to the order. + * + */ + addedLineItems: CalculatedLineItemConnection; + + /** + * Amount of the order-level discount (does not contain any line item discounts) in shop and presentment currencies. + */ + cartDiscountAmountSet?: MoneyBag; + + /** + * Will be true when the changes have been applied to the order. + */ + committed: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Returns all items on the order that existed before starting the edit. + * will include any changes that have been made. + * + */ + lineItems: CalculatedLineItemConnection; + + /** + * The HTML of the customer notification for the order edit. + */ + notificationPreviewHtml?: HTML; + + /** + * The customer notification title. + */ + notificationPreviewTitle: string; + + /** + * The order with changes applied. + * @deprecated Use `originalOrder` instead + */ + order: Order; + + /** + * The order without any changes applied. + * + */ + originalOrder: Order; + + /** + * List of changes made on the order. + * + */ + stagedChanges: OrderStagedChangeConnection; + + /** + * The sum of the quantities for the line items that contribute to the order's subtotal. + */ + subtotalLineItemsQuantity: number; + + /** + * Subtotal of the line items and their discounts (does not contain shipping costs, shipping discounts) in shop and presentment currencies. + */ + subtotalPriceSet?: MoneyBag; + + /** + * Taxes charged for the line item. + */ + taxLines: Array; + + /** + * Total price of the order less the total amount received from the customer in shop and presentment currencies. + */ + totalOutstandingSet: MoneyBag; + + /** + * Total amount of the order (includes taxes and discounts) in shop and presentment currencies. + */ + totalPriceSet: MoneyBag; + } + + export interface CalculatedLineItemConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface CalculatedLineItemEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of CalculatedLineItemEdge. + */ + node: CalculatedLineItem; + } + + export interface OrderStagedChangeConnection { + + /** + * A list of edges. + */ + edges: Array; + + /** + * Information to aid in pagination. + */ + pageInfo: PageInfo; + } + + export interface OrderStagedChangeEdge { + + /** + * A cursor for use in pagination. + */ + cursor: string; + + /** + * The item at the end of OrderStagedChangeEdge. + */ + node: OrderStagedChange; + } + + /** + * Return type for `orderEditAddVariant` mutation. + */ + export interface OrderEditAddVariantPayload { + + /** + * The added line item. + */ + calculatedLineItem?: CalculatedLineItem; + + /** + * An order with the edits calculated. + */ + calculatedOrder?: CalculatedOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `orderEditBegin` mutation. + */ + export interface OrderEditBeginPayload { + + /** + * The order that will be edited. + */ + calculatedOrder?: CalculatedOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `orderEditCommit` mutation. + */ + export interface OrderEditCommitPayload { + + /** + * The order with changes applied. + */ + order?: Order; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `orderEditSetQuantity` mutation. + */ + export interface OrderEditSetQuantityPayload { + + /** + * The line item with changes calculated. + */ + calculatedLineItem?: CalculatedLineItem; + + /** + * An order with the edits calculated. + */ + calculatedOrder?: CalculatedOrder; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the order to mark as paid. + */ + export interface OrderMarkAsPaidInput { + + /** + * The ID of the order to mark as paid. + */ + id: string; + } + + /** + * Return type for `orderMarkAsPaid` mutation. + */ + export interface OrderMarkAsPaidPayload { + + /** + * The order marked as paid. + */ + order?: Order; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies a closed order to open. + */ + export interface OrderOpenInput { + + /** + * The ID of the order to open. + */ + id: string; + } + + /** + * Return type for `orderOpen` mutation. + */ + export interface OrderOpenPayload { + + /** + * The opened order. + */ + order?: Order; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the information to be updated on the requested order. + */ + export interface OrderInput { + + /** + * The email address associated with the order. + */ + email?: string; + + /** + * The ID of the order to update. + */ + id: string; + + /** + * The order note. + */ + note?: string; + + /** + * The order tags. + */ + tags?: Array; + + /** + * The shipping address associated with the order. + */ + shippingAddress?: MailingAddressInput; + + /** + * Custom information to add to the order, represented as a key value pair. Also referred to as note attributes. + * + */ + customAttributes?: Array; + + /** + * The metafields to associate with this order. + */ + metafields?: Array; + } + + /** + * Return type for `orderUpdate` mutation. + */ + export interface OrderUpdatePayload { + + /** + * The updated order. + */ + order?: Order; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `priceRuleActivate` mutation. + */ + export interface PriceRuleActivatePayload { + + /** + * The activated price rule. + */ + priceRule?: PriceRule; + + /** + * List of errors that occurred executing the mutation. + */ + priceRuleUserErrors: Array; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `priceRuleUserErrors` instead + */ + userErrors: Array; + } + + /** + * Represents an error that happens during execution of a price rule mutation. + */ + export interface PriceRuleUserError extends DisplayableError { + + /** + * Error code to uniquely identify the error. + */ + code?: PriceRuleErrorCode; + + /** + * Path to the input field which caused the error. + */ + field?: Array; + + /** + * The error message. + */ + message: string; + } + + /** + * Possible error codes that could be returned by a price rule mutation. + */ + export const enum PriceRuleErrorCode { + + /** + * Input value is blank. + */ + BLANK = 'BLANK', + + /** + * Input value should be equal to allowed value. + */ + EQUAL_TO = 'EQUAL_TO', + + /** + * Input value should be greater than minimum allowed value. + */ + GREATER_THAN = 'GREATER_THAN', + + /** + * Input value should be greater than or equal to minimum allowed value. + */ + GREATER_THAN_OR_EQUAL_TO = 'GREATER_THAN_OR_EQUAL_TO', + + /** + * Input value is invalid. + */ + INVALID = 'INVALID', + + /** + * Input value should be less than maximum allowed value. + */ + LESS_THAN = 'LESS_THAN', + + /** + * Input value should be less or equal to maximum allowed value. + */ + LESS_THAN_OR_EQUAL_TO = 'LESS_THAN_OR_EQUAL_TO', + + /** + * Input value is already taken. + */ + TAKEN = 'TAKEN', + + /** + * Input value is too long. + */ + TOO_LONG = 'TOO_LONG', + + /** + * Input value is too short. + */ + TOO_SHORT = 'TOO_SHORT', + + /** + * Unexpected internal error happened. + */ + INTERNAL_ERROR = 'INTERNAL_ERROR', + + /** + * Too many arguments provided. + */ + TOO_MANY_ARGUMENTS = 'TOO_MANY_ARGUMENTS', + + /** + * Missing a required argument. + */ + MISSING_ARGUMENT = 'MISSING_ARGUMENT', + + /** + * Duplicate customer prerequisite id present. + */ + CUSTOMER_PREREQUISITE_DUPLICATE = 'CUSTOMER_PREREQUISITE_DUPLICATE', + CANNOT_ENTITLE_COLLECTIONS_WITH_PRODUCTS_OR_VARIANTS = 'CANNOT_ENTITLE_COLLECTIONS_WITH_PRODUCTS_OR_VARIANTS', + ITEM_ENTITLEMENT_INVALID_TYPE = 'ITEM_ENTITLEMENT_INVALID_TYPE', + ITEM_ENTITLEMENTS_DUPLICATE_COLLECTION = 'ITEM_ENTITLEMENTS_DUPLICATE_COLLECTION', + ITEM_ENTITLEMENTS_DUPLICATE_PRODUCT = 'ITEM_ENTITLEMENTS_DUPLICATE_PRODUCT', + ITEM_ENTITLEMENTS_DUPLICATE_VARIANT = 'ITEM_ENTITLEMENTS_DUPLICATE_VARIANT', + ITEM_ENTITLEMENTS_EXCEEDED_MAX_COLLECTION = 'ITEM_ENTITLEMENTS_EXCEEDED_MAX_COLLECTION', + ITEM_ENTITLEMENTS_EXCEEDED_MAX_PRODUCT = 'ITEM_ENTITLEMENTS_EXCEEDED_MAX_PRODUCT', + ITEM_ENTITLEMENTS_EXCEEDED_MAX_VARIANT = 'ITEM_ENTITLEMENTS_EXCEEDED_MAX_VARIANT', + ITEM_ENTITLEMENTS_INVALID_COLLECTION = 'ITEM_ENTITLEMENTS_INVALID_COLLECTION', + ITEM_ENTITLEMENTS_INVALID_PRODUCT = 'ITEM_ENTITLEMENTS_INVALID_PRODUCT', + ITEM_ENTITLEMENTS_INVALID_TARGET_TYPE_OR_SELECTION = 'ITEM_ENTITLEMENTS_INVALID_TARGET_TYPE_OR_SELECTION', + ITEM_ENTITLEMENTS_INVALID_VARIANT = 'ITEM_ENTITLEMENTS_INVALID_VARIANT', + ITEM_ENTITLEMENTS_MISSING = 'ITEM_ENTITLEMENTS_MISSING', + VARIANT_ALREADY_ENTITLED_THROUGH_PRODUCT = 'VARIANT_ALREADY_ENTITLED_THROUGH_PRODUCT', + CANNOT_PREREQUISITE_COLLECTION_WITH_PRODUCT_OR_VARIANTS = 'CANNOT_PREREQUISITE_COLLECTION_WITH_PRODUCT_OR_VARIANTS', + ITEM_PREREQUISITES_DUPLICATE_COLLECTION = 'ITEM_PREREQUISITES_DUPLICATE_COLLECTION', + ITEM_PREREQUISITES_DUPLICATE_PRODUCT = 'ITEM_PREREQUISITES_DUPLICATE_PRODUCT', + ITEM_PREREQUISITES_DUPLICATE_VARIANT = 'ITEM_PREREQUISITES_DUPLICATE_VARIANT', + ITEM_PREREQUISITES_EXCEEDED_MAX = 'ITEM_PREREQUISITES_EXCEEDED_MAX', + ITEM_PREREQUISITES_INVALID_COLLECTION = 'ITEM_PREREQUISITES_INVALID_COLLECTION', + ITEM_PREREQUISITES_INVALID_PRODUCT = 'ITEM_PREREQUISITES_INVALID_PRODUCT', + ITEM_PREREQUISITES_INVALID_TYPE = 'ITEM_PREREQUISITES_INVALID_TYPE', + ITEM_PREREQUISITES_INVALID_VARIANT = 'ITEM_PREREQUISITES_INVALID_VARIANT', + ITEM_PREREQUISITES_MISSING = 'ITEM_PREREQUISITES_MISSING', + ITEM_PREREQUISITES_MUST_BE_EMPTY = 'ITEM_PREREQUISITES_MUST_BE_EMPTY', + INVALID_TARGET_TYPE_PREREQUISITE_SHIPPING_PRICE_RANGE = 'INVALID_TARGET_TYPE_PREREQUISITE_SHIPPING_PRICE_RANGE', + SHIPPING_ENTITLEMENTS_DUPLICATE_COUNTRY = 'SHIPPING_ENTITLEMENTS_DUPLICATE_COUNTRY', + SHIPPING_ENTITLEMENTS_EXCEEDED_MAX = 'SHIPPING_ENTITLEMENTS_EXCEEDED_MAX', + SHIPPING_ENTITLEMENTS_INVALID_COUNTRY = 'SHIPPING_ENTITLEMENTS_INVALID_COUNTRY', + SHIPPING_ENTITLEMENTS_INVALID_TARGET_TYPE_OR_SELECTION = 'SHIPPING_ENTITLEMENTS_INVALID_TARGET_TYPE_OR_SELECTION', + SHIPPING_ENTITLEMENTS_MISSING = 'SHIPPING_ENTITLEMENTS_MISSING', + SHIPPING_ENTITLEMENTS_UNSUPPORTED_DESTINATION_TYPE = 'SHIPPING_ENTITLEMENTS_UNSUPPORTED_DESTINATION_TYPE', + BOTH_CUSTOMER_AND_SAVED_SEARCH_PREREQUISITES_SELECTED = 'BOTH_CUSTOMER_AND_SAVED_SEARCH_PREREQUISITES_SELECTED', + CUSTOMER_PREREQUISITES_EXCEEDED_MAX = 'CUSTOMER_PREREQUISITES_EXCEEDED_MAX', + CUSTOMER_PREREQUISITES_INVALID_SELECTION = 'CUSTOMER_PREREQUISITES_INVALID_SELECTION', + CUSTOMER_PREREQUISITES_MISSING = 'CUSTOMER_PREREQUISITES_MISSING', + CUSTOMER_SAVED_SEARCH_DUPLICATE = 'CUSTOMER_SAVED_SEARCH_DUPLICATE', + CUSTOMER_SAVED_SEARCH_EXCEEDED_MAX = 'CUSTOMER_SAVED_SEARCH_EXCEEDED_MAX', + CUSTOMER_SAVED_SEARCH_INVALID = 'CUSTOMER_SAVED_SEARCH_INVALID', + DISCOUNT_CODE_DUPLICATE = 'DISCOUNT_CODE_DUPLICATE', + + /** + * Exceeds maximum number allowed. + */ + EXCEEDED_MAX = 'EXCEEDED_MAX', + BOGO_INVALID_TARGET_SELECTION = 'BOGO_INVALID_TARGET_SELECTION', + BOGO_INVALID_TARGET_TYPE = 'BOGO_INVALID_TARGET_TYPE', + BOGO_INVALID_VALUE_TYPE = 'BOGO_INVALID_VALUE_TYPE', + ALLOCATION_METHOD_MUST_BE_ACROSS_FOR_GIVEN_TARGET_SELECTION = 'ALLOCATION_METHOD_MUST_BE_ACROSS_FOR_GIVEN_TARGET_SELECTION', + END_DATE_BEFORE_START_DATE = 'END_DATE_BEFORE_START_DATE', + PREREQUISITE_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT = 'PREREQUISITE_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT', + PRICE_RULE_ALLOCATION_LIMIT_IS_ZERO = 'PRICE_RULE_ALLOCATION_LIMIT_IS_ZERO', + PRICE_RULE_ALLOCATION_LIMIT_ON_NON_BOGO = 'PRICE_RULE_ALLOCATION_LIMIT_ON_NON_BOGO', + PRICE_RULE_EXCEEDED_MAX_DISCOUNT_CODE = 'PRICE_RULE_EXCEEDED_MAX_DISCOUNT_CODE', + PRICE_RULE_PERCENTAGE_VALUE_OUTSIDE_RANGE = 'PRICE_RULE_PERCENTAGE_VALUE_OUTSIDE_RANGE', + SHOP_EXCEEDED_MAX_PRICE_RULES = 'SHOP_EXCEEDED_MAX_PRICE_RULES' + } + + /** + * Specifies the input fields to manipulate a price rule. + */ + export interface PriceRuleInput { + + /** + * PriceRuleValidityPeriod for the price rule. + */ + validityPeriod?: PriceRuleValidityPeriodInput; + + /** + * Whether the price rule can be applied only once per customer. + */ + oncePerCustomer?: boolean; + + /** + * The customers that can use this price rule. + */ + customerSelection?: PriceRuleCustomerSelectionInput; + + /** + * The maximum number of times that the price rule can be used in total. + */ + usageLimit?: number; + + /** + * Title of the price rule. + */ + title?: string; + + /** + * The maximum number of times that the price rule can be allocated onto an order. + */ + allocationLimit?: number; + + /** + * The method by which the price rule's value is allocated to its entitled items. + */ + allocationMethod?: PriceRuleAllocationMethod; + + /** + * The value of the price rule. + */ + value?: PriceRuleValueInput; + + /** + * The type of lines (line_item or shipping_line) to which the price rule applies. + */ + target?: PriceRuleTarget; + + /** + * The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable. + */ + prerequisiteSubtotalRange?: PriceRuleMoneyRangeInput; + + /** + * The number of the entitled items must fall within this range for the price rule to be applicable. + */ + prerequisiteQuantityRange?: PriceRuleQuantityRangeInput; + + /** + * The shipping cost must fall within this range for the price rule to be applicable. + */ + prerequisiteShippingPriceRange?: PriceRuleMoneyRangeInput; + + /** + * The items to which the price rule applies. + */ + itemEntitlements?: PriceRuleItemEntitlementsInput; + + /** + * The items required for the price rule to be applicable. + */ + itemPrerequisites?: PriceRuleItemPrerequisitesInput; + + /** + * The shipping lines to which the price rule applies. + */ + shippingEntitlements?: PriceRuleShippingEntitlementsInput; + + /** + * Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. This argument is deprecated: Use `prerequisiteToEntitlementQuantityRatio` instead. + */ + entitlementToPrerequisiteQuantityRatio?: PriceRuleEntitlementToPrerequisiteQuantityRatioInput; + + /** + * Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. + */ + prerequisiteToEntitlementQuantityRatio?: PriceRulePrerequisiteToEntitlementQuantityRatioInput; + } + + /** + * Specifies the input fields to update the validity period of a price rule. + */ + export interface PriceRuleValidityPeriodInput { + + /** + * The time after which the price rule is valid. + */ + start: DateTime; + + /** + * The time after which the price rule becomes invalid. + */ + end?: DateTime; + } + + /** + * Specifies the input fields to update a price rule customer selection. + */ + export interface PriceRuleCustomerSelectionInput { + + /** + * Whether the price rule applies to all customers. + */ + forAllCustomers?: boolean; + + /** + * List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present. + */ + savedSearchIds?: Array; + + /** + * List of customers to add to the current list of customers to whom the price rule applies. `savedSearchIds` must be empty. + */ + customerIdsToAdd?: Array; + + /** + * A list of customers to remove from the current list of customers to whom the price rule applies. + */ + customerIdsToRemove?: Array; + } + + /** + * Specifies the input fields to update a price rule. + */ + export interface PriceRuleValueInput { + + /** + * The percentage value of the price rule. + */ + percentageValue?: number; + + /** + * The fixed amount value of the price rule. + */ + fixedAmountValue?: Money; + } + + /** + * Specifies the input fields to update the money range within which the price rule is applicable. + * + */ + export interface PriceRuleMoneyRangeInput { + + /** + * The upper bound of the money range. + */ + lessThan?: Money; + + /** + * The upper or equal bound of the money range. + */ + lessThanOrEqualTo?: Money; + + /** + * The lower bound of the money range. + */ + greaterThan?: Money; + + /** + * The lower or equal bound of the money range. + */ + greaterThanOrEqualTo?: Money; + } + + /** + * Specifies the input fields to update the quantity range within which the price rule is applicable. + * + */ + export interface PriceRuleQuantityRangeInput { + + /** + * The upper bound of the quantity range. + */ + lessThan?: number; + + /** + * The upper or equal bound of the quantity range. + */ + lessThanOrEqualTo?: number; + + /** + * The lower bound of the quantity range. + */ + greaterThan?: number; + + /** + * The lower or equal bound of the quantity range. + */ + greaterThanOrEqualTo?: number; + } + + /** + * Specifies the input fields to update a price rule line item entitlement. + */ + export interface PriceRuleItemEntitlementsInput { + + /** + * Whether the price rule applies to all items. + */ + targetAllLineItems?: boolean; + + /** + * The products to which the price rule applies. + */ + productIds?: Array; + + /** + * The product variants to which the price rule applies. + */ + productVariantIds?: Array; + + /** + * The collections to which the price rule applies. + */ + collectionIds?: Array; + } + + /** + * Specifies the input fields to update a price rule's item prerequisites. + */ + export interface PriceRuleItemPrerequisitesInput { + + /** + * The products needed for the price rule to be applied. + */ + productIds?: Array; + + /** + * The product variants needed for the price rule to be applied. + */ + productVariantIds?: Array; + + /** + * The collections needed for the price rule to be applied. + */ + collectionIds?: Array; + } + + /** + * Specifies the input fields to update a price rule shipping entitlement. + */ + export interface PriceRuleShippingEntitlementsInput { + + /** + * Whether the price rule applies to all shipping lines. + */ + targetAllShippingLines?: boolean; + + /** + * The codes for the countries to which the price rule applies to. + */ + countryCodes?: Array; + + /** + * Whether the price rule is applicable to countries that have not been defined in the shop's shipping zones. + */ + includeRestOfWorld?: boolean; + } + + /** + * Specifies the quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. + */ + export interface PriceRuleEntitlementToPrerequisiteQuantityRatioInput { + + /** + * The quantity of entitlements in the ratio. + */ + entitlementQuantity?: number; + + /** + * The quantity of prerequisites in the ratio. + */ + prerequisiteQuantity?: number; + } + + /** + * Specifies the quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. + */ + export interface PriceRulePrerequisiteToEntitlementQuantityRatioInput { + + /** + * The quantity of entitlements in the ratio. + */ + entitlementQuantity?: number; + + /** + * The quantity of prerequisites in the ratio. + */ + prerequisiteQuantity?: number; + } + + /** + * Specifies the input fields to manipulate a discount code. + */ + export interface PriceRuleDiscountCodeInput { + + /** + * The code to use the discount. + */ + code?: string; + } + + /** + * Return type for `priceRuleCreate` mutation. + */ + export interface PriceRuleCreatePayload { + + /** + * The newly created price rule. + */ + priceRule?: PriceRule; + + /** + * The newly created discount code. + */ + priceRuleDiscountCode?: PriceRuleDiscountCode; + + /** + * List of errors that occurred executing the mutation. + */ + priceRuleUserErrors: Array; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `priceRuleUserErrors` instead + */ + userErrors: Array; + } + + /** + * Return type for `priceRuleDeactivate` mutation. + */ + export interface PriceRuleDeactivatePayload { + + /** + * The deactivated price rule. + */ + priceRule?: PriceRule; + + /** + * List of errors that occurred executing the mutation. + */ + priceRuleUserErrors: Array; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `priceRuleUserErrors` instead + */ + userErrors: Array; + } + + /** + * Return type for `priceRuleDelete` mutation. + */ + export interface PriceRuleDeletePayload { + + /** + * The id price of the deleted price rule. + */ + deletedPriceRuleId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + priceRuleUserErrors: Array; + + /** + * The shop of the deleted price rule. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `priceRuleUserErrors` instead + */ + userErrors: Array; + } + + /** + * Return type for `priceRuleDiscountCodeCreate` mutation. + */ + export interface PriceRuleDiscountCodeCreatePayload { + + /** + * The updated price rule. + */ + priceRule?: PriceRule; + + /** + * The newly created discount code. + */ + priceRuleDiscountCode?: PriceRuleDiscountCode; + + /** + * List of errors that occurred executing the mutation. + */ + priceRuleUserErrors: Array; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `priceRuleUserErrors` instead + */ + userErrors: Array; + } + + /** + * Return type for `priceRuleDiscountCodeUpdate` mutation. + */ + export interface PriceRuleDiscountCodeUpdatePayload { + + /** + * The updated price rule. + */ + priceRule?: PriceRule; + + /** + * The updated discount code. + */ + priceRuleDiscountCode?: PriceRuleDiscountCode; + + /** + * List of errors that occurred executing the mutation. + */ + priceRuleUserErrors: Array; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `priceRuleUserErrors` instead + */ + userErrors: Array; + } + + /** + * Return type for `priceRuleUpdate` mutation. + */ + export interface PriceRuleUpdatePayload { + + /** + * The updated price rule. + */ + priceRule?: PriceRule; + + /** + * The updated discount code. + */ + priceRuleDiscountCode?: PriceRuleDiscountCode; + + /** + * List of errors that occurred executing the mutation. + */ + priceRuleUserErrors: Array; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `priceRuleUserErrors` instead + */ + userErrors: Array; + } + + /** + * Specifies the input fields for a PrivateMetafield. + * + */ + export interface PrivateMetafieldDeleteInput { + + /** + * The ID of the owning resource. + */ + owner?: string; + + /** + * The namespace for the private metafield. + */ + namespace: string; + + /** + * The key for the private metafield. + */ + key: string; + } + + /** + * Return type for `privateMetafieldDelete` mutation. + */ + export interface PrivateMetafieldDeletePayload { + + /** + * The ID of private metafield that was deleted. + */ + deletedPrivateMetafieldId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `privateMetafieldUpsert` mutation. + */ + export interface PrivateMetafieldUpsertPayload { + + /** + * The private metafield that was created or updated. + */ + privateMetafield?: PrivateMetafield; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies product images to append. + */ + export interface ProductAppendImagesInput { + + /** + * The ID of the product. + */ + id: string; + + /** + * The images to be appended to the product. + */ + images: Array; + } + + /** + * Return type for `productAppendImages` mutation. + */ + export interface ProductAppendImagesPayload { + + /** + * List of new images appended to the product. + */ + newImages?: Array; + + /** + * The product object. + */ + product?: Product; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields required to create a product. + */ + export interface ProductInput { + + /** + * The description of the product, complete with HTML formatting. + */ + descriptionHtml?: string; + + /** + * A unique human-friendly string for the product. Automatically generated from the product's title. + * + */ + handle?: string; + + /** + * Whether a redirect is required after a new handle has been provided. + * If true, then the old handle is redirected to the new one automatically. + * + */ + redirectNewHandle?: boolean; + + /** + * The SEO information associated with the product. + */ + seo?: SEOInput; + + /** + * The product type specified by the merchant. + */ + productType?: string; + + /** + * A list of the tags that have been added to the product. + */ + tags?: Array; + + /** + * The theme template used when viewing the product in a store. + */ + templateSuffix?: string; + + /** + * Whether the product is a gift card. + */ + giftCard?: boolean; + + /** + * The theme template used when viewing the gift card in a store. + */ + giftCardTemplateSuffix?: string; + + /** + * The title of the product. + */ + title?: string; + + /** + * The name of the product's vendor. + */ + vendor?: string; + + /** + * A description of the product. Supports HTML formatting. This argument is deprecated: Use `descriptionHtml` instead. + */ + bodyHtml?: string; + + /** + * The IDs of the collections that this product will be added to. + */ + collectionsToJoin?: Array; + + /** + * The IDs of collections that will no longer include the product. + */ + collectionsToLeave?: Array; + + /** + * Specifies the product to update or create a new product if absent. + */ + id?: string; + + /** + * The images to associate with the product. + */ + images?: Array; + + /** + * The metafields to associate with this product. + */ + metafields?: Array; + + /** + * The private metafields to associated with this product. + */ + privateMetafields?: Array; + + /** + * List of custom product options (maximum of 3 per product). + */ + options?: Array; + + /** + * A list of the channels where the product is published. This argument is deprecated: Use `PublishablePublish` instead. + */ + productPublications?: Array; + + /** + * A list of the channels where the product is published. This argument is deprecated: Use `PublishablePublish` instead. + */ + publications?: Array; + + /** + * This argument is deprecated: Use `PublishablePublish` instead. + */ + publishDate?: DateTime; + + /** + * This argument is deprecated: Use `PublishablePublish` instead. + */ + publishOn?: DateTime; + + /** + * This argument is deprecated: Use `PublishablePublish` instead. + */ + published?: boolean; + + /** + * This argument is deprecated: Use `PublishablePublish` instead. + */ + publishedAt?: DateTime; + + /** + * A list of variants associated with the product. + */ + variants?: Array; + } + + /** + * Specifies a publication to which a product will be published. + */ + export interface ProductPublicationInput { + + /** + * ID of the publication. + */ + publicationId?: string; + + /** + * ID of the channel. This argument is deprecated: Use publicationId instead. + */ + channelId?: string; + + /** + * This argument is deprecated: Use publicationId instead. + */ + channelHandle?: string; + + /** + * The date and time that the product was (or will be) published. + */ + publishDate?: DateTime; + } + + /** + * Specifies a product variant to create or update. + */ + export interface ProductVariantInput { + + /** + * The value of the barcode associated with the product. + */ + barcode?: string; + + /** + * The compare-at price of the variant. + */ + compareAtPrice?: Money; + + /** + * The ID of the fulfillment service associated with the variant. + */ + fulfillmentServiceId?: string; + + /** + * The Harmonized System Code (or HS Tariff Code) for the variant. + */ + harmonizedSystemCode?: string; + + /** + * Specifies the product variant to update or create a new variant if absent. + */ + id?: string; + + /** + * The ID of the image that's associated with the variant. + */ + imageId?: string; + + /** + * The URL of an image to associate with the variant. This field can only be used through mutations that create product images and must match one of the URLs being created on the product. + * + */ + imageSrc?: string; + + /** + * The fulfillment service that tracks the number of items in stock for the product variant. If you track the inventory yourself using the admin, then set the value to `shopify`. Valid values: `shopify` or the handle of a fulfillment service that has inventory management enabled. + * This argument is deprecated: Use tracked attribute on `inventoryItem` instead. + */ + inventoryManagement?: ProductVariantInventoryManagement; + + /** + * Whether customers are allowed to place an order for the product variant when it's out of stock. + */ + inventoryPolicy?: ProductVariantInventoryPolicy; + + /** + * Create only field. The inventory quantities at each location where the variant is stocked. + */ + inventoryQuantities?: Array; + + /** + * Inventory Item associated with the variant, used for unit cost. + */ + inventoryItem?: InventoryItemInput; + + /** + * Additional customizable information about the product variant. + */ + metafields?: Array; + + /** + * The private metafields to associated with this product. + */ + privateMetafields?: Array; + + /** + * The custom properties that a shop owner uses to define product variants. + */ + options?: Array; + + /** + * The order of the product variant in the list of product variants. The first position in the list is 1. + * + */ + position?: number; + + /** + * The price of the variant. + */ + price?: Money; + + /** + * Create only required field. Specifies the product on which to create the variant. + */ + productId?: string; + + /** + * Whether the variant requires shipping. + */ + requiresShipping?: boolean; + + /** + * The SKU for the variant. + */ + sku?: string; + + /** + * Whether the variant is taxable. + */ + taxable?: boolean; + + /** + * This argument is deprecated: Variant title is not a writable field; it is generated from the selected variant options. + */ + title?: string; + + /** + * The tax code associated with the variant. + */ + taxCode?: string; + + /** + * The weight of the variant. + */ + weight?: number; + + /** + * The unit of weight that's used to measure the variant. + */ + weightUnit?: WeightUnit; + } + + /** + * Inventory quantity at a specific location. + */ + export interface InventoryLevelInput { + + /** + * Sets the quantity available at the location. + */ + availableQuantity: number; + + /** + * ID of the location. + */ + locationId: string; + } + + /** + * Inventory items. + */ + export interface InventoryItemInput { + + /** + * Unit cost associated with the inventory item, the currency is the shop's default currency. + */ + cost?: Decimal; + + /** + * Whether the inventory item is tracked. + */ + tracked?: boolean; + } + + /** + * Specifies the input fields required to create a media object. + */ + export interface CreateMediaInput { + + /** + * The original source of the media object. May be an external URL or signed upload URL. + */ + originalSource: string; + + /** + * The alt text associated to the media. + */ + alt?: string; + + /** + * The media content type. + */ + mediaContentType: MediaContentType; + } + + /** + * Return type for `productCreate` mutation. + */ + export interface ProductCreatePayload { + + /** + * The product object. + */ + product?: Product; + + /** + * The shop associated with the product. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productCreateMedia` mutation. + */ + export interface ProductCreateMediaPayload { + + /** + * The newly created media. + */ + media?: Array; + + /** + * List of errors that occurred executing the mutation. + */ + mediaUserErrors: Array; + + /** + * The product associated with the media. + */ + product?: Product; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `mediaUserErrors` instead + */ + userErrors: Array; + } + + /** + * Represents an error that happens during execution of a Media query or mutation. + */ + export interface MediaUserError extends DisplayableError { + + /** + * Error code to uniquely identify the error. + */ + code?: MediaUserErrorCode; + + /** + * Path to the input field which caused the error. + */ + field?: Array; + + /** + * The error message. + */ + message: string; + } + + /** + * Possible error codes that could be returned by a media mutation. + */ + export const enum MediaUserErrorCode { + + /** + * Input value is invalid. + */ + INVALID = 'INVALID', + + /** + * Video validation failed. + */ + VIDEO_VALIDATION_ERROR = 'VIDEO_VALIDATION_ERROR', + + /** + * Model validation failed. + */ + MODEL3D_VALIDATION_ERROR = 'MODEL3D_VALIDATION_ERROR', + + /** + * Video creation throttle was exceeded. + */ + VIDEO_THROTTLE_EXCEEDED = 'VIDEO_THROTTLE_EXCEEDED', + + /** + * Model3d creation throttle was exceeded. + */ + MODEL3D_THROTTLE_EXCEEDED = 'MODEL3D_THROTTLE_EXCEEDED', + + /** + * Exceeded the limit of media per product. + */ + PRODUCT_MEDIA_LIMIT_EXCEEDED = 'PRODUCT_MEDIA_LIMIT_EXCEEDED', + + /** + * Exceeded the limit of media per shop. + */ + SHOP_MEDIA_LIMIT_EXCEEDED = 'SHOP_MEDIA_LIMIT_EXCEEDED', + + /** + * Product does not exist. + */ + PRODUCT_DOES_NOT_EXIST = 'PRODUCT_DOES_NOT_EXIST', + + /** + * Media does not exist. + */ + MEDIA_DOES_NOT_EXIST = 'MEDIA_DOES_NOT_EXIST', + + /** + * Media cannot be modified. It is currently being modified by another operation. + */ + MEDIA_CANNOT_BE_MODIFIED = 'MEDIA_CANNOT_BE_MODIFIED' + } + + /** + * Specifies the product to delete. + */ + export interface ProductDeleteInput { + + /** + * The ID of the product. + */ + id: string; + } + + /** + * Return type for `productDelete` mutation. + */ + export interface ProductDeletePayload { + + /** + * The ID of the deleted product. + */ + deletedProductId?: string; + + /** + * The shop associated with the product. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productDeleteImages` mutation. + */ + export interface ProductDeleteImagesPayload { + + /** + * This is an array of IDs of images to delete. + */ + deletedImageIds: Array; + + /** + * This is the product object. + */ + product?: Product; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productDeleteMedia` mutation. + */ + export interface ProductDeleteMediaPayload { + + /** + * List of media IDs which were deleted. + */ + deletedMediaIds?: Array; + + /** + * List of product image IDs which were deleted. + */ + deletedProductImageIds?: Array; + + /** + * List of errors that occurred executing the mutation. + */ + mediaUserErrors: Array; + + /** + * The product which media was deleted from. + */ + product?: Product; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `mediaUserErrors` instead + */ + userErrors: Array; + } + + /** + * Return type for `productDuplicate` mutation. + */ + export interface ProductDuplicatePayload { + + /** + * The asynchronous job duplicating the product images. + */ + imageJob?: Job; + + /** + * The duplicated product. + */ + newProduct?: Product; + + /** + * The user's shop. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productImageUpdate` mutation. + */ + export interface ProductImageUpdatePayload { + + /** + * Image updated. + */ + image?: Image; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies a product to publish and the channels to publish it to. + */ + export interface ProductPublishInput { + + /** + * The product to create or update publications for. + */ + id: string; + + /** + * The publication that the product is published to. + */ + productPublications: Array; + } + + /** + * Return type for `productPublish` mutation. + */ + export interface ProductPublishPayload { + + /** + * The product that has been published. + */ + product?: Product; + + /** + * The channels where the product is published. + * @deprecated Use Product.publications instead. + */ + productPublications?: Array; + + /** + * The user's shop. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productReorderImages` mutation. + */ + export interface ProductReorderImagesPayload { + + /** + * The asynchronous job reordering the images. + */ + job?: Job; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productReorderMedia` mutation. + */ + export interface ProductReorderMediaPayload { + + /** + * The asynchronous job reordering the media. + */ + job?: Job; + + /** + * List of errors that occurred executing the mutation. + */ + mediaUserErrors: Array; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `mediaUserErrors` instead + */ + userErrors: Array; + } + + /** + * Specifies a product to unpublish from a channel and the sales channels to unpublish it from. + */ + export interface ProductUnpublishInput { + + /** + * The ID of the product to create or update publications for. + */ + id: string; + + /** + * The channels to unpublish the product from. + */ + productPublications: Array; + } + + /** + * Return type for `productUnpublish` mutation. + */ + export interface ProductUnpublishPayload { + + /** + * The product that has been unpublished. + */ + product?: Product; + + /** + * The user's shop. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productUpdate` mutation. + */ + export interface ProductUpdatePayload { + + /** + * The updated product. + */ + product?: Product; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields required to update a media object. + */ + export interface UpdateMediaInput { + + /** + * Specifies the media to update. + */ + id: string; + + /** + * The source from which to update the media preview image. May be an external URL or signed upload URL. + */ + previewImageSource?: string; + + /** + * The alt text associated to the media. + */ + alt?: string; + } + + /** + * Return type for `productUpdateMedia` mutation. + */ + export interface ProductUpdateMediaPayload { + + /** + * The updated media. + */ + media?: Array; + + /** + * List of errors that occurred executing the mutation. + */ + mediaUserErrors: Array; + + /** + * The product which media was updated on. + */ + product?: Product; + + /** + * List of errors that occurred executing the mutation. + * @deprecated Use `mediaUserErrors` instead + */ + userErrors: Array; + } + + /** + * Return type for `productVariantCreate` mutation. + */ + export interface ProductVariantCreatePayload { + + /** + * The product associated with the variant. + */ + product?: Product; + + /** + * The successfully created variant. + */ + productVariant?: ProductVariant; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productVariantDelete` mutation. + */ + export interface ProductVariantDeletePayload { + + /** + * ID of the deleted product variant. + */ + deletedProductVariantId?: string; + + /** + * Product of the deleted product variant. + */ + product?: Product; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `productVariantUpdate` mutation. + */ + export interface ProductVariantUpdatePayload { + + /** + * The product associated with the variant. + */ + product?: Product; + + /** + * The updated variant. + */ + productVariant?: ProductVariant; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields required to publish a resource. + */ + export interface PublicationInput { + + /** + * ID of the channel. This argument is deprecated: Use publicationId instead. + */ + channelId?: string; + + /** + * ID of the publication. + */ + publicationId?: string; + + /** + * The date and time that the product was (or will be) published. + */ + publishDate?: DateTime; + } + + /** + * Return type for `publishablePublish` mutation. + */ + export interface PublishablePublishPayload { + + /** + * Resource that has been published. + */ + publishable?: Publishable; + + /** + * The user's shop. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `publishablePublishToCurrentChannel` mutation. + */ + export interface PublishablePublishToCurrentChannelPayload { + + /** + * Resource that has been published. + */ + publishable?: Publishable; + + /** + * The user's shop. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `publishableUnpublish` mutation. + */ + export interface PublishableUnpublishPayload { + + /** + * Resource that has been unpublished. + */ + publishable?: Publishable; + + /** + * The user's shop. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `publishableUnpublishToCurrentChannel` mutation. + */ + export interface PublishableUnpublishToCurrentChannelPayload { + + /** + * Resource that has been published. + */ + publishable?: Publishable; + + /** + * The user's shop. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the fields to create a refund. + */ + export interface RefundInput { + + /** + * The currency (in ISO format) that is used to refund the order. This must be the presentment currency (the currency used by the customer) and is a required field for orders where the currency and presentment currency differ. + */ + currency?: CurrencyCode; + + /** + * Order ID for which the refund is created. + */ + orderId: string; + + /** + * An optional note attached to a refund. + */ + note?: string; + + /** + * Whether to send a refund notification to the customer. + */ + notify?: boolean; + + /** + * Specifies how much of the shipping cost to refund. + */ + shipping?: ShippingRefundInput; + + /** + * A list of line items to refund. + */ + refundLineItems?: Array; + + /** + * A list of duties to refund. + */ + refundDuties?: Array; + + /** + * A list of transactions involved in the refund. + */ + transactions?: Array; + } + + /** + * Specifies the fields required to return shipping costs on a Refund. + */ + export interface ShippingRefundInput { + + /** + * The monetary value of the shipping fees to be returned. + */ + amount?: Money; + + /** + * Whether a full refund is provided. + */ + fullRefund?: boolean; + } + + /** + * Specifies the information needed to create an order transaction. + */ + export interface OrderTransactionInput { + + /** + * The amount of money for this transaction. + */ + amount: Money; + + /** + * The payment gateway to use for this transaction. + */ + gateway: string; + + /** + * The kind of transaction. + */ + kind: OrderTransactionKind; + + /** + * The ID of the order associated with the transaction. + */ + orderId: string; + + /** + * The ID of the optional parent transaction, for example the authorization of a capture. + */ + parentId?: string; + } + + /** + * Return type for `refundCreate` mutation. + */ + export interface RefundCreatePayload { + + /** + * The order associated with the created refund. + */ + order?: Order; + + /** + * The created refund. + */ + refund?: Refund; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the fields required to create a saved search. + */ + export interface SavedSearchCreateInput { + + /** + * The type of resouce this saved search is searching in. + */ + resourceType: SearchResultType; + + /** + * A descriptive name of the saved search. + */ + name: string; + + /** + * The query string of a saved search. This includes search terms and filters. + */ + query: string; + } + + /** + * Return type for `savedSearchCreate` mutation. + */ + export interface SavedSearchCreatePayload { + + /** + * The saved search that was created. + */ + savedSearch?: SavedSearch; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the fields to delete a saved search. + */ + export interface SavedSearchDeleteInput { + + /** + * ID of the saved search to delete. + */ + id: string; + } + + /** + * Return type for `savedSearchDelete` mutation. + */ + export interface SavedSearchDeletePayload { + + /** + * The id of the saved search that was deleted. + */ + deletedSavedSearchId?: string; + + /** + * The shop of the saved search that was deleted. + */ + shop: Shop; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the fields required to update a saved search. + */ + export interface SavedSearchUpdateInput { + + /** + * ID of the saved search to update. + */ + id: string; + + /** + * A descriptive name of the saved search. + */ + name?: string; + + /** + * The query string of a saved search. This included search terms and filters. + */ + query?: string; + } + + /** + * Return type for `savedSearchUpdate` mutation. + */ + export interface SavedSearchUpdatePayload { + + /** + * The saved search that was updated. + */ + savedSearch?: SavedSearch; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields for a script tag. + * + */ + export interface ScriptTagInput { + + /** + * The URL of the remote script. + */ + src?: URL; + + /** + * The page or pages on the online store where the script should be included. + */ + displayScope?: ScriptTagDisplayScope; + } + + /** + * Return type for `scriptTagCreate` mutation. + */ + export interface ScriptTagCreatePayload { + + /** + * The script tag that was created. + */ + scriptTag?: ScriptTag; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `scriptTagDelete` mutation. + */ + export interface ScriptTagDeletePayload { + + /** + * The ID of the deleted script tag. + */ + deletedScriptTagId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `scriptTagUpdate` mutation. + */ + export interface ScriptTagUpdatePayload { + + /** + * The script tag that was updated. + */ + scriptTag?: ScriptTag; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `shippingPackageDelete` mutation. + */ + export interface ShippingPackageDeletePayload { + + /** + * The ID of the deleted shipping package. + */ + deletedId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `shippingPackageMakeDefault` mutation. + */ + export interface ShippingPackageMakeDefaultPayload { + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `shippingPackageUpdate` mutation. + */ + export interface ShippingPackageUpdatePayload { + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `shopLocaleDisable` mutation. + */ + export interface ShopLocaleDisablePayload { + + /** + * The locale identifier that was disabled. + */ + locale?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `shopLocaleEnable` mutation. + */ + export interface ShopLocaleEnablePayload { + + /** + * The locale that was enabled. + */ + shopLocale?: ShopLocale; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields for a shop locale. + * + */ + export interface ShopLocaleInput { + + /** + * Specifies the publication state of the locale. + */ + published?: boolean; + } + + /** + * Return type for `shopLocaleUpdate` mutation. + */ + export interface ShopLocaleUpdatePayload { + + /** + * The locale that was updated. + */ + shopLocale?: ShopLocale; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the fields required to generate the URL and parameters needed to upload an asset to Shopify. + */ + export interface StagedUploadTargetGenerateInput { + + /** + * The resource type being uploaded. + */ + resource: StagedUploadTargetGenerateUploadResource; + + /** + * The filename of the asset being uploaded. + */ + filename: string; + + /** + * The MIME type of the asset being uploaded. + */ + mimeType: string; + + /** + * The HTTP method to be used by the staged upload. + */ + httpMethod?: StagedUploadHttpMethodType; + + /** + * The size of the file to upload, in bytes. + */ + fileSize?: UnsignedInt64; + } + + /** + * Specifies the resource type to receive. + */ + export const enum StagedUploadTargetGenerateUploadResource { + + /** + * A timeline event. + */ + TIMELINE = 'TIMELINE', + + /** + * A product image. + */ + PRODUCT_IMAGE = 'PRODUCT_IMAGE', + + /** + * A collection image. + */ + COLLECTION_IMAGE = 'COLLECTION_IMAGE', + + /** + * A shop image. + */ + SHOP_IMAGE = 'SHOP_IMAGE', + + /** + * Merchandising::Video resource representation. + */ + VIDEO = 'VIDEO', + + /** + * Merchandising::Model3d resource representation. + */ + MODEL_3D = 'MODEL_3D', + + /** + * Merchandising::Image resource representation. + */ + IMAGE = 'IMAGE' + } + + /** + * Possible HTTP method of a staged upload target. + */ + export const enum StagedUploadHttpMethodType { + + /** + * The POST HTTP method. + */ + POST = 'POST', + + /** + * The PUT HTTP method. + */ + PUT = 'PUT' + } + + /** + * Return type for `stagedUploadTargetGenerate` mutation. + */ + export interface StagedUploadTargetGeneratePayload { + + /** + * The signed parameters that can be used to upload the asset. + */ + parameters: Array; + + /** + * The signed URL where the asset can be uploaded. + */ + url: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * A signed upload parameter for uploading an asset to Shopify. + */ + export interface MutationsStagedUploadTargetGenerateUploadParameter { + + /** + * The upload parameter name. + */ + name: string; + + /** + * The upload parameter value. + */ + value: string; + } + + /** + * Image to be uploaded. + */ + export interface StageImageInput { + + /** + * Image resource. + */ + resource: StagedUploadTargetGenerateUploadResource; + + /** + * Image filename. + */ + filename: string; + + /** + * Image MIME type. + */ + mimeType: string; + + /** + * HTTP method to be used by the Staged Upload. + */ + httpMethod?: StagedUploadHttpMethodType; + } + + /** + * Return type for `stagedUploadTargetsGenerate` mutation. + */ + export interface StagedUploadTargetsGeneratePayload { + + /** + * The staged upload targets that were generated. + */ + urls?: Array; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Staged target information. + */ + export interface StagedUploadTarget { + + /** + * Parameters of an image to be uploaded. + */ + parameters: Array; + + /** + * Image URL. + */ + url: string; + } + + /** + * Upload parameter of an image. + */ + export interface ImageUploadParameter { + + /** + * Parameter name. + */ + name: string; + + /** + * Parameter value. + */ + value: string; + } + + /** + * Media to be uploaded. + */ + export interface StagedUploadInput { + + /** + * Media resource. + */ + resource: StagedUploadTargetGenerateUploadResource; + + /** + * Media filename. + */ + filename: string; + + /** + * Media MIME type. + */ + mimeType: string; + + /** + * HTTP method to be used by the Staged Upload. + */ + httpMethod?: StagedUploadHttpMethodType; + + /** + * Size of the file to upload, in bytes. This is required for VIDEO and MODEL_3D resources. + */ + fileSize?: UnsignedInt64; + } + + /** + * Return type for `stagedUploadsCreate` mutation. + */ + export interface StagedUploadsCreatePayload { + + /** + * The staged upload targets that were generated. + */ + stagedTargets?: Array; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Staged media target information. + */ + export interface StagedMediaUploadTarget { + + /** + * Parameters of the media to be uploaded. + */ + parameters: Array; + + /** + * The url to be passed as the original_source for the product create media mutation input. + */ + resourceUrl?: URL; + + /** + * Media URL. + */ + url?: URL; + } + + /** + * Upload parameter of a Media. + */ + export interface StagedUploadParameter { + + /** + * Parameter name. + */ + name: string; + + /** + * Parameter value. + */ + value: string; + } + + /** + * Specifies the input fields for a storefront access token. + */ + export interface StorefrontAccessTokenInput { + + /** + * A title for the storefront access token. + */ + title: string; + } + + /** + * Return type for `storefrontAccessTokenCreate` mutation. + */ + export interface StorefrontAccessTokenCreatePayload { + + /** + * The user's shop. + */ + shop: Shop; + + /** + * The storefront access token. + */ + storefrontAccessToken?: StorefrontAccessToken; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields to delete a storefront access token. + */ + export interface StorefrontAccessTokenDeleteInput { + + /** + * The ID of the storefront access token to delete. + */ + id: string; + } + + /** + * Return type for `storefrontAccessTokenDelete` mutation. + */ + export interface StorefrontAccessTokenDeletePayload { + + /** + * The ID of the deleted storefront access token. + */ + deletedStorefrontAccessTokenId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `tagsAdd` mutation. + */ + export interface TagsAddPayload { + + /** + * The object that was updated. + */ + node?: Node; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `tagsRemove` mutation. + */ + export interface TagsRemovePayload { + + /** + * The object that was updated. + */ + node?: Node; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Provides the fields and values to use when creating or updating a translation. + */ + export interface TranslationInput { + + /** + * The locale of the translation. + */ + locale: string; + + /** + * The key of the translation. + */ + key: string; + + /** + * The value of the translation. + */ + value: string; + + /** + * The digest (hash) of the content being translated. + */ + translatableContentDigest: string; + } + + /** + * Return type for `translationsRegister` mutation. + */ + export interface TranslationsRegisterPayload { + + /** + * The translations that were created or updated. + */ + translations?: Array; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Represents an error that happens during the execution of a translation mutation. + */ + export interface TranslationUserError extends DisplayableError { + + /** + * Error code to uniquely identify the error. + */ + code?: TranslationErrorCode; + + /** + * Path to the input field which caused the error. + */ + field?: Array; + + /** + * The error message. + */ + message: string; + } + + /** + * Possible error codes that could be returned by a translation mutation. + */ + export const enum TranslationErrorCode { + + /** + * Input value is blank. + */ + BLANK = 'BLANK', + + /** + * Input value is invalid. + */ + INVALID = 'INVALID', + + /** + * Resource does not exist. + */ + RESOURCE_NOT_FOUND = 'RESOURCE_NOT_FOUND', + + /** + * Too many translation keys for resource. + */ + TOO_MANY_KEYS_FOR_RESOURCE = 'TOO_MANY_KEYS_FOR_RESOURCE', + + /** + * Translation key is invalid. + */ + INVALID_KEY_FOR_MODEL = 'INVALID_KEY_FOR_MODEL', + + /** + * Translation value is invalid. + */ + FAILS_RESOURCE_VALIDATION = 'FAILS_RESOURCE_VALIDATION', + + /** + * Translatable content is invalid. + */ + INVALID_TRANSLATABLE_CONTENT = 'INVALID_TRANSLATABLE_CONTENT', + + /** + * Locale is invalid for the shop. + */ + INVALID_LOCALE_FOR_SHOP = 'INVALID_LOCALE_FOR_SHOP', + + /** + * Locale language code is invalid. + */ + INVALID_CODE = 'INVALID_CODE', + + /** + * Locale code format is invalid. + */ + INVALID_FORMAT = 'INVALID_FORMAT' + } + + /** + * Return type for `translationsRemove` mutation. + */ + export interface TranslationsRemovePayload { + + /** + * The translations that were deleted. + */ + translations?: Array; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Specifies the input fields for a webhook subscription. + * + */ + export interface WebhookSubscriptionInput { + + /** + * URL where the webhook subscription should send the POST request when the event occurs. + */ + callbackUrl?: URL; + + /** + * The format in which the webhook subscription should send the data. + */ + format?: WebhookSubscriptionFormat; + + /** + * The list of fields to be included in the webhook subscription. + */ + includeFields?: Array; + + /** + * The list of namespaces for any metafields that should be included in the webhook subscription. + */ + metafieldNamespaces?: Array; + } + + /** + * Return type for `webhookSubscriptionCreate` mutation. + */ + export interface WebhookSubscriptionCreatePayload { + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + + /** + * The webhook subscription that was created. + */ + webhookSubscription?: WebhookSubscription; + } + + /** + * Return type for `webhookSubscriptionDelete` mutation. + */ + export interface WebhookSubscriptionDeletePayload { + + /** + * The ID of the deleted webhook subscription. + */ + deletedWebhookSubscriptionId?: string; + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + } + + /** + * Return type for `webhookSubscriptionUpdate` mutation. + */ + export interface WebhookSubscriptionUpdatePayload { + + /** + * List of errors that occurred executing the mutation. + */ + userErrors: Array; + + /** + * The webhook subscription that was updated. + */ + webhookSubscription?: WebhookSubscription; + } + + /** + * Automatic discount applications capture the intentions of a discount that was automatically applied. + * + */ + export interface AutomaticDiscountApplication extends DiscountApplication { + + /** + * The method by which the discount's value is allocated to its entitled items. + */ + allocationMethod: DiscountApplicationAllocationMethod; + + /** + * An ordered index that can be used to identify the discount application and indicate the precedence + * of the discount application for calculations. + * + */ + index: number; + + /** + * How the discount amount is distributed on the discounted lines. + */ + targetSelection: DiscountApplicationTargetSelection; + + /** + * Whether the discount is applied on line items or shipping lines. + */ + targetType: DiscountApplicationTargetType; + + /** + * The title of the discount application. + */ + title: string; + + /** + * The value of the discount application. + */ + value: PricingValue; + } + + /** + * Basic events chronicle resource activities such as the creation of an article, the fulfillment of an order, or + * the addition of a product. + * + */ + export interface BasicEvent extends Node, Event { + + /** + * The name of the app that created the event. Returns null when the event originates from the Shopify admin. + */ + appTitle?: string; + + /** + * Whether the event was created by an app. + */ + attributeToApp: boolean; + + /** + * Whether the event was caused by an admin user. + */ + attributeToUser: boolean; + + /** + * The date and time when the event was created. + */ + createdAt: DateTime; + + /** + * Whether the event is critical. + */ + criticalAlert: boolean; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Human readable text that describes the event. + */ + message: FormattedString; + } + + /** + * Comment events are generated by staff members of a shop. + * They are created when a staff member adds a comment to the timeline of an order, draft order, customer, or transfer. + * + */ + export interface CommentEvent extends Node, Event { + + /** + * The name of the app that created the event. Returns null when the event originates from the Shopify admin. + */ + appTitle?: string; + + /** + * The attachments associated with the comment event. + */ + attachments: Array; + + /** + * Whether the event was created by an app. + */ + attributeToApp: boolean; + + /** + * Whether the event was caused by an admin user. + */ + attributeToUser: boolean; + + /** + * Whether the comment event can be deleted. If true, then the comment event can be deleted. + */ + canDelete: boolean; + + /** + * Whether the comment event can be edited. If true, then the comment event can be edited. + */ + canEdit: boolean; + + /** + * The date and time when the event was created. + */ + createdAt: DateTime; + + /** + * Whether the event is critical. + */ + criticalAlert: boolean; + + /** + * Whether the comment event has been edited. If true, then the comment event has been edited. + */ + edited: boolean; + + /** + * The references associated with the comment event. + */ + embed?: CommentEventEmbed; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * Human readable text that describes the event. + */ + message: FormattedString; + + /** + * The raw body of the comment event. + */ + rawMessage: string; + + /** + * The subject of the comment event. + */ + subject: CommentEventSubject; + } + + /** + * A file attachment associated to a comment event. + */ + export interface CommentEventAttachment { + + /** + * The file extension of the comment event attachment, indicating the file format. + */ + fileExtension?: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The image attached to the comment event. + */ + image?: Image; + + /** + * The filename of the comment event attachment. + */ + name: string; + + /** + * The size of the attachment. + */ + size: number; + + /** + * The URL of the attachment. + */ + url: URL; + } + + /** + * The main embed of a comment event. + */ + export type CommentEventEmbed = + Order | + DraftOrder | + Customer | + Product | + ProductVariant; + + /** Use this to resolve union type CommentEventEmbed */ + export type PossibleCommentEventEmbedTypeNames = + 'Order' | + 'DraftOrder' | + 'Customer' | + 'Product' | + 'ProductVariant'; + + export interface CommentEventEmbedNameMap { + CommentEventEmbed: CommentEventEmbed; + Order: Order; + DraftOrder: DraftOrder; + Customer: Customer; + Product: Product; + ProductVariant: ProductVariant; + } + + /** + * Discount code applications capture the intentions of a discount code at + * the time that it is applied onto an order. + * + */ + export interface DiscountCodeApplication extends DiscountApplication { + + /** + * The method by which the discount's value is allocated to its entitled items. + */ + allocationMethod: DiscountApplicationAllocationMethod; + + /** + * The string identifying the discount code that was used at the time of application. + */ + code: string; + + /** + * An ordered index that can be used to identify the discount application and indicate the precedence + * of the discount application for calculations. + * + */ + index: number; + + /** + * How the discount amount is distributed on the discounted lines. + */ + targetSelection: DiscountApplicationTargetSelection; + + /** + * Whether the discount is applied on line items or shipping lines. + */ + targetType: DiscountApplicationTargetType; + + /** + * The value of the discount application. + */ + value: PricingValue; + } + + /** + * Represents a video hosted outside of Shopify. + * + */ + export interface ExternalVideo extends Node, Media { + + /** + * A word or phrase to share the nature or contents of a media. + */ + alt?: string; + + /** + * The URL. + */ + embeddedUrl: URL; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The media content type. + */ + mediaContentType: MediaContentType; + + /** + * Any errors which have occurred on the media. + */ + mediaErrors: Array; + + /** + * The preview image for the media. + */ + preview?: MediaPreviewImage; + + /** + * Current status of the media. + */ + status: MediaStatus; + } + + /** + * Manual discount applications capture the intentions of a discount that was manually created for an order. + * + */ + export interface ManualDiscountApplication extends DiscountApplication { + + /** + * The method by which the discount's value is allocated to its entitled items. + */ + allocationMethod: DiscountApplicationAllocationMethod; + + /** + * The description of the discount application. + */ + description?: string; + + /** + * An ordered index that can be used to identify the discount application and indicate the precedence + * of the discount application for calculations. + * + */ + index: number; + + /** + * How the discount amount is distributed on the discounted lines. + */ + targetSelection: DiscountApplicationTargetSelection; + + /** + * Whether the discount is applied on line items or shipping lines. + */ + targetType: DiscountApplicationTargetType; + + /** + * The title of the discount application. + */ + title: string; + + /** + * The value of the discount application. + */ + value: PricingValue; + } + + /** + * Represents a Shopify hosted image. + * + */ + export interface MediaImage extends Node, Media { + + /** + * A word or phrase to share the nature or contents of a media. + */ + alt?: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The image for the media. + */ + image?: Image; + + /** + * The media content type. + */ + mediaContentType: MediaContentType; + + /** + * Any errors which have occurred on the media. + */ + mediaErrors: Array; + + /** + * The preview image for the media. + */ + preview?: MediaPreviewImage; + + /** + * Current status of the media. + */ + status: MediaStatus; + } + + /** + * Represents a Shopify hosted 3D model. + * + */ + export interface Model3d extends Node, Media { + + /** + * A word or phrase to share the nature or contents of a media. + */ + alt?: string; + + /** + * The filename of the 3d model. + */ + filename: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The media content type. + */ + mediaContentType: MediaContentType; + + /** + * Any errors which have occurred on the media. + */ + mediaErrors: Array; + + /** + * The original source for a 3d model. + */ + originalSource: Model3dSource; + + /** + * The preview image for the media. + */ + preview?: MediaPreviewImage; + + /** + * The sources for a 3d model. + */ + sources: Array; + + /** + * Current status of the media. + */ + status: MediaStatus; + } + + /** + * Represents a source for a Shopify hosted 3d model. + * + */ + export interface Model3dSource { + + /** + * The filesize of the 3d model. + */ + filesize: number; + + /** + * The format of the 3d model. + */ + format: string; + + /** + * The MIME type of the 3d model. + */ + mimeType: string; + + /** + * The URL of the 3d model. + */ + url: string; + } + + /** + * Represents an article in an OnlineStoreBlog object. Articles appear in reverse chronological order, with the + * most recent entry at the top of the blog's page. A blog can contain any number of articles. + * + */ + export interface OnlineStoreArticle extends Node, Navigable, HasPublishedTranslations { + + /** + * A default cursor for use in pagination. + */ + defaultCursor: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The translations associated with the resource. + */ + translations: Array; + } + + /** + * Shopify stores come with a built-in blogging engine, allowing a shop to have one or more blogs. Blogs are meant + * to be used as a type of magazine or newsletter for the shop, with content that changes over time. + * + */ + export interface OnlineStoreBlog extends Node, HasPublishedTranslations { + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The translations associated with the resource. + */ + translations: Array; + } + + /** + * A custom page on the Online Store. + */ + export interface OnlineStorePage extends Node, Navigable, HasPublishedTranslations { + + /** + * A default cursor for use in pagination. + */ + defaultCursor: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The translations associated with the resource. + */ + translations: Array; + } + + /** + * Script discount applications capture the intentions of a discount that + * was created by a Shopify Script for an order's line item or shipping line. + * + */ + export interface ScriptDiscountApplication extends DiscountApplication { + + /** + * The method by which the discount's value is allocated to its entitled items. + */ + allocationMethod: DiscountApplicationAllocationMethod; + + /** + * The description of the application as defined by the Script. + * @deprecated Use `title` instead + */ + description: string; + + /** + * An ordered index that can be used to identify the discount application and indicate the precedence + * of the discount application for calculations. + * + */ + index: number; + + /** + * How the discount amount is distributed on the discounted lines. + */ + targetSelection: DiscountApplicationTargetSelection; + + /** + * Whether the discount is applied on line items or shipping lines. + */ + targetType: DiscountApplicationTargetType; + + /** + * The title of the application as defined by the Script. + */ + title: string; + + /** + * The value of the discount application. + */ + value: PricingValue; + } + + /** + * The charge descriptors for a payments account. + */ + export interface ShopifyPaymentsDefaultChargeStatementDescriptor extends ShopifyPaymentsChargeStatementDescriptor { + + /** + * The default charge statement descriptor. + */ + default?: string; + + /** + * The prefix of the statement descriptor. + */ + prefix: string; + } + + /** + * The charge descriptors for a Japanese payments account. + */ + export interface ShopifyPaymentsJpChargeStatementDescriptor extends ShopifyPaymentsChargeStatementDescriptor { + + /** + * The default charge statement descriptor. + */ + default?: string; + + /** + * The charge statement descriptor in kana. + */ + kana?: string; + + /** + * The charge statement descriptor in kanji. + */ + kanji?: string; + + /** + * The prefix of the statement descriptor. + */ + prefix: string; + } + + /** + * Represents a Shopify hosted video. + * + */ + export interface Video extends Node, Media { + + /** + * A word or phrase to share the nature or contents of a media. + */ + alt?: string; + + /** + * The filename of the video. + */ + filename: string; + + /** + * Globally unique identifier. + */ + id: string; + + /** + * The media content type. + */ + mediaContentType: MediaContentType; + + /** + * Any errors which have occurred on the media. + */ + mediaErrors: Array; + + /** + * The original source for a video. + */ + originalSource?: VideoSource; + + /** + * The preview image for the media. + */ + preview?: MediaPreviewImage; + + /** + * The sources for a video. + */ + sources: Array; + + /** + * Current status of the media. + */ + status: MediaStatus; + } + + /** + * Represents a source for a Shopify hosted video. + * + */ + export interface VideoSource { + + /** + * The format of the video source. + */ + format: string; + + /** + * The height of the video. + */ + height: number; + + /** + * The video MIME type. + */ + mimeType: string; + + /** + * The URL of the video. + */ + url: string; + + /** + * The width of the video. + */ + width: number; + } + + /********************************* + * * + * TYPE RESOLVERS * + * * + *********************************/ + /** + * This interface define the shape of your resolver + * Note that this type is designed to be compatible with graphql-tools resolvers + * However, you can still use other generated interfaces to make your resolver type-safed + */ + export interface Resolver { + QueryRoot?: QueryRootTypeResolver; + App?: AppTypeResolver; + Node?: { + __resolveType: NodeTypeResolver + }; + + URL?: GraphQLScalarType; + Image?: ImageTypeResolver; + HasMetafields?: { + __resolveType: HasMetafieldsTypeResolver + }; + + Metafield?: MetafieldTypeResolver; + LegacyInteroperability?: { + __resolveType: LegacyInteroperabilityTypeResolver + }; + + UnsignedInt64?: GraphQLScalarType; + DateTime?: GraphQLScalarType; + MetafieldConnection?: MetafieldConnectionTypeResolver; + MetafieldEdge?: MetafieldEdgeTypeResolver; + PageInfo?: PageInfoTypeResolver; + PrivateMetafield?: PrivateMetafieldTypeResolver; + PrivateMetafieldConnection?: PrivateMetafieldConnectionTypeResolver; + PrivateMetafieldEdge?: PrivateMetafieldEdgeTypeResolver; + FailedRequirement?: FailedRequirementTypeResolver; + NavigationItem?: NavigationItemTypeResolver; + AppFeedback?: AppFeedbackTypeResolver; + Link?: LinkTypeResolver; + HasPublishedTranslations?: { + __resolveType: HasPublishedTranslationsTypeResolver + }; + + PublishedTranslation?: PublishedTranslationTypeResolver; + UserError?: UserErrorTypeResolver; + DisplayableError?: { + __resolveType: DisplayableErrorTypeResolver + }; + + AppInstallation?: AppInstallationTypeResolver; + AccessScope?: AccessScopeTypeResolver; + AppSubscription?: AppSubscriptionTypeResolver; + AppSubscriptionLineItem?: AppSubscriptionLineItemTypeResolver; + AppPlanV2?: AppPlanV2TypeResolver; + AppPricingDetails?: { + __resolveType: AppPricingDetailsTypeResolver + }; + + AppUsagePricing?: AppUsagePricingTypeResolver; + MoneyV2?: MoneyV2TypeResolver; + Decimal?: GraphQLScalarType; + AppRecurringPricing?: AppRecurringPricingTypeResolver; + AppUsageRecordConnection?: AppUsageRecordConnectionTypeResolver; + AppUsageRecordEdge?: AppUsageRecordEdgeTypeResolver; + AppUsageRecord?: AppUsageRecordTypeResolver; + AppSubscriptionConnection?: AppSubscriptionConnectionTypeResolver; + AppSubscriptionEdge?: AppSubscriptionEdgeTypeResolver; + Channel?: ChannelTypeResolver; + ResourcePublicationConnection?: ResourcePublicationConnectionTypeResolver; + ResourcePublicationEdge?: ResourcePublicationEdgeTypeResolver; + ResourcePublication?: ResourcePublicationTypeResolver; + Publication?: PublicationTypeResolver; + CollectionConnection?: CollectionConnectionTypeResolver; + CollectionEdge?: CollectionEdgeTypeResolver; + Collection?: CollectionTypeResolver; + Publishable?: { + __resolveType: PublishableTypeResolver + }; + + ChannelConnection?: ChannelConnectionTypeResolver; + ChannelEdge?: ChannelEdgeTypeResolver; + PublicationConnection?: PublicationConnectionTypeResolver; + PublicationEdge?: PublicationEdgeTypeResolver; + HTML?: GraphQLScalarType; + ResourceFeedback?: ResourceFeedbackTypeResolver; + ProductConnection?: ProductConnectionTypeResolver; + ProductEdge?: ProductEdgeTypeResolver; + Product?: ProductTypeResolver; + Navigable?: { + __resolveType: NavigableTypeResolver + }; + + OnlineStorePreviewable?: { + __resolveType: OnlineStorePreviewableTypeResolver + }; + + Media?: { + __resolveType: MediaTypeResolver + }; + + MediaError?: MediaErrorTypeResolver; + MediaPreviewImage?: MediaPreviewImageTypeResolver; + ImageConnection?: ImageConnectionTypeResolver; + ImageEdge?: ImageEdgeTypeResolver; + MediaConnection?: MediaConnectionTypeResolver; + MediaEdge?: MediaEdgeTypeResolver; + ProductOption?: ProductOptionTypeResolver; + ProductPriceRange?: ProductPriceRangeTypeResolver; + ProductPublicationConnection?: ProductPublicationConnectionTypeResolver; + ProductPublicationEdge?: ProductPublicationEdgeTypeResolver; + ProductPublication?: ProductPublicationTypeResolver; + SEO?: SEOTypeResolver; + StorefrontID?: GraphQLScalarType; + ProductVariantConnection?: ProductVariantConnectionTypeResolver; + ProductVariantEdge?: ProductVariantEdgeTypeResolver; + ProductVariant?: ProductVariantTypeResolver; + Money?: GraphQLScalarType; + DeliveryProfile?: DeliveryProfileTypeResolver; + DeliveryProductVariantsCount?: DeliveryProductVariantsCountTypeResolver; + DeliveryProfileItemConnection?: DeliveryProfileItemConnectionTypeResolver; + DeliveryProfileItemEdge?: DeliveryProfileItemEdgeTypeResolver; + DeliveryProfileItem?: DeliveryProfileItemTypeResolver; + DeliveryProfileLocationGroup?: DeliveryProfileLocationGroupTypeResolver; + DeliveryCountryAndZone?: DeliveryCountryAndZoneTypeResolver; + DeliveryCountry?: DeliveryCountryTypeResolver; + DeliveryCountryCodeOrRestOfWorld?: DeliveryCountryCodeOrRestOfWorldTypeResolver; + DeliveryProvince?: DeliveryProvinceTypeResolver; + DeliveryLocationGroup?: DeliveryLocationGroupTypeResolver; + LocationConnection?: LocationConnectionTypeResolver; + LocationEdge?: LocationEdgeTypeResolver; + Location?: LocationTypeResolver; + LocationAddress?: LocationAddressTypeResolver; + FulfillmentService?: FulfillmentServiceTypeResolver; + ShippingMethod?: ShippingMethodTypeResolver; + InventoryLevel?: InventoryLevelTypeResolver; + FormattedString?: GraphQLScalarType; + InventoryItem?: InventoryItemTypeResolver; + CountryHarmonizedSystemCodeConnection?: CountryHarmonizedSystemCodeConnectionTypeResolver; + CountryHarmonizedSystemCodeEdge?: CountryHarmonizedSystemCodeEdgeTypeResolver; + CountryHarmonizedSystemCode?: CountryHarmonizedSystemCodeTypeResolver; + InventoryLevelConnection?: InventoryLevelConnectionTypeResolver; + InventoryLevelEdge?: InventoryLevelEdgeTypeResolver; + EditableProperty?: EditablePropertyTypeResolver; + LocationSuggestedAddress?: LocationSuggestedAddressTypeResolver; + DeliveryLocationGroupZoneConnection?: DeliveryLocationGroupZoneConnectionTypeResolver; + DeliveryLocationGroupZoneEdge?: DeliveryLocationGroupZoneEdgeTypeResolver; + DeliveryLocationGroupZone?: DeliveryLocationGroupZoneTypeResolver; + DeliveryMethodDefinitionCounts?: DeliveryMethodDefinitionCountsTypeResolver; + DeliveryMethodDefinitionConnection?: DeliveryMethodDefinitionConnectionTypeResolver; + DeliveryMethodDefinitionEdge?: DeliveryMethodDefinitionEdgeTypeResolver; + DeliveryMethodDefinition?: DeliveryMethodDefinitionTypeResolver; + DeliveryCondition?: DeliveryConditionTypeResolver; + DeliveryConditionCriteria?: { + __resolveType: DeliveryConditionCriteriaTypeResolver + }; + + Weight?: WeightTypeResolver; + DeliveryRateProvider?: { + __resolveType: DeliveryRateProviderTypeResolver + }; + + DeliveryRateDefinition?: DeliveryRateDefinitionTypeResolver; + DeliveryParticipant?: DeliveryParticipantTypeResolver; + DeliveryCarrierService?: DeliveryCarrierServiceTypeResolver; + DeliveryAvailableService?: DeliveryAvailableServiceTypeResolver; + DeliveryCountryCodesOrRestOfWorld?: DeliveryCountryCodesOrRestOfWorldTypeResolver; + DeliveryParticipantService?: DeliveryParticipantServiceTypeResolver; + DeliveryZone?: DeliveryZoneTypeResolver; + ProductVariantPricePairConnection?: ProductVariantPricePairConnectionTypeResolver; + ProductVariantPricePairEdge?: ProductVariantPricePairEdgeTypeResolver; + ProductVariantPricePair?: ProductVariantPricePairTypeResolver; + SelectedOption?: SelectedOptionTypeResolver; + CollectionPublicationConnection?: CollectionPublicationConnectionTypeResolver; + CollectionPublicationEdge?: CollectionPublicationEdgeTypeResolver; + CollectionPublication?: CollectionPublicationTypeResolver; + CollectionRuleSet?: CollectionRuleSetTypeResolver; + CollectionRule?: CollectionRuleTypeResolver; + AppCreditConnection?: AppCreditConnectionTypeResolver; + AppCreditEdge?: AppCreditEdgeTypeResolver; + AppCredit?: AppCreditTypeResolver; + AppPurchaseOneTimeConnection?: AppPurchaseOneTimeConnectionTypeResolver; + AppPurchaseOneTimeEdge?: AppPurchaseOneTimeEdgeTypeResolver; + AppPurchaseOneTime?: AppPurchaseOneTimeTypeResolver; + AppPurchase?: { + __resolveType: AppPurchaseTypeResolver + }; + + AppInstallationConnection?: AppInstallationConnectionTypeResolver; + AppInstallationEdge?: AppInstallationEdgeTypeResolver; + DiscountAutomatic?: { + __resolveType: DiscountAutomaticTypeResolver + }; + + DiscountAutomaticBxgy?: DiscountAutomaticBxgyTypeResolver; + HasEvents?: { + __resolveType: HasEventsTypeResolver + }; + + EventConnection?: EventConnectionTypeResolver; + EventEdge?: EventEdgeTypeResolver; + Event?: { + __resolveType: EventTypeResolver + }; + + DiscountCustomerBuys?: DiscountCustomerBuysTypeResolver; + DiscountItems?: { + __resolveType: DiscountItemsTypeResolver + }; + + AllDiscountItems?: AllDiscountItemsTypeResolver; + DiscountProducts?: DiscountProductsTypeResolver; + DiscountCollections?: DiscountCollectionsTypeResolver; + DiscountCustomerBuysValue?: { + __resolveType: DiscountCustomerBuysValueTypeResolver + }; + + DiscountQuantity?: DiscountQuantityTypeResolver; + DiscountPurchaseAmount?: DiscountPurchaseAmountTypeResolver; + DiscountCustomerGets?: DiscountCustomerGetsTypeResolver; + DiscountCustomerGetsValue?: { + __resolveType: DiscountCustomerGetsValueTypeResolver + }; + + DiscountOnQuantity?: DiscountOnQuantityTypeResolver; + DiscountEffect?: { + __resolveType: DiscountEffectTypeResolver + }; + + DiscountPercentage?: DiscountPercentageTypeResolver; + DiscountAmount?: DiscountAmountTypeResolver; + DiscountAutomaticBasic?: DiscountAutomaticBasicTypeResolver; + DiscountMinimumRequirement?: { + __resolveType: DiscountMinimumRequirementTypeResolver + }; + + DiscountMinimumQuantity?: DiscountMinimumQuantityTypeResolver; + DiscountMinimumSubtotal?: DiscountMinimumSubtotalTypeResolver; + DiscountAutomaticNode?: DiscountAutomaticNodeTypeResolver; + DiscountAutomaticNodeConnection?: DiscountAutomaticNodeConnectionTypeResolver; + DiscountAutomaticNodeEdge?: DiscountAutomaticNodeEdgeTypeResolver; + SavedSearchConnection?: SavedSearchConnectionTypeResolver; + SavedSearchEdge?: SavedSearchEdgeTypeResolver; + SavedSearch?: SavedSearchTypeResolver; + SearchFilter?: SearchFilterTypeResolver; + DiscountAutomaticConnection?: DiscountAutomaticConnectionTypeResolver; + DiscountAutomaticEdge?: DiscountAutomaticEdgeTypeResolver; + DeliveryCarrierServiceAndLocations?: DeliveryCarrierServiceAndLocationsTypeResolver; + Locale?: LocaleTypeResolver; + DiscountCodeNode?: DiscountCodeNodeTypeResolver; + DiscountCode?: { + __resolveType: DiscountCodeTypeResolver + }; + + DiscountCodeBasic?: DiscountCodeBasicTypeResolver; + DiscountRedeemCodeConnection?: DiscountRedeemCodeConnectionTypeResolver; + DiscountRedeemCodeEdge?: DiscountRedeemCodeEdgeTypeResolver; + DiscountRedeemCode?: DiscountRedeemCodeTypeResolver; + DiscountCustomerSelection?: { + __resolveType: DiscountCustomerSelectionTypeResolver + }; + + DiscountCustomerAll?: DiscountCustomerAllTypeResolver; + DiscountCustomers?: DiscountCustomersTypeResolver; + Customer?: CustomerTypeResolver; + CommentEventSubject?: { + __resolveType: CommentEventSubjectTypeResolver + }; + + MailingAddress?: MailingAddressTypeResolver; + Order?: OrderTypeResolver; + ResourceAlert?: ResourceAlertTypeResolver; + ResourceAlertAction?: ResourceAlertActionTypeResolver; + MoneyBag?: MoneyBagTypeResolver; + Attribute?: AttributeTypeResolver; + CustomerJourney?: CustomerJourneyTypeResolver; + CustomerVisit?: CustomerVisitTypeResolver; + CustomerMoment?: { + __resolveType: CustomerMomentTypeResolver + }; + + MarketingEvent?: MarketingEventTypeResolver; + UTMParameters?: UTMParametersTypeResolver; + DiscountApplicationConnection?: DiscountApplicationConnectionTypeResolver; + DiscountApplicationEdge?: DiscountApplicationEdgeTypeResolver; + DiscountApplication?: { + __resolveType: DiscountApplicationTypeResolver + }; + + PricingValue?: { + __resolveType: PricingValueTypeResolver + }; + + PricingPercentageValue?: PricingPercentageValueTypeResolver; + OrderDisputeSummary?: OrderDisputeSummaryTypeResolver; + DraftFulfillment?: DraftFulfillmentTypeResolver; + LineItem?: LineItemTypeResolver; + DiscountAllocation?: DiscountAllocationTypeResolver; + Duty?: DutyTypeResolver; + TaxLine?: TaxLineTypeResolver; + FulfillmentOrderConnection?: FulfillmentOrderConnectionTypeResolver; + FulfillmentOrderEdge?: FulfillmentOrderEdgeTypeResolver; + FulfillmentOrder?: FulfillmentOrderTypeResolver; + FulfillmentOrderAssignedLocation?: FulfillmentOrderAssignedLocationTypeResolver; + FulfillmentOrderDestination?: FulfillmentOrderDestinationTypeResolver; + FulfillmentConnection?: FulfillmentConnectionTypeResolver; + FulfillmentEdge?: FulfillmentEdgeTypeResolver; + Fulfillment?: FulfillmentTypeResolver; + FulfillmentEventConnection?: FulfillmentEventConnectionTypeResolver; + FulfillmentEventEdge?: FulfillmentEventEdgeTypeResolver; + FulfillmentEvent?: FulfillmentEventTypeResolver; + FulfillmentLineItemConnection?: FulfillmentLineItemConnectionTypeResolver; + FulfillmentLineItemEdge?: FulfillmentLineItemEdgeTypeResolver; + FulfillmentLineItem?: FulfillmentLineItemTypeResolver; + FulfillmentTrackingInfo?: FulfillmentTrackingInfoTypeResolver; + FulfillmentOrderLineItemConnection?: FulfillmentOrderLineItemConnectionTypeResolver; + FulfillmentOrderLineItemEdge?: FulfillmentOrderLineItemEdgeTypeResolver; + FulfillmentOrderLineItem?: FulfillmentOrderLineItemTypeResolver; + FulfillmentOrderLocationForMoveConnection?: FulfillmentOrderLocationForMoveConnectionTypeResolver; + FulfillmentOrderLocationForMoveEdge?: FulfillmentOrderLocationForMoveEdgeTypeResolver; + FulfillmentOrderLocationForMove?: FulfillmentOrderLocationForMoveTypeResolver; + FulfillmentOrderMerchantRequestConnection?: FulfillmentOrderMerchantRequestConnectionTypeResolver; + FulfillmentOrderMerchantRequestEdge?: FulfillmentOrderMerchantRequestEdgeTypeResolver; + FulfillmentOrderMerchantRequest?: FulfillmentOrderMerchantRequestTypeResolver; + JSON?: GraphQLScalarType; + FulfillmentOrderSupportedAction?: FulfillmentOrderSupportedActionTypeResolver; + LineItemConnection?: LineItemConnectionTypeResolver; + LineItemEdge?: LineItemEdgeTypeResolver; + LineItemMutableConnection?: LineItemMutableConnectionTypeResolver; + LineItemMutableEdge?: LineItemMutableEdgeTypeResolver; + LineItemMutable?: LineItemMutableTypeResolver; + OrderPaymentCollectionDetails?: OrderPaymentCollectionDetailsTypeResolver; + Refund?: RefundTypeResolver; + RefundDuty?: RefundDutyTypeResolver; + RefundLineItemConnection?: RefundLineItemConnectionTypeResolver; + RefundLineItemEdge?: RefundLineItemEdgeTypeResolver; + RefundLineItem?: RefundLineItemTypeResolver; + OrderTransactionConnection?: OrderTransactionConnectionTypeResolver; + OrderTransactionEdge?: OrderTransactionEdgeTypeResolver; + OrderTransaction?: OrderTransactionTypeResolver; + OrderRisk?: OrderRiskTypeResolver; + ShippingLine?: ShippingLineTypeResolver; + SuggestedRefund?: SuggestedRefundTypeResolver; + ShippingRefund?: ShippingRefundTypeResolver; + SuggestedOrderTransaction?: SuggestedOrderTransactionTypeResolver; + OrderConnection?: OrderConnectionTypeResolver; + OrderEdge?: OrderEdgeTypeResolver; + DiscountCustomerSavedSearches?: DiscountCustomerSavedSearchesTypeResolver; + DiscountCodeBxgy?: DiscountCodeBxgyTypeResolver; + DiscountCodeFreeShipping?: DiscountCodeFreeShippingTypeResolver; + DiscountShippingDestinationSelection?: { + __resolveType: DiscountShippingDestinationSelectionTypeResolver + }; + + DiscountCountryAll?: DiscountCountryAllTypeResolver; + DiscountCountries?: DiscountCountriesTypeResolver; + DiscountCodeNodeConnection?: DiscountCodeNodeConnectionTypeResolver; + DiscountCodeNodeEdge?: DiscountCodeNodeEdgeTypeResolver; + CollectionRuleConditions?: CollectionRuleConditionsTypeResolver; + BulkOperation?: BulkOperationTypeResolver; + CustomerConnection?: CustomerConnectionTypeResolver; + CustomerEdge?: CustomerEdgeTypeResolver; + DeletionEventConnection?: DeletionEventConnectionTypeResolver; + DeletionEventEdge?: DeletionEventEdgeTypeResolver; + DeletionEvent?: DeletionEventTypeResolver; + DeliveryProfileConnection?: DeliveryProfileConnectionTypeResolver; + DeliveryProfileEdge?: DeliveryProfileEdgeTypeResolver; + DeliverySetting?: DeliverySettingTypeResolver; + DeliveryLegacyModeBlocked?: DeliveryLegacyModeBlockedTypeResolver; + Domain?: DomainTypeResolver; + DraftOrder?: DraftOrderTypeResolver; + DraftOrderAppliedDiscount?: DraftOrderAppliedDiscountTypeResolver; + DraftOrderLineItemConnection?: DraftOrderLineItemConnectionTypeResolver; + DraftOrderLineItemEdge?: DraftOrderLineItemEdgeTypeResolver; + DraftOrderLineItem?: DraftOrderLineItemTypeResolver; + DraftOrderConnection?: DraftOrderConnectionTypeResolver; + DraftOrderEdge?: DraftOrderEdgeTypeResolver; + InventoryItemConnection?: InventoryItemConnectionTypeResolver; + InventoryItemEdge?: InventoryItemEdgeTypeResolver; + Job?: JobTypeResolver; + MarketingActivityConnection?: MarketingActivityConnectionTypeResolver; + MarketingActivityEdge?: MarketingActivityEdgeTypeResolver; + MarketingActivity?: MarketingActivityTypeResolver; + MarketingActivityExtensionAppErrors?: MarketingActivityExtensionAppErrorsTypeResolver; + MarketingBudget?: MarketingBudgetTypeResolver; + MarketingEventConnection?: MarketingEventConnectionTypeResolver; + MarketingEventEdge?: MarketingEventEdgeTypeResolver; + MetafieldStorefrontVisibilityConnection?: MetafieldStorefrontVisibilityConnectionTypeResolver; + MetafieldStorefrontVisibilityEdge?: MetafieldStorefrontVisibilityEdgeTypeResolver; + MetafieldStorefrontVisibility?: MetafieldStorefrontVisibilityTypeResolver; + PriceRule?: PriceRuleTypeResolver; + PriceRuleCustomerSelection?: PriceRuleCustomerSelectionTypeResolver; + PriceRuleDiscountCodeConnection?: PriceRuleDiscountCodeConnectionTypeResolver; + PriceRuleDiscountCodeEdge?: PriceRuleDiscountCodeEdgeTypeResolver; + PriceRuleDiscountCode?: PriceRuleDiscountCodeTypeResolver; + PriceRuleEntitlementToPrerequisiteQuantityRatio?: PriceRuleEntitlementToPrerequisiteQuantityRatioTypeResolver; + PriceRuleItemEntitlements?: PriceRuleItemEntitlementsTypeResolver; + PriceRuleLineItemPrerequisites?: PriceRuleLineItemPrerequisitesTypeResolver; + PriceRuleQuantityRange?: PriceRuleQuantityRangeTypeResolver; + PriceRuleMoneyRange?: PriceRuleMoneyRangeTypeResolver; + PriceRulePrerequisiteToEntitlementQuantityRatio?: PriceRulePrerequisiteToEntitlementQuantityRatioTypeResolver; + PriceRuleShareableUrl?: PriceRuleShareableUrlTypeResolver; + PriceRuleShippingLineEntitlements?: PriceRuleShippingLineEntitlementsTypeResolver; + PriceRuleValidityPeriod?: PriceRuleValidityPeriodTypeResolver; + PriceRuleValue?: { + __resolveType: PriceRuleValueTypeResolver + }; + + PriceRulePercentValue?: PriceRulePercentValueTypeResolver; + PriceRuleFixedAmountValue?: PriceRuleFixedAmountValueTypeResolver; + PriceRuleConnection?: PriceRuleConnectionTypeResolver; + PriceRuleEdge?: PriceRuleEdgeTypeResolver; + ApiVersion?: ApiVersionTypeResolver; + ScriptTag?: ScriptTagTypeResolver; + ScriptTagConnection?: ScriptTagConnectionTypeResolver; + ScriptTagEdge?: ScriptTagEdgeTypeResolver; + Shop?: ShopTypeResolver; + ShopAlert?: ShopAlertTypeResolver; + ShopAlertAction?: ShopAlertActionTypeResolver; + AppConnection?: AppConnectionTypeResolver; + AppEdge?: AppEdgeTypeResolver; + CountriesInShippingZones?: CountriesInShippingZonesTypeResolver; + CurrencyFormats?: CurrencyFormatsTypeResolver; + CurrencySettingConnection?: CurrencySettingConnectionTypeResolver; + CurrencySettingEdge?: CurrencySettingEdgeTypeResolver; + CurrencySetting?: CurrencySettingTypeResolver; + StringConnection?: StringConnectionTypeResolver; + StringEdge?: StringEdgeTypeResolver; + ShopFeatures?: ShopFeaturesTypeResolver; + LimitedPendingOrderCount?: LimitedPendingOrderCountTypeResolver; + PaymentSettings?: PaymentSettingsTypeResolver; + ShopPlan?: ShopPlanTypeResolver; + ShopResourceLimits?: ShopResourceLimitsTypeResolver; + ResourceLimit?: ResourceLimitTypeResolver; + SearchResultConnection?: SearchResultConnectionTypeResolver; + SearchResultEdge?: SearchResultEdgeTypeResolver; + SearchResult?: SearchResultTypeResolver; + SearchFilterOptions?: SearchFilterOptionsTypeResolver; + FilterOption?: FilterOptionTypeResolver; + ShopifyPaymentsAccount?: ShopifyPaymentsAccountTypeResolver; + ShopifyPaymentsBankAccountConnection?: ShopifyPaymentsBankAccountConnectionTypeResolver; + ShopifyPaymentsBankAccountEdge?: ShopifyPaymentsBankAccountEdgeTypeResolver; + ShopifyPaymentsBankAccount?: ShopifyPaymentsBankAccountTypeResolver; + ShopifyPaymentsPayoutConnection?: ShopifyPaymentsPayoutConnectionTypeResolver; + ShopifyPaymentsPayoutEdge?: ShopifyPaymentsPayoutEdgeTypeResolver; + ShopifyPaymentsPayout?: ShopifyPaymentsPayoutTypeResolver; + ShopifyPaymentsPayoutSummary?: ShopifyPaymentsPayoutSummaryTypeResolver; + ShopifyPaymentsChargeStatementDescriptor?: { + __resolveType: ShopifyPaymentsChargeStatementDescriptorTypeResolver + }; + + ShopifyPaymentsDisputeConnection?: ShopifyPaymentsDisputeConnectionTypeResolver; + ShopifyPaymentsDisputeEdge?: ShopifyPaymentsDisputeEdgeTypeResolver; + ShopifyPaymentsDispute?: ShopifyPaymentsDisputeTypeResolver; + Date?: GraphQLScalarType; + ShopifyPaymentsDisputeReasonDetails?: ShopifyPaymentsDisputeReasonDetailsTypeResolver; + ShopifyPaymentsFraudSettings?: ShopifyPaymentsFraudSettingsTypeResolver; + ShopifyPaymentsNotificationSettings?: ShopifyPaymentsNotificationSettingsTypeResolver; + ShopifyPaymentsPayoutSchedule?: ShopifyPaymentsPayoutScheduleTypeResolver; + ShopifyPaymentsVerificationDocument?: ShopifyPaymentsVerificationDocumentTypeResolver; + ShopifyPaymentsVerification?: ShopifyPaymentsVerificationTypeResolver; + ShopifyPaymentsVerificationSubject?: ShopifyPaymentsVerificationSubjectTypeResolver; + StorefrontAccessTokenConnection?: StorefrontAccessTokenConnectionTypeResolver; + StorefrontAccessTokenEdge?: StorefrontAccessTokenEdgeTypeResolver; + StorefrontAccessToken?: StorefrontAccessTokenTypeResolver; + ShopLocale?: ShopLocaleTypeResolver; + TenderTransactionConnection?: TenderTransactionConnectionTypeResolver; + TenderTransactionEdge?: TenderTransactionEdgeTypeResolver; + TenderTransaction?: TenderTransactionTypeResolver; + TenderTransactionDetails?: { + __resolveType: TenderTransactionDetailsTypeResolver + }; + + TenderTransactionCreditCardDetails?: TenderTransactionCreditCardDetailsTypeResolver; + TranslatableResource?: TranslatableResourceTypeResolver; + TranslatableContent?: TranslatableContentTypeResolver; + Translation?: TranslationTypeResolver; + TranslatableResourceConnection?: TranslatableResourceConnectionTypeResolver; + TranslatableResourceEdge?: TranslatableResourceEdgeTypeResolver; + WebhookSubscription?: WebhookSubscriptionTypeResolver; + WebhookSubscriptionConnection?: WebhookSubscriptionConnectionTypeResolver; + WebhookSubscriptionEdge?: WebhookSubscriptionEdgeTypeResolver; + Mutation?: MutationTypeResolver; + AppCreditCreatePayload?: AppCreditCreatePayloadTypeResolver; + AppPurchaseOneTimeCreatePayload?: AppPurchaseOneTimeCreatePayloadTypeResolver; + AppSubscriptionCancelPayload?: AppSubscriptionCancelPayloadTypeResolver; + AppSubscriptionCreatePayload?: AppSubscriptionCreatePayloadTypeResolver; + AppSubscriptionLineItemUpdatePayload?: AppSubscriptionLineItemUpdatePayloadTypeResolver; + AppUsageRecordCreatePayload?: AppUsageRecordCreatePayloadTypeResolver; + BulkOperationCancelPayload?: BulkOperationCancelPayloadTypeResolver; + BulkOperationRunQueryPayload?: BulkOperationRunQueryPayloadTypeResolver; + CollectionAddProductsPayload?: CollectionAddProductsPayloadTypeResolver; + CollectionCreatePayload?: CollectionCreatePayloadTypeResolver; + CollectionDeletePayload?: CollectionDeletePayloadTypeResolver; + CollectionPublishPayload?: CollectionPublishPayloadTypeResolver; + CollectionRemoveProductsPayload?: CollectionRemoveProductsPayloadTypeResolver; + CollectionReorderProductsPayload?: CollectionReorderProductsPayloadTypeResolver; + CollectionUnpublishPayload?: CollectionUnpublishPayloadTypeResolver; + CollectionUpdatePayload?: CollectionUpdatePayloadTypeResolver; + CustomerAddTaxExemptionsPayload?: CustomerAddTaxExemptionsPayloadTypeResolver; + CustomerCreatePayload?: CustomerCreatePayloadTypeResolver; + CustomerDeletePayload?: CustomerDeletePayloadTypeResolver; + CustomerGenerateAccountActivationUrlPayload?: CustomerGenerateAccountActivationUrlPayloadTypeResolver; + CustomerRemoveTaxExemptionsPayload?: CustomerRemoveTaxExemptionsPayloadTypeResolver; + CustomerReplaceTaxExemptionsPayload?: CustomerReplaceTaxExemptionsPayloadTypeResolver; + CustomerUpdatePayload?: CustomerUpdatePayloadTypeResolver; + CustomerUpdateDefaultAddressPayload?: CustomerUpdateDefaultAddressPayloadTypeResolver; + deliveryProfileCreatePayload?: deliveryProfileCreatePayloadTypeResolver; + deliveryProfileRemovePayload?: deliveryProfileRemovePayloadTypeResolver; + deliveryProfileUpdatePayload?: deliveryProfileUpdatePayloadTypeResolver; + DeliverySettingUpdatePayload?: DeliverySettingUpdatePayloadTypeResolver; + DeliveryShippingOriginAssignPayload?: DeliveryShippingOriginAssignPayloadTypeResolver; + DiscountAutomaticActivatePayload?: DiscountAutomaticActivatePayloadTypeResolver; + DiscountUserError?: DiscountUserErrorTypeResolver; + DiscountAutomaticBasicCreatePayload?: DiscountAutomaticBasicCreatePayloadTypeResolver; + DiscountAutomaticBasicUpdatePayload?: DiscountAutomaticBasicUpdatePayloadTypeResolver; + DiscountAutomaticBulkDeletePayload?: DiscountAutomaticBulkDeletePayloadTypeResolver; + DiscountAutomaticBxgyCreatePayload?: DiscountAutomaticBxgyCreatePayloadTypeResolver; + DiscountAutomaticBxgyUpdatePayload?: DiscountAutomaticBxgyUpdatePayloadTypeResolver; + DiscountAutomaticDeactivatePayload?: DiscountAutomaticDeactivatePayloadTypeResolver; + DiscountAutomaticDeletePayload?: DiscountAutomaticDeletePayloadTypeResolver; + DiscountCodeActivatePayload?: DiscountCodeActivatePayloadTypeResolver; + DiscountCodeBasicCreatePayload?: DiscountCodeBasicCreatePayloadTypeResolver; + DiscountCodeBasicUpdatePayload?: DiscountCodeBasicUpdatePayloadTypeResolver; + DiscountCodeBxgyCreatePayload?: DiscountCodeBxgyCreatePayloadTypeResolver; + DiscountCodeBxgyUpdatePayload?: DiscountCodeBxgyUpdatePayloadTypeResolver; + DiscountCodeDeactivatePayload?: DiscountCodeDeactivatePayloadTypeResolver; + DiscountCodeDeletePayload?: DiscountCodeDeletePayloadTypeResolver; + DiscountCodeFreeShippingCreatePayload?: DiscountCodeFreeShippingCreatePayloadTypeResolver; + DiscountCodeFreeShippingUpdatePayload?: DiscountCodeFreeShippingUpdatePayloadTypeResolver; + DraftOrderCalculatePayload?: DraftOrderCalculatePayloadTypeResolver; + CalculatedDraftOrder?: CalculatedDraftOrderTypeResolver; + ShippingRate?: ShippingRateTypeResolver; + CalculatedDraftOrderLineItem?: CalculatedDraftOrderLineItemTypeResolver; + DraftOrderCompletePayload?: DraftOrderCompletePayloadTypeResolver; + DraftOrderCreatePayload?: DraftOrderCreatePayloadTypeResolver; + DraftOrderDeletePayload?: DraftOrderDeletePayloadTypeResolver; + DraftOrderInvoicePreviewPayload?: DraftOrderInvoicePreviewPayloadTypeResolver; + DraftOrderInvoiceSendPayload?: DraftOrderInvoiceSendPayloadTypeResolver; + DraftOrderUpdatePayload?: DraftOrderUpdatePayloadTypeResolver; + FlowTriggerReceivePayload?: FlowTriggerReceivePayloadTypeResolver; + FulfillmentCancelPayload?: FulfillmentCancelPayloadTypeResolver; + FulfillmentCreatePayload?: FulfillmentCreatePayloadTypeResolver; + FulfillmentCreateV2Payload?: FulfillmentCreateV2PayloadTypeResolver; + FulfillmentOrderAcceptCancellationRequestPayload?: FulfillmentOrderAcceptCancellationRequestPayloadTypeResolver; + FulfillmentOrderAcceptFulfillmentRequestPayload?: FulfillmentOrderAcceptFulfillmentRequestPayloadTypeResolver; + FulfillmentOrderCancelPayload?: FulfillmentOrderCancelPayloadTypeResolver; + FulfillmentOrderClosePayload?: FulfillmentOrderClosePayloadTypeResolver; + FulfillmentOrderMovePayload?: FulfillmentOrderMovePayloadTypeResolver; + FulfillmentOrderRejectCancellationRequestPayload?: FulfillmentOrderRejectCancellationRequestPayloadTypeResolver; + FulfillmentOrderRejectFulfillmentRequestPayload?: FulfillmentOrderRejectFulfillmentRequestPayloadTypeResolver; + FulfillmentOrderSubmitCancellationRequestPayload?: FulfillmentOrderSubmitCancellationRequestPayloadTypeResolver; + FulfillmentOrderSubmitFulfillmentRequestPayload?: FulfillmentOrderSubmitFulfillmentRequestPayloadTypeResolver; + FulfillmentServiceCreatePayload?: FulfillmentServiceCreatePayloadTypeResolver; + FulfillmentServiceDeletePayload?: FulfillmentServiceDeletePayloadTypeResolver; + FulfillmentServiceUpdatePayload?: FulfillmentServiceUpdatePayloadTypeResolver; + FulfillmentTrackingInfoUpdatePayload?: FulfillmentTrackingInfoUpdatePayloadTypeResolver; + FulfillmentTrackingInfoUpdateV2Payload?: FulfillmentTrackingInfoUpdateV2PayloadTypeResolver; + InventoryActivatePayload?: InventoryActivatePayloadTypeResolver; + InventoryAdjustQuantityPayload?: InventoryAdjustQuantityPayloadTypeResolver; + InventoryBulkAdjustQuantityAtLocationPayload?: InventoryBulkAdjustQuantityAtLocationPayloadTypeResolver; + InventoryDeactivatePayload?: InventoryDeactivatePayloadTypeResolver; + InventoryItemUpdatePayload?: InventoryItemUpdatePayloadTypeResolver; + KitSkillTriggerRequestPayload?: KitSkillTriggerRequestPayloadTypeResolver; + MarketingActivityUpdatePayload?: MarketingActivityUpdatePayloadTypeResolver; + UtcOffset?: GraphQLScalarType; + MarketingEngagementCreatePayload?: MarketingEngagementCreatePayloadTypeResolver; + MarketingEngagement?: MarketingEngagementTypeResolver; + MetafieldDeletePayload?: MetafieldDeletePayloadTypeResolver; + MetafieldStorefrontVisibilityCreatePayload?: MetafieldStorefrontVisibilityCreatePayloadTypeResolver; + MetafieldStorefrontVisibilityDeletePayload?: MetafieldStorefrontVisibilityDeletePayloadTypeResolver; + OrderCapturePayload?: OrderCapturePayloadTypeResolver; + OrderClosePayload?: OrderClosePayloadTypeResolver; + OrderEditAddCustomItemPayload?: OrderEditAddCustomItemPayloadTypeResolver; + CalculatedLineItem?: CalculatedLineItemTypeResolver; + OrderStagedChange?: { + __resolveType: OrderStagedChangeTypeResolver + }; + + OrderStagedChangeAddCustomItem?: OrderStagedChangeAddCustomItemTypeResolver; + OrderStagedChangeAddVariant?: OrderStagedChangeAddVariantTypeResolver; + OrderStagedChangeIncrementItem?: OrderStagedChangeIncrementItemTypeResolver; + OrderStagedChangeDecrementItem?: OrderStagedChangeDecrementItemTypeResolver; + CalculatedOrder?: CalculatedOrderTypeResolver; + CalculatedLineItemConnection?: CalculatedLineItemConnectionTypeResolver; + CalculatedLineItemEdge?: CalculatedLineItemEdgeTypeResolver; + OrderStagedChangeConnection?: OrderStagedChangeConnectionTypeResolver; + OrderStagedChangeEdge?: OrderStagedChangeEdgeTypeResolver; + OrderEditAddVariantPayload?: OrderEditAddVariantPayloadTypeResolver; + OrderEditBeginPayload?: OrderEditBeginPayloadTypeResolver; + OrderEditCommitPayload?: OrderEditCommitPayloadTypeResolver; + OrderEditSetQuantityPayload?: OrderEditSetQuantityPayloadTypeResolver; + OrderMarkAsPaidPayload?: OrderMarkAsPaidPayloadTypeResolver; + OrderOpenPayload?: OrderOpenPayloadTypeResolver; + OrderUpdatePayload?: OrderUpdatePayloadTypeResolver; + PriceRuleActivatePayload?: PriceRuleActivatePayloadTypeResolver; + PriceRuleUserError?: PriceRuleUserErrorTypeResolver; + PriceRuleCreatePayload?: PriceRuleCreatePayloadTypeResolver; + PriceRuleDeactivatePayload?: PriceRuleDeactivatePayloadTypeResolver; + PriceRuleDeletePayload?: PriceRuleDeletePayloadTypeResolver; + PriceRuleDiscountCodeCreatePayload?: PriceRuleDiscountCodeCreatePayloadTypeResolver; + PriceRuleDiscountCodeUpdatePayload?: PriceRuleDiscountCodeUpdatePayloadTypeResolver; + PriceRuleUpdatePayload?: PriceRuleUpdatePayloadTypeResolver; + PrivateMetafieldDeletePayload?: PrivateMetafieldDeletePayloadTypeResolver; + PrivateMetafieldUpsertPayload?: PrivateMetafieldUpsertPayloadTypeResolver; + ProductAppendImagesPayload?: ProductAppendImagesPayloadTypeResolver; + ProductCreatePayload?: ProductCreatePayloadTypeResolver; + ProductCreateMediaPayload?: ProductCreateMediaPayloadTypeResolver; + MediaUserError?: MediaUserErrorTypeResolver; + ProductDeletePayload?: ProductDeletePayloadTypeResolver; + ProductDeleteImagesPayload?: ProductDeleteImagesPayloadTypeResolver; + ProductDeleteMediaPayload?: ProductDeleteMediaPayloadTypeResolver; + ProductDuplicatePayload?: ProductDuplicatePayloadTypeResolver; + ProductImageUpdatePayload?: ProductImageUpdatePayloadTypeResolver; + ProductPublishPayload?: ProductPublishPayloadTypeResolver; + ProductReorderImagesPayload?: ProductReorderImagesPayloadTypeResolver; + ProductReorderMediaPayload?: ProductReorderMediaPayloadTypeResolver; + ProductUnpublishPayload?: ProductUnpublishPayloadTypeResolver; + ProductUpdatePayload?: ProductUpdatePayloadTypeResolver; + ProductUpdateMediaPayload?: ProductUpdateMediaPayloadTypeResolver; + ProductVariantCreatePayload?: ProductVariantCreatePayloadTypeResolver; + ProductVariantDeletePayload?: ProductVariantDeletePayloadTypeResolver; + ProductVariantUpdatePayload?: ProductVariantUpdatePayloadTypeResolver; + PublishablePublishPayload?: PublishablePublishPayloadTypeResolver; + PublishablePublishToCurrentChannelPayload?: PublishablePublishToCurrentChannelPayloadTypeResolver; + PublishableUnpublishPayload?: PublishableUnpublishPayloadTypeResolver; + PublishableUnpublishToCurrentChannelPayload?: PublishableUnpublishToCurrentChannelPayloadTypeResolver; + RefundCreatePayload?: RefundCreatePayloadTypeResolver; + SavedSearchCreatePayload?: SavedSearchCreatePayloadTypeResolver; + SavedSearchDeletePayload?: SavedSearchDeletePayloadTypeResolver; + SavedSearchUpdatePayload?: SavedSearchUpdatePayloadTypeResolver; + ScriptTagCreatePayload?: ScriptTagCreatePayloadTypeResolver; + ScriptTagDeletePayload?: ScriptTagDeletePayloadTypeResolver; + ScriptTagUpdatePayload?: ScriptTagUpdatePayloadTypeResolver; + ShippingPackageDeletePayload?: ShippingPackageDeletePayloadTypeResolver; + ShippingPackageMakeDefaultPayload?: ShippingPackageMakeDefaultPayloadTypeResolver; + ShippingPackageUpdatePayload?: ShippingPackageUpdatePayloadTypeResolver; + ShopLocaleDisablePayload?: ShopLocaleDisablePayloadTypeResolver; + ShopLocaleEnablePayload?: ShopLocaleEnablePayloadTypeResolver; + ShopLocaleUpdatePayload?: ShopLocaleUpdatePayloadTypeResolver; + StagedUploadTargetGeneratePayload?: StagedUploadTargetGeneratePayloadTypeResolver; + MutationsStagedUploadTargetGenerateUploadParameter?: MutationsStagedUploadTargetGenerateUploadParameterTypeResolver; + StagedUploadTargetsGeneratePayload?: StagedUploadTargetsGeneratePayloadTypeResolver; + StagedUploadTarget?: StagedUploadTargetTypeResolver; + ImageUploadParameter?: ImageUploadParameterTypeResolver; + StagedUploadsCreatePayload?: StagedUploadsCreatePayloadTypeResolver; + StagedMediaUploadTarget?: StagedMediaUploadTargetTypeResolver; + StagedUploadParameter?: StagedUploadParameterTypeResolver; + StorefrontAccessTokenCreatePayload?: StorefrontAccessTokenCreatePayloadTypeResolver; + StorefrontAccessTokenDeletePayload?: StorefrontAccessTokenDeletePayloadTypeResolver; + TagsAddPayload?: TagsAddPayloadTypeResolver; + TagsRemovePayload?: TagsRemovePayloadTypeResolver; + TranslationsRegisterPayload?: TranslationsRegisterPayloadTypeResolver; + TranslationUserError?: TranslationUserErrorTypeResolver; + TranslationsRemovePayload?: TranslationsRemovePayloadTypeResolver; + WebhookSubscriptionCreatePayload?: WebhookSubscriptionCreatePayloadTypeResolver; + WebhookSubscriptionDeletePayload?: WebhookSubscriptionDeletePayloadTypeResolver; + WebhookSubscriptionUpdatePayload?: WebhookSubscriptionUpdatePayloadTypeResolver; + AutomaticDiscountApplication?: AutomaticDiscountApplicationTypeResolver; + BasicEvent?: BasicEventTypeResolver; + CommentEvent?: CommentEventTypeResolver; + CommentEventAttachment?: CommentEventAttachmentTypeResolver; + CommentEventEmbed?: { + __resolveType: CommentEventEmbedTypeResolver + }; + + DiscountCodeApplication?: DiscountCodeApplicationTypeResolver; + ExternalVideo?: ExternalVideoTypeResolver; + ManualDiscountApplication?: ManualDiscountApplicationTypeResolver; + MediaImage?: MediaImageTypeResolver; + Model3d?: Model3dTypeResolver; + Model3dSource?: Model3dSourceTypeResolver; + OnlineStoreArticle?: OnlineStoreArticleTypeResolver; + OnlineStoreBlog?: OnlineStoreBlogTypeResolver; + OnlineStorePage?: OnlineStorePageTypeResolver; + ScriptDiscountApplication?: ScriptDiscountApplicationTypeResolver; + ShopifyPaymentsDefaultChargeStatementDescriptor?: ShopifyPaymentsDefaultChargeStatementDescriptorTypeResolver; + ShopifyPaymentsJpChargeStatementDescriptor?: ShopifyPaymentsJpChargeStatementDescriptorTypeResolver; + Video?: VideoTypeResolver; + VideoSource?: VideoSourceTypeResolver; + } + export interface QueryRootTypeResolver { + app?: QueryRootToAppResolver; + appByHandle?: QueryRootToAppByHandleResolver; + appByKey?: QueryRootToAppByKeyResolver; + appInstallation?: QueryRootToAppInstallationResolver; + appInstallations?: QueryRootToAppInstallationsResolver; + automaticDiscount?: QueryRootToAutomaticDiscountResolver; + automaticDiscountNode?: QueryRootToAutomaticDiscountNodeResolver; + automaticDiscountNodes?: QueryRootToAutomaticDiscountNodesResolver; + automaticDiscountSavedSearches?: QueryRootToAutomaticDiscountSavedSearchesResolver; + automaticDiscounts?: QueryRootToAutomaticDiscountsResolver; + availableCarrierServices?: QueryRootToAvailableCarrierServicesResolver; + availableLocales?: QueryRootToAvailableLocalesResolver; + carrierService?: QueryRootToCarrierServiceResolver; + channel?: QueryRootToChannelResolver; + channels?: QueryRootToChannelsResolver; + codeDiscountNode?: QueryRootToCodeDiscountNodeResolver; + codeDiscountNodeByCode?: QueryRootToCodeDiscountNodeByCodeResolver; + codeDiscountNodes?: QueryRootToCodeDiscountNodesResolver; + codeDiscountSavedSearches?: QueryRootToCodeDiscountSavedSearchesResolver; + collection?: QueryRootToCollectionResolver; + collectionByHandle?: QueryRootToCollectionByHandleResolver; + collectionRulesConditions?: QueryRootToCollectionRulesConditionsResolver; + collectionSavedSearches?: QueryRootToCollectionSavedSearchesResolver; + collections?: QueryRootToCollectionsResolver; + currentAppInstallation?: QueryRootToCurrentAppInstallationResolver; + currentBulkOperation?: QueryRootToCurrentBulkOperationResolver; + customer?: QueryRootToCustomerResolver; + customerSavedSearches?: QueryRootToCustomerSavedSearchesResolver; + customers?: QueryRootToCustomersResolver; + deletionEvents?: QueryRootToDeletionEventsResolver; + deliveryProfile?: QueryRootToDeliveryProfileResolver; + deliveryProfiles?: QueryRootToDeliveryProfilesResolver; + deliverySettings?: QueryRootToDeliverySettingsResolver; + domain?: QueryRootToDomainResolver; + draftOrder?: QueryRootToDraftOrderResolver; + draftOrderSavedSearches?: QueryRootToDraftOrderSavedSearchesResolver; + draftOrders?: QueryRootToDraftOrdersResolver; + fulfillment?: QueryRootToFulfillmentResolver; + fulfillmentOrder?: QueryRootToFulfillmentOrderResolver; + fulfillmentService?: QueryRootToFulfillmentServiceResolver; + inventoryItem?: QueryRootToInventoryItemResolver; + inventoryItems?: QueryRootToInventoryItemsResolver; + inventoryLevel?: QueryRootToInventoryLevelResolver; + job?: QueryRootToJobResolver; + location?: QueryRootToLocationResolver; + locations?: QueryRootToLocationsResolver; + locationsAvailableForDeliveryProfiles?: QueryRootToLocationsAvailableForDeliveryProfilesResolver; + locationsAvailableForDeliveryProfilesConnection?: QueryRootToLocationsAvailableForDeliveryProfilesConnectionResolver; + marketingActivities?: QueryRootToMarketingActivitiesResolver; + marketingActivity?: QueryRootToMarketingActivityResolver; + marketingEvent?: QueryRootToMarketingEventResolver; + marketingEvents?: QueryRootToMarketingEventsResolver; + metafieldStorefrontVisibilities?: QueryRootToMetafieldStorefrontVisibilitiesResolver; + metafieldStorefrontVisibility?: QueryRootToMetafieldStorefrontVisibilityResolver; + node?: QueryRootToNodeResolver; + nodes?: QueryRootToNodesResolver; + order?: QueryRootToOrderResolver; + orderSavedSearches?: QueryRootToOrderSavedSearchesResolver; + orders?: QueryRootToOrdersResolver; + priceRule?: QueryRootToPriceRuleResolver; + priceRuleSavedSearches?: QueryRootToPriceRuleSavedSearchesResolver; + priceRules?: QueryRootToPriceRulesResolver; + privateMetafield?: QueryRootToPrivateMetafieldResolver; + privateMetafields?: QueryRootToPrivateMetafieldsResolver; + product?: QueryRootToProductResolver; + productByHandle?: QueryRootToProductByHandleResolver; + productSavedSearches?: QueryRootToProductSavedSearchesResolver; + productVariant?: QueryRootToProductVariantResolver; + productVariants?: QueryRootToProductVariantsResolver; + products?: QueryRootToProductsResolver; + publicApiVersions?: QueryRootToPublicApiVersionsResolver; + publication?: QueryRootToPublicationResolver; + publications?: QueryRootToPublicationsResolver; + refund?: QueryRootToRefundResolver; + scriptTag?: QueryRootToScriptTagResolver; + scriptTags?: QueryRootToScriptTagsResolver; + shop?: QueryRootToShopResolver; + shopLocales?: QueryRootToShopLocalesResolver; + shopifyPaymentsAccount?: QueryRootToShopifyPaymentsAccountResolver; + tenderTransactions?: QueryRootToTenderTransactionsResolver; + translatableResource?: QueryRootToTranslatableResourceResolver; + translatableResources?: QueryRootToTranslatableResourcesResolver; + webhookSubscription?: QueryRootToWebhookSubscriptionResolver; + webhookSubscriptions?: QueryRootToWebhookSubscriptionsResolver; + } + + export interface QueryRootToAppArgs { + id?: string; + } + export interface QueryRootToAppResolver { + (parent: TParent, args: QueryRootToAppArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAppByHandleArgs { + handle: string; + } + export interface QueryRootToAppByHandleResolver { + (parent: TParent, args: QueryRootToAppByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAppByKeyArgs { + apiKey: string; + } + export interface QueryRootToAppByKeyResolver { + (parent: TParent, args: QueryRootToAppByKeyArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAppInstallationArgs { + id?: string; + } + export interface QueryRootToAppInstallationResolver { + (parent: TParent, args: QueryRootToAppInstallationArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAppInstallationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AppInstallationSortKeys; + category?: AppInstallationCategory; + privacy?: AppInstallationPrivacy; + } + export interface QueryRootToAppInstallationsResolver { + (parent: TParent, args: QueryRootToAppInstallationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAutomaticDiscountArgs { + id: string; + } + export interface QueryRootToAutomaticDiscountResolver { + (parent: TParent, args: QueryRootToAutomaticDiscountArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAutomaticDiscountNodeArgs { + id: string; + } + export interface QueryRootToAutomaticDiscountNodeResolver { + (parent: TParent, args: QueryRootToAutomaticDiscountNodeArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAutomaticDiscountNodesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AutomaticDiscountSortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToAutomaticDiscountNodesResolver { + (parent: TParent, args: QueryRootToAutomaticDiscountNodesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAutomaticDiscountSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToAutomaticDiscountSavedSearchesResolver { + (parent: TParent, args: QueryRootToAutomaticDiscountSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAutomaticDiscountsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AutomaticDiscountSortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToAutomaticDiscountsResolver { + (parent: TParent, args: QueryRootToAutomaticDiscountsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAvailableCarrierServicesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToAvailableLocalesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCarrierServiceArgs { + id: string; + } + export interface QueryRootToCarrierServiceResolver { + (parent: TParent, args: QueryRootToCarrierServiceArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToChannelArgs { + id: string; + } + export interface QueryRootToChannelResolver { + (parent: TParent, args: QueryRootToChannelArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToChannelsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToChannelsResolver { + (parent: TParent, args: QueryRootToChannelsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCodeDiscountNodeArgs { + id: string; + } + export interface QueryRootToCodeDiscountNodeResolver { + (parent: TParent, args: QueryRootToCodeDiscountNodeArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCodeDiscountNodeByCodeArgs { + code: string; + } + export interface QueryRootToCodeDiscountNodeByCodeResolver { + (parent: TParent, args: QueryRootToCodeDiscountNodeByCodeArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCodeDiscountNodesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CodeDiscountSortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToCodeDiscountNodesResolver { + (parent: TParent, args: QueryRootToCodeDiscountNodesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCodeDiscountSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToCodeDiscountSavedSearchesResolver { + (parent: TParent, args: QueryRootToCodeDiscountSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCollectionArgs { + id: string; + } + export interface QueryRootToCollectionResolver { + (parent: TParent, args: QueryRootToCollectionArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCollectionByHandleArgs { + handle: string; + } + export interface QueryRootToCollectionByHandleResolver { + (parent: TParent, args: QueryRootToCollectionByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCollectionRulesConditionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCollectionSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToCollectionSavedSearchesResolver { + (parent: TParent, args: QueryRootToCollectionSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCollectionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CollectionSortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToCollectionsResolver { + (parent: TParent, args: QueryRootToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCurrentAppInstallationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCurrentBulkOperationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCustomerArgs { + id: string; + } + export interface QueryRootToCustomerResolver { + (parent: TParent, args: QueryRootToCustomerArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCustomerSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CustomerSavedSearchSortKeys; + query?: string; + } + export interface QueryRootToCustomerSavedSearchesResolver { + (parent: TParent, args: QueryRootToCustomerSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToCustomersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CustomerSortKeys; + query?: string; + } + export interface QueryRootToCustomersResolver { + (parent: TParent, args: QueryRootToCustomersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToDeletionEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: DeletionEventSortKeys; + query?: string; + subjectTypes?: Array; + } + export interface QueryRootToDeletionEventsResolver { + (parent: TParent, args: QueryRootToDeletionEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToDeliveryProfileArgs { + id: string; + } + export interface QueryRootToDeliveryProfileResolver { + (parent: TParent, args: QueryRootToDeliveryProfileArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToDeliveryProfilesArgs { + merchantOwnedOnly?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToDeliveryProfilesResolver { + (parent: TParent, args: QueryRootToDeliveryProfilesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToDeliverySettingsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToDomainArgs { + id: string; + } + export interface QueryRootToDomainResolver { + (parent: TParent, args: QueryRootToDomainArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToDraftOrderArgs { + id: string; + } + export interface QueryRootToDraftOrderResolver { + (parent: TParent, args: QueryRootToDraftOrderArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToDraftOrderSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToDraftOrderSavedSearchesResolver { + (parent: TParent, args: QueryRootToDraftOrderSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToDraftOrdersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: DraftOrderSortKeys; + query?: string; + } + export interface QueryRootToDraftOrdersResolver { + (parent: TParent, args: QueryRootToDraftOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToFulfillmentArgs { + id: string; + } + export interface QueryRootToFulfillmentResolver { + (parent: TParent, args: QueryRootToFulfillmentArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToFulfillmentOrderArgs { + id: string; + } + export interface QueryRootToFulfillmentOrderResolver { + (parent: TParent, args: QueryRootToFulfillmentOrderArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToFulfillmentServiceArgs { + id: string; + } + export interface QueryRootToFulfillmentServiceResolver { + (parent: TParent, args: QueryRootToFulfillmentServiceArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToInventoryItemArgs { + id: string; + } + export interface QueryRootToInventoryItemResolver { + (parent: TParent, args: QueryRootToInventoryItemArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToInventoryItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + query?: string; + } + export interface QueryRootToInventoryItemsResolver { + (parent: TParent, args: QueryRootToInventoryItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToInventoryLevelArgs { + id: string; + } + export interface QueryRootToInventoryLevelResolver { + (parent: TParent, args: QueryRootToInventoryLevelArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToJobArgs { + id: string; + } + export interface QueryRootToJobResolver { + (parent: TParent, args: QueryRootToJobArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToLocationArgs { + id?: string; + } + export interface QueryRootToLocationResolver { + (parent: TParent, args: QueryRootToLocationArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToLocationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: LocationSortKeys; + query?: string; + includeLegacy?: boolean; + includeInactive?: boolean; + } + export interface QueryRootToLocationsResolver { + (parent: TParent, args: QueryRootToLocationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToLocationsAvailableForDeliveryProfilesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToLocationsAvailableForDeliveryProfilesConnectionArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToLocationsAvailableForDeliveryProfilesConnectionResolver { + (parent: TParent, args: QueryRootToLocationsAvailableForDeliveryProfilesConnectionArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToMarketingActivitiesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: MarketingActivitySortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToMarketingActivitiesResolver { + (parent: TParent, args: QueryRootToMarketingActivitiesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToMarketingActivityArgs { + id: string; + } + export interface QueryRootToMarketingActivityResolver { + (parent: TParent, args: QueryRootToMarketingActivityArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToMarketingEventArgs { + id: string; + } + export interface QueryRootToMarketingEventResolver { + (parent: TParent, args: QueryRootToMarketingEventArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToMarketingEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: MarketingEventSortKeys; + query?: string; + } + export interface QueryRootToMarketingEventsResolver { + (parent: TParent, args: QueryRootToMarketingEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToMetafieldStorefrontVisibilitiesArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToMetafieldStorefrontVisibilitiesResolver { + (parent: TParent, args: QueryRootToMetafieldStorefrontVisibilitiesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToMetafieldStorefrontVisibilityArgs { + id: string; + } + export interface QueryRootToMetafieldStorefrontVisibilityResolver { + (parent: TParent, args: QueryRootToMetafieldStorefrontVisibilityArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToNodeArgs { + id: string; + } + export interface QueryRootToNodeResolver { + (parent: TParent, args: QueryRootToNodeArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToNodesArgs { + ids: Array; + } + export interface QueryRootToNodesResolver { + (parent: TParent, args: QueryRootToNodesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToOrderArgs { + id: string; + } + export interface QueryRootToOrderResolver { + (parent: TParent, args: QueryRootToOrderArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToOrderSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToOrderSavedSearchesResolver { + (parent: TParent, args: QueryRootToOrderSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToOrdersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: OrderSortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToOrdersResolver { + (parent: TParent, args: QueryRootToOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToPriceRuleArgs { + id: string; + } + export interface QueryRootToPriceRuleResolver { + (parent: TParent, args: QueryRootToPriceRuleArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToPriceRuleSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToPriceRuleSavedSearchesResolver { + (parent: TParent, args: QueryRootToPriceRuleSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToPriceRulesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: PriceRuleSortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToPriceRulesResolver { + (parent: TParent, args: QueryRootToPriceRulesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToPrivateMetafieldArgs { + id: string; + } + export interface QueryRootToPrivateMetafieldResolver { + (parent: TParent, args: QueryRootToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToPrivateMetafieldsArgs { + namespace?: string; + owner: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToPrivateMetafieldsResolver { + (parent: TParent, args: QueryRootToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToProductArgs { + id: string; + } + export interface QueryRootToProductResolver { + (parent: TParent, args: QueryRootToProductArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToProductByHandleArgs { + handle: string; + } + export interface QueryRootToProductByHandleResolver { + (parent: TParent, args: QueryRootToProductByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToProductSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToProductSavedSearchesResolver { + (parent: TParent, args: QueryRootToProductSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToProductVariantArgs { + id: string; + } + export interface QueryRootToProductVariantResolver { + (parent: TParent, args: QueryRootToProductVariantArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToProductVariantsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductVariantSortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToProductVariantsResolver { + (parent: TParent, args: QueryRootToProductVariantsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToProductsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductSortKeys; + query?: string; + savedSearchId?: string; + } + export interface QueryRootToProductsResolver { + (parent: TParent, args: QueryRootToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToPublicApiVersionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToPublicationArgs { + id: string; + } + export interface QueryRootToPublicationResolver { + (parent: TParent, args: QueryRootToPublicationArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToPublicationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToPublicationsResolver { + (parent: TParent, args: QueryRootToPublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToRefundArgs { + id: string; + } + export interface QueryRootToRefundResolver { + (parent: TParent, args: QueryRootToRefundArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToScriptTagArgs { + id: string; + } + export interface QueryRootToScriptTagResolver { + (parent: TParent, args: QueryRootToScriptTagArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToScriptTagsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + src?: URL; + } + export interface QueryRootToScriptTagsResolver { + (parent: TParent, args: QueryRootToScriptTagsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToShopResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToShopLocalesArgs { + published?: boolean; + } + export interface QueryRootToShopLocalesResolver { + (parent: TParent, args: QueryRootToShopLocalesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToShopifyPaymentsAccountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToTenderTransactionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + query?: string; + } + export interface QueryRootToTenderTransactionsResolver { + (parent: TParent, args: QueryRootToTenderTransactionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToTranslatableResourceArgs { + resourceId: string; + } + export interface QueryRootToTranslatableResourceResolver { + (parent: TParent, args: QueryRootToTranslatableResourceArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToTranslatableResourcesArgs { + resourceType: TranslatableResourceType; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface QueryRootToTranslatableResourcesResolver { + (parent: TParent, args: QueryRootToTranslatableResourcesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToWebhookSubscriptionArgs { + id: string; + } + export interface QueryRootToWebhookSubscriptionResolver { + (parent: TParent, args: QueryRootToWebhookSubscriptionArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface QueryRootToWebhookSubscriptionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: WebhookSubscriptionSortKeys; + query?: string; + callbackUrl?: URL; + format?: WebhookSubscriptionFormat; + topics?: Array; + } + export interface QueryRootToWebhookSubscriptionsResolver { + (parent: TParent, args: QueryRootToWebhookSubscriptionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppTypeResolver { + apiKey?: AppToApiKeyResolver; + appStoreAppUrl?: AppToAppStoreAppUrlResolver; + appStoreDeveloperUrl?: AppToAppStoreDeveloperUrlResolver; + banner?: AppToBannerResolver; + description?: AppToDescriptionResolver; + developerName?: AppToDeveloperNameResolver; + developerUrl?: AppToDeveloperUrlResolver; + embedded?: AppToEmbeddedResolver; + failedRequirements?: AppToFailedRequirementsResolver; + features?: AppToFeaturesResolver; + feedback?: AppToFeedbackResolver; + handle?: AppToHandleResolver; + icon?: AppToIconResolver; + id?: AppToIdResolver; + installUrl?: AppToInstallUrlResolver; + installation?: AppToInstallationResolver; + launchUrl?: AppToLaunchUrlResolver; + navigationItems?: AppToNavigationItemsResolver; + pricingDetails?: AppToPricingDetailsResolver; + pricingDetailsSummary?: AppToPricingDetailsSummaryResolver; + privacyPolicyUrl?: AppToPrivacyPolicyUrlResolver; + published?: AppToPublishedResolver; + screenshots?: AppToScreenshotsResolver; + shopifyDeveloped?: AppToShopifyDevelopedResolver; + title?: AppToTitleResolver; + uninstallMessage?: AppToUninstallMessageResolver; + uninstallUrl?: AppToUninstallUrlResolver; + } + + export interface AppToApiKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToAppStoreAppUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToAppStoreDeveloperUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToBannerResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToDeveloperNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToDeveloperUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToEmbeddedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToFailedRequirementsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToFeaturesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToFeedbackResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToIconResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToInstallUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToInstallationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToLaunchUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToNavigationItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToPricingDetailsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToPricingDetailsSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToPrivacyPolicyUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToPublishedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToScreenshotsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToShopifyDevelopedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToUninstallMessageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppToUninstallUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface NodeTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'App' | 'Metafield' | 'PrivateMetafield' | 'AppInstallation' | 'AppSubscription' | 'AppUsageRecord' | 'Channel' | 'Publication' | 'Collection' | 'Product' | 'ProductOption' | 'ProductVariant' | 'DeliveryProfile' | 'DeliveryCountry' | 'DeliveryProvince' | 'DeliveryLocationGroup' | 'Location' | 'InventoryLevel' | 'InventoryItem' | 'DeliveryMethodDefinition' | 'DeliveryCondition' | 'DeliveryRateDefinition' | 'DeliveryParticipant' | 'DeliveryCarrierService' | 'DeliveryZone' | 'AppCredit' | 'AppPurchaseOneTime' | 'DiscountAutomaticBxgy' | 'DiscountAutomaticNode' | 'SavedSearch' | 'DiscountCodeNode' | 'Customer' | 'MailingAddress' | 'Order' | 'CustomerVisit' | 'MarketingEvent' | 'OrderDisputeSummary' | 'LineItem' | 'Duty' | 'FulfillmentOrder' | 'FulfillmentOrderDestination' | 'Fulfillment' | 'FulfillmentEvent' | 'FulfillmentLineItem' | 'FulfillmentOrderLineItem' | 'FulfillmentOrderMerchantRequest' | 'LineItemMutable' | 'Refund' | 'OrderTransaction' | 'BulkOperation' | 'Domain' | 'DraftOrder' | 'DraftOrderLineItem' | 'MarketingActivity' | 'MetafieldStorefrontVisibility' | 'PriceRule' | 'PriceRuleDiscountCode' | 'ScriptTag' | 'Shop' | 'ShopifyPaymentsAccount' | 'ShopifyPaymentsBankAccount' | 'ShopifyPaymentsPayout' | 'ShopifyPaymentsDispute' | 'ShopifyPaymentsVerification' | 'StorefrontAccessToken' | 'TenderTransaction' | 'WebhookSubscription' | 'CalculatedOrder' | 'BasicEvent' | 'CommentEvent' | 'ExternalVideo' | 'MediaImage' | 'Model3d' | 'OnlineStoreArticle' | 'OnlineStoreBlog' | 'OnlineStorePage' | 'Video'; + } + export interface ImageTypeResolver { + altText?: ImageToAltTextResolver; + id?: ImageToIdResolver; + metafield?: ImageToMetafieldResolver; + metafields?: ImageToMetafieldsResolver; + originalSrc?: ImageToOriginalSrcResolver; + privateMetafield?: ImageToPrivateMetafieldResolver; + privateMetafields?: ImageToPrivateMetafieldsResolver; + src?: ImageToSrcResolver; + transformedSrc?: ImageToTransformedSrcResolver; + } + + export interface ImageToAltTextResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageToMetafieldArgs { + namespace: string; + key: string; + } + export interface ImageToMetafieldResolver { + (parent: TParent, args: ImageToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageToMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ImageToMetafieldsResolver { + (parent: TParent, args: ImageToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageToOriginalSrcResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageToPrivateMetafieldArgs { + namespace: string; + key: string; + } + export interface ImageToPrivateMetafieldResolver { + (parent: TParent, args: ImageToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageToPrivateMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ImageToPrivateMetafieldsResolver { + (parent: TParent, args: ImageToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageToSrcResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageToTransformedSrcArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + preferredContentType?: ImageContentType; + } + export interface ImageToTransformedSrcResolver { + (parent: TParent, args: ImageToTransformedSrcArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface HasMetafieldsTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Image' | 'Collection' | 'Product' | 'ProductVariant' | 'Customer' | 'Order' | 'DraftOrder' | 'Shop'; + } + export interface MetafieldTypeResolver { + createdAt?: MetafieldToCreatedAtResolver; + description?: MetafieldToDescriptionResolver; + id?: MetafieldToIdResolver; + key?: MetafieldToKeyResolver; + legacyResourceId?: MetafieldToLegacyResourceIdResolver; + namespace?: MetafieldToNamespaceResolver; + ownerType?: MetafieldToOwnerTypeResolver; + updatedAt?: MetafieldToUpdatedAtResolver; + value?: MetafieldToValueResolver; + valueType?: MetafieldToValueTypeResolver; + } + + export interface MetafieldToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToNamespaceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToOwnerTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldToValueTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LegacyInteroperabilityTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Metafield' | 'Product' | 'ProductVariant' | 'Location' | 'InventoryItem' | 'SavedSearch' | 'Customer' | 'Order' | 'MarketingEvent' | 'Fulfillment' | 'Refund' | 'DraftOrder' | 'MetafieldStorefrontVisibility' | 'PriceRule' | 'ScriptTag' | 'ShopifyPaymentsPayout' | 'ShopifyPaymentsDispute' | 'WebhookSubscription'; + } + export interface MetafieldConnectionTypeResolver { + edges?: MetafieldConnectionToEdgesResolver; + pageInfo?: MetafieldConnectionToPageInfoResolver; + } + + export interface MetafieldConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldEdgeTypeResolver { + cursor?: MetafieldEdgeToCursorResolver; + node?: MetafieldEdgeToNodeResolver; + } + + export interface MetafieldEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PageInfoTypeResolver { + hasNextPage?: PageInfoToHasNextPageResolver; + hasPreviousPage?: PageInfoToHasPreviousPageResolver; + } + + export interface PageInfoToHasNextPageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PageInfoToHasPreviousPageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldTypeResolver { + createdAt?: PrivateMetafieldToCreatedAtResolver; + id?: PrivateMetafieldToIdResolver; + key?: PrivateMetafieldToKeyResolver; + namespace?: PrivateMetafieldToNamespaceResolver; + updatedAt?: PrivateMetafieldToUpdatedAtResolver; + value?: PrivateMetafieldToValueResolver; + valueType?: PrivateMetafieldToValueTypeResolver; + } + + export interface PrivateMetafieldToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldToKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldToNamespaceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldToValueTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldConnectionTypeResolver { + edges?: PrivateMetafieldConnectionToEdgesResolver; + pageInfo?: PrivateMetafieldConnectionToPageInfoResolver; + } + + export interface PrivateMetafieldConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldEdgeTypeResolver { + cursor?: PrivateMetafieldEdgeToCursorResolver; + node?: PrivateMetafieldEdgeToNodeResolver; + } + + export interface PrivateMetafieldEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PrivateMetafieldEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FailedRequirementTypeResolver { + action?: FailedRequirementToActionResolver; + message?: FailedRequirementToMessageResolver; + } + + export interface FailedRequirementToActionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FailedRequirementToMessageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface NavigationItemTypeResolver { + id?: NavigationItemToIdResolver; + title?: NavigationItemToTitleResolver; + url?: NavigationItemToUrlResolver; + } + + export interface NavigationItemToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface NavigationItemToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface NavigationItemToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppFeedbackTypeResolver { + app?: AppFeedbackToAppResolver; + link?: AppFeedbackToLinkResolver; + messages?: AppFeedbackToMessagesResolver; + } + + export interface AppFeedbackToAppResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppFeedbackToLinkResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppFeedbackToMessagesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LinkTypeResolver { + label?: LinkToLabelResolver; + translations?: LinkToTranslationsResolver; + url?: LinkToUrlResolver; + } + + export interface LinkToLabelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LinkToTranslationsArgs { + locale: string; + } + export interface LinkToTranslationsResolver { + (parent: TParent, args: LinkToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LinkToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface HasPublishedTranslationsTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Link' | 'Collection' | 'Product' | 'ProductOption' | 'ProductVariant' | 'Shop' | 'OnlineStoreArticle' | 'OnlineStoreBlog' | 'OnlineStorePage'; + } + export interface PublishedTranslationTypeResolver { + key?: PublishedTranslationToKeyResolver; + locale?: PublishedTranslationToLocaleResolver; + value?: PublishedTranslationToValueResolver; + } + + export interface PublishedTranslationToKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublishedTranslationToLocaleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublishedTranslationToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface UserErrorTypeResolver { + field?: UserErrorToFieldResolver; + message?: UserErrorToMessageResolver; + } + + export interface UserErrorToFieldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface UserErrorToMessageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DisplayableErrorTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'UserError' | 'DiscountUserError' | 'PriceRuleUserError' | 'MediaUserError' | 'TranslationUserError'; + } + export interface AppInstallationTypeResolver { + accessScopes?: AppInstallationToAccessScopesResolver; + activeSubscriptions?: AppInstallationToActiveSubscriptionsResolver; + allSubscriptions?: AppInstallationToAllSubscriptionsResolver; + app?: AppInstallationToAppResolver; + channel?: AppInstallationToChannelResolver; + credits?: AppInstallationToCreditsResolver; + id?: AppInstallationToIdResolver; + launchUrl?: AppInstallationToLaunchUrlResolver; + oneTimePurchases?: AppInstallationToOneTimePurchasesResolver; + publication?: AppInstallationToPublicationResolver; + subscriptions?: AppInstallationToSubscriptionsResolver; + uninstallUrl?: AppInstallationToUninstallUrlResolver; + } + + export interface AppInstallationToAccessScopesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToActiveSubscriptionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToAllSubscriptionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AppSubscriptionSortKeys; + } + export interface AppInstallationToAllSubscriptionsResolver { + (parent: TParent, args: AppInstallationToAllSubscriptionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToAppResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToCreditsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AppTransactionSortKeys; + } + export interface AppInstallationToCreditsResolver { + (parent: TParent, args: AppInstallationToCreditsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToLaunchUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToOneTimePurchasesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AppTransactionSortKeys; + } + export interface AppInstallationToOneTimePurchasesResolver { + (parent: TParent, args: AppInstallationToOneTimePurchasesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToPublicationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToSubscriptionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationToUninstallUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AccessScopeTypeResolver { + description?: AccessScopeToDescriptionResolver; + handle?: AccessScopeToHandleResolver; + } + + export interface AccessScopeToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AccessScopeToHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionTypeResolver { + createdAt?: AppSubscriptionToCreatedAtResolver; + currentPeriodEnd?: AppSubscriptionToCurrentPeriodEndResolver; + id?: AppSubscriptionToIdResolver; + lineItems?: AppSubscriptionToLineItemsResolver; + name?: AppSubscriptionToNameResolver; + returnUrl?: AppSubscriptionToReturnUrlResolver; + status?: AppSubscriptionToStatusResolver; + test?: AppSubscriptionToTestResolver; + trialDays?: AppSubscriptionToTrialDaysResolver; + } + + export interface AppSubscriptionToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionToCurrentPeriodEndResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionToLineItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionToReturnUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionToTestResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionToTrialDaysResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionLineItemTypeResolver { + id?: AppSubscriptionLineItemToIdResolver; + plan?: AppSubscriptionLineItemToPlanResolver; + usageRecords?: AppSubscriptionLineItemToUsageRecordsResolver; + } + + export interface AppSubscriptionLineItemToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionLineItemToPlanResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionLineItemToUsageRecordsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AppUsageRecordSortKeys; + } + export interface AppSubscriptionLineItemToUsageRecordsResolver { + (parent: TParent, args: AppSubscriptionLineItemToUsageRecordsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPlanV2TypeResolver { + pricingDetails?: AppPlanV2ToPricingDetailsResolver; + } + + export interface AppPlanV2ToPricingDetailsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPricingDetailsTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'AppUsagePricing' | 'AppRecurringPricing'; + } + export interface AppUsagePricingTypeResolver { + balanceUsed?: AppUsagePricingToBalanceUsedResolver; + cappedAmount?: AppUsagePricingToCappedAmountResolver; + interval?: AppUsagePricingToIntervalResolver; + terms?: AppUsagePricingToTermsResolver; + } + + export interface AppUsagePricingToBalanceUsedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsagePricingToCappedAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsagePricingToIntervalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsagePricingToTermsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MoneyV2TypeResolver { + amount?: MoneyV2ToAmountResolver; + currencyCode?: MoneyV2ToCurrencyCodeResolver; + } + + export interface MoneyV2ToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MoneyV2ToCurrencyCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppRecurringPricingTypeResolver { + interval?: AppRecurringPricingToIntervalResolver; + price?: AppRecurringPricingToPriceResolver; + } + + export interface AppRecurringPricingToIntervalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppRecurringPricingToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordConnectionTypeResolver { + edges?: AppUsageRecordConnectionToEdgesResolver; + pageInfo?: AppUsageRecordConnectionToPageInfoResolver; + } + + export interface AppUsageRecordConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordEdgeTypeResolver { + cursor?: AppUsageRecordEdgeToCursorResolver; + node?: AppUsageRecordEdgeToNodeResolver; + } + + export interface AppUsageRecordEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordTypeResolver { + createdAt?: AppUsageRecordToCreatedAtResolver; + description?: AppUsageRecordToDescriptionResolver; + id?: AppUsageRecordToIdResolver; + price?: AppUsageRecordToPriceResolver; + subscriptionLineItem?: AppUsageRecordToSubscriptionLineItemResolver; + } + + export interface AppUsageRecordToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppUsageRecordToSubscriptionLineItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionConnectionTypeResolver { + edges?: AppSubscriptionConnectionToEdgesResolver; + pageInfo?: AppSubscriptionConnectionToPageInfoResolver; + } + + export interface AppSubscriptionConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionEdgeTypeResolver { + cursor?: AppSubscriptionEdgeToCursorResolver; + node?: AppSubscriptionEdgeToNodeResolver; + } + + export interface AppSubscriptionEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppSubscriptionEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelTypeResolver { + app?: ChannelToAppResolver; + collectionPublicationsV3?: ChannelToCollectionPublicationsV3Resolver; + collections?: ChannelToCollectionsResolver; + handle?: ChannelToHandleResolver; + hasCollection?: ChannelToHasCollectionResolver; + id?: ChannelToIdResolver; + name?: ChannelToNameResolver; + navigationItems?: ChannelToNavigationItemsResolver; + overviewPath?: ChannelToOverviewPathResolver; + productPublications?: ChannelToProductPublicationsResolver; + productPublicationsV3?: ChannelToProductPublicationsV3Resolver; + products?: ChannelToProductsResolver; + supportsFuturePublishing?: ChannelToSupportsFuturePublishingResolver; + } + + export interface ChannelToAppResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToCollectionPublicationsV3Args { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ChannelToCollectionPublicationsV3Resolver { + (parent: TParent, args: ChannelToCollectionPublicationsV3Args, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToCollectionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ChannelToCollectionsResolver { + (parent: TParent, args: ChannelToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToHasCollectionArgs { + id: string; + } + export interface ChannelToHasCollectionResolver { + (parent: TParent, args: ChannelToHasCollectionArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToNavigationItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToOverviewPathResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToProductPublicationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ChannelToProductPublicationsResolver { + (parent: TParent, args: ChannelToProductPublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToProductPublicationsV3Args { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ChannelToProductPublicationsV3Resolver { + (parent: TParent, args: ChannelToProductPublicationsV3Args, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToProductsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ChannelToProductsResolver { + (parent: TParent, args: ChannelToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelToSupportsFuturePublishingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationConnectionTypeResolver { + edges?: ResourcePublicationConnectionToEdgesResolver; + pageInfo?: ResourcePublicationConnectionToPageInfoResolver; + } + + export interface ResourcePublicationConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationEdgeTypeResolver { + cursor?: ResourcePublicationEdgeToCursorResolver; + node?: ResourcePublicationEdgeToNodeResolver; + } + + export interface ResourcePublicationEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationTypeResolver { + channel?: ResourcePublicationToChannelResolver; + isPublished?: ResourcePublicationToIsPublishedResolver; + publication?: ResourcePublicationToPublicationResolver; + publishDate?: ResourcePublicationToPublishDateResolver; + publishable?: ResourcePublicationToPublishableResolver; + } + + export interface ResourcePublicationToChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationToIsPublishedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationToPublicationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationToPublishDateResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourcePublicationToPublishableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationTypeResolver { + app?: PublicationToAppResolver; + collectionPublicationsV3?: PublicationToCollectionPublicationsV3Resolver; + collections?: PublicationToCollectionsResolver; + hasCollection?: PublicationToHasCollectionResolver; + id?: PublicationToIdResolver; + name?: PublicationToNameResolver; + productPublicationsV3?: PublicationToProductPublicationsV3Resolver; + products?: PublicationToProductsResolver; + supportsFuturePublishing?: PublicationToSupportsFuturePublishingResolver; + } + + export interface PublicationToAppResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationToCollectionPublicationsV3Args { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PublicationToCollectionPublicationsV3Resolver { + (parent: TParent, args: PublicationToCollectionPublicationsV3Args, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationToCollectionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PublicationToCollectionsResolver { + (parent: TParent, args: PublicationToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationToHasCollectionArgs { + id: string; + } + export interface PublicationToHasCollectionResolver { + (parent: TParent, args: PublicationToHasCollectionArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationToProductPublicationsV3Args { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PublicationToProductPublicationsV3Resolver { + (parent: TParent, args: PublicationToProductPublicationsV3Args, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationToProductsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PublicationToProductsResolver { + (parent: TParent, args: PublicationToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationToSupportsFuturePublishingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionConnectionTypeResolver { + edges?: CollectionConnectionToEdgesResolver; + pageInfo?: CollectionConnectionToPageInfoResolver; + } + + export interface CollectionConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionEdgeTypeResolver { + cursor?: CollectionEdgeToCursorResolver; + node?: CollectionEdgeToNodeResolver; + } + + export interface CollectionEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionTypeResolver { + availablePublicationCount?: CollectionToAvailablePublicationCountResolver; + description?: CollectionToDescriptionResolver; + descriptionHtml?: CollectionToDescriptionHtmlResolver; + feedback?: CollectionToFeedbackResolver; + handle?: CollectionToHandleResolver; + hasProduct?: CollectionToHasProductResolver; + id?: CollectionToIdResolver; + image?: CollectionToImageResolver; + metafield?: CollectionToMetafieldResolver; + metafields?: CollectionToMetafieldsResolver; + privateMetafield?: CollectionToPrivateMetafieldResolver; + privateMetafields?: CollectionToPrivateMetafieldsResolver; + products?: CollectionToProductsResolver; + productsCount?: CollectionToProductsCountResolver; + publicationCount?: CollectionToPublicationCountResolver; + publications?: CollectionToPublicationsResolver; + publishedOnChannel?: CollectionToPublishedOnChannelResolver; + publishedOnCurrentChannel?: CollectionToPublishedOnCurrentChannelResolver; + publishedOnCurrentPublication?: CollectionToPublishedOnCurrentPublicationResolver; + publishedOnPublication?: CollectionToPublishedOnPublicationResolver; + resourcePublications?: CollectionToResourcePublicationsResolver; + ruleSet?: CollectionToRuleSetResolver; + seo?: CollectionToSeoResolver; + sortOrder?: CollectionToSortOrderResolver; + storefrontId?: CollectionToStorefrontIdResolver; + templateSuffix?: CollectionToTemplateSuffixResolver; + title?: CollectionToTitleResolver; + translations?: CollectionToTranslationsResolver; + unpublishedChannels?: CollectionToUnpublishedChannelsResolver; + unpublishedPublications?: CollectionToUnpublishedPublicationsResolver; + updatedAt?: CollectionToUpdatedAtResolver; + } + + export interface CollectionToAvailablePublicationCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToDescriptionArgs { + truncateAt?: number; + } + export interface CollectionToDescriptionResolver { + (parent: TParent, args: CollectionToDescriptionArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToDescriptionHtmlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToFeedbackResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToHasProductArgs { + id: string; + } + export interface CollectionToHasProductResolver { + (parent: TParent, args: CollectionToHasProductArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToImageArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface CollectionToImageResolver { + (parent: TParent, args: CollectionToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToMetafieldArgs { + namespace: string; + key: string; + } + export interface CollectionToMetafieldResolver { + (parent: TParent, args: CollectionToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface CollectionToMetafieldsResolver { + (parent: TParent, args: CollectionToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToPrivateMetafieldArgs { + namespace: string; + key: string; + } + export interface CollectionToPrivateMetafieldResolver { + (parent: TParent, args: CollectionToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToPrivateMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface CollectionToPrivateMetafieldsResolver { + (parent: TParent, args: CollectionToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToProductsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductCollectionSortKeys; + query?: string; + } + export interface CollectionToProductsResolver { + (parent: TParent, args: CollectionToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToProductsCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToPublicationCountArgs { + onlyPublished?: boolean; + } + export interface CollectionToPublicationCountResolver { + (parent: TParent, args: CollectionToPublicationCountArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToPublicationsArgs { + onlyPublished?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface CollectionToPublicationsResolver { + (parent: TParent, args: CollectionToPublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToPublishedOnChannelArgs { + channelId: string; + } + export interface CollectionToPublishedOnChannelResolver { + (parent: TParent, args: CollectionToPublishedOnChannelArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToPublishedOnCurrentChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToPublishedOnCurrentPublicationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToPublishedOnPublicationArgs { + publicationId: string; + } + export interface CollectionToPublishedOnPublicationResolver { + (parent: TParent, args: CollectionToPublishedOnPublicationArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToResourcePublicationsArgs { + onlyPublished?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface CollectionToResourcePublicationsResolver { + (parent: TParent, args: CollectionToResourcePublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToRuleSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToSeoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToSortOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToStorefrontIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToTemplateSuffixResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToTranslationsArgs { + locale: string; + } + export interface CollectionToTranslationsResolver { + (parent: TParent, args: CollectionToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToUnpublishedChannelsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface CollectionToUnpublishedChannelsResolver { + (parent: TParent, args: CollectionToUnpublishedChannelsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToUnpublishedPublicationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface CollectionToUnpublishedPublicationsResolver { + (parent: TParent, args: CollectionToUnpublishedPublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublishableTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Collection' | 'Product'; + } + export interface ChannelConnectionTypeResolver { + edges?: ChannelConnectionToEdgesResolver; + pageInfo?: ChannelConnectionToPageInfoResolver; + } + + export interface ChannelConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelEdgeTypeResolver { + cursor?: ChannelEdgeToCursorResolver; + node?: ChannelEdgeToNodeResolver; + } + + export interface ChannelEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ChannelEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationConnectionTypeResolver { + edges?: PublicationConnectionToEdgesResolver; + pageInfo?: PublicationConnectionToPageInfoResolver; + } + + export interface PublicationConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationEdgeTypeResolver { + cursor?: PublicationEdgeToCursorResolver; + node?: PublicationEdgeToNodeResolver; + } + + export interface PublicationEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PublicationEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceFeedbackTypeResolver { + appFeedback?: ResourceFeedbackToAppFeedbackResolver; + details?: ResourceFeedbackToDetailsResolver; + summary?: ResourceFeedbackToSummaryResolver; + } + + export interface ResourceFeedbackToAppFeedbackResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceFeedbackToDetailsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceFeedbackToSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductConnectionTypeResolver { + edges?: ProductConnectionToEdgesResolver; + pageInfo?: ProductConnectionToPageInfoResolver; + } + + export interface ProductConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductEdgeTypeResolver { + cursor?: ProductEdgeToCursorResolver; + node?: ProductEdgeToNodeResolver; + } + + export interface ProductEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductTypeResolver { + availablePublicationCount?: ProductToAvailablePublicationCountResolver; + bodyHtml?: ProductToBodyHtmlResolver; + collections?: ProductToCollectionsResolver; + createdAt?: ProductToCreatedAtResolver; + defaultCursor?: ProductToDefaultCursorResolver; + description?: ProductToDescriptionResolver; + descriptionHtml?: ProductToDescriptionHtmlResolver; + descriptionPlainSummary?: ProductToDescriptionPlainSummaryResolver; + featuredImage?: ProductToFeaturedImageResolver; + featuredMedia?: ProductToFeaturedMediaResolver; + feedback?: ProductToFeedbackResolver; + giftCardTemplateSuffix?: ProductToGiftCardTemplateSuffixResolver; + handle?: ProductToHandleResolver; + hasOnlyDefaultVariant?: ProductToHasOnlyDefaultVariantResolver; + hasOutOfStockVariants?: ProductToHasOutOfStockVariantsResolver; + id?: ProductToIdResolver; + images?: ProductToImagesResolver; + inCollection?: ProductToInCollectionResolver; + isGiftCard?: ProductToIsGiftCardResolver; + legacyResourceId?: ProductToLegacyResourceIdResolver; + media?: ProductToMediaResolver; + mediaCount?: ProductToMediaCountResolver; + metafield?: ProductToMetafieldResolver; + metafields?: ProductToMetafieldsResolver; + onlineStorePreviewUrl?: ProductToOnlineStorePreviewUrlResolver; + onlineStoreUrl?: ProductToOnlineStoreUrlResolver; + options?: ProductToOptionsResolver; + priceRange?: ProductToPriceRangeResolver; + privateMetafield?: ProductToPrivateMetafieldResolver; + privateMetafields?: ProductToPrivateMetafieldsResolver; + productPublications?: ProductToProductPublicationsResolver; + productType?: ProductToProductTypeResolver; + publicationCount?: ProductToPublicationCountResolver; + publications?: ProductToPublicationsResolver; + publishedAt?: ProductToPublishedAtResolver; + publishedOnChannel?: ProductToPublishedOnChannelResolver; + publishedOnCurrentChannel?: ProductToPublishedOnCurrentChannelResolver; + publishedOnCurrentPublication?: ProductToPublishedOnCurrentPublicationResolver; + publishedOnPublication?: ProductToPublishedOnPublicationResolver; + resourcePublications?: ProductToResourcePublicationsResolver; + seo?: ProductToSeoResolver; + storefrontId?: ProductToStorefrontIdResolver; + tags?: ProductToTagsResolver; + templateSuffix?: ProductToTemplateSuffixResolver; + title?: ProductToTitleResolver; + totalInventory?: ProductToTotalInventoryResolver; + totalVariants?: ProductToTotalVariantsResolver; + tracksInventory?: ProductToTracksInventoryResolver; + translations?: ProductToTranslationsResolver; + unpublishedChannels?: ProductToUnpublishedChannelsResolver; + unpublishedPublications?: ProductToUnpublishedPublicationsResolver; + updatedAt?: ProductToUpdatedAtResolver; + variants?: ProductToVariantsResolver; + vendor?: ProductToVendorResolver; + } + + export interface ProductToAvailablePublicationCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToBodyHtmlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToCollectionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CollectionSortKeys; + query?: string; + } + export interface ProductToCollectionsResolver { + (parent: TParent, args: ProductToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToDefaultCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToDescriptionArgs { + truncateAt?: number; + } + export interface ProductToDescriptionResolver { + (parent: TParent, args: ProductToDescriptionArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToDescriptionHtmlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToDescriptionPlainSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToFeaturedImageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToFeaturedMediaResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToFeedbackResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToGiftCardTemplateSuffixResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToHasOnlyDefaultVariantResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToHasOutOfStockVariantsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToImagesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductImageSortKeys; + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface ProductToImagesResolver { + (parent: TParent, args: ProductToImagesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToInCollectionArgs { + id: string; + } + export interface ProductToInCollectionResolver { + (parent: TParent, args: ProductToInCollectionArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToIsGiftCardResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToMediaArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductMediaSortKeys; + } + export interface ProductToMediaResolver { + (parent: TParent, args: ProductToMediaArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToMediaCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToMetafieldArgs { + namespace: string; + key: string; + } + export interface ProductToMetafieldResolver { + (parent: TParent, args: ProductToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductToMetafieldsResolver { + (parent: TParent, args: ProductToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToOnlineStorePreviewUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToOnlineStoreUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToOptionsArgs { + first?: number; + } + export interface ProductToOptionsResolver { + (parent: TParent, args: ProductToOptionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPriceRangeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPrivateMetafieldArgs { + namespace: string; + key: string; + } + export interface ProductToPrivateMetafieldResolver { + (parent: TParent, args: ProductToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPrivateMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductToPrivateMetafieldsResolver { + (parent: TParent, args: ProductToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToProductPublicationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductToProductPublicationsResolver { + (parent: TParent, args: ProductToProductPublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToProductTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPublicationCountArgs { + onlyPublished?: boolean; + } + export interface ProductToPublicationCountResolver { + (parent: TParent, args: ProductToPublicationCountArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPublicationsArgs { + onlyPublished?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductToPublicationsResolver { + (parent: TParent, args: ProductToPublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPublishedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPublishedOnChannelArgs { + channelId: string; + } + export interface ProductToPublishedOnChannelResolver { + (parent: TParent, args: ProductToPublishedOnChannelArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPublishedOnCurrentChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPublishedOnCurrentPublicationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToPublishedOnPublicationArgs { + publicationId: string; + } + export interface ProductToPublishedOnPublicationResolver { + (parent: TParent, args: ProductToPublishedOnPublicationArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToResourcePublicationsArgs { + onlyPublished?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductToResourcePublicationsResolver { + (parent: TParent, args: ProductToResourcePublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToSeoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToStorefrontIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToTagsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToTemplateSuffixResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToTotalInventoryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToTotalVariantsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToTracksInventoryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToTranslationsArgs { + locale: string; + } + export interface ProductToTranslationsResolver { + (parent: TParent, args: ProductToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToUnpublishedChannelsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductToUnpublishedChannelsResolver { + (parent: TParent, args: ProductToUnpublishedChannelsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToUnpublishedPublicationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductToUnpublishedPublicationsResolver { + (parent: TParent, args: ProductToUnpublishedPublicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToVariantsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductVariantSortKeys; + } + export interface ProductToVariantsResolver { + (parent: TParent, args: ProductToVariantsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductToVendorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface NavigableTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Product' | 'ProductVariant' | 'OnlineStoreArticle' | 'OnlineStorePage'; + } + export interface OnlineStorePreviewableTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Product'; + } + export interface MediaTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'ExternalVideo' | 'MediaImage' | 'Model3d' | 'Video'; + } + export interface MediaErrorTypeResolver { + code?: MediaErrorToCodeResolver; + details?: MediaErrorToDetailsResolver; + message?: MediaErrorToMessageResolver; + } + + export interface MediaErrorToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaErrorToDetailsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaErrorToMessageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaPreviewImageTypeResolver { + image?: MediaPreviewImageToImageResolver; + status?: MediaPreviewImageToStatusResolver; + } + + export interface MediaPreviewImageToImageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaPreviewImageToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageConnectionTypeResolver { + edges?: ImageConnectionToEdgesResolver; + pageInfo?: ImageConnectionToPageInfoResolver; + } + + export interface ImageConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageEdgeTypeResolver { + cursor?: ImageEdgeToCursorResolver; + node?: ImageEdgeToNodeResolver; + } + + export interface ImageEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ImageEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaConnectionTypeResolver { + edges?: MediaConnectionToEdgesResolver; + pageInfo?: MediaConnectionToPageInfoResolver; + } + + export interface MediaConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaEdgeTypeResolver { + cursor?: MediaEdgeToCursorResolver; + node?: MediaEdgeToNodeResolver; + } + + export interface MediaEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductOptionTypeResolver { + id?: ProductOptionToIdResolver; + name?: ProductOptionToNameResolver; + position?: ProductOptionToPositionResolver; + translations?: ProductOptionToTranslationsResolver; + values?: ProductOptionToValuesResolver; + } + + export interface ProductOptionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductOptionToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductOptionToPositionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductOptionToTranslationsArgs { + locale: string; + } + export interface ProductOptionToTranslationsResolver { + (parent: TParent, args: ProductOptionToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductOptionToValuesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPriceRangeTypeResolver { + maxVariantPrice?: ProductPriceRangeToMaxVariantPriceResolver; + minVariantPrice?: ProductPriceRangeToMinVariantPriceResolver; + } + + export interface ProductPriceRangeToMaxVariantPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPriceRangeToMinVariantPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPublicationConnectionTypeResolver { + edges?: ProductPublicationConnectionToEdgesResolver; + pageInfo?: ProductPublicationConnectionToPageInfoResolver; + } + + export interface ProductPublicationConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPublicationConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPublicationEdgeTypeResolver { + cursor?: ProductPublicationEdgeToCursorResolver; + node?: ProductPublicationEdgeToNodeResolver; + } + + export interface ProductPublicationEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPublicationEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPublicationTypeResolver { + channel?: ProductPublicationToChannelResolver; + isPublished?: ProductPublicationToIsPublishedResolver; + product?: ProductPublicationToProductResolver; + publishDate?: ProductPublicationToPublishDateResolver; + } + + export interface ProductPublicationToChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPublicationToIsPublishedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPublicationToProductResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductPublicationToPublishDateResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SEOTypeResolver { + description?: SEOToDescriptionResolver; + title?: SEOToTitleResolver; + } + + export interface SEOToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SEOToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantConnectionTypeResolver { + edges?: ProductVariantConnectionToEdgesResolver; + pageInfo?: ProductVariantConnectionToPageInfoResolver; + } + + export interface ProductVariantConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantEdgeTypeResolver { + cursor?: ProductVariantEdgeToCursorResolver; + node?: ProductVariantEdgeToNodeResolver; + } + + export interface ProductVariantEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantTypeResolver { + availableForSale?: ProductVariantToAvailableForSaleResolver; + barcode?: ProductVariantToBarcodeResolver; + compareAtPrice?: ProductVariantToCompareAtPriceResolver; + createdAt?: ProductVariantToCreatedAtResolver; + defaultCursor?: ProductVariantToDefaultCursorResolver; + deliveryProfile?: ProductVariantToDeliveryProfileResolver; + displayName?: ProductVariantToDisplayNameResolver; + fulfillmentService?: ProductVariantToFulfillmentServiceResolver; + fulfillmentServiceEditable?: ProductVariantToFulfillmentServiceEditableResolver; + harmonizedSystemCode?: ProductVariantToHarmonizedSystemCodeResolver; + id?: ProductVariantToIdResolver; + image?: ProductVariantToImageResolver; + images?: ProductVariantToImagesResolver; + inventoryItem?: ProductVariantToInventoryItemResolver; + inventoryManagement?: ProductVariantToInventoryManagementResolver; + inventoryPolicy?: ProductVariantToInventoryPolicyResolver; + inventoryQuantity?: ProductVariantToInventoryQuantityResolver; + legacyResourceId?: ProductVariantToLegacyResourceIdResolver; + metafield?: ProductVariantToMetafieldResolver; + metafields?: ProductVariantToMetafieldsResolver; + position?: ProductVariantToPositionResolver; + presentmentPrices?: ProductVariantToPresentmentPricesResolver; + price?: ProductVariantToPriceResolver; + privateMetafield?: ProductVariantToPrivateMetafieldResolver; + privateMetafields?: ProductVariantToPrivateMetafieldsResolver; + product?: ProductVariantToProductResolver; + requiresShipping?: ProductVariantToRequiresShippingResolver; + selectedOptions?: ProductVariantToSelectedOptionsResolver; + sku?: ProductVariantToSkuResolver; + storefrontId?: ProductVariantToStorefrontIdResolver; + taxCode?: ProductVariantToTaxCodeResolver; + taxable?: ProductVariantToTaxableResolver; + title?: ProductVariantToTitleResolver; + translations?: ProductVariantToTranslationsResolver; + updatedAt?: ProductVariantToUpdatedAtResolver; + weight?: ProductVariantToWeightResolver; + weightUnit?: ProductVariantToWeightUnitResolver; + } + + export interface ProductVariantToAvailableForSaleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToBarcodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToCompareAtPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToDefaultCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToDeliveryProfileResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToDisplayNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToFulfillmentServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToFulfillmentServiceEditableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToHarmonizedSystemCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToImageArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface ProductVariantToImageResolver { + (parent: TParent, args: ProductVariantToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToImagesArgs { + first?: number; + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface ProductVariantToImagesResolver { + (parent: TParent, args: ProductVariantToImagesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToInventoryItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToInventoryManagementResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToInventoryPolicyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToInventoryQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToMetafieldArgs { + namespace: string; + key: string; + } + export interface ProductVariantToMetafieldResolver { + (parent: TParent, args: ProductVariantToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductVariantToMetafieldsResolver { + (parent: TParent, args: ProductVariantToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToPositionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToPresentmentPricesArgs { + presentmentCurrencies?: Array; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductVariantToPresentmentPricesResolver { + (parent: TParent, args: ProductVariantToPresentmentPricesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToPrivateMetafieldArgs { + namespace: string; + key: string; + } + export interface ProductVariantToPrivateMetafieldResolver { + (parent: TParent, args: ProductVariantToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToPrivateMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ProductVariantToPrivateMetafieldsResolver { + (parent: TParent, args: ProductVariantToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToProductResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToRequiresShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToSelectedOptionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToSkuResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToStorefrontIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToTaxCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToTaxableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToTranslationsArgs { + locale: string; + } + export interface ProductVariantToTranslationsResolver { + (parent: TParent, args: ProductVariantToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToWeightResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantToWeightUnitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileTypeResolver { + activeMethodDefinitionsCount?: DeliveryProfileToActiveMethodDefinitionsCountResolver; + default?: DeliveryProfileToDefaultResolver; + id?: DeliveryProfileToIdResolver; + legacyMode?: DeliveryProfileToLegacyModeResolver; + locationsWithoutRatesCount?: DeliveryProfileToLocationsWithoutRatesCountResolver; + name?: DeliveryProfileToNameResolver; + originLocationCount?: DeliveryProfileToOriginLocationCountResolver; + productVariantsCount?: DeliveryProfileToProductVariantsCountResolver; + productVariantsCountV2?: DeliveryProfileToProductVariantsCountV2Resolver; + profileItems?: DeliveryProfileToProfileItemsResolver; + profileLocationGroups?: DeliveryProfileToProfileLocationGroupsResolver; + unassignedLocations?: DeliveryProfileToUnassignedLocationsResolver; + zoneCountryCount?: DeliveryProfileToZoneCountryCountResolver; + } + + export interface DeliveryProfileToActiveMethodDefinitionsCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToDefaultResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToLegacyModeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToLocationsWithoutRatesCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToOriginLocationCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToProductVariantsCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToProductVariantsCountV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToProfileItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProfileItemSortKeys; + } + export interface DeliveryProfileToProfileItemsResolver { + (parent: TParent, args: DeliveryProfileToProfileItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToProfileLocationGroupsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToUnassignedLocationsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileToZoneCountryCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProductVariantsCountTypeResolver { + capped?: DeliveryProductVariantsCountToCappedResolver; + count?: DeliveryProductVariantsCountToCountResolver; + } + + export interface DeliveryProductVariantsCountToCappedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProductVariantsCountToCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileItemConnectionTypeResolver { + edges?: DeliveryProfileItemConnectionToEdgesResolver; + pageInfo?: DeliveryProfileItemConnectionToPageInfoResolver; + } + + export interface DeliveryProfileItemConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileItemConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileItemEdgeTypeResolver { + cursor?: DeliveryProfileItemEdgeToCursorResolver; + node?: DeliveryProfileItemEdgeToNodeResolver; + } + + export interface DeliveryProfileItemEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileItemEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileItemTypeResolver { + product?: DeliveryProfileItemToProductResolver; + variants?: DeliveryProfileItemToVariantsResolver; + } + + export interface DeliveryProfileItemToProductResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileItemToVariantsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductVariantSortKeys; + } + export interface DeliveryProfileItemToVariantsResolver { + (parent: TParent, args: DeliveryProfileItemToVariantsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileLocationGroupTypeResolver { + countriesInAnyZone?: DeliveryProfileLocationGroupToCountriesInAnyZoneResolver; + locationGroup?: DeliveryProfileLocationGroupToLocationGroupResolver; + locationGroupZones?: DeliveryProfileLocationGroupToLocationGroupZonesResolver; + } + + export interface DeliveryProfileLocationGroupToCountriesInAnyZoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileLocationGroupToLocationGroupResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileLocationGroupToLocationGroupZonesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DeliveryProfileLocationGroupToLocationGroupZonesResolver { + (parent: TParent, args: DeliveryProfileLocationGroupToLocationGroupZonesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryAndZoneTypeResolver { + country?: DeliveryCountryAndZoneToCountryResolver; + zone?: DeliveryCountryAndZoneToZoneResolver; + } + + export interface DeliveryCountryAndZoneToCountryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryAndZoneToZoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryTypeResolver { + code?: DeliveryCountryToCodeResolver; + id?: DeliveryCountryToIdResolver; + name?: DeliveryCountryToNameResolver; + provinces?: DeliveryCountryToProvincesResolver; + } + + export interface DeliveryCountryToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryToProvincesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryCodeOrRestOfWorldTypeResolver { + countryCode?: DeliveryCountryCodeOrRestOfWorldToCountryCodeResolver; + restOfWorld?: DeliveryCountryCodeOrRestOfWorldToRestOfWorldResolver; + } + + export interface DeliveryCountryCodeOrRestOfWorldToCountryCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryCodeOrRestOfWorldToRestOfWorldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProvinceTypeResolver { + code?: DeliveryProvinceToCodeResolver; + id?: DeliveryProvinceToIdResolver; + name?: DeliveryProvinceToNameResolver; + } + + export interface DeliveryProvinceToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProvinceToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProvinceToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupTypeResolver { + id?: DeliveryLocationGroupToIdResolver; + locations?: DeliveryLocationGroupToLocationsResolver; + } + + export interface DeliveryLocationGroupToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupToLocationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: LocationSortKeys; + query?: string; + includeLegacy?: boolean; + includeInactive?: boolean; + } + export interface DeliveryLocationGroupToLocationsResolver { + (parent: TParent, args: DeliveryLocationGroupToLocationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationConnectionTypeResolver { + edges?: LocationConnectionToEdgesResolver; + pageInfo?: LocationConnectionToPageInfoResolver; + } + + export interface LocationConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationEdgeTypeResolver { + cursor?: LocationEdgeToCursorResolver; + node?: LocationEdgeToNodeResolver; + } + + export interface LocationEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationTypeResolver { + activatable?: LocationToActivatableResolver; + address?: LocationToAddressResolver; + addressVerified?: LocationToAddressVerifiedResolver; + deactivatable?: LocationToDeactivatableResolver; + deactivatedAt?: LocationToDeactivatedAtResolver; + deletable?: LocationToDeletableResolver; + fulfillmentService?: LocationToFulfillmentServiceResolver; + fulfillsOnlineOrders?: LocationToFulfillsOnlineOrdersResolver; + hasActiveInventory?: LocationToHasActiveInventoryResolver; + hasUnfulfilledOrders?: LocationToHasUnfulfilledOrdersResolver; + id?: LocationToIdResolver; + inventoryLevel?: LocationToInventoryLevelResolver; + inventoryLevels?: LocationToInventoryLevelsResolver; + isActive?: LocationToIsActiveResolver; + isPrimary?: LocationToIsPrimaryResolver; + legacyResourceId?: LocationToLegacyResourceIdResolver; + name?: LocationToNameResolver; + shipsInventory?: LocationToShipsInventoryResolver; + suggestedAddresses?: LocationToSuggestedAddressesResolver; + } + + export interface LocationToActivatableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToAddressVerifiedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToDeactivatableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToDeactivatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToDeletableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToFulfillmentServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToFulfillsOnlineOrdersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToHasActiveInventoryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToHasUnfulfilledOrdersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToInventoryLevelArgs { + inventoryItemId: string; + } + export interface LocationToInventoryLevelResolver { + (parent: TParent, args: LocationToInventoryLevelArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToInventoryLevelsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + query?: string; + } + export interface LocationToInventoryLevelsResolver { + (parent: TParent, args: LocationToInventoryLevelsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToIsActiveResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToIsPrimaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToShipsInventoryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationToSuggestedAddressesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressTypeResolver { + address1?: LocationAddressToAddress1Resolver; + address2?: LocationAddressToAddress2Resolver; + city?: LocationAddressToCityResolver; + country?: LocationAddressToCountryResolver; + countryCode?: LocationAddressToCountryCodeResolver; + formatted?: LocationAddressToFormattedResolver; + latitude?: LocationAddressToLatitudeResolver; + longitude?: LocationAddressToLongitudeResolver; + phone?: LocationAddressToPhoneResolver; + province?: LocationAddressToProvinceResolver; + provinceCode?: LocationAddressToProvinceCodeResolver; + zip?: LocationAddressToZipResolver; + } + + export interface LocationAddressToAddress1Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToAddress2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToCityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToCountryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToCountryCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToFormattedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToLatitudeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToLongitudeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToPhoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToProvinceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToProvinceCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationAddressToZipResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceTypeResolver { + callbackUrl?: FulfillmentServiceToCallbackUrlResolver; + fulfillmentOrdersOptIn?: FulfillmentServiceToFulfillmentOrdersOptInResolver; + handle?: FulfillmentServiceToHandleResolver; + id?: FulfillmentServiceToIdResolver; + inventoryManagement?: FulfillmentServiceToInventoryManagementResolver; + location?: FulfillmentServiceToLocationResolver; + productBased?: FulfillmentServiceToProductBasedResolver; + serviceName?: FulfillmentServiceToServiceNameResolver; + shippingMethods?: FulfillmentServiceToShippingMethodsResolver; + type?: FulfillmentServiceToTypeResolver; + } + + export interface FulfillmentServiceToCallbackUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToFulfillmentOrdersOptInResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToInventoryManagementResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToProductBasedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToServiceNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToShippingMethodsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentServiceToTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingMethodTypeResolver { + code?: ShippingMethodToCodeResolver; + label?: ShippingMethodToLabelResolver; + } + + export interface ShippingMethodToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingMethodToLabelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelTypeResolver { + available?: InventoryLevelToAvailableResolver; + canDeactivate?: InventoryLevelToCanDeactivateResolver; + createdAt?: InventoryLevelToCreatedAtResolver; + deactivationAlert?: InventoryLevelToDeactivationAlertResolver; + deactivationAlertHtml?: InventoryLevelToDeactivationAlertHtmlResolver; + id?: InventoryLevelToIdResolver; + incoming?: InventoryLevelToIncomingResolver; + item?: InventoryLevelToItemResolver; + location?: InventoryLevelToLocationResolver; + updatedAt?: InventoryLevelToUpdatedAtResolver; + } + + export interface InventoryLevelToAvailableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToCanDeactivateResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToDeactivationAlertResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToDeactivationAlertHtmlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToIncomingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemTypeResolver { + countryCodeOfOrigin?: InventoryItemToCountryCodeOfOriginResolver; + countryHarmonizedSystemCodes?: InventoryItemToCountryHarmonizedSystemCodesResolver; + createdAt?: InventoryItemToCreatedAtResolver; + duplicateSkuCount?: InventoryItemToDuplicateSkuCountResolver; + harmonizedSystemCode?: InventoryItemToHarmonizedSystemCodeResolver; + id?: InventoryItemToIdResolver; + inventoryHistoryUrl?: InventoryItemToInventoryHistoryUrlResolver; + inventoryLevel?: InventoryItemToInventoryLevelResolver; + inventoryLevels?: InventoryItemToInventoryLevelsResolver; + legacyResourceId?: InventoryItemToLegacyResourceIdResolver; + locationsCount?: InventoryItemToLocationsCountResolver; + provinceCodeOfOrigin?: InventoryItemToProvinceCodeOfOriginResolver; + requiresShipping?: InventoryItemToRequiresShippingResolver; + sku?: InventoryItemToSkuResolver; + tracked?: InventoryItemToTrackedResolver; + trackedEditable?: InventoryItemToTrackedEditableResolver; + unitCost?: InventoryItemToUnitCostResolver; + updatedAt?: InventoryItemToUpdatedAtResolver; + variant?: InventoryItemToVariantResolver; + } + + export interface InventoryItemToCountryCodeOfOriginResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToCountryHarmonizedSystemCodesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface InventoryItemToCountryHarmonizedSystemCodesResolver { + (parent: TParent, args: InventoryItemToCountryHarmonizedSystemCodesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToDuplicateSkuCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToHarmonizedSystemCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToInventoryHistoryUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToInventoryLevelArgs { + locationId: string; + } + export interface InventoryItemToInventoryLevelResolver { + (parent: TParent, args: InventoryItemToInventoryLevelArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToInventoryLevelsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + query?: string; + } + export interface InventoryItemToInventoryLevelsResolver { + (parent: TParent, args: InventoryItemToInventoryLevelsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToLocationsCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToProvinceCodeOfOriginResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToRequiresShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToSkuResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToTrackedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToTrackedEditableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToUnitCostResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemToVariantResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CountryHarmonizedSystemCodeConnectionTypeResolver { + edges?: CountryHarmonizedSystemCodeConnectionToEdgesResolver; + pageInfo?: CountryHarmonizedSystemCodeConnectionToPageInfoResolver; + } + + export interface CountryHarmonizedSystemCodeConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CountryHarmonizedSystemCodeConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CountryHarmonizedSystemCodeEdgeTypeResolver { + cursor?: CountryHarmonizedSystemCodeEdgeToCursorResolver; + node?: CountryHarmonizedSystemCodeEdgeToNodeResolver; + } + + export interface CountryHarmonizedSystemCodeEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CountryHarmonizedSystemCodeEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CountryHarmonizedSystemCodeTypeResolver { + countryCode?: CountryHarmonizedSystemCodeToCountryCodeResolver; + harmonizedSystemCode?: CountryHarmonizedSystemCodeToHarmonizedSystemCodeResolver; + } + + export interface CountryHarmonizedSystemCodeToCountryCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CountryHarmonizedSystemCodeToHarmonizedSystemCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelConnectionTypeResolver { + edges?: InventoryLevelConnectionToEdgesResolver; + pageInfo?: InventoryLevelConnectionToPageInfoResolver; + } + + export interface InventoryLevelConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelEdgeTypeResolver { + cursor?: InventoryLevelEdgeToCursorResolver; + node?: InventoryLevelEdgeToNodeResolver; + } + + export interface InventoryLevelEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryLevelEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface EditablePropertyTypeResolver { + locked?: EditablePropertyToLockedResolver; + reason?: EditablePropertyToReasonResolver; + } + + export interface EditablePropertyToLockedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface EditablePropertyToReasonResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressTypeResolver { + address1?: LocationSuggestedAddressToAddress1Resolver; + address2?: LocationSuggestedAddressToAddress2Resolver; + city?: LocationSuggestedAddressToCityResolver; + country?: LocationSuggestedAddressToCountryResolver; + countryCode?: LocationSuggestedAddressToCountryCodeResolver; + formatted?: LocationSuggestedAddressToFormattedResolver; + province?: LocationSuggestedAddressToProvinceResolver; + provinceCode?: LocationSuggestedAddressToProvinceCodeResolver; + zip?: LocationSuggestedAddressToZipResolver; + } + + export interface LocationSuggestedAddressToAddress1Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressToAddress2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressToCityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressToCountryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressToCountryCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressToFormattedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressToProvinceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressToProvinceCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocationSuggestedAddressToZipResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupZoneConnectionTypeResolver { + edges?: DeliveryLocationGroupZoneConnectionToEdgesResolver; + pageInfo?: DeliveryLocationGroupZoneConnectionToPageInfoResolver; + } + + export interface DeliveryLocationGroupZoneConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupZoneConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupZoneEdgeTypeResolver { + cursor?: DeliveryLocationGroupZoneEdgeToCursorResolver; + node?: DeliveryLocationGroupZoneEdgeToNodeResolver; + } + + export interface DeliveryLocationGroupZoneEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupZoneEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupZoneTypeResolver { + methodDefinitionCounts?: DeliveryLocationGroupZoneToMethodDefinitionCountsResolver; + methodDefinitions?: DeliveryLocationGroupZoneToMethodDefinitionsResolver; + zone?: DeliveryLocationGroupZoneToZoneResolver; + } + + export interface DeliveryLocationGroupZoneToMethodDefinitionCountsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupZoneToMethodDefinitionsArgs { + eligible?: boolean; + type?: DeliveryMethodDefinitionType; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: MethodDefinitionSortKeys; + } + export interface DeliveryLocationGroupZoneToMethodDefinitionsResolver { + (parent: TParent, args: DeliveryLocationGroupZoneToMethodDefinitionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLocationGroupZoneToZoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionCountsTypeResolver { + participantDefinitionsCount?: DeliveryMethodDefinitionCountsToParticipantDefinitionsCountResolver; + rateDefinitionsCount?: DeliveryMethodDefinitionCountsToRateDefinitionsCountResolver; + } + + export interface DeliveryMethodDefinitionCountsToParticipantDefinitionsCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionCountsToRateDefinitionsCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionConnectionTypeResolver { + edges?: DeliveryMethodDefinitionConnectionToEdgesResolver; + pageInfo?: DeliveryMethodDefinitionConnectionToPageInfoResolver; + } + + export interface DeliveryMethodDefinitionConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionEdgeTypeResolver { + cursor?: DeliveryMethodDefinitionEdgeToCursorResolver; + node?: DeliveryMethodDefinitionEdgeToNodeResolver; + } + + export interface DeliveryMethodDefinitionEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionTypeResolver { + active?: DeliveryMethodDefinitionToActiveResolver; + description?: DeliveryMethodDefinitionToDescriptionResolver; + id?: DeliveryMethodDefinitionToIdResolver; + methodConditions?: DeliveryMethodDefinitionToMethodConditionsResolver; + name?: DeliveryMethodDefinitionToNameResolver; + rateProvider?: DeliveryMethodDefinitionToRateProviderResolver; + } + + export interface DeliveryMethodDefinitionToActiveResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionToMethodConditionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryMethodDefinitionToRateProviderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryConditionTypeResolver { + conditionCriteria?: DeliveryConditionToConditionCriteriaResolver; + field?: DeliveryConditionToFieldResolver; + id?: DeliveryConditionToIdResolver; + operator?: DeliveryConditionToOperatorResolver; + } + + export interface DeliveryConditionToConditionCriteriaResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryConditionToFieldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryConditionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryConditionToOperatorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryConditionCriteriaTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Weight' | 'MoneyV2'; + } + export interface WeightTypeResolver { + unit?: WeightToUnitResolver; + value?: WeightToValueResolver; + } + + export interface WeightToUnitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface WeightToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryRateProviderTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DeliveryRateDefinition' | 'DeliveryParticipant'; + } + export interface DeliveryRateDefinitionTypeResolver { + id?: DeliveryRateDefinitionToIdResolver; + price?: DeliveryRateDefinitionToPriceResolver; + } + + export interface DeliveryRateDefinitionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryRateDefinitionToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryParticipantTypeResolver { + adaptToNewServicesFlag?: DeliveryParticipantToAdaptToNewServicesFlagResolver; + carrierService?: DeliveryParticipantToCarrierServiceResolver; + fixedFee?: DeliveryParticipantToFixedFeeResolver; + id?: DeliveryParticipantToIdResolver; + participantServices?: DeliveryParticipantToParticipantServicesResolver; + percentageOfRateFee?: DeliveryParticipantToPercentageOfRateFeeResolver; + } + + export interface DeliveryParticipantToAdaptToNewServicesFlagResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryParticipantToCarrierServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryParticipantToFixedFeeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryParticipantToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryParticipantToParticipantServicesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryParticipantToPercentageOfRateFeeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCarrierServiceTypeResolver { + availableServicesForCountries?: DeliveryCarrierServiceToAvailableServicesForCountriesResolver; + formattedName?: DeliveryCarrierServiceToFormattedNameResolver; + icon?: DeliveryCarrierServiceToIconResolver; + id?: DeliveryCarrierServiceToIdResolver; + name?: DeliveryCarrierServiceToNameResolver; + } + + export interface DeliveryCarrierServiceToAvailableServicesForCountriesArgs { + origins?: Array; + countryCodes?: Array; + restOfWorld: boolean; + } + export interface DeliveryCarrierServiceToAvailableServicesForCountriesResolver { + (parent: TParent, args: DeliveryCarrierServiceToAvailableServicesForCountriesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCarrierServiceToFormattedNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCarrierServiceToIconResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCarrierServiceToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCarrierServiceToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryAvailableServiceTypeResolver { + countries?: DeliveryAvailableServiceToCountriesResolver; + name?: DeliveryAvailableServiceToNameResolver; + } + + export interface DeliveryAvailableServiceToCountriesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryAvailableServiceToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryCodesOrRestOfWorldTypeResolver { + countryCodes?: DeliveryCountryCodesOrRestOfWorldToCountryCodesResolver; + restOfWorld?: DeliveryCountryCodesOrRestOfWorldToRestOfWorldResolver; + } + + export interface DeliveryCountryCodesOrRestOfWorldToCountryCodesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCountryCodesOrRestOfWorldToRestOfWorldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryParticipantServiceTypeResolver { + active?: DeliveryParticipantServiceToActiveResolver; + name?: DeliveryParticipantServiceToNameResolver; + } + + export interface DeliveryParticipantServiceToActiveResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryParticipantServiceToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryZoneTypeResolver { + countries?: DeliveryZoneToCountriesResolver; + id?: DeliveryZoneToIdResolver; + name?: DeliveryZoneToNameResolver; + } + + export interface DeliveryZoneToCountriesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryZoneToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryZoneToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantPricePairConnectionTypeResolver { + edges?: ProductVariantPricePairConnectionToEdgesResolver; + pageInfo?: ProductVariantPricePairConnectionToPageInfoResolver; + } + + export interface ProductVariantPricePairConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantPricePairConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantPricePairEdgeTypeResolver { + cursor?: ProductVariantPricePairEdgeToCursorResolver; + node?: ProductVariantPricePairEdgeToNodeResolver; + } + + export interface ProductVariantPricePairEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantPricePairEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantPricePairTypeResolver { + compareAtPrice?: ProductVariantPricePairToCompareAtPriceResolver; + price?: ProductVariantPricePairToPriceResolver; + } + + export interface ProductVariantPricePairToCompareAtPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ProductVariantPricePairToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SelectedOptionTypeResolver { + name?: SelectedOptionToNameResolver; + value?: SelectedOptionToValueResolver; + } + + export interface SelectedOptionToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SelectedOptionToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationConnectionTypeResolver { + edges?: CollectionPublicationConnectionToEdgesResolver; + pageInfo?: CollectionPublicationConnectionToPageInfoResolver; + } + + export interface CollectionPublicationConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationEdgeTypeResolver { + cursor?: CollectionPublicationEdgeToCursorResolver; + node?: CollectionPublicationEdgeToNodeResolver; + } + + export interface CollectionPublicationEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationTypeResolver { + channel?: CollectionPublicationToChannelResolver; + collection?: CollectionPublicationToCollectionResolver; + isPublished?: CollectionPublicationToIsPublishedResolver; + publication?: CollectionPublicationToPublicationResolver; + publishDate?: CollectionPublicationToPublishDateResolver; + } + + export interface CollectionPublicationToChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationToCollectionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationToIsPublishedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationToPublicationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionPublicationToPublishDateResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionRuleSetTypeResolver { + appliedDisjunctively?: CollectionRuleSetToAppliedDisjunctivelyResolver; + rules?: CollectionRuleSetToRulesResolver; + } + + export interface CollectionRuleSetToAppliedDisjunctivelyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionRuleSetToRulesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionRuleTypeResolver { + column?: CollectionRuleToColumnResolver; + condition?: CollectionRuleToConditionResolver; + relation?: CollectionRuleToRelationResolver; + } + + export interface CollectionRuleToColumnResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionRuleToConditionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionRuleToRelationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditConnectionTypeResolver { + edges?: AppCreditConnectionToEdgesResolver; + pageInfo?: AppCreditConnectionToPageInfoResolver; + } + + export interface AppCreditConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditEdgeTypeResolver { + cursor?: AppCreditEdgeToCursorResolver; + node?: AppCreditEdgeToNodeResolver; + } + + export interface AppCreditEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditTypeResolver { + amount?: AppCreditToAmountResolver; + createdAt?: AppCreditToCreatedAtResolver; + description?: AppCreditToDescriptionResolver; + id?: AppCreditToIdResolver; + test?: AppCreditToTestResolver; + } + + export interface AppCreditToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppCreditToTestResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeConnectionTypeResolver { + edges?: AppPurchaseOneTimeConnectionToEdgesResolver; + pageInfo?: AppPurchaseOneTimeConnectionToPageInfoResolver; + } + + export interface AppPurchaseOneTimeConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeEdgeTypeResolver { + cursor?: AppPurchaseOneTimeEdgeToCursorResolver; + node?: AppPurchaseOneTimeEdgeToNodeResolver; + } + + export interface AppPurchaseOneTimeEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeTypeResolver { + createdAt?: AppPurchaseOneTimeToCreatedAtResolver; + id?: AppPurchaseOneTimeToIdResolver; + name?: AppPurchaseOneTimeToNameResolver; + price?: AppPurchaseOneTimeToPriceResolver; + status?: AppPurchaseOneTimeToStatusResolver; + test?: AppPurchaseOneTimeToTestResolver; + } + + export interface AppPurchaseOneTimeToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseOneTimeToTestResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppPurchaseTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'AppPurchaseOneTime'; + } + export interface AppInstallationConnectionTypeResolver { + edges?: AppInstallationConnectionToEdgesResolver; + pageInfo?: AppInstallationConnectionToPageInfoResolver; + } + + export interface AppInstallationConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationEdgeTypeResolver { + cursor?: AppInstallationEdgeToCursorResolver; + node?: AppInstallationEdgeToNodeResolver; + } + + export interface AppInstallationEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppInstallationEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountAutomaticBxgy' | 'DiscountAutomaticBasic'; + } + export interface DiscountAutomaticBxgyTypeResolver { + createdAt?: DiscountAutomaticBxgyToCreatedAtResolver; + customerBuys?: DiscountAutomaticBxgyToCustomerBuysResolver; + customerGets?: DiscountAutomaticBxgyToCustomerGetsResolver; + endsAt?: DiscountAutomaticBxgyToEndsAtResolver; + events?: DiscountAutomaticBxgyToEventsResolver; + id?: DiscountAutomaticBxgyToIdResolver; + startsAt?: DiscountAutomaticBxgyToStartsAtResolver; + status?: DiscountAutomaticBxgyToStatusResolver; + summary?: DiscountAutomaticBxgyToSummaryResolver; + title?: DiscountAutomaticBxgyToTitleResolver; + usageCount?: DiscountAutomaticBxgyToUsageCountResolver; + usesPerOrderLimit?: DiscountAutomaticBxgyToUsesPerOrderLimitResolver; + } + + export interface DiscountAutomaticBxgyToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToCustomerBuysResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToCustomerGetsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToEndsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: EventSortKeys; + query?: string; + } + export interface DiscountAutomaticBxgyToEventsResolver { + (parent: TParent, args: DiscountAutomaticBxgyToEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToStartsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToUsageCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBxgyToUsesPerOrderLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface HasEventsTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountAutomaticBxgy' | 'DiscountAutomaticNode' | 'DiscountCodeNode' | 'Customer' | 'Order' | 'DraftOrder' | 'PriceRule'; + } + export interface EventConnectionTypeResolver { + edges?: EventConnectionToEdgesResolver; + pageInfo?: EventConnectionToPageInfoResolver; + } + + export interface EventConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface EventConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface EventEdgeTypeResolver { + cursor?: EventEdgeToCursorResolver; + node?: EventEdgeToNodeResolver; + } + + export interface EventEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface EventEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface EventTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'BasicEvent' | 'CommentEvent'; + } + export interface DiscountCustomerBuysTypeResolver { + items?: DiscountCustomerBuysToItemsResolver; + value?: DiscountCustomerBuysToValueResolver; + } + + export interface DiscountCustomerBuysToItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCustomerBuysToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountItemsTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'AllDiscountItems' | 'DiscountProducts' | 'DiscountCollections'; + } + export interface AllDiscountItemsTypeResolver { + allItems?: AllDiscountItemsToAllItemsResolver; + } + + export interface AllDiscountItemsToAllItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountProductsTypeResolver { + productVariants?: DiscountProductsToProductVariantsResolver; + products?: DiscountProductsToProductsResolver; + } + + export interface DiscountProductsToProductVariantsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DiscountProductsToProductVariantsResolver { + (parent: TParent, args: DiscountProductsToProductVariantsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountProductsToProductsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DiscountProductsToProductsResolver { + (parent: TParent, args: DiscountProductsToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCollectionsTypeResolver { + collections?: DiscountCollectionsToCollectionsResolver; + } + + export interface DiscountCollectionsToCollectionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DiscountCollectionsToCollectionsResolver { + (parent: TParent, args: DiscountCollectionsToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCustomerBuysValueTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountQuantity' | 'DiscountPurchaseAmount'; + } + export interface DiscountQuantityTypeResolver { + quantity?: DiscountQuantityToQuantityResolver; + } + + export interface DiscountQuantityToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountPurchaseAmountTypeResolver { + amount?: DiscountPurchaseAmountToAmountResolver; + } + + export interface DiscountPurchaseAmountToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCustomerGetsTypeResolver { + items?: DiscountCustomerGetsToItemsResolver; + value?: DiscountCustomerGetsToValueResolver; + } + + export interface DiscountCustomerGetsToItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCustomerGetsToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCustomerGetsValueTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountOnQuantity' | 'DiscountAmount' | 'DiscountPercentage'; + } + export interface DiscountOnQuantityTypeResolver { + effect?: DiscountOnQuantityToEffectResolver; + quantity?: DiscountOnQuantityToQuantityResolver; + } + + export interface DiscountOnQuantityToEffectResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountOnQuantityToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountEffectTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountPercentage'; + } + export interface DiscountPercentageTypeResolver { + percentage?: DiscountPercentageToPercentageResolver; + } + + export interface DiscountPercentageToPercentageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAmountTypeResolver { + amount?: DiscountAmountToAmountResolver; + appliesOnEachItem?: DiscountAmountToAppliesOnEachItemResolver; + } + + export interface DiscountAmountToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAmountToAppliesOnEachItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicTypeResolver { + createdAt?: DiscountAutomaticBasicToCreatedAtResolver; + customerGets?: DiscountAutomaticBasicToCustomerGetsResolver; + endsAt?: DiscountAutomaticBasicToEndsAtResolver; + minimumRequirement?: DiscountAutomaticBasicToMinimumRequirementResolver; + shortSummary?: DiscountAutomaticBasicToShortSummaryResolver; + startsAt?: DiscountAutomaticBasicToStartsAtResolver; + status?: DiscountAutomaticBasicToStatusResolver; + summary?: DiscountAutomaticBasicToSummaryResolver; + title?: DiscountAutomaticBasicToTitleResolver; + usageCount?: DiscountAutomaticBasicToUsageCountResolver; + } + + export interface DiscountAutomaticBasicToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToCustomerGetsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToEndsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToMinimumRequirementResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToShortSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToStartsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticBasicToUsageCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountMinimumRequirementTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountMinimumQuantity' | 'DiscountMinimumSubtotal'; + } + export interface DiscountMinimumQuantityTypeResolver { + greaterThanOrEqualToQuantity?: DiscountMinimumQuantityToGreaterThanOrEqualToQuantityResolver; + } + + export interface DiscountMinimumQuantityToGreaterThanOrEqualToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountMinimumSubtotalTypeResolver { + greaterThanOrEqualToSubtotal?: DiscountMinimumSubtotalToGreaterThanOrEqualToSubtotalResolver; + } + + export interface DiscountMinimumSubtotalToGreaterThanOrEqualToSubtotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticNodeTypeResolver { + automaticDiscount?: DiscountAutomaticNodeToAutomaticDiscountResolver; + events?: DiscountAutomaticNodeToEventsResolver; + id?: DiscountAutomaticNodeToIdResolver; + } + + export interface DiscountAutomaticNodeToAutomaticDiscountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticNodeToEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: EventSortKeys; + query?: string; + } + export interface DiscountAutomaticNodeToEventsResolver { + (parent: TParent, args: DiscountAutomaticNodeToEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticNodeToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticNodeConnectionTypeResolver { + edges?: DiscountAutomaticNodeConnectionToEdgesResolver; + pageInfo?: DiscountAutomaticNodeConnectionToPageInfoResolver; + } + + export interface DiscountAutomaticNodeConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticNodeConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticNodeEdgeTypeResolver { + cursor?: DiscountAutomaticNodeEdgeToCursorResolver; + node?: DiscountAutomaticNodeEdgeToNodeResolver; + } + + export interface DiscountAutomaticNodeEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticNodeEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchConnectionTypeResolver { + edges?: SavedSearchConnectionToEdgesResolver; + pageInfo?: SavedSearchConnectionToPageInfoResolver; + } + + export interface SavedSearchConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchEdgeTypeResolver { + cursor?: SavedSearchEdgeToCursorResolver; + node?: SavedSearchEdgeToNodeResolver; + } + + export interface SavedSearchEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchTypeResolver { + filters?: SavedSearchToFiltersResolver; + id?: SavedSearchToIdResolver; + legacyResourceId?: SavedSearchToLegacyResourceIdResolver; + name?: SavedSearchToNameResolver; + query?: SavedSearchToQueryResolver; + resourceType?: SavedSearchToResourceTypeResolver; + searchTerms?: SavedSearchToSearchTermsResolver; + } + + export interface SavedSearchToFiltersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchToQueryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchToResourceTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SavedSearchToSearchTermsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchFilterTypeResolver { + key?: SearchFilterToKeyResolver; + value?: SearchFilterToValueResolver; + } + + export interface SearchFilterToKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchFilterToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticConnectionTypeResolver { + edges?: DiscountAutomaticConnectionToEdgesResolver; + pageInfo?: DiscountAutomaticConnectionToPageInfoResolver; + } + + export interface DiscountAutomaticConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticEdgeTypeResolver { + cursor?: DiscountAutomaticEdgeToCursorResolver; + node?: DiscountAutomaticEdgeToNodeResolver; + } + + export interface DiscountAutomaticEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAutomaticEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCarrierServiceAndLocationsTypeResolver { + carrierService?: DeliveryCarrierServiceAndLocationsToCarrierServiceResolver; + locations?: DeliveryCarrierServiceAndLocationsToLocationsResolver; + } + + export interface DeliveryCarrierServiceAndLocationsToCarrierServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryCarrierServiceAndLocationsToLocationsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocaleTypeResolver { + isoCode?: LocaleToIsoCodeResolver; + name?: LocaleToNameResolver; + } + + export interface LocaleToIsoCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LocaleToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeNodeTypeResolver { + codeDiscount?: DiscountCodeNodeToCodeDiscountResolver; + events?: DiscountCodeNodeToEventsResolver; + id?: DiscountCodeNodeToIdResolver; + } + + export interface DiscountCodeNodeToCodeDiscountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeNodeToEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: EventSortKeys; + query?: string; + } + export interface DiscountCodeNodeToEventsResolver { + (parent: TParent, args: DiscountCodeNodeToEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeNodeToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountCodeBasic' | 'DiscountCodeBxgy' | 'DiscountCodeFreeShipping'; + } + export interface DiscountCodeBasicTypeResolver { + appliesOncePerCustomer?: DiscountCodeBasicToAppliesOncePerCustomerResolver; + asyncUsageCount?: DiscountCodeBasicToAsyncUsageCountResolver; + codeCount?: DiscountCodeBasicToCodeCountResolver; + codes?: DiscountCodeBasicToCodesResolver; + createdAt?: DiscountCodeBasicToCreatedAtResolver; + customerGets?: DiscountCodeBasicToCustomerGetsResolver; + customerSelection?: DiscountCodeBasicToCustomerSelectionResolver; + endsAt?: DiscountCodeBasicToEndsAtResolver; + minimumRequirement?: DiscountCodeBasicToMinimumRequirementResolver; + shortSummary?: DiscountCodeBasicToShortSummaryResolver; + startsAt?: DiscountCodeBasicToStartsAtResolver; + status?: DiscountCodeBasicToStatusResolver; + summary?: DiscountCodeBasicToSummaryResolver; + title?: DiscountCodeBasicToTitleResolver; + usageLimit?: DiscountCodeBasicToUsageLimitResolver; + } + + export interface DiscountCodeBasicToAppliesOncePerCustomerResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToAsyncUsageCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToCodeCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToCodesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DiscountCodeBasicToCodesResolver { + (parent: TParent, args: DiscountCodeBasicToCodesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToCustomerGetsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToCustomerSelectionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToEndsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToMinimumRequirementResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToShortSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToStartsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBasicToUsageLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountRedeemCodeConnectionTypeResolver { + edges?: DiscountRedeemCodeConnectionToEdgesResolver; + pageInfo?: DiscountRedeemCodeConnectionToPageInfoResolver; + } + + export interface DiscountRedeemCodeConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountRedeemCodeConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountRedeemCodeEdgeTypeResolver { + cursor?: DiscountRedeemCodeEdgeToCursorResolver; + node?: DiscountRedeemCodeEdgeToNodeResolver; + } + + export interface DiscountRedeemCodeEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountRedeemCodeEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountRedeemCodeTypeResolver { + code?: DiscountRedeemCodeToCodeResolver; + } + + export interface DiscountRedeemCodeToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCustomerSelectionTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountCustomerAll' | 'DiscountCustomers' | 'DiscountCustomerSavedSearches'; + } + export interface DiscountCustomerAllTypeResolver { + allCustomers?: DiscountCustomerAllToAllCustomersResolver; + } + + export interface DiscountCustomerAllToAllCustomersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCustomersTypeResolver { + customers?: DiscountCustomersToCustomersResolver; + } + + export interface DiscountCustomersToCustomersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerTypeResolver { + acceptsMarketing?: CustomerToAcceptsMarketingResolver; + acceptsMarketingUpdatedAt?: CustomerToAcceptsMarketingUpdatedAtResolver; + addresses?: CustomerToAddressesResolver; + averageOrderAmount?: CustomerToAverageOrderAmountResolver; + averageOrderAmountV2?: CustomerToAverageOrderAmountV2Resolver; + canDelete?: CustomerToCanDeleteResolver; + createdAt?: CustomerToCreatedAtResolver; + defaultAddress?: CustomerToDefaultAddressResolver; + displayName?: CustomerToDisplayNameResolver; + email?: CustomerToEmailResolver; + events?: CustomerToEventsResolver; + firstName?: CustomerToFirstNameResolver; + hasNote?: CustomerToHasNoteResolver; + hasTimelineComment?: CustomerToHasTimelineCommentResolver; + id?: CustomerToIdResolver; + image?: CustomerToImageResolver; + lastName?: CustomerToLastNameResolver; + lastOrder?: CustomerToLastOrderResolver; + legacyResourceId?: CustomerToLegacyResourceIdResolver; + lifetimeDuration?: CustomerToLifetimeDurationResolver; + locale?: CustomerToLocaleResolver; + marketingOptInLevel?: CustomerToMarketingOptInLevelResolver; + metafield?: CustomerToMetafieldResolver; + metafields?: CustomerToMetafieldsResolver; + note?: CustomerToNoteResolver; + orders?: CustomerToOrdersResolver; + ordersCount?: CustomerToOrdersCountResolver; + phone?: CustomerToPhoneResolver; + privateMetafield?: CustomerToPrivateMetafieldResolver; + privateMetafields?: CustomerToPrivateMetafieldsResolver; + state?: CustomerToStateResolver; + tags?: CustomerToTagsResolver; + taxExempt?: CustomerToTaxExemptResolver; + taxExemptions?: CustomerToTaxExemptionsResolver; + totalSpent?: CustomerToTotalSpentResolver; + totalSpentV2?: CustomerToTotalSpentV2Resolver; + updatedAt?: CustomerToUpdatedAtResolver; + validEmailAddress?: CustomerToValidEmailAddressResolver; + verifiedEmail?: CustomerToVerifiedEmailResolver; + } + + export interface CustomerToAcceptsMarketingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToAcceptsMarketingUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToAddressesArgs { + first?: number; + } + export interface CustomerToAddressesResolver { + (parent: TParent, args: CustomerToAddressesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToAverageOrderAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToAverageOrderAmountV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToCanDeleteResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToDefaultAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToDisplayNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToEmailResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: EventSortKeys; + query?: string; + } + export interface CustomerToEventsResolver { + (parent: TParent, args: CustomerToEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToFirstNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToHasNoteResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToHasTimelineCommentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToImageArgs { + size?: number; + } + export interface CustomerToImageResolver { + (parent: TParent, args: CustomerToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToLastNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToLastOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToLifetimeDurationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToLocaleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToMarketingOptInLevelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToMetafieldArgs { + namespace: string; + key: string; + } + export interface CustomerToMetafieldResolver { + (parent: TParent, args: CustomerToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface CustomerToMetafieldsResolver { + (parent: TParent, args: CustomerToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToNoteResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToOrdersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: OrderSortKeys; + query?: string; + } + export interface CustomerToOrdersResolver { + (parent: TParent, args: CustomerToOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToOrdersCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToPhoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToPrivateMetafieldArgs { + namespace: string; + key: string; + } + export interface CustomerToPrivateMetafieldResolver { + (parent: TParent, args: CustomerToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToPrivateMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface CustomerToPrivateMetafieldsResolver { + (parent: TParent, args: CustomerToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToStateResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToTagsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToTaxExemptResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToTaxExemptionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToTotalSpentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToTotalSpentV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToValidEmailAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerToVerifiedEmailResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CommentEventSubjectTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Customer' | 'Order' | 'DraftOrder' | 'PriceRule'; + } + export interface MailingAddressTypeResolver { + address1?: MailingAddressToAddress1Resolver; + address2?: MailingAddressToAddress2Resolver; + city?: MailingAddressToCityResolver; + company?: MailingAddressToCompanyResolver; + country?: MailingAddressToCountryResolver; + countryCode?: MailingAddressToCountryCodeResolver; + countryCodeV2?: MailingAddressToCountryCodeV2Resolver; + firstName?: MailingAddressToFirstNameResolver; + formatted?: MailingAddressToFormattedResolver; + formattedArea?: MailingAddressToFormattedAreaResolver; + id?: MailingAddressToIdResolver; + lastName?: MailingAddressToLastNameResolver; + latitude?: MailingAddressToLatitudeResolver; + longitude?: MailingAddressToLongitudeResolver; + name?: MailingAddressToNameResolver; + phone?: MailingAddressToPhoneResolver; + province?: MailingAddressToProvinceResolver; + provinceCode?: MailingAddressToProvinceCodeResolver; + zip?: MailingAddressToZipResolver; + } + + export interface MailingAddressToAddress1Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToAddress2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToCityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToCompanyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToCountryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToCountryCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToCountryCodeV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToFirstNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToFormattedArgs { + withName?: boolean; + withCompany?: boolean; + } + export interface MailingAddressToFormattedResolver { + (parent: TParent, args: MailingAddressToFormattedArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToFormattedAreaResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToLastNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToLatitudeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToLongitudeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToPhoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToProvinceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToProvinceCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MailingAddressToZipResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTypeResolver { + alerts?: OrderToAlertsResolver; + billingAddress?: OrderToBillingAddressResolver; + billingAddressMatchesShippingAddress?: OrderToBillingAddressMatchesShippingAddressResolver; + canMarkAsPaid?: OrderToCanMarkAsPaidResolver; + canNotifyCustomer?: OrderToCanNotifyCustomerResolver; + cancelReason?: OrderToCancelReasonResolver; + cancelledAt?: OrderToCancelledAtResolver; + capturable?: OrderToCapturableResolver; + cartDiscountAmount?: OrderToCartDiscountAmountResolver; + cartDiscountAmountSet?: OrderToCartDiscountAmountSetResolver; + channel?: OrderToChannelResolver; + clientIp?: OrderToClientIpResolver; + closed?: OrderToClosedResolver; + closedAt?: OrderToClosedAtResolver; + confirmed?: OrderToConfirmedResolver; + createdAt?: OrderToCreatedAtResolver; + currencyCode?: OrderToCurrencyCodeResolver; + currentTotalDutiesSet?: OrderToCurrentTotalDutiesSetResolver; + customAttributes?: OrderToCustomAttributesResolver; + customer?: OrderToCustomerResolver; + customerAcceptsMarketing?: OrderToCustomerAcceptsMarketingResolver; + customerJourney?: OrderToCustomerJourneyResolver; + customerLocale?: OrderToCustomerLocaleResolver; + discountApplications?: OrderToDiscountApplicationsResolver; + discountCode?: OrderToDiscountCodeResolver; + displayAddress?: OrderToDisplayAddressResolver; + displayFinancialStatus?: OrderToDisplayFinancialStatusResolver; + displayFulfillmentStatus?: OrderToDisplayFulfillmentStatusResolver; + disputes?: OrderToDisputesResolver; + draftFulfillments?: OrderToDraftFulfillmentsResolver; + edited?: OrderToEditedResolver; + email?: OrderToEmailResolver; + events?: OrderToEventsResolver; + fulfillable?: OrderToFulfillableResolver; + fulfillmentOrders?: OrderToFulfillmentOrdersResolver; + fulfillments?: OrderToFulfillmentsResolver; + fullyPaid?: OrderToFullyPaidResolver; + hasTimelineComment?: OrderToHasTimelineCommentResolver; + id?: OrderToIdResolver; + landingPageDisplayText?: OrderToLandingPageDisplayTextResolver; + landingPageUrl?: OrderToLandingPageUrlResolver; + legacyResourceId?: OrderToLegacyResourceIdResolver; + lineItems?: OrderToLineItemsResolver; + lineItemsMutable?: OrderToLineItemsMutableResolver; + location?: OrderToLocationResolver; + merchantEditable?: OrderToMerchantEditableResolver; + metafield?: OrderToMetafieldResolver; + metafields?: OrderToMetafieldsResolver; + name?: OrderToNameResolver; + netPayment?: OrderToNetPaymentResolver; + netPaymentSet?: OrderToNetPaymentSetResolver; + nonFulfillableLineItems?: OrderToNonFulfillableLineItemsResolver; + note?: OrderToNoteResolver; + originalTotalDutiesSet?: OrderToOriginalTotalDutiesSetResolver; + originalTotalPriceSet?: OrderToOriginalTotalPriceSetResolver; + paymentCollectionDetails?: OrderToPaymentCollectionDetailsResolver; + paymentGatewayNames?: OrderToPaymentGatewayNamesResolver; + phone?: OrderToPhoneResolver; + physicalLocation?: OrderToPhysicalLocationResolver; + presentmentCurrencyCode?: OrderToPresentmentCurrencyCodeResolver; + privateMetafield?: OrderToPrivateMetafieldResolver; + privateMetafields?: OrderToPrivateMetafieldsResolver; + processedAt?: OrderToProcessedAtResolver; + publication?: OrderToPublicationResolver; + referralCode?: OrderToReferralCodeResolver; + referrerDisplayText?: OrderToReferrerDisplayTextResolver; + referrerUrl?: OrderToReferrerUrlResolver; + refundDiscrepancySet?: OrderToRefundDiscrepancySetResolver; + refundable?: OrderToRefundableResolver; + refunds?: OrderToRefundsResolver; + requiresShipping?: OrderToRequiresShippingResolver; + restockable?: OrderToRestockableResolver; + riskLevel?: OrderToRiskLevelResolver; + risks?: OrderToRisksResolver; + shippingAddress?: OrderToShippingAddressResolver; + shippingLine?: OrderToShippingLineResolver; + subtotalLineItemsQuantity?: OrderToSubtotalLineItemsQuantityResolver; + subtotalPrice?: OrderToSubtotalPriceResolver; + subtotalPriceSet?: OrderToSubtotalPriceSetResolver; + suggestedRefund?: OrderToSuggestedRefundResolver; + tags?: OrderToTagsResolver; + taxLines?: OrderToTaxLinesResolver; + taxesIncluded?: OrderToTaxesIncludedResolver; + test?: OrderToTestResolver; + totalCapturable?: OrderToTotalCapturableResolver; + totalCapturableSet?: OrderToTotalCapturableSetResolver; + totalDiscounts?: OrderToTotalDiscountsResolver; + totalDiscountsSet?: OrderToTotalDiscountsSetResolver; + totalOutstandingSet?: OrderToTotalOutstandingSetResolver; + totalPrice?: OrderToTotalPriceResolver; + totalPriceSet?: OrderToTotalPriceSetResolver; + totalReceived?: OrderToTotalReceivedResolver; + totalReceivedSet?: OrderToTotalReceivedSetResolver; + totalRefunded?: OrderToTotalRefundedResolver; + totalRefundedSet?: OrderToTotalRefundedSetResolver; + totalRefundedShippingSet?: OrderToTotalRefundedShippingSetResolver; + totalShippingPrice?: OrderToTotalShippingPriceResolver; + totalShippingPriceSet?: OrderToTotalShippingPriceSetResolver; + totalTax?: OrderToTotalTaxResolver; + totalTaxSet?: OrderToTotalTaxSetResolver; + totalWeight?: OrderToTotalWeightResolver; + transactions?: OrderToTransactionsResolver; + unpaid?: OrderToUnpaidResolver; + updatedAt?: OrderToUpdatedAtResolver; + } + + export interface OrderToAlertsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToBillingAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToBillingAddressMatchesShippingAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCanMarkAsPaidResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCanNotifyCustomerResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCancelReasonResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCancelledAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCapturableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCartDiscountAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCartDiscountAmountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToClientIpResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToClosedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToClosedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToConfirmedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCurrencyCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCurrentTotalDutiesSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCustomAttributesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCustomerResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCustomerAcceptsMarketingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCustomerJourneyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToCustomerLocaleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToDiscountApplicationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface OrderToDiscountApplicationsResolver { + (parent: TParent, args: OrderToDiscountApplicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToDiscountCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToDisplayAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToDisplayFinancialStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToDisplayFulfillmentStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToDisputesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToDraftFulfillmentsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToEditedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToEmailResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: EventSortKeys; + query?: string; + } + export interface OrderToEventsResolver { + (parent: TParent, args: OrderToEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToFulfillableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToFulfillmentOrdersArgs { + displayable?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + query?: string; + } + export interface OrderToFulfillmentOrdersResolver { + (parent: TParent, args: OrderToFulfillmentOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToFulfillmentsArgs { + first?: number; + } + export interface OrderToFulfillmentsResolver { + (parent: TParent, args: OrderToFulfillmentsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToFullyPaidResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToHasTimelineCommentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToLandingPageDisplayTextResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToLandingPageUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToLineItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface OrderToLineItemsResolver { + (parent: TParent, args: OrderToLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToLineItemsMutableArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface OrderToLineItemsMutableResolver { + (parent: TParent, args: OrderToLineItemsMutableArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToMerchantEditableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToMetafieldArgs { + namespace: string; + key: string; + } + export interface OrderToMetafieldResolver { + (parent: TParent, args: OrderToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface OrderToMetafieldsResolver { + (parent: TParent, args: OrderToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToNetPaymentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToNetPaymentSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToNonFulfillableLineItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface OrderToNonFulfillableLineItemsResolver { + (parent: TParent, args: OrderToNonFulfillableLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToNoteResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToOriginalTotalDutiesSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToOriginalTotalPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToPaymentCollectionDetailsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToPaymentGatewayNamesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToPhoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToPhysicalLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToPresentmentCurrencyCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToPrivateMetafieldArgs { + namespace: string; + key: string; + } + export interface OrderToPrivateMetafieldResolver { + (parent: TParent, args: OrderToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToPrivateMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface OrderToPrivateMetafieldsResolver { + (parent: TParent, args: OrderToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToProcessedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToPublicationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToReferralCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToReferrerDisplayTextResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToReferrerUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToRefundDiscrepancySetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToRefundableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToRefundsArgs { + first?: number; + } + export interface OrderToRefundsResolver { + (parent: TParent, args: OrderToRefundsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToRequiresShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToRestockableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToRiskLevelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToRisksArgs { + first?: number; + } + export interface OrderToRisksResolver { + (parent: TParent, args: OrderToRisksArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToShippingAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToShippingLineResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToSubtotalLineItemsQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToSubtotalPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToSubtotalPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToSuggestedRefundArgs { + shippingAmount?: Money; + refundShipping?: boolean; + refundLineItems?: Array; + refundDuties?: Array; + suggestFullRefund?: boolean; + } + export interface OrderToSuggestedRefundResolver { + (parent: TParent, args: OrderToSuggestedRefundArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTagsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTaxLinesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTaxesIncludedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTestResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalCapturableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalCapturableSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalDiscountsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalDiscountsSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalOutstandingSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalReceivedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalReceivedSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalRefundedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalRefundedSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalRefundedShippingSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalShippingPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalShippingPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalTaxResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalTaxSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTotalWeightResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToTransactionsArgs { + first?: number; + capturable?: boolean; + manuallyResolvable?: boolean; + } + export interface OrderToTransactionsResolver { + (parent: TParent, args: OrderToTransactionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToUnpaidResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertTypeResolver { + actions?: ResourceAlertToActionsResolver; + content?: ResourceAlertToContentResolver; + dismissibleHandle?: ResourceAlertToDismissibleHandleResolver; + icon?: ResourceAlertToIconResolver; + severity?: ResourceAlertToSeverityResolver; + title?: ResourceAlertToTitleResolver; + } + + export interface ResourceAlertToActionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertToContentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertToDismissibleHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertToIconResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertToSeverityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertActionTypeResolver { + primary?: ResourceAlertActionToPrimaryResolver; + show?: ResourceAlertActionToShowResolver; + title?: ResourceAlertActionToTitleResolver; + url?: ResourceAlertActionToUrlResolver; + } + + export interface ResourceAlertActionToPrimaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertActionToShowResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertActionToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ResourceAlertActionToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MoneyBagTypeResolver { + presentmentMoney?: MoneyBagToPresentmentMoneyResolver; + shopMoney?: MoneyBagToShopMoneyResolver; + } + + export interface MoneyBagToPresentmentMoneyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MoneyBagToShopMoneyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AttributeTypeResolver { + key?: AttributeToKeyResolver; + value?: AttributeToValueResolver; + } + + export interface AttributeToKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AttributeToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerJourneyTypeResolver { + customerOrderIndex?: CustomerJourneyToCustomerOrderIndexResolver; + daysToConversion?: CustomerJourneyToDaysToConversionResolver; + firstVisit?: CustomerJourneyToFirstVisitResolver; + lastVisit?: CustomerJourneyToLastVisitResolver; + moments?: CustomerJourneyToMomentsResolver; + } + + export interface CustomerJourneyToCustomerOrderIndexResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerJourneyToDaysToConversionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerJourneyToFirstVisitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerJourneyToLastVisitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerJourneyToMomentsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitTypeResolver { + id?: CustomerVisitToIdResolver; + landingPage?: CustomerVisitToLandingPageResolver; + landingPageHtml?: CustomerVisitToLandingPageHtmlResolver; + marketingEvent?: CustomerVisitToMarketingEventResolver; + occurredAt?: CustomerVisitToOccurredAtResolver; + referralCode?: CustomerVisitToReferralCodeResolver; + referralInfoHtml?: CustomerVisitToReferralInfoHtmlResolver; + referrerUrl?: CustomerVisitToReferrerUrlResolver; + source?: CustomerVisitToSourceResolver; + sourceDescription?: CustomerVisitToSourceDescriptionResolver; + sourceType?: CustomerVisitToSourceTypeResolver; + utmParameters?: CustomerVisitToUtmParametersResolver; + } + + export interface CustomerVisitToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToLandingPageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToLandingPageHtmlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToMarketingEventResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToOccurredAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToReferralCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToReferralInfoHtmlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToReferrerUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToSourceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToSourceDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToSourceTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerVisitToUtmParametersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerMomentTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'CustomerVisit'; + } + export interface MarketingEventTypeResolver { + app?: MarketingEventToAppResolver; + channel?: MarketingEventToChannelResolver; + description?: MarketingEventToDescriptionResolver; + endedAt?: MarketingEventToEndedAtResolver; + id?: MarketingEventToIdResolver; + legacyResourceId?: MarketingEventToLegacyResourceIdResolver; + manageUrl?: MarketingEventToManageUrlResolver; + previewUrl?: MarketingEventToPreviewUrlResolver; + remoteId?: MarketingEventToRemoteIdResolver; + scheduledToEndAt?: MarketingEventToScheduledToEndAtResolver; + sourceAndMedium?: MarketingEventToSourceAndMediumResolver; + startedAt?: MarketingEventToStartedAtResolver; + targetTypeDisplayText?: MarketingEventToTargetTypeDisplayTextResolver; + type?: MarketingEventToTypeResolver; + utmCampaign?: MarketingEventToUtmCampaignResolver; + utmMedium?: MarketingEventToUtmMediumResolver; + utmSource?: MarketingEventToUtmSourceResolver; + } + + export interface MarketingEventToAppResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToEndedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToManageUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToPreviewUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToRemoteIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToScheduledToEndAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToSourceAndMediumResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToStartedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToTargetTypeDisplayTextResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToUtmCampaignResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToUtmMediumResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventToUtmSourceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface UTMParametersTypeResolver { + campaign?: UTMParametersToCampaignResolver; + content?: UTMParametersToContentResolver; + medium?: UTMParametersToMediumResolver; + source?: UTMParametersToSourceResolver; + term?: UTMParametersToTermResolver; + } + + export interface UTMParametersToCampaignResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface UTMParametersToContentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface UTMParametersToMediumResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface UTMParametersToSourceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface UTMParametersToTermResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountApplicationConnectionTypeResolver { + edges?: DiscountApplicationConnectionToEdgesResolver; + pageInfo?: DiscountApplicationConnectionToPageInfoResolver; + } + + export interface DiscountApplicationConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountApplicationConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountApplicationEdgeTypeResolver { + cursor?: DiscountApplicationEdgeToCursorResolver; + node?: DiscountApplicationEdgeToNodeResolver; + } + + export interface DiscountApplicationEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountApplicationEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountApplicationTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'AutomaticDiscountApplication' | 'DiscountCodeApplication' | 'ManualDiscountApplication' | 'ScriptDiscountApplication'; + } + export interface PricingValueTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'PricingPercentageValue' | 'MoneyV2'; + } + export interface PricingPercentageValueTypeResolver { + percentage?: PricingPercentageValueToPercentageResolver; + } + + export interface PricingPercentageValueToPercentageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderDisputeSummaryTypeResolver { + id?: OrderDisputeSummaryToIdResolver; + initiatedAs?: OrderDisputeSummaryToInitiatedAsResolver; + status?: OrderDisputeSummaryToStatusResolver; + } + + export interface OrderDisputeSummaryToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderDisputeSummaryToInitiatedAsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderDisputeSummaryToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftFulfillmentTypeResolver { + allowLabelPurchase?: DraftFulfillmentToAllowLabelPurchaseResolver; + lineItems?: DraftFulfillmentToLineItemsResolver; + requiresShipping?: DraftFulfillmentToRequiresShippingResolver; + service?: DraftFulfillmentToServiceResolver; + } + + export interface DraftFulfillmentToAllowLabelPurchaseResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftFulfillmentToLineItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftFulfillmentToRequiresShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftFulfillmentToServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemTypeResolver { + canRestock?: LineItemToCanRestockResolver; + customAttributes?: LineItemToCustomAttributesResolver; + discountAllocations?: LineItemToDiscountAllocationsResolver; + discountedTotal?: LineItemToDiscountedTotalResolver; + discountedTotalSet?: LineItemToDiscountedTotalSetResolver; + discountedUnitPrice?: LineItemToDiscountedUnitPriceResolver; + discountedUnitPriceSet?: LineItemToDiscountedUnitPriceSetResolver; + duties?: LineItemToDutiesResolver; + fulfillableQuantity?: LineItemToFulfillableQuantityResolver; + fulfillmentService?: LineItemToFulfillmentServiceResolver; + fulfillmentStatus?: LineItemToFulfillmentStatusResolver; + id?: LineItemToIdResolver; + image?: LineItemToImageResolver; + merchantEditable?: LineItemToMerchantEditableResolver; + name?: LineItemToNameResolver; + nonFulfillableQuantity?: LineItemToNonFulfillableQuantityResolver; + originalTotal?: LineItemToOriginalTotalResolver; + originalTotalSet?: LineItemToOriginalTotalSetResolver; + originalUnitPrice?: LineItemToOriginalUnitPriceResolver; + originalUnitPriceSet?: LineItemToOriginalUnitPriceSetResolver; + product?: LineItemToProductResolver; + quantity?: LineItemToQuantityResolver; + refundableQuantity?: LineItemToRefundableQuantityResolver; + requiresShipping?: LineItemToRequiresShippingResolver; + restockable?: LineItemToRestockableResolver; + sku?: LineItemToSkuResolver; + taxLines?: LineItemToTaxLinesResolver; + taxable?: LineItemToTaxableResolver; + title?: LineItemToTitleResolver; + totalDiscount?: LineItemToTotalDiscountResolver; + totalDiscountSet?: LineItemToTotalDiscountSetResolver; + unfulfilledDiscountedTotal?: LineItemToUnfulfilledDiscountedTotalResolver; + unfulfilledDiscountedTotalSet?: LineItemToUnfulfilledDiscountedTotalSetResolver; + unfulfilledOriginalTotal?: LineItemToUnfulfilledOriginalTotalResolver; + unfulfilledOriginalTotalSet?: LineItemToUnfulfilledOriginalTotalSetResolver; + unfulfilledQuantity?: LineItemToUnfulfilledQuantityResolver; + variant?: LineItemToVariantResolver; + variantTitle?: LineItemToVariantTitleResolver; + vendor?: LineItemToVendorResolver; + } + + export interface LineItemToCanRestockResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToCustomAttributesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToDiscountAllocationsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToDiscountedTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToDiscountedTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToDiscountedUnitPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToDiscountedUnitPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToDutiesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToFulfillableQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToFulfillmentServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToFulfillmentStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToImageArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface LineItemToImageResolver { + (parent: TParent, args: LineItemToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToMerchantEditableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToNonFulfillableQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToOriginalTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToOriginalTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToOriginalUnitPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToOriginalUnitPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToProductResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToRefundableQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToRequiresShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToRestockableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToSkuResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToTaxLinesArgs { + first?: number; + } + export interface LineItemToTaxLinesResolver { + (parent: TParent, args: LineItemToTaxLinesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToTaxableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToTotalDiscountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToTotalDiscountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToUnfulfilledDiscountedTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToUnfulfilledDiscountedTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToUnfulfilledOriginalTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToUnfulfilledOriginalTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToUnfulfilledQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToVariantResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToVariantTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemToVendorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAllocationTypeResolver { + allocatedAmount?: DiscountAllocationToAllocatedAmountResolver; + allocatedAmountSet?: DiscountAllocationToAllocatedAmountSetResolver; + discountApplication?: DiscountAllocationToDiscountApplicationResolver; + } + + export interface DiscountAllocationToAllocatedAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAllocationToAllocatedAmountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountAllocationToDiscountApplicationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DutyTypeResolver { + countryCodeOfOrigin?: DutyToCountryCodeOfOriginResolver; + harmonizedSystemCode?: DutyToHarmonizedSystemCodeResolver; + id?: DutyToIdResolver; + price?: DutyToPriceResolver; + taxLines?: DutyToTaxLinesResolver; + } + + export interface DutyToCountryCodeOfOriginResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DutyToHarmonizedSystemCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DutyToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DutyToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DutyToTaxLinesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TaxLineTypeResolver { + price?: TaxLineToPriceResolver; + priceSet?: TaxLineToPriceSetResolver; + rate?: TaxLineToRateResolver; + ratePercentage?: TaxLineToRatePercentageResolver; + title?: TaxLineToTitleResolver; + } + + export interface TaxLineToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TaxLineToPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TaxLineToRateResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TaxLineToRatePercentageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TaxLineToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderConnectionTypeResolver { + edges?: FulfillmentOrderConnectionToEdgesResolver; + pageInfo?: FulfillmentOrderConnectionToPageInfoResolver; + } + + export interface FulfillmentOrderConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderEdgeTypeResolver { + cursor?: FulfillmentOrderEdgeToCursorResolver; + node?: FulfillmentOrderEdgeToNodeResolver; + } + + export interface FulfillmentOrderEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderTypeResolver { + assignedLocation?: FulfillmentOrderToAssignedLocationResolver; + destination?: FulfillmentOrderToDestinationResolver; + fulfillments?: FulfillmentOrderToFulfillmentsResolver; + id?: FulfillmentOrderToIdResolver; + lineItems?: FulfillmentOrderToLineItemsResolver; + locationsForMove?: FulfillmentOrderToLocationsForMoveResolver; + merchantRequests?: FulfillmentOrderToMerchantRequestsResolver; + order?: FulfillmentOrderToOrderResolver; + requestStatus?: FulfillmentOrderToRequestStatusResolver; + status?: FulfillmentOrderToStatusResolver; + supportedActions?: FulfillmentOrderToSupportedActionsResolver; + } + + export interface FulfillmentOrderToAssignedLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToDestinationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToFulfillmentsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface FulfillmentOrderToFulfillmentsResolver { + (parent: TParent, args: FulfillmentOrderToFulfillmentsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToLineItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface FulfillmentOrderToLineItemsResolver { + (parent: TParent, args: FulfillmentOrderToLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToLocationsForMoveArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface FulfillmentOrderToLocationsForMoveResolver { + (parent: TParent, args: FulfillmentOrderToLocationsForMoveArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToMerchantRequestsArgs { + kind?: FulfillmentOrderMerchantRequestKind; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface FulfillmentOrderToMerchantRequestsResolver { + (parent: TParent, args: FulfillmentOrderToMerchantRequestsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToRequestStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderToSupportedActionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationTypeResolver { + address1?: FulfillmentOrderAssignedLocationToAddress1Resolver; + address2?: FulfillmentOrderAssignedLocationToAddress2Resolver; + city?: FulfillmentOrderAssignedLocationToCityResolver; + countryCode?: FulfillmentOrderAssignedLocationToCountryCodeResolver; + location?: FulfillmentOrderAssignedLocationToLocationResolver; + name?: FulfillmentOrderAssignedLocationToNameResolver; + phone?: FulfillmentOrderAssignedLocationToPhoneResolver; + province?: FulfillmentOrderAssignedLocationToProvinceResolver; + zip?: FulfillmentOrderAssignedLocationToZipResolver; + } + + export interface FulfillmentOrderAssignedLocationToAddress1Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationToAddress2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationToCityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationToCountryCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationToLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationToPhoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationToProvinceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderAssignedLocationToZipResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationTypeResolver { + address1?: FulfillmentOrderDestinationToAddress1Resolver; + address2?: FulfillmentOrderDestinationToAddress2Resolver; + city?: FulfillmentOrderDestinationToCityResolver; + company?: FulfillmentOrderDestinationToCompanyResolver; + countryCode?: FulfillmentOrderDestinationToCountryCodeResolver; + email?: FulfillmentOrderDestinationToEmailResolver; + firstName?: FulfillmentOrderDestinationToFirstNameResolver; + id?: FulfillmentOrderDestinationToIdResolver; + lastName?: FulfillmentOrderDestinationToLastNameResolver; + phone?: FulfillmentOrderDestinationToPhoneResolver; + province?: FulfillmentOrderDestinationToProvinceResolver; + zip?: FulfillmentOrderDestinationToZipResolver; + } + + export interface FulfillmentOrderDestinationToAddress1Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToAddress2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToCityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToCompanyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToCountryCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToEmailResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToFirstNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToLastNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToPhoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToProvinceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderDestinationToZipResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentConnectionTypeResolver { + edges?: FulfillmentConnectionToEdgesResolver; + pageInfo?: FulfillmentConnectionToPageInfoResolver; + } + + export interface FulfillmentConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEdgeTypeResolver { + cursor?: FulfillmentEdgeToCursorResolver; + node?: FulfillmentEdgeToNodeResolver; + } + + export interface FulfillmentEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentTypeResolver { + createdAt?: FulfillmentToCreatedAtResolver; + deliveredAt?: FulfillmentToDeliveredAtResolver; + displayStatus?: FulfillmentToDisplayStatusResolver; + estimatedDeliveryAt?: FulfillmentToEstimatedDeliveryAtResolver; + events?: FulfillmentToEventsResolver; + fulfillmentLineItems?: FulfillmentToFulfillmentLineItemsResolver; + fulfillmentOrders?: FulfillmentToFulfillmentOrdersResolver; + id?: FulfillmentToIdResolver; + inTransitAt?: FulfillmentToInTransitAtResolver; + legacyResourceId?: FulfillmentToLegacyResourceIdResolver; + location?: FulfillmentToLocationResolver; + name?: FulfillmentToNameResolver; + order?: FulfillmentToOrderResolver; + requiresShipping?: FulfillmentToRequiresShippingResolver; + service?: FulfillmentToServiceResolver; + status?: FulfillmentToStatusResolver; + totalQuantity?: FulfillmentToTotalQuantityResolver; + trackingInfo?: FulfillmentToTrackingInfoResolver; + updatedAt?: FulfillmentToUpdatedAtResolver; + } + + export interface FulfillmentToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToDeliveredAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToDisplayStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToEstimatedDeliveryAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: FulfillmentEventSortKeys; + } + export interface FulfillmentToEventsResolver { + (parent: TParent, args: FulfillmentToEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToFulfillmentLineItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface FulfillmentToFulfillmentLineItemsResolver { + (parent: TParent, args: FulfillmentToFulfillmentLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToFulfillmentOrdersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface FulfillmentToFulfillmentOrdersResolver { + (parent: TParent, args: FulfillmentToFulfillmentOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToInTransitAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToRequiresShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToTotalQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToTrackingInfoArgs { + first?: number; + } + export interface FulfillmentToTrackingInfoResolver { + (parent: TParent, args: FulfillmentToTrackingInfoArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEventConnectionTypeResolver { + edges?: FulfillmentEventConnectionToEdgesResolver; + pageInfo?: FulfillmentEventConnectionToPageInfoResolver; + } + + export interface FulfillmentEventConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEventConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEventEdgeTypeResolver { + cursor?: FulfillmentEventEdgeToCursorResolver; + node?: FulfillmentEventEdgeToNodeResolver; + } + + export interface FulfillmentEventEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEventEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEventTypeResolver { + happenedAt?: FulfillmentEventToHappenedAtResolver; + id?: FulfillmentEventToIdResolver; + status?: FulfillmentEventToStatusResolver; + } + + export interface FulfillmentEventToHappenedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEventToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentEventToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemConnectionTypeResolver { + edges?: FulfillmentLineItemConnectionToEdgesResolver; + pageInfo?: FulfillmentLineItemConnectionToPageInfoResolver; + } + + export interface FulfillmentLineItemConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemEdgeTypeResolver { + cursor?: FulfillmentLineItemEdgeToCursorResolver; + node?: FulfillmentLineItemEdgeToNodeResolver; + } + + export interface FulfillmentLineItemEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemTypeResolver { + discountedTotal?: FulfillmentLineItemToDiscountedTotalResolver; + discountedTotalSet?: FulfillmentLineItemToDiscountedTotalSetResolver; + id?: FulfillmentLineItemToIdResolver; + lineItem?: FulfillmentLineItemToLineItemResolver; + originalTotal?: FulfillmentLineItemToOriginalTotalResolver; + originalTotalSet?: FulfillmentLineItemToOriginalTotalSetResolver; + quantity?: FulfillmentLineItemToQuantityResolver; + } + + export interface FulfillmentLineItemToDiscountedTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemToDiscountedTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemToLineItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemToOriginalTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemToOriginalTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentLineItemToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentTrackingInfoTypeResolver { + company?: FulfillmentTrackingInfoToCompanyResolver; + number?: FulfillmentTrackingInfoToNumberResolver; + url?: FulfillmentTrackingInfoToUrlResolver; + } + + export interface FulfillmentTrackingInfoToCompanyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentTrackingInfoToNumberResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentTrackingInfoToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLineItemConnectionTypeResolver { + edges?: FulfillmentOrderLineItemConnectionToEdgesResolver; + pageInfo?: FulfillmentOrderLineItemConnectionToPageInfoResolver; + } + + export interface FulfillmentOrderLineItemConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLineItemConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLineItemEdgeTypeResolver { + cursor?: FulfillmentOrderLineItemEdgeToCursorResolver; + node?: FulfillmentOrderLineItemEdgeToNodeResolver; + } + + export interface FulfillmentOrderLineItemEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLineItemEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLineItemTypeResolver { + id?: FulfillmentOrderLineItemToIdResolver; + lineItem?: FulfillmentOrderLineItemToLineItemResolver; + remainingQuantity?: FulfillmentOrderLineItemToRemainingQuantityResolver; + totalQuantity?: FulfillmentOrderLineItemToTotalQuantityResolver; + } + + export interface FulfillmentOrderLineItemToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLineItemToLineItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLineItemToRemainingQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLineItemToTotalQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLocationForMoveConnectionTypeResolver { + edges?: FulfillmentOrderLocationForMoveConnectionToEdgesResolver; + pageInfo?: FulfillmentOrderLocationForMoveConnectionToPageInfoResolver; + } + + export interface FulfillmentOrderLocationForMoveConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLocationForMoveConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLocationForMoveEdgeTypeResolver { + cursor?: FulfillmentOrderLocationForMoveEdgeToCursorResolver; + node?: FulfillmentOrderLocationForMoveEdgeToNodeResolver; + } + + export interface FulfillmentOrderLocationForMoveEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLocationForMoveEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLocationForMoveTypeResolver { + location?: FulfillmentOrderLocationForMoveToLocationResolver; + message?: FulfillmentOrderLocationForMoveToMessageResolver; + movable?: FulfillmentOrderLocationForMoveToMovableResolver; + } + + export interface FulfillmentOrderLocationForMoveToLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLocationForMoveToMessageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderLocationForMoveToMovableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestConnectionTypeResolver { + edges?: FulfillmentOrderMerchantRequestConnectionToEdgesResolver; + pageInfo?: FulfillmentOrderMerchantRequestConnectionToPageInfoResolver; + } + + export interface FulfillmentOrderMerchantRequestConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestEdgeTypeResolver { + cursor?: FulfillmentOrderMerchantRequestEdgeToCursorResolver; + node?: FulfillmentOrderMerchantRequestEdgeToNodeResolver; + } + + export interface FulfillmentOrderMerchantRequestEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestTypeResolver { + id?: FulfillmentOrderMerchantRequestToIdResolver; + kind?: FulfillmentOrderMerchantRequestToKindResolver; + message?: FulfillmentOrderMerchantRequestToMessageResolver; + requestOptions?: FulfillmentOrderMerchantRequestToRequestOptionsResolver; + responseData?: FulfillmentOrderMerchantRequestToResponseDataResolver; + sentAt?: FulfillmentOrderMerchantRequestToSentAtResolver; + } + + export interface FulfillmentOrderMerchantRequestToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestToKindResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestToMessageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestToRequestOptionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestToResponseDataResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderMerchantRequestToSentAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderSupportedActionTypeResolver { + action?: FulfillmentOrderSupportedActionToActionResolver; + externalUrl?: FulfillmentOrderSupportedActionToExternalUrlResolver; + } + + export interface FulfillmentOrderSupportedActionToActionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface FulfillmentOrderSupportedActionToExternalUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemConnectionTypeResolver { + edges?: LineItemConnectionToEdgesResolver; + pageInfo?: LineItemConnectionToPageInfoResolver; + } + + export interface LineItemConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemEdgeTypeResolver { + cursor?: LineItemEdgeToCursorResolver; + node?: LineItemEdgeToNodeResolver; + } + + export interface LineItemEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableConnectionTypeResolver { + edges?: LineItemMutableConnectionToEdgesResolver; + pageInfo?: LineItemMutableConnectionToPageInfoResolver; + } + + export interface LineItemMutableConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableEdgeTypeResolver { + cursor?: LineItemMutableEdgeToCursorResolver; + node?: LineItemMutableEdgeToNodeResolver; + } + + export interface LineItemMutableEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableTypeResolver { + canRestock?: LineItemMutableToCanRestockResolver; + customAttributes?: LineItemMutableToCustomAttributesResolver; + discountAllocations?: LineItemMutableToDiscountAllocationsResolver; + discountedTotal?: LineItemMutableToDiscountedTotalResolver; + discountedTotalSet?: LineItemMutableToDiscountedTotalSetResolver; + discountedUnitPrice?: LineItemMutableToDiscountedUnitPriceResolver; + discountedUnitPriceSet?: LineItemMutableToDiscountedUnitPriceSetResolver; + fulfillableQuantity?: LineItemMutableToFulfillableQuantityResolver; + fulfillmentService?: LineItemMutableToFulfillmentServiceResolver; + fulfillmentStatus?: LineItemMutableToFulfillmentStatusResolver; + id?: LineItemMutableToIdResolver; + image?: LineItemMutableToImageResolver; + merchantEditable?: LineItemMutableToMerchantEditableResolver; + name?: LineItemMutableToNameResolver; + nonFulfillableQuantity?: LineItemMutableToNonFulfillableQuantityResolver; + originalTotal?: LineItemMutableToOriginalTotalResolver; + originalTotalSet?: LineItemMutableToOriginalTotalSetResolver; + originalUnitPrice?: LineItemMutableToOriginalUnitPriceResolver; + originalUnitPriceSet?: LineItemMutableToOriginalUnitPriceSetResolver; + product?: LineItemMutableToProductResolver; + quantity?: LineItemMutableToQuantityResolver; + refundableQuantity?: LineItemMutableToRefundableQuantityResolver; + requiresShipping?: LineItemMutableToRequiresShippingResolver; + restockable?: LineItemMutableToRestockableResolver; + sku?: LineItemMutableToSkuResolver; + taxLines?: LineItemMutableToTaxLinesResolver; + taxable?: LineItemMutableToTaxableResolver; + title?: LineItemMutableToTitleResolver; + totalDiscount?: LineItemMutableToTotalDiscountResolver; + totalDiscountSet?: LineItemMutableToTotalDiscountSetResolver; + unfulfilledDiscountedTotal?: LineItemMutableToUnfulfilledDiscountedTotalResolver; + unfulfilledDiscountedTotalSet?: LineItemMutableToUnfulfilledDiscountedTotalSetResolver; + unfulfilledOriginalTotal?: LineItemMutableToUnfulfilledOriginalTotalResolver; + unfulfilledOriginalTotalSet?: LineItemMutableToUnfulfilledOriginalTotalSetResolver; + unfulfilledQuantity?: LineItemMutableToUnfulfilledQuantityResolver; + variant?: LineItemMutableToVariantResolver; + variantTitle?: LineItemMutableToVariantTitleResolver; + vendor?: LineItemMutableToVendorResolver; + } + + export interface LineItemMutableToCanRestockResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToCustomAttributesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToDiscountAllocationsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToDiscountedTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToDiscountedTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToDiscountedUnitPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToDiscountedUnitPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToFulfillableQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToFulfillmentServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToFulfillmentStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToImageArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface LineItemMutableToImageResolver { + (parent: TParent, args: LineItemMutableToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToMerchantEditableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToNonFulfillableQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToOriginalTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToOriginalTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToOriginalUnitPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToOriginalUnitPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToProductResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToRefundableQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToRequiresShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToRestockableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToSkuResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToTaxLinesArgs { + first?: number; + } + export interface LineItemMutableToTaxLinesResolver { + (parent: TParent, args: LineItemMutableToTaxLinesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToTaxableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToTotalDiscountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToTotalDiscountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToUnfulfilledDiscountedTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToUnfulfilledDiscountedTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToUnfulfilledOriginalTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToUnfulfilledOriginalTotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToUnfulfilledQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToVariantResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToVariantTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LineItemMutableToVendorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderPaymentCollectionDetailsTypeResolver { + additionalPaymentCollectionUrl?: OrderPaymentCollectionDetailsToAdditionalPaymentCollectionUrlResolver; + } + + export interface OrderPaymentCollectionDetailsToAdditionalPaymentCollectionUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundTypeResolver { + createdAt?: RefundToCreatedAtResolver; + duties?: RefundToDutiesResolver; + id?: RefundToIdResolver; + legacyResourceId?: RefundToLegacyResourceIdResolver; + note?: RefundToNoteResolver; + refundLineItems?: RefundToRefundLineItemsResolver; + restocked?: RefundToRestockedResolver; + totalRefunded?: RefundToTotalRefundedResolver; + totalRefundedSet?: RefundToTotalRefundedSetResolver; + transactions?: RefundToTransactionsResolver; + updatedAt?: RefundToUpdatedAtResolver; + } + + export interface RefundToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToDutiesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToNoteResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToRefundLineItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface RefundToRefundLineItemsResolver { + (parent: TParent, args: RefundToRefundLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToRestockedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToTotalRefundedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToTotalRefundedSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToTransactionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface RefundToTransactionsResolver { + (parent: TParent, args: RefundToTransactionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundDutyTypeResolver { + amountSet?: RefundDutyToAmountSetResolver; + originalDuty?: RefundDutyToOriginalDutyResolver; + } + + export interface RefundDutyToAmountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundDutyToOriginalDutyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemConnectionTypeResolver { + edges?: RefundLineItemConnectionToEdgesResolver; + pageInfo?: RefundLineItemConnectionToPageInfoResolver; + } + + export interface RefundLineItemConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemEdgeTypeResolver { + cursor?: RefundLineItemEdgeToCursorResolver; + node?: RefundLineItemEdgeToNodeResolver; + } + + export interface RefundLineItemEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemTypeResolver { + lineItem?: RefundLineItemToLineItemResolver; + location?: RefundLineItemToLocationResolver; + price?: RefundLineItemToPriceResolver; + priceSet?: RefundLineItemToPriceSetResolver; + quantity?: RefundLineItemToQuantityResolver; + refundType?: RefundLineItemToRefundTypeResolver; + restockType?: RefundLineItemToRestockTypeResolver; + restocked?: RefundLineItemToRestockedResolver; + subtotal?: RefundLineItemToSubtotalResolver; + subtotalSet?: RefundLineItemToSubtotalSetResolver; + totalTax?: RefundLineItemToTotalTaxResolver; + totalTaxSet?: RefundLineItemToTotalTaxSetResolver; + } + + export interface RefundLineItemToLineItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToRefundTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToRestockTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToRestockedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToSubtotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToSubtotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToTotalTaxResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface RefundLineItemToTotalTaxSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionConnectionTypeResolver { + edges?: OrderTransactionConnectionToEdgesResolver; + pageInfo?: OrderTransactionConnectionToPageInfoResolver; + } + + export interface OrderTransactionConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionEdgeTypeResolver { + cursor?: OrderTransactionEdgeToCursorResolver; + node?: OrderTransactionEdgeToNodeResolver; + } + + export interface OrderTransactionEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionTypeResolver { + accountNumber?: OrderTransactionToAccountNumberResolver; + amount?: OrderTransactionToAmountResolver; + amountSet?: OrderTransactionToAmountSetResolver; + amountV2?: OrderTransactionToAmountV2Resolver; + authorizationCode?: OrderTransactionToAuthorizationCodeResolver; + createdAt?: OrderTransactionToCreatedAtResolver; + errorCode?: OrderTransactionToErrorCodeResolver; + formattedGateway?: OrderTransactionToFormattedGatewayResolver; + gateway?: OrderTransactionToGatewayResolver; + id?: OrderTransactionToIdResolver; + kind?: OrderTransactionToKindResolver; + manuallyCapturable?: OrderTransactionToManuallyCapturableResolver; + maximumRefundable?: OrderTransactionToMaximumRefundableResolver; + maximumRefundableV2?: OrderTransactionToMaximumRefundableV2Resolver; + order?: OrderTransactionToOrderResolver; + parentTransaction?: OrderTransactionToParentTransactionResolver; + paymentIcon?: OrderTransactionToPaymentIconResolver; + paymentMethod?: OrderTransactionToPaymentMethodResolver; + processedAt?: OrderTransactionToProcessedAtResolver; + receipt?: OrderTransactionToReceiptResolver; + status?: OrderTransactionToStatusResolver; + test?: OrderTransactionToTestResolver; + totalUnsettled?: OrderTransactionToTotalUnsettledResolver; + totalUnsettledSet?: OrderTransactionToTotalUnsettledSetResolver; + totalUnsettledV2?: OrderTransactionToTotalUnsettledV2Resolver; + } + + export interface OrderTransactionToAccountNumberResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToAmountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToAmountV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToAuthorizationCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToErrorCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToFormattedGatewayResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToGatewayResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToKindResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToManuallyCapturableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToMaximumRefundableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToMaximumRefundableV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToParentTransactionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToPaymentIconArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface OrderTransactionToPaymentIconResolver { + (parent: TParent, args: OrderTransactionToPaymentIconArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToPaymentMethodResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToProcessedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToReceiptResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToTestResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToTotalUnsettledResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToTotalUnsettledSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderTransactionToTotalUnsettledV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderRiskTypeResolver { + display?: OrderRiskToDisplayResolver; + level?: OrderRiskToLevelResolver; + message?: OrderRiskToMessageResolver; + } + + export interface OrderRiskToDisplayResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderRiskToLevelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderRiskToMessageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineTypeResolver { + carrierIdentifier?: ShippingLineToCarrierIdentifierResolver; + code?: ShippingLineToCodeResolver; + custom?: ShippingLineToCustomResolver; + deliveryCategory?: ShippingLineToDeliveryCategoryResolver; + discountAllocations?: ShippingLineToDiscountAllocationsResolver; + discountedPrice?: ShippingLineToDiscountedPriceResolver; + discountedPriceSet?: ShippingLineToDiscountedPriceSetResolver; + id?: ShippingLineToIdResolver; + originalPrice?: ShippingLineToOriginalPriceResolver; + originalPriceSet?: ShippingLineToOriginalPriceSetResolver; + phone?: ShippingLineToPhoneResolver; + price?: ShippingLineToPriceResolver; + requestedFulfillmentService?: ShippingLineToRequestedFulfillmentServiceResolver; + shippingRateHandle?: ShippingLineToShippingRateHandleResolver; + source?: ShippingLineToSourceResolver; + taxLines?: ShippingLineToTaxLinesResolver; + title?: ShippingLineToTitleResolver; + } + + export interface ShippingLineToCarrierIdentifierResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToCustomResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToDeliveryCategoryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToDiscountAllocationsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToDiscountedPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToDiscountedPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToOriginalPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToOriginalPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToPhoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToRequestedFulfillmentServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToShippingRateHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToSourceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToTaxLinesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingLineToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundTypeResolver { + amount?: SuggestedRefundToAmountResolver; + amountSet?: SuggestedRefundToAmountSetResolver; + discountedSubtotalSet?: SuggestedRefundToDiscountedSubtotalSetResolver; + maximumRefundable?: SuggestedRefundToMaximumRefundableResolver; + maximumRefundableSet?: SuggestedRefundToMaximumRefundableSetResolver; + refundDuties?: SuggestedRefundToRefundDutiesResolver; + refundLineItems?: SuggestedRefundToRefundLineItemsResolver; + shipping?: SuggestedRefundToShippingResolver; + subtotal?: SuggestedRefundToSubtotalResolver; + subtotalSet?: SuggestedRefundToSubtotalSetResolver; + suggestedTransactions?: SuggestedRefundToSuggestedTransactionsResolver; + totalCartDiscountAmountSet?: SuggestedRefundToTotalCartDiscountAmountSetResolver; + totalDutiesSet?: SuggestedRefundToTotalDutiesSetResolver; + totalTaxSet?: SuggestedRefundToTotalTaxSetResolver; + totalTaxes?: SuggestedRefundToTotalTaxesResolver; + } + + export interface SuggestedRefundToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToAmountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToDiscountedSubtotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToMaximumRefundableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToMaximumRefundableSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToRefundDutiesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToRefundLineItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToSubtotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToSubtotalSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToSuggestedTransactionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToTotalCartDiscountAmountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToTotalDutiesSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToTotalTaxSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedRefundToTotalTaxesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingRefundTypeResolver { + amount?: ShippingRefundToAmountResolver; + amountSet?: ShippingRefundToAmountSetResolver; + maximumRefundable?: ShippingRefundToMaximumRefundableResolver; + maximumRefundableSet?: ShippingRefundToMaximumRefundableSetResolver; + tax?: ShippingRefundToTaxResolver; + taxSet?: ShippingRefundToTaxSetResolver; + } + + export interface ShippingRefundToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingRefundToAmountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingRefundToMaximumRefundableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingRefundToMaximumRefundableSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingRefundToTaxResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShippingRefundToTaxSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionTypeResolver { + accountNumber?: SuggestedOrderTransactionToAccountNumberResolver; + amount?: SuggestedOrderTransactionToAmountResolver; + amountSet?: SuggestedOrderTransactionToAmountSetResolver; + formattedGateway?: SuggestedOrderTransactionToFormattedGatewayResolver; + gateway?: SuggestedOrderTransactionToGatewayResolver; + kind?: SuggestedOrderTransactionToKindResolver; + maximumRefundable?: SuggestedOrderTransactionToMaximumRefundableResolver; + maximumRefundableSet?: SuggestedOrderTransactionToMaximumRefundableSetResolver; + parentTransaction?: SuggestedOrderTransactionToParentTransactionResolver; + } + + export interface SuggestedOrderTransactionToAccountNumberResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionToAmountSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionToFormattedGatewayResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionToGatewayResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionToKindResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionToMaximumRefundableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionToMaximumRefundableSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SuggestedOrderTransactionToParentTransactionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderConnectionTypeResolver { + edges?: OrderConnectionToEdgesResolver; + pageInfo?: OrderConnectionToPageInfoResolver; + } + + export interface OrderConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderEdgeTypeResolver { + cursor?: OrderEdgeToCursorResolver; + node?: OrderEdgeToNodeResolver; + } + + export interface OrderEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OrderEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCustomerSavedSearchesTypeResolver { + savedSearches?: DiscountCustomerSavedSearchesToSavedSearchesResolver; + } + + export interface DiscountCustomerSavedSearchesToSavedSearchesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyTypeResolver { + appliesOncePerCustomer?: DiscountCodeBxgyToAppliesOncePerCustomerResolver; + asyncUsageCount?: DiscountCodeBxgyToAsyncUsageCountResolver; + codeCount?: DiscountCodeBxgyToCodeCountResolver; + codes?: DiscountCodeBxgyToCodesResolver; + createdAt?: DiscountCodeBxgyToCreatedAtResolver; + customerBuys?: DiscountCodeBxgyToCustomerBuysResolver; + customerGets?: DiscountCodeBxgyToCustomerGetsResolver; + customerSelection?: DiscountCodeBxgyToCustomerSelectionResolver; + endsAt?: DiscountCodeBxgyToEndsAtResolver; + startsAt?: DiscountCodeBxgyToStartsAtResolver; + status?: DiscountCodeBxgyToStatusResolver; + summary?: DiscountCodeBxgyToSummaryResolver; + title?: DiscountCodeBxgyToTitleResolver; + usageLimit?: DiscountCodeBxgyToUsageLimitResolver; + usesPerOrderLimit?: DiscountCodeBxgyToUsesPerOrderLimitResolver; + } + + export interface DiscountCodeBxgyToAppliesOncePerCustomerResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToAsyncUsageCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToCodeCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToCodesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DiscountCodeBxgyToCodesResolver { + (parent: TParent, args: DiscountCodeBxgyToCodesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToCustomerBuysResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToCustomerGetsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToCustomerSelectionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToEndsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToStartsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToUsageLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeBxgyToUsesPerOrderLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingTypeResolver { + appliesOncePerCustomer?: DiscountCodeFreeShippingToAppliesOncePerCustomerResolver; + asyncUsageCount?: DiscountCodeFreeShippingToAsyncUsageCountResolver; + codeCount?: DiscountCodeFreeShippingToCodeCountResolver; + codes?: DiscountCodeFreeShippingToCodesResolver; + createdAt?: DiscountCodeFreeShippingToCreatedAtResolver; + customerSelection?: DiscountCodeFreeShippingToCustomerSelectionResolver; + destinationSelection?: DiscountCodeFreeShippingToDestinationSelectionResolver; + endsAt?: DiscountCodeFreeShippingToEndsAtResolver; + minimumRequirement?: DiscountCodeFreeShippingToMinimumRequirementResolver; + shortSummary?: DiscountCodeFreeShippingToShortSummaryResolver; + startsAt?: DiscountCodeFreeShippingToStartsAtResolver; + status?: DiscountCodeFreeShippingToStatusResolver; + summary?: DiscountCodeFreeShippingToSummaryResolver; + title?: DiscountCodeFreeShippingToTitleResolver; + usageLimit?: DiscountCodeFreeShippingToUsageLimitResolver; + } + + export interface DiscountCodeFreeShippingToAppliesOncePerCustomerResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToAsyncUsageCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToCodeCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToCodesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DiscountCodeFreeShippingToCodesResolver { + (parent: TParent, args: DiscountCodeFreeShippingToCodesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToCustomerSelectionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToDestinationSelectionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToEndsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToMinimumRequirementResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToShortSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToStartsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeFreeShippingToUsageLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountShippingDestinationSelectionTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'DiscountCountryAll' | 'DiscountCountries'; + } + export interface DiscountCountryAllTypeResolver { + allCountries?: DiscountCountryAllToAllCountriesResolver; + } + + export interface DiscountCountryAllToAllCountriesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCountriesTypeResolver { + countries?: DiscountCountriesToCountriesResolver; + includeRestOfWorld?: DiscountCountriesToIncludeRestOfWorldResolver; + } + + export interface DiscountCountriesToCountriesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCountriesToIncludeRestOfWorldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeNodeConnectionTypeResolver { + edges?: DiscountCodeNodeConnectionToEdgesResolver; + pageInfo?: DiscountCodeNodeConnectionToPageInfoResolver; + } + + export interface DiscountCodeNodeConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeNodeConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeNodeEdgeTypeResolver { + cursor?: DiscountCodeNodeEdgeToCursorResolver; + node?: DiscountCodeNodeEdgeToNodeResolver; + } + + export interface DiscountCodeNodeEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DiscountCodeNodeEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionRuleConditionsTypeResolver { + allowedRelations?: CollectionRuleConditionsToAllowedRelationsResolver; + defaultRelation?: CollectionRuleConditionsToDefaultRelationResolver; + ruleType?: CollectionRuleConditionsToRuleTypeResolver; + } + + export interface CollectionRuleConditionsToAllowedRelationsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionRuleConditionsToDefaultRelationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CollectionRuleConditionsToRuleTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationTypeResolver { + completedAt?: BulkOperationToCompletedAtResolver; + createdAt?: BulkOperationToCreatedAtResolver; + errorCode?: BulkOperationToErrorCodeResolver; + fileSize?: BulkOperationToFileSizeResolver; + id?: BulkOperationToIdResolver; + objectCount?: BulkOperationToObjectCountResolver; + partialDataUrl?: BulkOperationToPartialDataUrlResolver; + query?: BulkOperationToQueryResolver; + status?: BulkOperationToStatusResolver; + url?: BulkOperationToUrlResolver; + } + + export interface BulkOperationToCompletedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToErrorCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToFileSizeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToObjectCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToPartialDataUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToQueryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface BulkOperationToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerConnectionTypeResolver { + edges?: CustomerConnectionToEdgesResolver; + pageInfo?: CustomerConnectionToPageInfoResolver; + } + + export interface CustomerConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerEdgeTypeResolver { + cursor?: CustomerEdgeToCursorResolver; + node?: CustomerEdgeToNodeResolver; + } + + export interface CustomerEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeletionEventConnectionTypeResolver { + edges?: DeletionEventConnectionToEdgesResolver; + pageInfo?: DeletionEventConnectionToPageInfoResolver; + } + + export interface DeletionEventConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeletionEventConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeletionEventEdgeTypeResolver { + cursor?: DeletionEventEdgeToCursorResolver; + node?: DeletionEventEdgeToNodeResolver; + } + + export interface DeletionEventEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeletionEventEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeletionEventTypeResolver { + occurredAt?: DeletionEventToOccurredAtResolver; + subjectId?: DeletionEventToSubjectIdResolver; + subjectType?: DeletionEventToSubjectTypeResolver; + } + + export interface DeletionEventToOccurredAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeletionEventToSubjectIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeletionEventToSubjectTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileConnectionTypeResolver { + edges?: DeliveryProfileConnectionToEdgesResolver; + pageInfo?: DeliveryProfileConnectionToPageInfoResolver; + } + + export interface DeliveryProfileConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileEdgeTypeResolver { + cursor?: DeliveryProfileEdgeToCursorResolver; + node?: DeliveryProfileEdgeToNodeResolver; + } + + export interface DeliveryProfileEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryProfileEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliverySettingTypeResolver { + legacyModeBlocked?: DeliverySettingToLegacyModeBlockedResolver; + legacyModeProfiles?: DeliverySettingToLegacyModeProfilesResolver; + } + + export interface DeliverySettingToLegacyModeBlockedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliverySettingToLegacyModeProfilesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLegacyModeBlockedTypeResolver { + blocked?: DeliveryLegacyModeBlockedToBlockedResolver; + reasons?: DeliveryLegacyModeBlockedToReasonsResolver; + } + + export interface DeliveryLegacyModeBlockedToBlockedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DeliveryLegacyModeBlockedToReasonsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DomainTypeResolver { + host?: DomainToHostResolver; + id?: DomainToIdResolver; + sslEnabled?: DomainToSslEnabledResolver; + url?: DomainToUrlResolver; + } + + export interface DomainToHostResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DomainToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DomainToSslEnabledResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DomainToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderTypeResolver { + appliedDiscount?: DraftOrderToAppliedDiscountResolver; + billingAddress?: DraftOrderToBillingAddressResolver; + completedAt?: DraftOrderToCompletedAtResolver; + createdAt?: DraftOrderToCreatedAtResolver; + currencyCode?: DraftOrderToCurrencyCodeResolver; + customAttributes?: DraftOrderToCustomAttributesResolver; + customer?: DraftOrderToCustomerResolver; + email?: DraftOrderToEmailResolver; + events?: DraftOrderToEventsResolver; + hasTimelineComment?: DraftOrderToHasTimelineCommentResolver; + id?: DraftOrderToIdResolver; + invoiceSentAt?: DraftOrderToInvoiceSentAtResolver; + invoiceUrl?: DraftOrderToInvoiceUrlResolver; + legacyResourceId?: DraftOrderToLegacyResourceIdResolver; + lineItems?: DraftOrderToLineItemsResolver; + metafield?: DraftOrderToMetafieldResolver; + metafields?: DraftOrderToMetafieldsResolver; + name?: DraftOrderToNameResolver; + note2?: DraftOrderToNote2Resolver; + order?: DraftOrderToOrderResolver; + privateMetafield?: DraftOrderToPrivateMetafieldResolver; + privateMetafields?: DraftOrderToPrivateMetafieldsResolver; + shippingAddress?: DraftOrderToShippingAddressResolver; + shippingLine?: DraftOrderToShippingLineResolver; + status?: DraftOrderToStatusResolver; + subtotalPrice?: DraftOrderToSubtotalPriceResolver; + tags?: DraftOrderToTagsResolver; + taxExempt?: DraftOrderToTaxExemptResolver; + taxLines?: DraftOrderToTaxLinesResolver; + taxesIncluded?: DraftOrderToTaxesIncludedResolver; + totalPrice?: DraftOrderToTotalPriceResolver; + totalShippingPrice?: DraftOrderToTotalShippingPriceResolver; + totalTax?: DraftOrderToTotalTaxResolver; + totalWeight?: DraftOrderToTotalWeightResolver; + updatedAt?: DraftOrderToUpdatedAtResolver; + } + + export interface DraftOrderToAppliedDiscountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToBillingAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToCompletedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToCurrencyCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToCustomAttributesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToCustomerResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToEmailResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: EventSortKeys; + query?: string; + } + export interface DraftOrderToEventsResolver { + (parent: TParent, args: DraftOrderToEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToHasTimelineCommentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToInvoiceSentAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToInvoiceUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToLineItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DraftOrderToLineItemsResolver { + (parent: TParent, args: DraftOrderToLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToMetafieldArgs { + namespace: string; + key: string; + } + export interface DraftOrderToMetafieldResolver { + (parent: TParent, args: DraftOrderToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DraftOrderToMetafieldsResolver { + (parent: TParent, args: DraftOrderToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToNote2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToPrivateMetafieldArgs { + namespace: string; + key: string; + } + export interface DraftOrderToPrivateMetafieldResolver { + (parent: TParent, args: DraftOrderToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToPrivateMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface DraftOrderToPrivateMetafieldsResolver { + (parent: TParent, args: DraftOrderToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToShippingAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToShippingLineResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToSubtotalPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToTagsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToTaxExemptResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToTaxLinesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToTaxesIncludedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToTotalPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToTotalShippingPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToTotalTaxResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToTotalWeightResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderAppliedDiscountTypeResolver { + amount?: DraftOrderAppliedDiscountToAmountResolver; + amountV2?: DraftOrderAppliedDiscountToAmountV2Resolver; + description?: DraftOrderAppliedDiscountToDescriptionResolver; + title?: DraftOrderAppliedDiscountToTitleResolver; + value?: DraftOrderAppliedDiscountToValueResolver; + valueType?: DraftOrderAppliedDiscountToValueTypeResolver; + } + + export interface DraftOrderAppliedDiscountToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderAppliedDiscountToAmountV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderAppliedDiscountToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderAppliedDiscountToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderAppliedDiscountToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderAppliedDiscountToValueTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemConnectionTypeResolver { + edges?: DraftOrderLineItemConnectionToEdgesResolver; + pageInfo?: DraftOrderLineItemConnectionToPageInfoResolver; + } + + export interface DraftOrderLineItemConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemEdgeTypeResolver { + cursor?: DraftOrderLineItemEdgeToCursorResolver; + node?: DraftOrderLineItemEdgeToNodeResolver; + } + + export interface DraftOrderLineItemEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemTypeResolver { + appliedDiscount?: DraftOrderLineItemToAppliedDiscountResolver; + custom?: DraftOrderLineItemToCustomResolver; + customAttributes?: DraftOrderLineItemToCustomAttributesResolver; + discountedTotal?: DraftOrderLineItemToDiscountedTotalResolver; + discountedUnitPrice?: DraftOrderLineItemToDiscountedUnitPriceResolver; + fulfillmentService?: DraftOrderLineItemToFulfillmentServiceResolver; + grams?: DraftOrderLineItemToGramsResolver; + id?: DraftOrderLineItemToIdResolver; + image?: DraftOrderLineItemToImageResolver; + isGiftCard?: DraftOrderLineItemToIsGiftCardResolver; + name?: DraftOrderLineItemToNameResolver; + originalTotal?: DraftOrderLineItemToOriginalTotalResolver; + originalUnitPrice?: DraftOrderLineItemToOriginalUnitPriceResolver; + product?: DraftOrderLineItemToProductResolver; + quantity?: DraftOrderLineItemToQuantityResolver; + requiresShipping?: DraftOrderLineItemToRequiresShippingResolver; + sku?: DraftOrderLineItemToSkuResolver; + taxLines?: DraftOrderLineItemToTaxLinesResolver; + taxable?: DraftOrderLineItemToTaxableResolver; + title?: DraftOrderLineItemToTitleResolver; + totalDiscount?: DraftOrderLineItemToTotalDiscountResolver; + variant?: DraftOrderLineItemToVariantResolver; + variantTitle?: DraftOrderLineItemToVariantTitleResolver; + vendor?: DraftOrderLineItemToVendorResolver; + weight?: DraftOrderLineItemToWeightResolver; + } + + export interface DraftOrderLineItemToAppliedDiscountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToCustomResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToCustomAttributesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToDiscountedTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToDiscountedUnitPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToFulfillmentServiceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToGramsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToImageArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface DraftOrderLineItemToImageResolver { + (parent: TParent, args: DraftOrderLineItemToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToIsGiftCardResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToOriginalTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToOriginalUnitPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToProductResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToRequiresShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToSkuResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToTaxLinesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToTaxableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToTotalDiscountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToVariantResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToVariantTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToVendorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderLineItemToWeightResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderConnectionTypeResolver { + edges?: DraftOrderConnectionToEdgesResolver; + pageInfo?: DraftOrderConnectionToPageInfoResolver; + } + + export interface DraftOrderConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderEdgeTypeResolver { + cursor?: DraftOrderEdgeToCursorResolver; + node?: DraftOrderEdgeToNodeResolver; + } + + export interface DraftOrderEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface DraftOrderEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemConnectionTypeResolver { + edges?: InventoryItemConnectionToEdgesResolver; + pageInfo?: InventoryItemConnectionToPageInfoResolver; + } + + export interface InventoryItemConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemEdgeTypeResolver { + cursor?: InventoryItemEdgeToCursorResolver; + node?: InventoryItemEdgeToNodeResolver; + } + + export interface InventoryItemEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface InventoryItemEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface JobTypeResolver { + done?: JobToDoneResolver; + id?: JobToIdResolver; + query?: JobToQueryResolver; + } + + export interface JobToDoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface JobToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface JobToQueryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityConnectionTypeResolver { + edges?: MarketingActivityConnectionToEdgesResolver; + pageInfo?: MarketingActivityConnectionToPageInfoResolver; + } + + export interface MarketingActivityConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityEdgeTypeResolver { + cursor?: MarketingActivityEdgeToCursorResolver; + node?: MarketingActivityEdgeToNodeResolver; + } + + export interface MarketingActivityEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityTypeResolver { + activityListUrl?: MarketingActivityToActivityListUrlResolver; + adSpend?: MarketingActivityToAdSpendResolver; + app?: MarketingActivityToAppResolver; + appErrors?: MarketingActivityToAppErrorsResolver; + budget?: MarketingActivityToBudgetResolver; + createdAt?: MarketingActivityToCreatedAtResolver; + id?: MarketingActivityToIdResolver; + marketingChannel?: MarketingActivityToMarketingChannelResolver; + marketingEvent?: MarketingActivityToMarketingEventResolver; + sourceAndMedium?: MarketingActivityToSourceAndMediumResolver; + status?: MarketingActivityToStatusResolver; + statusTransitionedAt?: MarketingActivityToStatusTransitionedAtResolver; + tactic?: MarketingActivityToTacticResolver; + targetStatus?: MarketingActivityToTargetStatusResolver; + title?: MarketingActivityToTitleResolver; + updatedAt?: MarketingActivityToUpdatedAtResolver; + utmParameters?: MarketingActivityToUtmParametersResolver; + } + + export interface MarketingActivityToActivityListUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToAdSpendResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToAppResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToAppErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToBudgetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToMarketingChannelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToMarketingEventResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToSourceAndMediumResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToStatusTransitionedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToTacticResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToTargetStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityToUtmParametersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityExtensionAppErrorsTypeResolver { + code?: MarketingActivityExtensionAppErrorsToCodeResolver; + userErrors?: MarketingActivityExtensionAppErrorsToUserErrorsResolver; + } + + export interface MarketingActivityExtensionAppErrorsToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingActivityExtensionAppErrorsToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingBudgetTypeResolver { + budgetType?: MarketingBudgetToBudgetTypeResolver; + total?: MarketingBudgetToTotalResolver; + } + + export interface MarketingBudgetToBudgetTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingBudgetToTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventConnectionTypeResolver { + edges?: MarketingEventConnectionToEdgesResolver; + pageInfo?: MarketingEventConnectionToPageInfoResolver; + } + + export interface MarketingEventConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventEdgeTypeResolver { + cursor?: MarketingEventEdgeToCursorResolver; + node?: MarketingEventEdgeToNodeResolver; + } + + export interface MarketingEventEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MarketingEventEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityConnectionTypeResolver { + edges?: MetafieldStorefrontVisibilityConnectionToEdgesResolver; + pageInfo?: MetafieldStorefrontVisibilityConnectionToPageInfoResolver; + } + + export interface MetafieldStorefrontVisibilityConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityEdgeTypeResolver { + cursor?: MetafieldStorefrontVisibilityEdgeToCursorResolver; + node?: MetafieldStorefrontVisibilityEdgeToNodeResolver; + } + + export interface MetafieldStorefrontVisibilityEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityTypeResolver { + createdAt?: MetafieldStorefrontVisibilityToCreatedAtResolver; + id?: MetafieldStorefrontVisibilityToIdResolver; + key?: MetafieldStorefrontVisibilityToKeyResolver; + legacyResourceId?: MetafieldStorefrontVisibilityToLegacyResourceIdResolver; + namespace?: MetafieldStorefrontVisibilityToNamespaceResolver; + ownerType?: MetafieldStorefrontVisibilityToOwnerTypeResolver; + updatedAt?: MetafieldStorefrontVisibilityToUpdatedAtResolver; + } + + export interface MetafieldStorefrontVisibilityToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityToKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityToNamespaceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityToOwnerTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MetafieldStorefrontVisibilityToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleTypeResolver { + allocationLimit?: PriceRuleToAllocationLimitResolver; + allocationMethod?: PriceRuleToAllocationMethodResolver; + app?: PriceRuleToAppResolver; + createdAt?: PriceRuleToCreatedAtResolver; + customerSelection?: PriceRuleToCustomerSelectionResolver; + discountCodes?: PriceRuleToDiscountCodesResolver; + discountCodesCount?: PriceRuleToDiscountCodesCountResolver; + endsAt?: PriceRuleToEndsAtResolver; + entitlementToPrerequisiteQuantityRatio?: PriceRuleToEntitlementToPrerequisiteQuantityRatioResolver; + events?: PriceRuleToEventsResolver; + features?: PriceRuleToFeaturesResolver; + hasTimelineComment?: PriceRuleToHasTimelineCommentResolver; + id?: PriceRuleToIdResolver; + itemEntitlements?: PriceRuleToItemEntitlementsResolver; + itemPrerequisites?: PriceRuleToItemPrerequisitesResolver; + legacyResourceId?: PriceRuleToLegacyResourceIdResolver; + oncePerCustomer?: PriceRuleToOncePerCustomerResolver; + prerequisiteQuantityRange?: PriceRuleToPrerequisiteQuantityRangeResolver; + prerequisiteShippingPriceRange?: PriceRuleToPrerequisiteShippingPriceRangeResolver; + prerequisiteSubtotalRange?: PriceRuleToPrerequisiteSubtotalRangeResolver; + prerequisiteToEntitlementQuantityRatio?: PriceRuleToPrerequisiteToEntitlementQuantityRatioResolver; + shareableUrls?: PriceRuleToShareableUrlsResolver; + shippingEntitlements?: PriceRuleToShippingEntitlementsResolver; + startsAt?: PriceRuleToStartsAtResolver; + status?: PriceRuleToStatusResolver; + summary?: PriceRuleToSummaryResolver; + target?: PriceRuleToTargetResolver; + title?: PriceRuleToTitleResolver; + totalSales?: PriceRuleToTotalSalesResolver; + traits?: PriceRuleToTraitsResolver; + usageCount?: PriceRuleToUsageCountResolver; + usageLimit?: PriceRuleToUsageLimitResolver; + validityPeriod?: PriceRuleToValidityPeriodResolver; + value?: PriceRuleToValueResolver; + valueV2?: PriceRuleToValueV2Resolver; + } + + export interface PriceRuleToAllocationLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToAllocationMethodResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToAppResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToCustomerSelectionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToDiscountCodesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: DiscountCodeSortKeys; + query?: string; + savedSearchId?: string; + } + export interface PriceRuleToDiscountCodesResolver { + (parent: TParent, args: PriceRuleToDiscountCodesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToDiscountCodesCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToEndsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToEntitlementToPrerequisiteQuantityRatioResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: EventSortKeys; + query?: string; + } + export interface PriceRuleToEventsResolver { + (parent: TParent, args: PriceRuleToEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToFeaturesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToHasTimelineCommentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToItemEntitlementsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToItemPrerequisitesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToOncePerCustomerResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToPrerequisiteQuantityRangeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToPrerequisiteShippingPriceRangeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToPrerequisiteSubtotalRangeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToPrerequisiteToEntitlementQuantityRatioResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToShareableUrlsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToShippingEntitlementsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToStartsAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToTargetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToTotalSalesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToTraitsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToUsageCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToUsageLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToValidityPeriodResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleToValueV2Resolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleCustomerSelectionTypeResolver { + customers?: PriceRuleCustomerSelectionToCustomersResolver; + forAllCustomers?: PriceRuleCustomerSelectionToForAllCustomersResolver; + savedSearches?: PriceRuleCustomerSelectionToSavedSearchesResolver; + } + + export interface PriceRuleCustomerSelectionToCustomersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CustomerSortKeys; + query?: string; + savedSearchId?: string; + } + export interface PriceRuleCustomerSelectionToCustomersResolver { + (parent: TParent, args: PriceRuleCustomerSelectionToCustomersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleCustomerSelectionToForAllCustomersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleCustomerSelectionToSavedSearchesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleDiscountCodeConnectionTypeResolver { + edges?: PriceRuleDiscountCodeConnectionToEdgesResolver; + pageInfo?: PriceRuleDiscountCodeConnectionToPageInfoResolver; + } + + export interface PriceRuleDiscountCodeConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleDiscountCodeConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleDiscountCodeEdgeTypeResolver { + cursor?: PriceRuleDiscountCodeEdgeToCursorResolver; + node?: PriceRuleDiscountCodeEdgeToNodeResolver; + } + + export interface PriceRuleDiscountCodeEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleDiscountCodeEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleDiscountCodeTypeResolver { + app?: PriceRuleDiscountCodeToAppResolver; + code?: PriceRuleDiscountCodeToCodeResolver; + id?: PriceRuleDiscountCodeToIdResolver; + usageCount?: PriceRuleDiscountCodeToUsageCountResolver; + } + + export interface PriceRuleDiscountCodeToAppResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleDiscountCodeToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleDiscountCodeToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleDiscountCodeToUsageCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleEntitlementToPrerequisiteQuantityRatioTypeResolver { + entitlementQuantity?: PriceRuleEntitlementToPrerequisiteQuantityRatioToEntitlementQuantityResolver; + prerequisiteQuantity?: PriceRuleEntitlementToPrerequisiteQuantityRatioToPrerequisiteQuantityResolver; + } + + export interface PriceRuleEntitlementToPrerequisiteQuantityRatioToEntitlementQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleEntitlementToPrerequisiteQuantityRatioToPrerequisiteQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleItemEntitlementsTypeResolver { + collections?: PriceRuleItemEntitlementsToCollectionsResolver; + productVariants?: PriceRuleItemEntitlementsToProductVariantsResolver; + products?: PriceRuleItemEntitlementsToProductsResolver; + targetAllLineItems?: PriceRuleItemEntitlementsToTargetAllLineItemsResolver; + } + + export interface PriceRuleItemEntitlementsToCollectionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PriceRuleItemEntitlementsToCollectionsResolver { + (parent: TParent, args: PriceRuleItemEntitlementsToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleItemEntitlementsToProductVariantsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PriceRuleItemEntitlementsToProductVariantsResolver { + (parent: TParent, args: PriceRuleItemEntitlementsToProductVariantsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleItemEntitlementsToProductsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PriceRuleItemEntitlementsToProductsResolver { + (parent: TParent, args: PriceRuleItemEntitlementsToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleItemEntitlementsToTargetAllLineItemsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleLineItemPrerequisitesTypeResolver { + collections?: PriceRuleLineItemPrerequisitesToCollectionsResolver; + productVariants?: PriceRuleLineItemPrerequisitesToProductVariantsResolver; + products?: PriceRuleLineItemPrerequisitesToProductsResolver; + } + + export interface PriceRuleLineItemPrerequisitesToCollectionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PriceRuleLineItemPrerequisitesToCollectionsResolver { + (parent: TParent, args: PriceRuleLineItemPrerequisitesToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleLineItemPrerequisitesToProductVariantsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PriceRuleLineItemPrerequisitesToProductVariantsResolver { + (parent: TParent, args: PriceRuleLineItemPrerequisitesToProductVariantsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleLineItemPrerequisitesToProductsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface PriceRuleLineItemPrerequisitesToProductsResolver { + (parent: TParent, args: PriceRuleLineItemPrerequisitesToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleQuantityRangeTypeResolver { + greaterThan?: PriceRuleQuantityRangeToGreaterThanResolver; + greaterThanOrEqualTo?: PriceRuleQuantityRangeToGreaterThanOrEqualToResolver; + lessThan?: PriceRuleQuantityRangeToLessThanResolver; + lessThanOrEqualTo?: PriceRuleQuantityRangeToLessThanOrEqualToResolver; + } + + export interface PriceRuleQuantityRangeToGreaterThanResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleQuantityRangeToGreaterThanOrEqualToResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleQuantityRangeToLessThanResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleQuantityRangeToLessThanOrEqualToResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleMoneyRangeTypeResolver { + greaterThan?: PriceRuleMoneyRangeToGreaterThanResolver; + greaterThanOrEqualTo?: PriceRuleMoneyRangeToGreaterThanOrEqualToResolver; + lessThan?: PriceRuleMoneyRangeToLessThanResolver; + lessThanOrEqualTo?: PriceRuleMoneyRangeToLessThanOrEqualToResolver; + } + + export interface PriceRuleMoneyRangeToGreaterThanResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleMoneyRangeToGreaterThanOrEqualToResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleMoneyRangeToLessThanResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleMoneyRangeToLessThanOrEqualToResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRulePrerequisiteToEntitlementQuantityRatioTypeResolver { + entitlementQuantity?: PriceRulePrerequisiteToEntitlementQuantityRatioToEntitlementQuantityResolver; + prerequisiteQuantity?: PriceRulePrerequisiteToEntitlementQuantityRatioToPrerequisiteQuantityResolver; + } + + export interface PriceRulePrerequisiteToEntitlementQuantityRatioToEntitlementQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRulePrerequisiteToEntitlementQuantityRatioToPrerequisiteQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleShareableUrlTypeResolver { + targetItemImage?: PriceRuleShareableUrlToTargetItemImageResolver; + targetType?: PriceRuleShareableUrlToTargetTypeResolver; + title?: PriceRuleShareableUrlToTitleResolver; + url?: PriceRuleShareableUrlToUrlResolver; + } + + export interface PriceRuleShareableUrlToTargetItemImageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleShareableUrlToTargetTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleShareableUrlToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleShareableUrlToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleShippingLineEntitlementsTypeResolver { + countryCodes?: PriceRuleShippingLineEntitlementsToCountryCodesResolver; + includeRestOfWorld?: PriceRuleShippingLineEntitlementsToIncludeRestOfWorldResolver; + targetAllShippingLines?: PriceRuleShippingLineEntitlementsToTargetAllShippingLinesResolver; + } + + export interface PriceRuleShippingLineEntitlementsToCountryCodesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleShippingLineEntitlementsToIncludeRestOfWorldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleShippingLineEntitlementsToTargetAllShippingLinesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleValidityPeriodTypeResolver { + end?: PriceRuleValidityPeriodToEndResolver; + start?: PriceRuleValidityPeriodToStartResolver; + } + + export interface PriceRuleValidityPeriodToEndResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleValidityPeriodToStartResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleValueTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'PriceRulePercentValue' | 'PriceRuleFixedAmountValue'; + } + export interface PriceRulePercentValueTypeResolver { + percentage?: PriceRulePercentValueToPercentageResolver; + } + + export interface PriceRulePercentValueToPercentageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleFixedAmountValueTypeResolver { + amount?: PriceRuleFixedAmountValueToAmountResolver; + } + + export interface PriceRuleFixedAmountValueToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleConnectionTypeResolver { + edges?: PriceRuleConnectionToEdgesResolver; + pageInfo?: PriceRuleConnectionToPageInfoResolver; + } + + export interface PriceRuleConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleEdgeTypeResolver { + cursor?: PriceRuleEdgeToCursorResolver; + node?: PriceRuleEdgeToNodeResolver; + } + + export interface PriceRuleEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PriceRuleEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ApiVersionTypeResolver { + displayName?: ApiVersionToDisplayNameResolver; + handle?: ApiVersionToHandleResolver; + supported?: ApiVersionToSupportedResolver; + } + + export interface ApiVersionToDisplayNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ApiVersionToHandleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ApiVersionToSupportedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagTypeResolver { + createdAt?: ScriptTagToCreatedAtResolver; + displayScope?: ScriptTagToDisplayScopeResolver; + id?: ScriptTagToIdResolver; + legacyResourceId?: ScriptTagToLegacyResourceIdResolver; + src?: ScriptTagToSrcResolver; + updatedAt?: ScriptTagToUpdatedAtResolver; + } + + export interface ScriptTagToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagToDisplayScopeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagToSrcResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagConnectionTypeResolver { + edges?: ScriptTagConnectionToEdgesResolver; + pageInfo?: ScriptTagConnectionToPageInfoResolver; + } + + export interface ScriptTagConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagEdgeTypeResolver { + cursor?: ScriptTagEdgeToCursorResolver; + node?: ScriptTagEdgeToNodeResolver; + } + + export interface ScriptTagEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ScriptTagEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopTypeResolver { + alerts?: ShopToAlertsResolver; + analyticsToken?: ShopToAnalyticsTokenResolver; + appInstallations?: ShopToAppInstallationsResolver; + assignedFulfillmentOrders?: ShopToAssignedFulfillmentOrdersResolver; + availableChannelApps?: ShopToAvailableChannelAppsResolver; + billingAddress?: ShopToBillingAddressResolver; + channelAppInstallations?: ShopToChannelAppInstallationsResolver; + channelCount?: ShopToChannelCountResolver; + channels?: ShopToChannelsResolver; + checkoutApiSupported?: ShopToCheckoutApiSupportedResolver; + collectionByHandle?: ShopToCollectionByHandleResolver; + collectionSavedSearches?: ShopToCollectionSavedSearchesResolver; + collections?: ShopToCollectionsResolver; + contactEmail?: ShopToContactEmailResolver; + countriesInShippingZones?: ShopToCountriesInShippingZonesResolver; + currencyCode?: ShopToCurrencyCodeResolver; + currencyFormats?: ShopToCurrencyFormatsResolver; + currencySettings?: ShopToCurrencySettingsResolver; + customerAccounts?: ShopToCustomerAccountsResolver; + customerSavedSearches?: ShopToCustomerSavedSearchesResolver; + customerTags?: ShopToCustomerTagsResolver; + customers?: ShopToCustomersResolver; + description?: ShopToDescriptionResolver; + draftOrderSavedSearches?: ShopToDraftOrderSavedSearchesResolver; + draftOrderTags?: ShopToDraftOrderTagsResolver; + draftOrders?: ShopToDraftOrdersResolver; + email?: ShopToEmailResolver; + enabledPresentmentCurrencies?: ShopToEnabledPresentmentCurrenciesResolver; + features?: ShopToFeaturesResolver; + fulfillmentOrders?: ShopToFulfillmentOrdersResolver; + fulfillmentServices?: ShopToFulfillmentServicesResolver; + ianaTimezone?: ShopToIanaTimezoneResolver; + id?: ShopToIdResolver; + installedApps?: ShopToInstalledAppsResolver; + inventoryItems?: ShopToInventoryItemsResolver; + limitedPendingOrderCount?: ShopToLimitedPendingOrderCountResolver; + locations?: ShopToLocationsResolver; + marketingEvents?: ShopToMarketingEventsResolver; + metafield?: ShopToMetafieldResolver; + metafields?: ShopToMetafieldsResolver; + myshopifyDomain?: ShopToMyshopifyDomainResolver; + name?: ShopToNameResolver; + navigationSettings?: ShopToNavigationSettingsResolver; + orderNumberFormatPrefix?: ShopToOrderNumberFormatPrefixResolver; + orderNumberFormatSuffix?: ShopToOrderNumberFormatSuffixResolver; + orderSavedSearches?: ShopToOrderSavedSearchesResolver; + orderTags?: ShopToOrderTagsResolver; + orders?: ShopToOrdersResolver; + paymentSettings?: ShopToPaymentSettingsResolver; + pendingOrderCount?: ShopToPendingOrderCountResolver; + plan?: ShopToPlanResolver; + priceRuleSavedSearches?: ShopToPriceRuleSavedSearchesResolver; + priceRules?: ShopToPriceRulesResolver; + primaryDomain?: ShopToPrimaryDomainResolver; + privateMetafield?: ShopToPrivateMetafieldResolver; + privateMetafields?: ShopToPrivateMetafieldsResolver; + productByHandle?: ShopToProductByHandleResolver; + productImages?: ShopToProductImagesResolver; + productSavedSearches?: ShopToProductSavedSearchesResolver; + productTags?: ShopToProductTagsResolver; + productTypes?: ShopToProductTypesResolver; + productVariants?: ShopToProductVariantsResolver; + productVendors?: ShopToProductVendorsResolver; + products?: ShopToProductsResolver; + publicationCount?: ShopToPublicationCountResolver; + resourceLimits?: ShopToResourceLimitsResolver; + richTextEditorUrl?: ShopToRichTextEditorUrlResolver; + search?: ShopToSearchResolver; + searchFilters?: ShopToSearchFiltersResolver; + setupRequired?: ShopToSetupRequiredResolver; + shipsToCountries?: ShopToShipsToCountriesResolver; + shopifyPaymentsAccount?: ShopToShopifyPaymentsAccountResolver; + storefrontAccessTokens?: ShopToStorefrontAccessTokensResolver; + storefrontUrl?: ShopToStorefrontUrlResolver; + taxShipping?: ShopToTaxShippingResolver; + taxesIncluded?: ShopToTaxesIncludedResolver; + timezoneAbbreviation?: ShopToTimezoneAbbreviationResolver; + timezoneOffset?: ShopToTimezoneOffsetResolver; + timezoneOffsetMinutes?: ShopToTimezoneOffsetMinutesResolver; + translations?: ShopToTranslationsResolver; + unitSystem?: ShopToUnitSystemResolver; + uploadedImages?: ShopToUploadedImagesResolver; + uploadedImagesByIds?: ShopToUploadedImagesByIdsResolver; + url?: ShopToUrlResolver; + weightUnit?: ShopToWeightUnitResolver; + } + + export interface ShopToAlertsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToAnalyticsTokenResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToAppInstallationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AppInstallationSortKeys; + category?: AppInstallationCategory; + privacy?: AppInstallationPrivacy; + } + export interface ShopToAppInstallationsResolver { + (parent: TParent, args: ShopToAppInstallationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToAssignedFulfillmentOrdersArgs { + assignmentStatus?: FulfillmentOrderAssignmentStatus; + locationIds?: Array; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: FulfillmentOrderSortKeys; + } + export interface ShopToAssignedFulfillmentOrdersResolver { + (parent: TParent, args: ShopToAssignedFulfillmentOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToAvailableChannelAppsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToAvailableChannelAppsResolver { + (parent: TParent, args: ShopToAvailableChannelAppsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToBillingAddressResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToChannelAppInstallationsArgs { + excludePrivateApps?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AppInstallationSortKeys; + } + export interface ShopToChannelAppInstallationsResolver { + (parent: TParent, args: ShopToChannelAppInstallationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToChannelCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToChannelsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToChannelsResolver { + (parent: TParent, args: ShopToChannelsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCheckoutApiSupportedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCollectionByHandleArgs { + handle: string; + } + export interface ShopToCollectionByHandleResolver { + (parent: TParent, args: ShopToCollectionByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCollectionSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToCollectionSavedSearchesResolver { + (parent: TParent, args: ShopToCollectionSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCollectionsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CollectionSortKeys; + query?: string; + savedSearchId?: string; + } + export interface ShopToCollectionsResolver { + (parent: TParent, args: ShopToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToContactEmailResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCountriesInShippingZonesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCurrencyCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCurrencyFormatsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCurrencySettingsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToCurrencySettingsResolver { + (parent: TParent, args: ShopToCurrencySettingsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCustomerAccountsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCustomerSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CustomerSavedSearchSortKeys; + query?: string; + } + export interface ShopToCustomerSavedSearchesResolver { + (parent: TParent, args: ShopToCustomerSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCustomerTagsArgs { + first: number; + } + export interface ShopToCustomerTagsResolver { + (parent: TParent, args: ShopToCustomerTagsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToCustomersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: CustomerSortKeys; + query?: string; + } + export interface ShopToCustomersResolver { + (parent: TParent, args: ShopToCustomersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToDraftOrderSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToDraftOrderSavedSearchesResolver { + (parent: TParent, args: ShopToDraftOrderSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToDraftOrderTagsArgs { + first: number; + } + export interface ShopToDraftOrderTagsResolver { + (parent: TParent, args: ShopToDraftOrderTagsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToDraftOrdersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: DraftOrderSortKeys; + query?: string; + } + export interface ShopToDraftOrdersResolver { + (parent: TParent, args: ShopToDraftOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToEmailResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToEnabledPresentmentCurrenciesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToFeaturesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToFulfillmentOrdersArgs { + includeClosed?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: FulfillmentOrderSortKeys; + query?: string; + } + export interface ShopToFulfillmentOrdersResolver { + (parent: TParent, args: ShopToFulfillmentOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToFulfillmentServicesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToIanaTimezoneResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToInstalledAppsArgs { + visibleOnly?: boolean; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: AppsSortKeys; + } + export interface ShopToInstalledAppsResolver { + (parent: TParent, args: ShopToInstalledAppsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToInventoryItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + query?: string; + } + export interface ShopToInventoryItemsResolver { + (parent: TParent, args: ShopToInventoryItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToLimitedPendingOrderCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToLocationsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: LocationSortKeys; + query?: string; + includeLegacy?: boolean; + includeInactive?: boolean; + } + export interface ShopToLocationsResolver { + (parent: TParent, args: ShopToLocationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToMarketingEventsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: MarketingEventSortKeys; + query?: string; + } + export interface ShopToMarketingEventsResolver { + (parent: TParent, args: ShopToMarketingEventsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToMetafieldArgs { + namespace: string; + key: string; + } + export interface ShopToMetafieldResolver { + (parent: TParent, args: ShopToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToMetafieldsResolver { + (parent: TParent, args: ShopToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToMyshopifyDomainResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToNavigationSettingsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToOrderNumberFormatPrefixResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToOrderNumberFormatSuffixResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToOrderSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToOrderSavedSearchesResolver { + (parent: TParent, args: ShopToOrderSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToOrderTagsArgs { + first: number; + sort?: ShopTagSort; + } + export interface ShopToOrderTagsResolver { + (parent: TParent, args: ShopToOrderTagsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToOrdersArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: OrderSortKeys; + query?: string; + } + export interface ShopToOrdersResolver { + (parent: TParent, args: ShopToOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPaymentSettingsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPendingOrderCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPlanResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPriceRuleSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToPriceRuleSavedSearchesResolver { + (parent: TParent, args: ShopToPriceRuleSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPriceRulesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: PriceRuleSortKeys; + query?: string; + savedSearchId?: string; + } + export interface ShopToPriceRulesResolver { + (parent: TParent, args: ShopToPriceRulesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPrimaryDomainResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPrivateMetafieldArgs { + namespace: string; + key: string; + } + export interface ShopToPrivateMetafieldResolver { + (parent: TParent, args: ShopToPrivateMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPrivateMetafieldsArgs { + namespace?: string; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToPrivateMetafieldsResolver { + (parent: TParent, args: ShopToPrivateMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToProductByHandleArgs { + handle: string; + } + export interface ShopToProductByHandleResolver { + (parent: TParent, args: ShopToProductByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToProductImagesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductImageSortKeys; + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface ShopToProductImagesResolver { + (parent: TParent, args: ShopToProductImagesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToProductSavedSearchesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToProductSavedSearchesResolver { + (parent: TParent, args: ShopToProductSavedSearchesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToProductTagsArgs { + first: number; + } + export interface ShopToProductTagsResolver { + (parent: TParent, args: ShopToProductTagsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToProductTypesArgs { + first: number; + } + export interface ShopToProductTypesResolver { + (parent: TParent, args: ShopToProductTypesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToProductVariantsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductVariantSortKeys; + query?: string; + } + export interface ShopToProductVariantsResolver { + (parent: TParent, args: ShopToProductVariantsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToProductVendorsArgs { + first: number; + } + export interface ShopToProductVendorsResolver { + (parent: TParent, args: ShopToProductVendorsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToProductsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ProductSortKeys; + query?: string; + savedSearchId?: string; + } + export interface ShopToProductsResolver { + (parent: TParent, args: ShopToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToPublicationCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToResourceLimitsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToRichTextEditorUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToSearchArgs { + query: string; + types?: Array; + first: number; + after?: string; + } + export interface ShopToSearchResolver { + (parent: TParent, args: ShopToSearchArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToSearchFiltersResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToSetupRequiredResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToShipsToCountriesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToShopifyPaymentsAccountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToStorefrontAccessTokensArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopToStorefrontAccessTokensResolver { + (parent: TParent, args: ShopToStorefrontAccessTokensArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToStorefrontUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToTaxShippingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToTaxesIncludedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToTimezoneAbbreviationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToTimezoneOffsetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToTimezoneOffsetMinutesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToTranslationsArgs { + locale: string; + } + export interface ShopToTranslationsResolver { + (parent: TParent, args: ShopToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToUnitSystemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToUploadedImagesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + sortKey?: ShopImageSortKeys; + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface ShopToUploadedImagesResolver { + (parent: TParent, args: ShopToUploadedImagesArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToUploadedImagesByIdsArgs { + imageIds: Array; + } + export interface ShopToUploadedImagesByIdsResolver { + (parent: TParent, args: ShopToUploadedImagesByIdsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopToWeightUnitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopAlertTypeResolver { + action?: ShopAlertToActionResolver; + description?: ShopAlertToDescriptionResolver; + } + + export interface ShopAlertToActionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopAlertToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopAlertActionTypeResolver { + title?: ShopAlertActionToTitleResolver; + url?: ShopAlertActionToUrlResolver; + } + + export interface ShopAlertActionToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopAlertActionToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppConnectionTypeResolver { + edges?: AppConnectionToEdgesResolver; + pageInfo?: AppConnectionToPageInfoResolver; + } + + export interface AppConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppEdgeTypeResolver { + cursor?: AppEdgeToCursorResolver; + node?: AppEdgeToNodeResolver; + } + + export interface AppEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface AppEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CountriesInShippingZonesTypeResolver { + countryCodes?: CountriesInShippingZonesToCountryCodesResolver; + includeRestOfWorld?: CountriesInShippingZonesToIncludeRestOfWorldResolver; + } + + export interface CountriesInShippingZonesToCountryCodesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CountriesInShippingZonesToIncludeRestOfWorldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencyFormatsTypeResolver { + moneyFormat?: CurrencyFormatsToMoneyFormatResolver; + moneyInEmailsFormat?: CurrencyFormatsToMoneyInEmailsFormatResolver; + moneyWithCurrencyFormat?: CurrencyFormatsToMoneyWithCurrencyFormatResolver; + moneyWithCurrencyInEmailsFormat?: CurrencyFormatsToMoneyWithCurrencyInEmailsFormatResolver; + } + + export interface CurrencyFormatsToMoneyFormatResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencyFormatsToMoneyInEmailsFormatResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencyFormatsToMoneyWithCurrencyFormatResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencyFormatsToMoneyWithCurrencyInEmailsFormatResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencySettingConnectionTypeResolver { + edges?: CurrencySettingConnectionToEdgesResolver; + pageInfo?: CurrencySettingConnectionToPageInfoResolver; + } + + export interface CurrencySettingConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencySettingConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencySettingEdgeTypeResolver { + cursor?: CurrencySettingEdgeToCursorResolver; + node?: CurrencySettingEdgeToNodeResolver; + } + + export interface CurrencySettingEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencySettingEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencySettingTypeResolver { + currencyCode?: CurrencySettingToCurrencyCodeResolver; + currencyName?: CurrencySettingToCurrencyNameResolver; + enabled?: CurrencySettingToEnabledResolver; + rateUpdatedAt?: CurrencySettingToRateUpdatedAtResolver; + } + + export interface CurrencySettingToCurrencyCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencySettingToCurrencyNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencySettingToEnabledResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CurrencySettingToRateUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StringConnectionTypeResolver { + edges?: StringConnectionToEdgesResolver; + pageInfo?: StringConnectionToPageInfoResolver; + } + + export interface StringConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StringConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StringEdgeTypeResolver { + cursor?: StringEdgeToCursorResolver; + node?: StringEdgeToNodeResolver; + } + + export interface StringEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StringEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesTypeResolver { + avalaraAvatax?: ShopFeaturesToAvalaraAvataxResolver; + branding?: ShopFeaturesToBrandingResolver; + captcha?: ShopFeaturesToCaptchaResolver; + captchaExternalDomains?: ShopFeaturesToCaptchaExternalDomainsResolver; + deliveryProfiles?: ShopFeaturesToDeliveryProfilesResolver; + dynamicRemarketing?: ShopFeaturesToDynamicRemarketingResolver; + giftCards?: ShopFeaturesToGiftCardsResolver; + harmonizedSystemCode?: ShopFeaturesToHarmonizedSystemCodeResolver; + liveView?: ShopFeaturesToLiveViewResolver; + multiLocation?: ShopFeaturesToMultiLocationResolver; + onboardingVisual?: ShopFeaturesToOnboardingVisualResolver; + reports?: ShopFeaturesToReportsResolver; + shopifyPlus?: ShopFeaturesToShopifyPlusResolver; + showMetrics?: ShopFeaturesToShowMetricsResolver; + storefront?: ShopFeaturesToStorefrontResolver; + } + + export interface ShopFeaturesToAvalaraAvataxResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToBrandingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToCaptchaResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToCaptchaExternalDomainsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToDeliveryProfilesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToDynamicRemarketingResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToGiftCardsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToHarmonizedSystemCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToLiveViewResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToMultiLocationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToOnboardingVisualResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToReportsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToShopifyPlusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToShowMetricsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopFeaturesToStorefrontResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LimitedPendingOrderCountTypeResolver { + atMax?: LimitedPendingOrderCountToAtMaxResolver; + count?: LimitedPendingOrderCountToCountResolver; + } + + export interface LimitedPendingOrderCountToAtMaxResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface LimitedPendingOrderCountToCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface PaymentSettingsTypeResolver { + supportedDigitalWallets?: PaymentSettingsToSupportedDigitalWalletsResolver; + } + + export interface PaymentSettingsToSupportedDigitalWalletsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Details about the gift card used on the checkout. - */ - export interface AppliedGiftCard extends Node { - - /** - * The amount that was taken from the gift card by applying it. - * @deprecated Use `amountUsedV2` instead - */ - amountUsed: Money; - - /** - * The amount that was taken from the gift card by applying it. - */ - amountUsedV2: MoneyV2; - - /** - * The amount left on the gift card. - * @deprecated Use `balanceV2` instead - */ - balance: Money; - - /** - * The amount left on the gift card. - */ - balanceV2: MoneyV2; - - /** - * Globally unique identifier. - */ - id: string; - - /** - * The last characters of the gift card. - */ - lastCharacters: string; - - /** - * The amount that was applied to the checkout in its currency. - */ - presentmentAmountUsed: MoneyV2; + export interface ShopPlanTypeResolver { + displayName?: ShopPlanToDisplayNameResolver; + partnerDevelopment?: ShopPlanToPartnerDevelopmentResolver; + shopifyPlus?: ShopPlanToShopifyPlusResolver; } - /** - * A collection of available shipping rates for a checkout. - */ - export interface 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: boolean; - - /** - * The fetched shipping rates. `null` until the `ready` field is `true`. - */ - shippingRates?: Array; + export interface ShopPlanToDisplayNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * A shipping rate to be applied to a checkout. - */ - export interface ShippingRate { - - /** - * Human-readable unique identifier for this shipping rate. - */ - handle: string; - - /** - * Price of this shipping rate. - * @deprecated Use `priceV2` instead - */ - price: Money; - - /** - * Price of this shipping rate. - */ - priceV2: MoneyV2; - - /** - * Title of this shipping rate. - */ - title: string; + export interface ShopPlanToPartnerDevelopmentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a generic custom attribute. - */ - export interface Attribute { - - /** - * Key or name of the attribute. - */ - key: string; - - /** - * Value of the attribute. - */ - value?: string; + export interface ShopPlanToShopifyPlusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountApplicationConnection { - - /** - * A list of edges. - */ - edges: Array; - - /** - * Information to aid in pagination. - */ - pageInfo: PageInfo; + export interface ShopResourceLimitsTypeResolver { + locationLimit?: ShopResourceLimitsToLocationLimitResolver; + maxProductOptions?: ShopResourceLimitsToMaxProductOptionsResolver; + maxProductVariants?: ShopResourceLimitsToMaxProductVariantsResolver; + redirectLimitReached?: ShopResourceLimitsToRedirectLimitReachedResolver; + skuResourceLimits?: ShopResourceLimitsToSkuResourceLimitsResolver; } - export interface DiscountApplicationEdge { - - /** - * A cursor for use in pagination. - */ - cursor: string; - - /** - * The item at the end of DiscountApplicationEdge. - */ - node: DiscountApplication; + export interface ShopResourceLimitsToLocationLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Discount applications capture the intentions of a discount source at - * the time of application. - * - */ - export interface 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; + export interface ShopResourceLimitsToMaxProductOptionsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** Use this to resolve interface type DiscountApplication */ - export type PossibleDiscountApplicationTypeNames = - 'AutomaticDiscountApplication' | - 'DiscountCodeApplication' | - 'ManualDiscountApplication' | - 'ScriptDiscountApplication'; + export interface ShopResourceLimitsToMaxProductVariantsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } - export interface DiscountApplicationNameMap { - DiscountApplication: DiscountApplication; - AutomaticDiscountApplication: AutomaticDiscountApplication; - DiscountCodeApplication: DiscountCodeApplication; - ManualDiscountApplication: ManualDiscountApplication; - ScriptDiscountApplication: ScriptDiscountApplication; + export interface ShopResourceLimitsToRedirectLimitReachedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * The method by which the discount's value is allocated onto its entitled lines. - */ - export const 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' + export interface ShopResourceLimitsToSkuResourceLimitsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Which lines on the order that the discount is allocated over, of the type - * defined by the Discount Application's target_type. - * - */ - export const enum DiscountApplicationTargetSelection { - - /** - * The discount is allocated onto all the lines. - */ - ALL = 'ALL', - - /** - * The discount is allocated onto only the lines it is entitled for. - */ - ENTITLED = 'ENTITLED', - - /** - * The discount is allocated onto explicitly chosen lines. - */ - EXPLICIT = 'EXPLICIT' + export interface ResourceLimitTypeResolver { + available?: ResourceLimitToAvailableResolver; + quantityAvailable?: ResourceLimitToQuantityAvailableResolver; + quantityLimit?: ResourceLimitToQuantityLimitResolver; + quantityUsed?: ResourceLimitToQuantityUsedResolver; } - /** - * The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards. - * - */ - export const enum DiscountApplicationTargetType { - - /** - * The discount applies onto line items. - */ - LINE_ITEM = 'LINE_ITEM', - - /** - * The discount applies onto shipping lines. - */ - SHIPPING_LINE = 'SHIPPING_LINE' + export interface ResourceLimitToAvailableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * The price value (fixed or percentage) for a discount application. - */ - export type PricingValue = PricingPercentageValue | MoneyV2; + export interface ResourceLimitToQuantityAvailableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } - /** Use this to resolve union type PricingValue */ - export type PossiblePricingValueTypeNames = - 'PricingPercentageValue' | - 'MoneyV2'; + export interface ResourceLimitToQuantityLimitResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } - export interface PricingValueNameMap { - PricingValue: PricingValue; - PricingPercentageValue: PricingPercentageValue; - MoneyV2: MoneyV2; + export interface ResourceLimitToQuantityUsedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * The value of the percentage pricing object. - */ - export interface PricingPercentageValue { - - /** - * The percentage value of the object. - */ - percentage: number; + export interface SearchResultConnectionTypeResolver { + edges?: SearchResultConnectionToEdgesResolver; + pageInfo?: SearchResultConnectionToPageInfoResolver; + resultsAfterCount?: SearchResultConnectionToResultsAfterCountResolver; } - export interface CheckoutLineItemConnection { - - /** - * A list of edges. - */ - edges: Array; - - /** - * Information to aid in pagination. - */ - pageInfo: PageInfo; + export interface SearchResultConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchResultConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchResultConnectionToResultsAfterCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchResultEdgeTypeResolver { + cursor?: SearchResultEdgeToCursorResolver; + node?: SearchResultEdgeToNodeResolver; + } + + export interface SearchResultEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchResultEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchResultTypeResolver { + description?: SearchResultToDescriptionResolver; + image?: SearchResultToImageResolver; + reference?: SearchResultToReferenceResolver; + title?: SearchResultToTitleResolver; + url?: SearchResultToUrlResolver; + } + + export interface SearchResultToDescriptionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchResultToImageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchResultToReferenceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface SearchResultToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemEdge { - - /** - * A cursor for use in pagination. - */ - cursor: string; - - /** - * The item at the end of CheckoutLineItemEdge. - */ - node: CheckoutLineItem; + export interface SearchResultToUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * A single line item in the checkout, grouped by variant and attributes. - */ - export interface CheckoutLineItem extends Node { - - /** - * 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; - - /** - * Globally unique identifier. - */ - id: string; - - /** - * The quantity of the line item. - */ - quantity: number; - - /** - * Title of the line item. Defaults to the product's title. - */ - title: string; - - /** - * Unit price of the line item. - */ - unitPrice?: MoneyV2; - - /** - * Product variant of the line item. - */ - variant?: ProductVariant; + export interface SearchFilterOptionsTypeResolver { + productAvailability?: SearchFilterOptionsToProductAvailabilityResolver; } - /** - * An amount discounting the line that has been allocated by a discount. - * - */ - export interface DiscountAllocation { - - /** - * Amount of discount allocated. - */ - allocatedAmount: MoneyV2; - - /** - * The discount this allocated amount originated from. - */ - discountApplication: DiscountApplication; + export interface SearchFilterOptionsToProductAvailabilityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * 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 interface Order extends Node { - - /** - * Represents the reason for the order's cancellation. Returns null if the order wasn't canceled. - */ - cancelReason?: OrderCancelReason; - - /** - * The date and time when the order was canceled. Returns null if the order wasn't canceled. - */ - canceledAt?: DateTime; - - /** - * 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, shipping costs, or shipping discounts. Taxes are not included unless the order is a taxes-included order. - */ - currentSubtotalPrice: MoneyV2; - - /** - * The total amount of the order, including 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; - - /** - * The locale code in which this specific order happened. - */ - customerLocale?: string; - - /** - * The unique URL that the customer can use to access the order. - */ - customerUrl?: URL; - - /** - * Discounts that have been applied on the order. - */ - discountApplications: DiscountApplicationConnection; - - /** - * Whether the order has had any edits applied or not. - */ - edited: boolean; - - /** - * The customer's email address. - */ - email?: string; - - /** - * The financial status of the order. - */ - financialStatus?: OrderFinancialStatus; - - /** - * The fulfillment status for the order. - */ - fulfillmentStatus: OrderFulfillmentStatus; - - /** - * Globally unique identifier. - */ - id: string; - - /** - * List of the order’s line items. - */ - lineItems: OrderLineItemConnection; - - /** - * Unique identifier for the order that appears on the order. - * For example, _#1000_ or _Store1001. - * - */ - name: string; - - /** - * A unique numeric identifier for the order for use by shop owner and customer. - */ - orderNumber: number; - - /** - * The total price of the order before any applied edits. - */ - originalTotalPrice: MoneyV2; - - /** - * The customer's phone number for receiving SMS notifications. - */ - phone?: string; - - /** - * 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: DateTime; - - /** - * The address to where the order will be shipped. - */ - shippingAddress?: MailingAddress; - - /** - * 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: URL; - - /** - * Price of the order before shipping and taxes. - * @deprecated Use `subtotalPriceV2` instead - */ - subtotalPrice?: Money; - - /** - * Price of the order before shipping and taxes. - */ - subtotalPriceV2?: MoneyV2; - - /** - * List of the order’s successful fulfillments. - */ - successfulFulfillments?: Array; - - /** - * The sum of all the prices of all the items in the order, taxes and discounts included (must be positive). - * @deprecated Use `totalPriceV2` instead - */ - totalPrice: Money; - - /** - * The sum of all the prices of all the items in the order, taxes and discounts included (must be positive). - */ - totalPriceV2: MoneyV2; - - /** - * The total amount that has been refunded. - * @deprecated Use `totalRefundedV2` instead - */ - totalRefunded: Money; - - /** - * The total amount that has been refunded. - */ - totalRefundedV2: MoneyV2; - - /** - * The total cost of shipping. - * @deprecated Use `totalShippingPriceV2` instead - */ - totalShippingPrice: Money; - - /** - * The total cost of shipping. - */ - totalShippingPriceV2: MoneyV2; - - /** - * The total cost of taxes. - * @deprecated Use `totalTaxV2` instead - */ - totalTax?: Money; - - /** - * The total cost of taxes. - */ - totalTaxV2?: MoneyV2; + export interface FilterOptionTypeResolver { + label?: FilterOptionToLabelResolver; + value?: FilterOptionToValueResolver; } - /** - * Represents the reason for the order's cancellation. - */ - export const enum OrderCancelReason { - - /** - * The customer wanted to cancel the order. - */ - CUSTOMER = 'CUSTOMER', - - /** - * The order was fraudulent. - */ - FRAUD = 'FRAUD', - - /** - * There was insufficient inventory. - */ - INVENTORY = 'INVENTORY', - - /** - * Payment was declined. - */ - DECLINED = 'DECLINED', - - /** - * The order was canceled for an unlisted reason. - */ - OTHER = 'OTHER' + export interface FilterOptionToLabelResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents the order's current financial status. - */ - export const enum OrderFinancialStatus { - - /** - * Displayed as **Pending**. - */ - PENDING = 'PENDING', - - /** - * Displayed as **Authorized**. - */ - AUTHORIZED = 'AUTHORIZED', - - /** - * Displayed as **Partially paid**. - */ - PARTIALLY_PAID = 'PARTIALLY_PAID', - - /** - * Displayed as **Partially refunded**. - */ - PARTIALLY_REFUNDED = 'PARTIALLY_REFUNDED', - - /** - * Displayed as **Voided**. - */ - VOIDED = 'VOIDED', - - /** - * Displayed as **Paid**. - */ - PAID = 'PAID', - - /** - * Displayed as **Refunded**. - */ - REFUNDED = 'REFUNDED' + export interface FilterOptionToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsAccountTypeResolver { + activated?: ShopifyPaymentsAccountToActivatedResolver; + balance?: ShopifyPaymentsAccountToBalanceResolver; + bankAccounts?: ShopifyPaymentsAccountToBankAccountsResolver; + chargeStatementDescriptor?: ShopifyPaymentsAccountToChargeStatementDescriptorResolver; + chargeStatementDescriptors?: ShopifyPaymentsAccountToChargeStatementDescriptorsResolver; + country?: ShopifyPaymentsAccountToCountryResolver; + defaultCurrency?: ShopifyPaymentsAccountToDefaultCurrencyResolver; + disputes?: ShopifyPaymentsAccountToDisputesResolver; + fraudSettings?: ShopifyPaymentsAccountToFraudSettingsResolver; + id?: ShopifyPaymentsAccountToIdResolver; + notificationSettings?: ShopifyPaymentsAccountToNotificationSettingsResolver; + onboardable?: ShopifyPaymentsAccountToOnboardableResolver; + payoutSchedule?: ShopifyPaymentsAccountToPayoutScheduleResolver; + payoutStatementDescriptor?: ShopifyPaymentsAccountToPayoutStatementDescriptorResolver; + payouts?: ShopifyPaymentsAccountToPayoutsResolver; + permittedVerificationDocuments?: ShopifyPaymentsAccountToPermittedVerificationDocumentsResolver; + verifications?: ShopifyPaymentsAccountToVerificationsResolver; + } + + export interface ShopifyPaymentsAccountToActivatedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsAccountToBalanceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents the order's current fulfillment status. - */ - export const enum OrderFulfillmentStatus { - - /** - * Displayed as **Unfulfilled**. - */ - UNFULFILLED = 'UNFULFILLED', - - /** - * Displayed as **Partially fulfilled**. - */ - PARTIALLY_FULFILLED = 'PARTIALLY_FULFILLED', - - /** - * Displayed as **Fulfilled**. - */ - FULFILLED = 'FULFILLED', - - /** - * Displayed as **Restocked**. - */ - RESTOCKED = 'RESTOCKED', - - /** - * Displayed as **Pending fulfillment**. - */ - PENDING_FULFILLMENT = 'PENDING_FULFILLMENT', - - /** - * Displayed as **Open**. - */ - OPEN = 'OPEN', - - /** - * Displayed as **In progress**. - */ - IN_PROGRESS = 'IN_PROGRESS' + export interface ShopifyPaymentsAccountToBankAccountsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopifyPaymentsAccountToBankAccountsResolver { + (parent: TParent, args: ShopifyPaymentsAccountToBankAccountsArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemConnection { - - /** - * A list of edges. - */ - edges: Array; - - /** - * Information to aid in pagination. - */ - pageInfo: PageInfo; + export interface ShopifyPaymentsAccountToChargeStatementDescriptorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemEdge { - - /** - * A cursor for use in pagination. - */ - cursor: string; - - /** - * The item at the end of OrderLineItemEdge. - */ - node: OrderLineItem; + export interface ShopifyPaymentsAccountToChargeStatementDescriptorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a single line in an order. There is one line item for each distinct product variant. - */ - export interface OrderLineItem { - - /** - * The number of entries associated to the line item minus the items that have been removed. - */ - currentQuantity: number; - - /** - * 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: number; - - /** - * The title of the product combined with title of the variant. - */ - title: string; - - /** - * The product variant object associated to the line item. - */ - variant?: ProductVariant; + export interface ShopifyPaymentsAccountToCountryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a single fulfillment in an order. - */ - export interface Fulfillment { - - /** - * List of the fulfillment's line items. - */ - fulfillmentLineItems: FulfillmentLineItemConnection; - - /** - * The name of the tracking company. - */ - trackingCompany?: string; - - /** - * Tracking information associated with the fulfillment, - * such as the tracking number and tracking URL. - * - */ - trackingInfo: Array; + export interface ShopifyPaymentsAccountToDefaultCurrencyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemConnection { - - /** - * A list of edges. - */ - edges: Array; - - /** - * Information to aid in pagination. - */ - pageInfo: PageInfo; + export interface ShopifyPaymentsAccountToDisputesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + query?: string; + } + export interface ShopifyPaymentsAccountToDisputesResolver { + (parent: TParent, args: ShopifyPaymentsAccountToDisputesArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemEdge { - - /** - * A cursor for use in pagination. - */ - cursor: string; - - /** - * The item at the end of FulfillmentLineItemEdge. - */ - node: FulfillmentLineItem; + export interface ShopifyPaymentsAccountToFraudSettingsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item. - */ - export interface FulfillmentLineItem { - - /** - * The associated order's line item. - */ - lineItem: OrderLineItem; - - /** - * The amount fulfilled in this fulfillment. - */ - quantity: number; + export interface ShopifyPaymentsAccountToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Tracking information associated with the fulfillment. - */ - export interface FulfillmentTrackingInfo { - - /** - * The tracking number of the fulfillment. - */ - number?: string; - - /** - * The URL to track the fulfillment. - */ - url?: URL; + export interface ShopifyPaymentsAccountToNotificationSettingsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * The set of valid sort keys for the Order query. - */ - export const enum OrderSortKeys { - - /** - * Sort by the `processed_at` value. - */ - PROCESSED_AT = 'PROCESSED_AT', - - /** - * Sort by the `total_price` value. - */ - TOTAL_PRICE = 'TOTAL_PRICE', - - /** - * Sort by the `id` value. - */ - ID = 'ID', - - /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. - * - */ - RELEVANCE = 'RELEVANCE' + export interface ShopifyPaymentsAccountToOnboardableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderConnection { - - /** - * A list of edges. - */ - edges: Array; - - /** - * Information to aid in pagination. - */ - pageInfo: PageInfo; + export interface ShopifyPaymentsAccountToPayoutScheduleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderEdge { - - /** - * A cursor for use in pagination. - */ - cursor: string; - - /** - * The item at the end of OrderEdge. - */ - node: Order; + export interface ShopifyPaymentsAccountToPayoutStatementDescriptorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. - */ - export interface Page extends Node { - - /** - * The description of the page, complete with HTML formatting. - */ - body: HTML; - - /** - * Summary of the page body. - */ - bodySummary: string; - - /** - * The timestamp of the page creation. - */ - createdAt: DateTime; - - /** - * A human-friendly unique string for the page automatically generated from its title. - */ - handle: string; - - /** - * Globally unique identifier. - */ - id: string; - - /** - * The title of the page. - */ - title: string; - - /** - * The timestamp of the latest page update. - */ - updatedAt: DateTime; - - /** - * The url pointing to the page accessible from the web. - */ - url: URL; + export interface ShopifyPaymentsAccountToPayoutsArgs { + transactionType?: ShopifyPaymentsPayoutTransactionType; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopifyPaymentsAccountToPayoutsResolver { + (parent: TParent, args: ShopifyPaymentsAccountToPayoutsArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * The set of valid sort keys for the Page query. - */ - export const enum PageSortKeys { - - /** - * Sort by the `title` value. - */ - TITLE = 'TITLE', - - /** - * Sort by the `updated_at` value. - */ - UPDATED_AT = 'UPDATED_AT', - - /** - * Sort by the `id` value. - */ - ID = 'ID', - - /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. - * - */ - RELEVANCE = 'RELEVANCE' + export interface ShopifyPaymentsAccountToPermittedVerificationDocumentsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageConnection { - - /** - * A list of edges. - */ - edges: Array; - - /** - * Information to aid in pagination. - */ - pageInfo: PageInfo; + export interface ShopifyPaymentsAccountToVerificationsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageEdge { - - /** - * A cursor for use in pagination. - */ - cursor: string; - - /** - * The item at the end of PageEdge. - */ - node: Page; + export interface ShopifyPaymentsBankAccountConnectionTypeResolver { + edges?: ShopifyPaymentsBankAccountConnectionToEdgesResolver; + pageInfo?: ShopifyPaymentsBankAccountConnectionToPageInfoResolver; } - export interface StringConnection { - - /** - * A list of edges. - */ - edges: Array; - - /** - * Information to aid in pagination. - */ - pageInfo: PageInfo; + export interface ShopifyPaymentsBankAccountConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface StringEdge { - - /** - * A cursor for use in pagination. - */ - cursor: string; - - /** - * The item at the end of StringEdge. - */ - node: string; + export interface ShopifyPaymentsBankAccountConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * The set of valid sort keys for the Product query. - */ - export const enum ProductSortKeys { - - /** - * Sort by the `title` value. - */ - TITLE = 'TITLE', - - /** - * Sort by the `product_type` value. - */ - PRODUCT_TYPE = 'PRODUCT_TYPE', - - /** - * Sort by the `vendor` value. - */ - VENDOR = 'VENDOR', - - /** - * Sort by the `updated_at` value. - */ - UPDATED_AT = 'UPDATED_AT', - - /** - * Sort by the `created_at` value. - */ - CREATED_AT = 'CREATED_AT', - - /** - * Sort by the `best_selling` value. - */ - BEST_SELLING = 'BEST_SELLING', - - /** - * Sort by the `price` value. - */ - PRICE = 'PRICE', - - /** - * Sort by the `id` value. - */ - ID = 'ID', - - /** - * During a search (i.e. when the `query` parameter has been specified on the connection) this sorts the - * results by relevance to the search term(s). When no search query is specified, this sort key is not - * deterministic and should not be used. - * - */ - RELEVANCE = 'RELEVANCE' + export interface ShopifyPaymentsBankAccountEdgeTypeResolver { + cursor?: ShopifyPaymentsBankAccountEdgeToCursorResolver; + node?: ShopifyPaymentsBankAccountEdgeToNodeResolver; } - /** - * A version of the API. - */ - export interface ApiVersion { - - /** - * The human-readable name of the version. - */ - displayName: string; - - /** - * The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle. - */ - handle: string; - - /** - * Whether the version is supported by Shopify. - */ - supported: boolean; + export interface ShopifyPaymentsBankAccountEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Shop represents a collection of the general settings and information about the shop. - */ - export interface Shop { - - /** - * List of the shop' articles. - * @deprecated Use `QueryRoot.articles` instead. - */ - articles: ArticleConnection; - - /** - * List of the shop' blogs. - * @deprecated Use `QueryRoot.blogs` instead. - */ - blogs: BlogConnection; - - /** - * Find a collection by its handle. - * @deprecated Use `QueryRoot.collectionByHandle` instead. - */ - collectionByHandle?: Collection; - - /** - * List of the shop’s collections. - * @deprecated Use `QueryRoot.collections` instead. - */ - collections: CollectionConnection; - - /** - * The three-letter code for the currency that the shop accepts. - * @deprecated Use `paymentSettings` instead - */ - currencyCode: CurrencyCode; - - /** - * A description of the shop. - */ - description?: string; - - /** - * A string representing the way currency is formatted when the currency isn’t specified. - */ - moneyFormat: string; - - /** - * The shop’s name. - */ - name: string; - - /** - * Settings related to payments. - */ - paymentSettings: PaymentSettings; - - /** - * The shop’s primary domain. - */ - primaryDomain: Domain; - - /** - * The shop’s privacy policy. - */ - privacyPolicy?: ShopPolicy; - - /** - * Find a product by its handle. - * @deprecated Use `QueryRoot.productByHandle` instead. - */ - productByHandle?: Product; - - /** - * Tags added to products. - * Additional access scope required: unauthenticated_read_product_tags. - * - * @deprecated Use `QueryRoot.productTags` instead. - */ - productTags: StringConnection; - - /** - * List of the shop’s product types. - * @deprecated Use `QueryRoot.productTypes` instead. - */ - productTypes: StringConnection; - - /** - * List of the shop’s products. - * @deprecated Use `QueryRoot.products` instead. - */ - products: ProductConnection; - - /** - * The shop’s refund policy. - */ - refundPolicy?: ShopPolicy; - - /** - * Countries that the shop ships to. - */ - shipsToCountries: Array; - - /** - * The shop’s Shopify Payments account id. - * @deprecated Use `paymentSettings` instead - */ - shopifyPaymentsAccountId?: string; - - /** - * The shop’s terms of service. - */ - termsOfService?: ShopPolicy; + export interface ShopifyPaymentsBankAccountEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Settings related to payments. - */ - export interface PaymentSettings { - - /** - * List of the card brands which the shop accepts. - */ - acceptedCardBrands: Array; - - /** - * The url pointing to the endpoint to vault credit cards. - */ - cardVaultUrl: 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?: string; - - /** - * List of the digital wallets which the shop supports. - */ - supportedDigitalWallets: Array; + export interface ShopifyPaymentsBankAccountTypeResolver { + accountNumber?: ShopifyPaymentsBankAccountToAccountNumberResolver; + accountNumberLastDigits?: ShopifyPaymentsBankAccountToAccountNumberLastDigitsResolver; + bankName?: ShopifyPaymentsBankAccountToBankNameResolver; + country?: ShopifyPaymentsBankAccountToCountryResolver; + createdAt?: ShopifyPaymentsBankAccountToCreatedAtResolver; + currency?: ShopifyPaymentsBankAccountToCurrencyResolver; + id?: ShopifyPaymentsBankAccountToIdResolver; + payouts?: ShopifyPaymentsBankAccountToPayoutsResolver; + routingNumber?: ShopifyPaymentsBankAccountToRoutingNumberResolver; + status?: ShopifyPaymentsBankAccountToStatusResolver; + } + + export interface ShopifyPaymentsBankAccountToAccountNumberResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsBankAccountToAccountNumberLastDigitsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Card brand, such as Visa or Mastercard, which can be used for payments. - */ - export const enum CardBrand { - - /** - * Visa - */ - VISA = 'VISA', - - /** - * Mastercard - */ - MASTERCARD = 'MASTERCARD', - - /** - * Discover - */ - DISCOVER = 'DISCOVER', - - /** - * American Express - */ - AMERICAN_EXPRESS = 'AMERICAN_EXPRESS', - - /** - * Diners Club - */ - DINERS_CLUB = 'DINERS_CLUB', - - /** - * JCB - */ - JCB = 'JCB' + export interface ShopifyPaymentsBankAccountToBankNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. - */ - export const enum DigitalWallet { - - /** - * Apple Pay. - */ - APPLE_PAY = 'APPLE_PAY', - - /** - * Android Pay. - */ - ANDROID_PAY = 'ANDROID_PAY', - - /** - * Google Pay. - */ - GOOGLE_PAY = 'GOOGLE_PAY', - - /** - * Shopify Pay. - */ - SHOPIFY_PAY = 'SHOPIFY_PAY' + export interface ShopifyPaymentsBankAccountToCountryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a web address. - */ - export interface Domain { - - /** - * The host name of the domain (eg: `example.com`). - */ - host: string; - - /** - * Whether SSL is enabled or not. - */ - sslEnabled: boolean; - - /** - * The URL of the domain (eg: `https://example.com`). - */ - url: URL; + export interface ShopifyPaymentsBankAccountToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Policy that a merchant has configured for their store, such as their refund or privacy policy. - */ - export interface ShopPolicy extends Node { - - /** - * Policy text, maximum size of 64kb. - */ - body: string; - - /** - * Policy’s handle. - */ - handle: string; - - /** - * Globally unique identifier. - */ - id: string; - - /** - * Policy’s title. - */ - title: string; - - /** - * Public URL to the policy. - */ - url: URL; + export interface ShopifyPaymentsBankAccountToCurrencyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. - */ - export interface Mutation { - - /** - * Updates the attributes of a checkout. - * @deprecated Use `checkoutAttributesUpdateV2` instead - */ - checkoutAttributesUpdate?: CheckoutAttributesUpdatePayload; - - /** - * Updates the attributes of a checkout. - */ - checkoutAttributesUpdateV2?: CheckoutAttributesUpdateV2Payload; - - /** - * 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?: CheckoutCompleteFreePayload; - - /** - * Completes a checkout using a credit card token from Shopify's Vault. - * @deprecated Use `checkoutCompleteWithCreditCardV2` instead - */ - checkoutCompleteWithCreditCard?: CheckoutCompleteWithCreditCardPayload; - - /** - * 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://help.shopify.com/api/guides/sales-channel-sdk/getting-started#request-payment-processing). - */ - checkoutCompleteWithCreditCardV2?: CheckoutCompleteWithCreditCardV2Payload; - - /** - * Completes a checkout with a tokenized payment. - * @deprecated Use `checkoutCompleteWithTokenizedPaymentV2` instead - */ - checkoutCompleteWithTokenizedPayment?: CheckoutCompleteWithTokenizedPaymentPayload; - - /** - * Completes a checkout with a tokenized payment. - * @deprecated Use `checkoutCompleteWithTokenizedPaymentV3` instead - */ - checkoutCompleteWithTokenizedPaymentV2?: CheckoutCompleteWithTokenizedPaymentV2Payload; - - /** - * Completes a checkout with a tokenized payment. - */ - checkoutCompleteWithTokenizedPaymentV3?: CheckoutCompleteWithTokenizedPaymentV3Payload; - - /** - * Creates a new checkout. - */ - checkoutCreate?: CheckoutCreatePayload; - - /** - * Associates a customer to the checkout. - * @deprecated Use `checkoutCustomerAssociateV2` instead - */ - checkoutCustomerAssociate?: CheckoutCustomerAssociatePayload; - - /** - * Associates a customer to the checkout. - */ - checkoutCustomerAssociateV2?: CheckoutCustomerAssociateV2Payload; - - /** - * Disassociates the current checkout customer from the checkout. - * @deprecated Use `checkoutCustomerDisassociateV2` instead - */ - checkoutCustomerDisassociate?: CheckoutCustomerDisassociatePayload; - - /** - * Disassociates the current checkout customer from the checkout. - */ - checkoutCustomerDisassociateV2?: CheckoutCustomerDisassociateV2Payload; - - /** - * Applies a discount to an existing checkout using a discount code. - * @deprecated Use `checkoutDiscountCodeApplyV2` instead - */ - checkoutDiscountCodeApply?: CheckoutDiscountCodeApplyPayload; - - /** - * Applies a discount to an existing checkout using a discount code. - */ - checkoutDiscountCodeApplyV2?: CheckoutDiscountCodeApplyV2Payload; - - /** - * Removes the applied discount from an existing checkout. - */ - checkoutDiscountCodeRemove?: CheckoutDiscountCodeRemovePayload; - - /** - * Updates the email on an existing checkout. - * @deprecated Use `checkoutEmailUpdateV2` instead - */ - checkoutEmailUpdate?: CheckoutEmailUpdatePayload; - - /** - * Updates the email on an existing checkout. - */ - checkoutEmailUpdateV2?: CheckoutEmailUpdateV2Payload; - - /** - * Applies a gift card to an existing checkout using a gift card code. This will replace all currently applied gift cards. - * @deprecated Use `checkoutGiftCardsAppend` instead - */ - checkoutGiftCardApply?: CheckoutGiftCardApplyPayload; - - /** - * Removes an applied gift card from the checkout. - * @deprecated Use `checkoutGiftCardRemoveV2` instead - */ - checkoutGiftCardRemove?: CheckoutGiftCardRemovePayload; - - /** - * Removes an applied gift card from the checkout. - */ - checkoutGiftCardRemoveV2?: CheckoutGiftCardRemoveV2Payload; - - /** - * Appends gift cards to an existing checkout. - */ - checkoutGiftCardsAppend?: CheckoutGiftCardsAppendPayload; - - /** - * Adds a list of line items to a checkout. - * @deprecated Use `checkoutLineItemsReplace` instead - */ - checkoutLineItemsAdd?: CheckoutLineItemsAddPayload; - - /** - * Removes line items from an existing checkout. - * @deprecated Use `checkoutLineItemsReplace` instead - */ - checkoutLineItemsRemove?: CheckoutLineItemsRemovePayload; - - /** - * Sets a list of line items to a checkout. - */ - checkoutLineItemsReplace?: CheckoutLineItemsReplacePayload; - - /** - * Updates line items on a checkout. - * @deprecated Use `checkoutLineItemsReplace` instead - */ - checkoutLineItemsUpdate?: CheckoutLineItemsUpdatePayload; - - /** - * Updates the shipping address of an existing checkout. - * @deprecated Use `checkoutShippingAddressUpdateV2` instead - */ - checkoutShippingAddressUpdate?: CheckoutShippingAddressUpdatePayload; - - /** - * Updates the shipping address of an existing checkout. - */ - checkoutShippingAddressUpdateV2?: CheckoutShippingAddressUpdateV2Payload; - - /** - * Updates the shipping lines on an existing checkout. - */ - checkoutShippingLineUpdate?: CheckoutShippingLineUpdatePayload; - - /** - * Creates a customer access token. - * The customer access token is required to modify the customer object in any way. - * - */ - customerAccessTokenCreate?: CustomerAccessTokenCreatePayload; - - /** - * Creates a customer access token using a multipass token instead of email and password. - * A customer record is created if customer does not exist. If a customer record already - * exists but the record is disabled, then it's enabled. - * - */ - customerAccessTokenCreateWithMultipass?: CustomerAccessTokenCreateWithMultipassPayload; - - /** - * Permanently destroys a customer access token. - */ - customerAccessTokenDelete?: CustomerAccessTokenDeletePayload; - - /** - * 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?: CustomerAccessTokenRenewPayload; - - /** - * Activates a customer. - */ - customerActivate?: CustomerActivatePayload; - - /** - * Activates a customer with the activation url received from `customerCreate`. - */ - customerActivateByUrl?: CustomerActivateByUrlPayload; - - /** - * Creates a new address for a customer. - */ - customerAddressCreate?: CustomerAddressCreatePayload; - - /** - * Permanently deletes the address of an existing customer. - */ - customerAddressDelete?: CustomerAddressDeletePayload; - - /** - * Updates the address of an existing customer. - */ - customerAddressUpdate?: CustomerAddressUpdatePayload; - - /** - * Creates a new customer. - */ - customerCreate?: CustomerCreatePayload; - - /** - * Updates the default address of an existing customer. - */ - customerDefaultAddressUpdate?: CustomerDefaultAddressUpdatePayload; - - /** - * Sends a reset password email to the customer, as the first step in the reset password process. - */ - customerRecover?: CustomerRecoverPayload; - - /** - * Resets a customer’s password with a token received from `CustomerRecover`. - */ - customerReset?: CustomerResetPayload; - - /** - * Resets a customer’s password with the reset password url received from `CustomerRecover`. - */ - customerResetByUrl?: CustomerResetByUrlPayload; - - /** - * Updates an existing customer. - */ - customerUpdate?: CustomerUpdatePayload; + export interface ShopifyPaymentsBankAccountToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsBankAccountToPayoutsArgs { + transactionType?: ShopifyPaymentsPayoutTransactionType; + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + } + export interface ShopifyPaymentsBankAccountToPayoutsResolver { + (parent: TParent, args: ShopifyPaymentsBankAccountToPayoutsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsBankAccountToRoutingNumberResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsBankAccountToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutConnectionTypeResolver { + edges?: ShopifyPaymentsPayoutConnectionToEdgesResolver; + pageInfo?: ShopifyPaymentsPayoutConnectionToPageInfoResolver; + } + + export interface ShopifyPaymentsPayoutConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to update a checkout's attributes. - */ - export interface CheckoutAttributesUpdateInput { - - /** - * The text of an optional note that a shop owner can attach to the checkout. - */ - note?: string; - - /** - * A list of extra information that is added to the checkout. - */ - customAttributes?: Array; - - /** - * 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 complete time. - * - */ - allowPartialAddresses?: boolean; + export interface ShopifyPaymentsPayoutConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the input fields required for an attribute. - */ - export interface AttributeInput { - - /** - * Key or name of the attribute. - */ - key: string; - - /** - * Value of the attribute. - */ - value: string; + export interface ShopifyPaymentsPayoutEdgeTypeResolver { + cursor?: ShopifyPaymentsPayoutEdgeToCursorResolver; + node?: ShopifyPaymentsPayoutEdgeToNodeResolver; } - /** - * Return type for `checkoutAttributesUpdate` mutation. - */ - export interface CheckoutAttributesUpdatePayload { - - /** - * The updated checkout object. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface ShopifyPaymentsPayoutEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents an error that happens during execution of a checkout mutation. - */ - export interface CheckoutUserError extends DisplayableError { - - /** - * Error code to uniquely identify the error. - */ - code?: CheckoutErrorCode; - - /** - * Path to the input field which caused the error. - */ - field?: Array; - - /** - * The error message. - */ - message: string; + export interface ShopifyPaymentsPayoutEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents an error in the input of a mutation. - */ - export interface DisplayableError { - - /** - * Path to the input field which caused the error. - */ - field?: Array; - - /** - * The error message. - */ - message: string; + export interface ShopifyPaymentsPayoutTypeResolver { + bankAccount?: ShopifyPaymentsPayoutToBankAccountResolver; + gross?: ShopifyPaymentsPayoutToGrossResolver; + id?: ShopifyPaymentsPayoutToIdResolver; + issuedAt?: ShopifyPaymentsPayoutToIssuedAtResolver; + legacyResourceId?: ShopifyPaymentsPayoutToLegacyResourceIdResolver; + net?: ShopifyPaymentsPayoutToNetResolver; + status?: ShopifyPaymentsPayoutToStatusResolver; + summary?: ShopifyPaymentsPayoutToSummaryResolver; + transactionType?: ShopifyPaymentsPayoutToTransactionTypeResolver; } - /** Use this to resolve interface type DisplayableError */ - export type PossibleDisplayableErrorTypeNames = - 'CheckoutUserError' | - 'UserError' | - 'CustomerUserError'; + export interface ShopifyPaymentsPayoutToBankAccountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } - export interface DisplayableErrorNameMap { - DisplayableError: DisplayableError; - CheckoutUserError: CheckoutUserError; - UserError: UserError; - CustomerUserError: CustomerUserError; + export interface ShopifyPaymentsPayoutToGrossResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Possible error codes that could be returned by a checkout mutation. - */ - export const enum CheckoutErrorCode { - - /** - * Input value is blank. - */ - BLANK = 'BLANK', - - /** - * Input value is invalid. - */ - INVALID = 'INVALID', - - /** - * Input value is too long. - */ - TOO_LONG = 'TOO_LONG', - - /** - * Input value is not present. - */ - PRESENT = 'PRESENT', - - /** - * Input value should be less than maximum allowed value. - */ - LESS_THAN = 'LESS_THAN', - - /** - * Input value should be greater than or equal to minimum allowed value. - */ - GREATER_THAN_OR_EQUAL_TO = 'GREATER_THAN_OR_EQUAL_TO', - - /** - * Input value should be less or equal to maximum allowed value. - */ - LESS_THAN_OR_EQUAL_TO = 'LESS_THAN_OR_EQUAL_TO', - - /** - * Checkout is already completed. - */ - ALREADY_COMPLETED = 'ALREADY_COMPLETED', - - /** - * Checkout is locked. - */ - LOCKED = 'LOCKED', - - /** - * Input value is not supported. - */ - NOT_SUPPORTED = 'NOT_SUPPORTED', - - /** - * Input email contains an invalid domain name. - */ - BAD_DOMAIN = 'BAD_DOMAIN', - - /** - * Input Zip is invalid for country provided. - */ - INVALID_FOR_COUNTRY = 'INVALID_FOR_COUNTRY', - - /** - * Input Zip is invalid for country and province provided. - */ - INVALID_FOR_COUNTRY_AND_PROVINCE = 'INVALID_FOR_COUNTRY_AND_PROVINCE', - - /** - * Invalid state in country. - */ - INVALID_STATE_IN_COUNTRY = 'INVALID_STATE_IN_COUNTRY', - - /** - * Invalid province in country. - */ - INVALID_PROVINCE_IN_COUNTRY = 'INVALID_PROVINCE_IN_COUNTRY', - - /** - * Invalid region in country. - */ - INVALID_REGION_IN_COUNTRY = 'INVALID_REGION_IN_COUNTRY', - - /** - * Shipping rate expired. - */ - SHIPPING_RATE_EXPIRED = 'SHIPPING_RATE_EXPIRED', - - /** - * Gift card cannot be applied to a checkout that contains a gift card. - */ - GIFT_CARD_UNUSABLE = 'GIFT_CARD_UNUSABLE', - - /** - * Gift card is disabled. - */ - GIFT_CARD_DISABLED = 'GIFT_CARD_DISABLED', - - /** - * Gift card code is invalid. - */ - GIFT_CARD_CODE_INVALID = 'GIFT_CARD_CODE_INVALID', - - /** - * Gift card has already been applied. - */ - GIFT_CARD_ALREADY_APPLIED = 'GIFT_CARD_ALREADY_APPLIED', - - /** - * Gift card currency does not match checkout currency. - */ - GIFT_CARD_CURRENCY_MISMATCH = 'GIFT_CARD_CURRENCY_MISMATCH', - - /** - * Gift card is expired. - */ - GIFT_CARD_EXPIRED = 'GIFT_CARD_EXPIRED', - - /** - * Gift card has no funds left. - */ - GIFT_CARD_DEPLETED = 'GIFT_CARD_DEPLETED', - - /** - * Gift card was not found. - */ - GIFT_CARD_NOT_FOUND = 'GIFT_CARD_NOT_FOUND', - - /** - * Cart does not meet discount requirements notice. - */ - CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE = 'CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE', - - /** - * Discount expired. - */ - DISCOUNT_EXPIRED = 'DISCOUNT_EXPIRED', - - /** - * Discount disabled. - */ - DISCOUNT_DISABLED = 'DISCOUNT_DISABLED', - - /** - * Discount limit reached. - */ - DISCOUNT_LIMIT_REACHED = 'DISCOUNT_LIMIT_REACHED', - - /** - * Discount not found. - */ - DISCOUNT_NOT_FOUND = 'DISCOUNT_NOT_FOUND', - - /** - * Customer already used once per customer discount notice. - */ - CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE = 'CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE', - - /** - * Checkout is already completed. - */ - EMPTY = 'EMPTY', - - /** - * Not enough in stock. - */ - NOT_ENOUGH_IN_STOCK = 'NOT_ENOUGH_IN_STOCK', - - /** - * Missing payment input. - */ - MISSING_PAYMENT_INPUT = 'MISSING_PAYMENT_INPUT', - - /** - * The amount of the payment does not match the value to be paid. - */ - TOTAL_PRICE_MISMATCH = 'TOTAL_PRICE_MISMATCH', - - /** - * Line item was not found in checkout. - */ - LINE_ITEM_NOT_FOUND = 'LINE_ITEM_NOT_FOUND', - - /** - * Unable to apply discount. - */ - UNABLE_TO_APPLY = 'UNABLE_TO_APPLY' + export interface ShopifyPaymentsPayoutToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutToIssuedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutToNetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutToSummaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutToTransactionTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryTypeResolver { + adjustmentsFee?: ShopifyPaymentsPayoutSummaryToAdjustmentsFeeResolver; + adjustmentsGross?: ShopifyPaymentsPayoutSummaryToAdjustmentsGrossResolver; + chargesFee?: ShopifyPaymentsPayoutSummaryToChargesFeeResolver; + chargesGross?: ShopifyPaymentsPayoutSummaryToChargesGrossResolver; + refundsFee?: ShopifyPaymentsPayoutSummaryToRefundsFeeResolver; + refundsFeeGross?: ShopifyPaymentsPayoutSummaryToRefundsFeeGrossResolver; + reservedFundsFee?: ShopifyPaymentsPayoutSummaryToReservedFundsFeeResolver; + reservedFundsGross?: ShopifyPaymentsPayoutSummaryToReservedFundsGrossResolver; + retriedPayoutsFee?: ShopifyPaymentsPayoutSummaryToRetriedPayoutsFeeResolver; + retriedPayoutsGross?: ShopifyPaymentsPayoutSummaryToRetriedPayoutsGrossResolver; + } + + export interface ShopifyPaymentsPayoutSummaryToAdjustmentsFeeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToAdjustmentsGrossResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToChargesFeeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToChargesGrossResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToRefundsFeeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToRefundsFeeGrossResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToReservedFundsFeeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToReservedFundsGrossResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToRetriedPayoutsFeeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutSummaryToRetriedPayoutsGrossResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsChargeStatementDescriptorTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'ShopifyPaymentsDefaultChargeStatementDescriptor' | 'ShopifyPaymentsJpChargeStatementDescriptor'; + } + export interface ShopifyPaymentsDisputeConnectionTypeResolver { + edges?: ShopifyPaymentsDisputeConnectionToEdgesResolver; + pageInfo?: ShopifyPaymentsDisputeConnectionToPageInfoResolver; } - /** - * Represents an error in the input of a mutation. - */ - export interface UserError extends DisplayableError { - - /** - * Path to the input field which caused the error. - */ - field?: Array; - - /** - * The error message. - */ - message: string; + export interface ShopifyPaymentsDisputeConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to update a checkout's attributes. - */ - export interface CheckoutAttributesUpdateV2Input { - - /** - * The text of an optional note that a shop owner can attach to the checkout. - */ - note?: string; - - /** - * A list of extra information that is added to the checkout. - */ - customAttributes?: Array; - - /** - * 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 complete time. - * - */ - allowPartialAddresses?: boolean; + export interface ShopifyPaymentsDisputeConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutAttributesUpdateV2` mutation. - */ - export interface CheckoutAttributesUpdateV2Payload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface ShopifyPaymentsDisputeEdgeTypeResolver { + cursor?: ShopifyPaymentsDisputeEdgeToCursorResolver; + node?: ShopifyPaymentsDisputeEdgeToNodeResolver; } - /** - * Return type for `checkoutCompleteFree` mutation. - */ - export interface CheckoutCompleteFreePayload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface ShopifyPaymentsDisputeEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to complete a checkout with - * a Shopify vaulted credit card payment. - * - */ - export interface CreditCardPaymentInput { - - /** - * The amount of the payment. - */ - amount: Money; - - /** - * 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. - */ - idempotencyKey: string; - - /** - * The billing address for the payment. - */ - billingAddress: MailingAddressInput; - - /** - * The ID returned by Shopify's Card Vault. - */ - vaultId: string; - - /** - * Executes the payment in test mode if possible. Defaults to `false`. - */ - test?: boolean; + export interface ShopifyPaymentsDisputeEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields accepted to create or update a mailing address. - */ - export interface MailingAddressInput { - - /** - * The first line of the address. Typically the street address or PO Box number. - * - */ - address1?: string; - - /** - * The second line of the address. Typically the number of the apartment, suite, or unit. - * - */ - address2?: string; - - /** - * The name of the city, district, village, or town. - * - */ - city?: string; - - /** - * The name of the customer's company or organization. - * - */ - company?: string; - - /** - * The name of the country. - */ - country?: string; - - /** - * The first name of the customer. - */ - firstName?: string; - - /** - * The last name of the customer. - */ - lastName?: string; - - /** - * A unique phone number for the customer. - * - * Formatted using E.164 standard. For example, _+16135551111_. - * - */ - phone?: string; - - /** - * The region of the address, such as the province, state, or district. - */ - province?: string; - - /** - * The zip or postal code of the address. - */ - zip?: string; + export interface ShopifyPaymentsDisputeTypeResolver { + amount?: ShopifyPaymentsDisputeToAmountResolver; + evidenceDueBy?: ShopifyPaymentsDisputeToEvidenceDueByResolver; + evidenceSentOn?: ShopifyPaymentsDisputeToEvidenceSentOnResolver; + finalizedOn?: ShopifyPaymentsDisputeToFinalizedOnResolver; + id?: ShopifyPaymentsDisputeToIdResolver; + initiatedAt?: ShopifyPaymentsDisputeToInitiatedAtResolver; + legacyResourceId?: ShopifyPaymentsDisputeToLegacyResourceIdResolver; + order?: ShopifyPaymentsDisputeToOrderResolver; + reasonDetails?: ShopifyPaymentsDisputeToReasonDetailsResolver; + status?: ShopifyPaymentsDisputeToStatusResolver; + type?: ShopifyPaymentsDisputeToTypeResolver; + } + + export interface ShopifyPaymentsDisputeToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToEvidenceDueByResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToEvidenceSentOnResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToFinalizedOnResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToInitiatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToReasonDetailsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeToTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeReasonDetailsTypeResolver { + networkReasonCode?: ShopifyPaymentsDisputeReasonDetailsToNetworkReasonCodeResolver; + reason?: ShopifyPaymentsDisputeReasonDetailsToReasonResolver; + } + + export interface ShopifyPaymentsDisputeReasonDetailsToNetworkReasonCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDisputeReasonDetailsToReasonResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsFraudSettingsTypeResolver { + declineChargeOnAvsFailure?: ShopifyPaymentsFraudSettingsToDeclineChargeOnAvsFailureResolver; + declineChargeOnCvcFailure?: ShopifyPaymentsFraudSettingsToDeclineChargeOnCvcFailureResolver; + } + + export interface ShopifyPaymentsFraudSettingsToDeclineChargeOnAvsFailureResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsFraudSettingsToDeclineChargeOnCvcFailureResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsNotificationSettingsTypeResolver { + payouts?: ShopifyPaymentsNotificationSettingsToPayoutsResolver; + } + + export interface ShopifyPaymentsNotificationSettingsToPayoutsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutScheduleTypeResolver { + interval?: ShopifyPaymentsPayoutScheduleToIntervalResolver; + monthlyAnchor?: ShopifyPaymentsPayoutScheduleToMonthlyAnchorResolver; + weeklyAnchor?: ShopifyPaymentsPayoutScheduleToWeeklyAnchorResolver; + } + + export interface ShopifyPaymentsPayoutScheduleToIntervalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutScheduleToMonthlyAnchorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsPayoutScheduleToWeeklyAnchorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsVerificationDocumentTypeResolver { + backRequired?: ShopifyPaymentsVerificationDocumentToBackRequiredResolver; + frontRequired?: ShopifyPaymentsVerificationDocumentToFrontRequiredResolver; + type?: ShopifyPaymentsVerificationDocumentToTypeResolver; + } + + export interface ShopifyPaymentsVerificationDocumentToBackRequiredResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsVerificationDocumentToFrontRequiredResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsVerificationDocumentToTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsVerificationTypeResolver { + id?: ShopifyPaymentsVerificationToIdResolver; + status?: ShopifyPaymentsVerificationToStatusResolver; + subject?: ShopifyPaymentsVerificationToSubjectResolver; + } + + export interface ShopifyPaymentsVerificationToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsVerificationToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsVerificationToSubjectResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsVerificationSubjectTypeResolver { + familyName?: ShopifyPaymentsVerificationSubjectToFamilyNameResolver; + givenName?: ShopifyPaymentsVerificationSubjectToGivenNameResolver; + } + + export interface ShopifyPaymentsVerificationSubjectToFamilyNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsVerificationSubjectToGivenNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StorefrontAccessTokenConnectionTypeResolver { + edges?: StorefrontAccessTokenConnectionToEdgesResolver; + pageInfo?: StorefrontAccessTokenConnectionToPageInfoResolver; + } + + export interface StorefrontAccessTokenConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StorefrontAccessTokenConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StorefrontAccessTokenEdgeTypeResolver { + cursor?: StorefrontAccessTokenEdgeToCursorResolver; + node?: StorefrontAccessTokenEdgeToNodeResolver; + } + + export interface StorefrontAccessTokenEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StorefrontAccessTokenEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface StorefrontAccessTokenTypeResolver { + accessScopes?: StorefrontAccessTokenToAccessScopesResolver; + accessToken?: StorefrontAccessTokenToAccessTokenResolver; + createdAt?: StorefrontAccessTokenToCreatedAtResolver; + id?: StorefrontAccessTokenToIdResolver; + title?: StorefrontAccessTokenToTitleResolver; + updatedAt?: StorefrontAccessTokenToUpdatedAtResolver; + } + + export interface StorefrontAccessTokenToAccessScopesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutCompleteWithCreditCard` mutation. - */ - export interface CheckoutCompleteWithCreditCardPayload { - - /** - * The checkout on which the payment was applied. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * A representation of the attempted payment. - */ - payment?: Payment; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface StorefrontAccessTokenToAccessTokenResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * A payment applied to a checkout. - */ - export interface Payment extends Node { - - /** - * The amount of the payment. - * @deprecated Use `amountV2` instead - */ - amount: Money; - - /** - * The amount of the payment. - */ - amountV2: MoneyV2; - - /** - * The billing address for the payment. - */ - billingAddress?: MailingAddress; - - /** - * The checkout to which the payment belongs. - */ - checkout: Checkout; - - /** - * The credit card used for the payment in the case of direct payments. - */ - creditCard?: CreditCard; - - /** - * A message describing a processing error during asynchronous processing. - */ - errorMessage?: string; - - /** - * Globally unique identifier. - */ - id: string; - - /** - * A client-side generated token to identify a payment and perform idempotent operations. - */ - idempotencyKey?: string; - - /** - * The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow. - */ - nextActionUrl?: URL; - - /** - * Whether or not the payment is still processing asynchronously. - */ - ready: boolean; - - /** - * A flag to indicate if the payment is to be done in test mode for gateways that support it. - */ - test: boolean; - - /** - * The actual transaction recorded by Shopify after having processed the payment with the gateway. - */ - transaction?: Transaction; + export interface StorefrontAccessTokenToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Credit card information used for a payment. - */ - export interface CreditCard { - - /** - * The brand of the credit card. - */ - brand?: string; - - /** - * The expiry month of the credit card. - */ - expiryMonth?: number; - - /** - * The expiry year of the credit card. - */ - expiryYear?: number; - - /** - * The credit card's BIN number. - */ - firstDigits?: string; - - /** - * The first name of the card holder. - */ - firstName?: string; - - /** - * The last 4 digits of the credit card. - */ - lastDigits?: string; - - /** - * The last name of the card holder. - */ - lastName?: string; - - /** - * The masked credit card number with only the last 4 digits displayed. - */ - maskedNumber?: string; + export interface StorefrontAccessTokenToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * An object representing exchange of money for a product or service. - */ - export interface Transaction { - - /** - * The amount of money that the transaction was for. - * @deprecated Use `amountV2` instead - */ - amount: Money; - - /** - * The amount of money that the transaction was for. - */ - 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?: TransactionStatus; - - /** - * Whether the transaction was done in test mode or not. - */ - test: boolean; + export interface StorefrontAccessTokenToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export const enum TransactionKind { - SALE = 'SALE', - CAPTURE = 'CAPTURE', - AUTHORIZATION = 'AUTHORIZATION', - EMV_AUTHORIZATION = 'EMV_AUTHORIZATION', - CHANGE = 'CHANGE' + export interface StorefrontAccessTokenToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export const enum TransactionStatus { - PENDING = 'PENDING', - SUCCESS = 'SUCCESS', - FAILURE = 'FAILURE', - ERROR = 'ERROR' + export interface ShopLocaleTypeResolver { + locale?: ShopLocaleToLocaleResolver; + name?: ShopLocaleToNameResolver; + primary?: ShopLocaleToPrimaryResolver; + published?: ShopLocaleToPublishedResolver; } - /** - * Specifies the fields required to complete a checkout with - * a Shopify vaulted credit card payment. - * - */ - export interface CreditCardPaymentInputV2 { - - /** - * The amount and currency of the payment. - */ - paymentAmount: MoneyInput; - - /** - * 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. - */ - idempotencyKey: string; - - /** - * The billing address for the payment. - */ - billingAddress: MailingAddressInput; - - /** - * The ID returned by Shopify's Card Vault. - */ - vaultId: string; - - /** - * Executes the payment in test mode if possible. Defaults to `false`. - */ - test?: boolean; + export interface ShopLocaleToLocaleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields for a monetary value with currency. - */ - export interface MoneyInput { - - /** - * Decimal money amount. - */ - amount: Decimal; - - /** - * Currency of the money. - */ - currencyCode: CurrencyCode; + export interface ShopLocaleToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutCompleteWithCreditCardV2` mutation. - */ - export interface CheckoutCompleteWithCreditCardV2Payload { - - /** - * The checkout on which the payment was applied. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * A representation of the attempted payment. - */ - payment?: Payment; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface ShopLocaleToPrimaryResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to complete a checkout with - * a tokenized payment. - * - */ - export interface TokenizedPaymentInput { - - /** - * The amount of the payment. - */ - amount: Money; - - /** - * 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. - */ - idempotencyKey: string; - - /** - * The billing address for the payment. - */ - billingAddress: MailingAddressInput; - - /** - * The type of payment token. - */ - type: string; - - /** - * A simple string or JSON containing the required payment data for the tokenized payment. - */ - paymentData: string; - - /** - * Executes the payment in test mode if possible. Defaults to `false`. - */ - test?: boolean; - - /** - * Public Hash Key used for AndroidPay payments only. - */ - identifier?: string; + export interface ShopLocaleToPublishedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionConnectionTypeResolver { + edges?: TenderTransactionConnectionToEdgesResolver; + pageInfo?: TenderTransactionConnectionToPageInfoResolver; + } + + export interface TenderTransactionConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionEdgeTypeResolver { + cursor?: TenderTransactionEdgeToCursorResolver; + node?: TenderTransactionEdgeToNodeResolver; + } + + export interface TenderTransactionEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionTypeResolver { + amount?: TenderTransactionToAmountResolver; + id?: TenderTransactionToIdResolver; + paymentMethod?: TenderTransactionToPaymentMethodResolver; + processedAt?: TenderTransactionToProcessedAtResolver; + remoteReference?: TenderTransactionToRemoteReferenceResolver; + test?: TenderTransactionToTestResolver; + transactionDetails?: TenderTransactionToTransactionDetailsResolver; + } + + export interface TenderTransactionToAmountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionToPaymentMethodResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionToProcessedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionToRemoteReferenceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionToTestResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionToTransactionDetailsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionDetailsTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'TenderTransactionCreditCardDetails'; + } + export interface TenderTransactionCreditCardDetailsTypeResolver { + creditCardCompany?: TenderTransactionCreditCardDetailsToCreditCardCompanyResolver; + creditCardNumber?: TenderTransactionCreditCardDetailsToCreditCardNumberResolver; + } + + export interface TenderTransactionCreditCardDetailsToCreditCardCompanyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TenderTransactionCreditCardDetailsToCreditCardNumberResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TranslatableResourceTypeResolver { + resourceId?: TranslatableResourceToResourceIdResolver; + translatableContent?: TranslatableResourceToTranslatableContentResolver; + translations?: TranslatableResourceToTranslationsResolver; } - /** - * Return type for `checkoutCompleteWithTokenizedPayment` mutation. - */ - export interface CheckoutCompleteWithTokenizedPaymentPayload { - - /** - * The checkout on which the payment was applied. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * A representation of the attempted payment. - */ - payment?: Payment; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface TranslatableResourceToResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to complete a checkout with - * a tokenized payment. - * - */ - export interface TokenizedPaymentInputV2 { - - /** - * The amount and currency of the payment. - */ - paymentAmount: MoneyInput; - - /** - * 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. - */ - idempotencyKey: string; - - /** - * The billing address for the payment. - */ - billingAddress: MailingAddressInput; - - /** - * A simple string or JSON containing the required payment data for the tokenized payment. - */ - paymentData: string; - - /** - * Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`. - */ - test?: boolean; - - /** - * Public Hash Key used for AndroidPay payments only. - */ - identifier?: string; - - /** - * The type of payment token. - */ - type: string; + export interface TranslatableResourceToTranslatableContentResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutCompleteWithTokenizedPaymentV2` mutation. - */ - export interface CheckoutCompleteWithTokenizedPaymentV2Payload { - - /** - * The checkout on which the payment was applied. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * A representation of the attempted payment. - */ - payment?: Payment; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface TranslatableResourceToTranslationsArgs { + locale: string; + outdated?: boolean; + } + export interface TranslatableResourceToTranslationsResolver { + (parent: TParent, args: TranslatableResourceToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to complete a checkout with - * a tokenized payment. - * - */ - export interface TokenizedPaymentInputV3 { - - /** - * The amount and currency of the payment. - */ - paymentAmount: MoneyInput; - - /** - * 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. - */ - idempotencyKey: string; - - /** - * The billing address for the payment. - */ - billingAddress: MailingAddressInput; - - /** - * A simple string or JSON containing the required payment data for the tokenized payment. - */ - paymentData: string; - - /** - * Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`. - */ - test?: boolean; - - /** - * Public Hash Key used for AndroidPay payments only. - */ - identifier?: string; - - /** - * The type of payment token. - */ - type: PaymentTokenType; + export interface TranslatableContentTypeResolver { + digest?: TranslatableContentToDigestResolver; + key?: TranslatableContentToKeyResolver; + locale?: TranslatableContentToLocaleResolver; + value?: TranslatableContentToValueResolver; } - /** - * The valid values for the types of payment token. - */ - export const enum PaymentTokenType { - - /** - * Apple Pay token type. - */ - APPLE_PAY = 'APPLE_PAY', - - /** - * Vault payment token type. - */ - VAULT = 'VAULT', - - /** - * Shopify Pay token type. - */ - SHOPIFY_PAY = 'SHOPIFY_PAY', - - /** - * Google Pay token type. - */ - GOOGLE_PAY = 'GOOGLE_PAY' + export interface TranslatableContentToDigestResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation. - */ - export interface CheckoutCompleteWithTokenizedPaymentV3Payload { - - /** - * The checkout on which the payment was applied. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * A representation of the attempted payment. - */ - payment?: Payment; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface TranslatableContentToKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to create a checkout. - */ - export interface CheckoutCreateInput { - - /** - * The email with which the customer wants to checkout. - */ - email?: string; - - /** - * A list of line item objects, each one containing information about an item in the checkout. - */ - lineItems?: Array; - - /** - * The shipping address to where the line items will be shipped. - */ - shippingAddress?: MailingAddressInput; - - /** - * The text of an optional note that a shop owner can attach to the checkout. - */ - note?: string; - - /** - * A list of extra information that is added to the checkout. - */ - customAttributes?: Array; - - /** - * 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 complete time. - * - */ - allowPartialAddresses?: boolean; - - /** - * The three-letter currency code of one of the shop's enabled presentment currencies. - * Including this field creates a checkout in the specified currency. By default, new - * checkouts are created in the shop's primary currency. - * - */ - presentmentCurrencyCode?: CurrencyCode; + export interface TranslatableContentToLocaleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the input fields to create a line item on a checkout. - */ - export interface CheckoutLineItemInput { - - /** - * Extra information in the form of an array of Key-Value pairs about the line item. - */ - customAttributes?: Array; - - /** - * The quantity of the line item. - */ - quantity: number; - - /** - * The identifier of the product variant for the line item. - */ - variantId: string; + export interface TranslatableContentToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutCreate` mutation. - */ - export interface CheckoutCreatePayload { - - /** - * The new checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface TranslationTypeResolver { + key?: TranslationToKeyResolver; + locale?: TranslationToLocaleResolver; + outdated?: TranslationToOutdatedResolver; + value?: TranslationToValueResolver; } - /** - * Return type for `checkoutCustomerAssociate` mutation. - */ - export interface CheckoutCustomerAssociatePayload { - - /** - * The updated checkout object. - */ - checkout: Checkout; - - /** - * The associated customer object. - */ - customer?: Customer; - - /** - * List of errors that occurred executing the mutation. - */ - userErrors: Array; + export interface TranslationToKeyResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutCustomerAssociateV2` mutation. - */ - export interface CheckoutCustomerAssociateV2Payload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * The associated customer object. - */ - customer?: Customer; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface TranslationToLocaleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutCustomerDisassociate` mutation. - */ - export interface CheckoutCustomerDisassociatePayload { - - /** - * The updated checkout object. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface TranslationToOutdatedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutCustomerDisassociateV2` mutation. - */ - export interface CheckoutCustomerDisassociateV2Payload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface TranslationToValueResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TranslatableResourceConnectionTypeResolver { + edges?: TranslatableResourceConnectionToEdgesResolver; + pageInfo?: TranslatableResourceConnectionToPageInfoResolver; + } + + export interface TranslatableResourceConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TranslatableResourceConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface TranslatableResourceEdgeTypeResolver { + cursor?: TranslatableResourceEdgeToCursorResolver; + node?: TranslatableResourceEdgeToNodeResolver; + } + + export interface TranslatableResourceEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutDiscountCodeApply` mutation. - */ - export interface CheckoutDiscountCodeApplyPayload { - - /** - * The updated checkout object. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface TranslatableResourceEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutDiscountCodeApplyV2` mutation. - */ - export interface CheckoutDiscountCodeApplyV2Payload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionTypeResolver { + callbackUrl?: WebhookSubscriptionToCallbackUrlResolver; + createdAt?: WebhookSubscriptionToCreatedAtResolver; + format?: WebhookSubscriptionToFormatResolver; + id?: WebhookSubscriptionToIdResolver; + includeFields?: WebhookSubscriptionToIncludeFieldsResolver; + legacyResourceId?: WebhookSubscriptionToLegacyResourceIdResolver; + metafieldNamespaces?: WebhookSubscriptionToMetafieldNamespacesResolver; + topic?: WebhookSubscriptionToTopicResolver; + updatedAt?: WebhookSubscriptionToUpdatedAtResolver; } - /** - * Return type for `checkoutDiscountCodeRemove` mutation. - */ - export interface CheckoutDiscountCodeRemovePayload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToCallbackUrlResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutEmailUpdate` mutation. - */ - export interface CheckoutEmailUpdatePayload { - - /** - * The checkout object with the updated email. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToCreatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutEmailUpdateV2` mutation. - */ - export interface CheckoutEmailUpdateV2Payload { - - /** - * The checkout object with the updated email. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToFormatResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutGiftCardApply` mutation. - */ - export interface CheckoutGiftCardApplyPayload { - - /** - * The updated checkout object. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutGiftCardRemove` mutation. - */ - export interface CheckoutGiftCardRemovePayload { - - /** - * The updated checkout object. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToIncludeFieldsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutGiftCardRemoveV2` mutation. - */ - export interface CheckoutGiftCardRemoveV2Payload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToLegacyResourceIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutGiftCardsAppend` mutation. - */ - export interface CheckoutGiftCardsAppendPayload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToMetafieldNamespacesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutLineItemsAdd` mutation. - */ - export interface CheckoutLineItemsAddPayload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToTopicResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutLineItemsRemove` mutation. - */ - export interface CheckoutLineItemsRemovePayload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionToUpdatedAtResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutLineItemsReplace` mutation. - */ - export interface CheckoutLineItemsReplacePayload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - userErrors: Array; + export interface WebhookSubscriptionConnectionTypeResolver { + edges?: WebhookSubscriptionConnectionToEdgesResolver; + pageInfo?: WebhookSubscriptionConnectionToPageInfoResolver; } - /** - * Specifies the input fields to update a line item on the checkout. - */ - export interface CheckoutLineItemUpdateInput { - - /** - * The identifier of the line item. - */ - id?: string; - - /** - * The variant identifier of the line item. - */ - variantId?: string; - - /** - * The quantity of the line item. - */ - quantity?: number; - - /** - * Extra information in the form of an array of Key-Value pairs about the line item. - */ - customAttributes?: Array; + export interface WebhookSubscriptionConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutLineItemsUpdate` mutation. - */ - export interface CheckoutLineItemsUpdatePayload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutShippingAddressUpdate` mutation. - */ - export interface CheckoutShippingAddressUpdatePayload { - - /** - * The updated checkout object. - */ - checkout: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionEdgeTypeResolver { + cursor?: WebhookSubscriptionEdgeToCursorResolver; + node?: WebhookSubscriptionEdgeToNodeResolver; } - /** - * Return type for `checkoutShippingAddressUpdateV2` mutation. - */ - export interface CheckoutShippingAddressUpdateV2Payload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface WebhookSubscriptionEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface WebhookSubscriptionEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationTypeResolver { + appCreditCreate?: MutationToAppCreditCreateResolver; + appPurchaseOneTimeCreate?: MutationToAppPurchaseOneTimeCreateResolver; + appSubscriptionCancel?: MutationToAppSubscriptionCancelResolver; + appSubscriptionCreate?: MutationToAppSubscriptionCreateResolver; + appSubscriptionLineItemUpdate?: MutationToAppSubscriptionLineItemUpdateResolver; + appUsageRecordCreate?: MutationToAppUsageRecordCreateResolver; + bulkOperationCancel?: MutationToBulkOperationCancelResolver; + bulkOperationRunQuery?: MutationToBulkOperationRunQueryResolver; + collectionAddProducts?: MutationToCollectionAddProductsResolver; + collectionCreate?: MutationToCollectionCreateResolver; + collectionDelete?: MutationToCollectionDeleteResolver; + collectionPublish?: MutationToCollectionPublishResolver; + collectionRemoveProducts?: MutationToCollectionRemoveProductsResolver; + collectionReorderProducts?: MutationToCollectionReorderProductsResolver; + collectionUnpublish?: MutationToCollectionUnpublishResolver; + collectionUpdate?: MutationToCollectionUpdateResolver; + customerAddTaxExemptions?: MutationToCustomerAddTaxExemptionsResolver; + customerCreate?: MutationToCustomerCreateResolver; + customerDelete?: MutationToCustomerDeleteResolver; + customerGenerateAccountActivationUrl?: MutationToCustomerGenerateAccountActivationUrlResolver; + customerRemoveTaxExemptions?: MutationToCustomerRemoveTaxExemptionsResolver; + customerReplaceTaxExemptions?: MutationToCustomerReplaceTaxExemptionsResolver; + customerUpdate?: MutationToCustomerUpdateResolver; + customerUpdateDefaultAddress?: MutationToCustomerUpdateDefaultAddressResolver; + deliveryProfileCreate?: MutationToDeliveryProfileCreateResolver; + deliveryProfileRemove?: MutationToDeliveryProfileRemoveResolver; + deliveryProfileUpdate?: MutationToDeliveryProfileUpdateResolver; + deliverySettingUpdate?: MutationToDeliverySettingUpdateResolver; + deliveryShippingOriginAssign?: MutationToDeliveryShippingOriginAssignResolver; + discountAutomaticActivate?: MutationToDiscountAutomaticActivateResolver; + discountAutomaticBasicCreate?: MutationToDiscountAutomaticBasicCreateResolver; + discountAutomaticBasicUpdate?: MutationToDiscountAutomaticBasicUpdateResolver; + discountAutomaticBulkDelete?: MutationToDiscountAutomaticBulkDeleteResolver; + discountAutomaticBxgyCreate?: MutationToDiscountAutomaticBxgyCreateResolver; + discountAutomaticBxgyUpdate?: MutationToDiscountAutomaticBxgyUpdateResolver; + discountAutomaticDeactivate?: MutationToDiscountAutomaticDeactivateResolver; + discountAutomaticDelete?: MutationToDiscountAutomaticDeleteResolver; + discountCodeActivate?: MutationToDiscountCodeActivateResolver; + discountCodeBasicCreate?: MutationToDiscountCodeBasicCreateResolver; + discountCodeBasicUpdate?: MutationToDiscountCodeBasicUpdateResolver; + discountCodeBxgyCreate?: MutationToDiscountCodeBxgyCreateResolver; + discountCodeBxgyUpdate?: MutationToDiscountCodeBxgyUpdateResolver; + discountCodeDeactivate?: MutationToDiscountCodeDeactivateResolver; + discountCodeDelete?: MutationToDiscountCodeDeleteResolver; + discountCodeFreeShippingCreate?: MutationToDiscountCodeFreeShippingCreateResolver; + discountCodeFreeShippingUpdate?: MutationToDiscountCodeFreeShippingUpdateResolver; + draftOrderCalculate?: MutationToDraftOrderCalculateResolver; + draftOrderComplete?: MutationToDraftOrderCompleteResolver; + draftOrderCreate?: MutationToDraftOrderCreateResolver; + draftOrderDelete?: MutationToDraftOrderDeleteResolver; + draftOrderInvoicePreview?: MutationToDraftOrderInvoicePreviewResolver; + draftOrderInvoiceSend?: MutationToDraftOrderInvoiceSendResolver; + draftOrderUpdate?: MutationToDraftOrderUpdateResolver; + flowTriggerReceive?: MutationToFlowTriggerReceiveResolver; + fulfillmentCancel?: MutationToFulfillmentCancelResolver; + fulfillmentCreate?: MutationToFulfillmentCreateResolver; + fulfillmentCreateV2?: MutationToFulfillmentCreateV2Resolver; + fulfillmentOrderAcceptCancellationRequest?: MutationToFulfillmentOrderAcceptCancellationRequestResolver; + fulfillmentOrderAcceptFulfillmentRequest?: MutationToFulfillmentOrderAcceptFulfillmentRequestResolver; + fulfillmentOrderCancel?: MutationToFulfillmentOrderCancelResolver; + fulfillmentOrderClose?: MutationToFulfillmentOrderCloseResolver; + fulfillmentOrderMove?: MutationToFulfillmentOrderMoveResolver; + fulfillmentOrderRejectCancellationRequest?: MutationToFulfillmentOrderRejectCancellationRequestResolver; + fulfillmentOrderRejectFulfillmentRequest?: MutationToFulfillmentOrderRejectFulfillmentRequestResolver; + fulfillmentOrderSubmitCancellationRequest?: MutationToFulfillmentOrderSubmitCancellationRequestResolver; + fulfillmentOrderSubmitFulfillmentRequest?: MutationToFulfillmentOrderSubmitFulfillmentRequestResolver; + fulfillmentServiceCreate?: MutationToFulfillmentServiceCreateResolver; + fulfillmentServiceDelete?: MutationToFulfillmentServiceDeleteResolver; + fulfillmentServiceUpdate?: MutationToFulfillmentServiceUpdateResolver; + fulfillmentTrackingInfoUpdate?: MutationToFulfillmentTrackingInfoUpdateResolver; + fulfillmentTrackingInfoUpdateV2?: MutationToFulfillmentTrackingInfoUpdateV2Resolver; + inventoryActivate?: MutationToInventoryActivateResolver; + inventoryAdjustQuantity?: MutationToInventoryAdjustQuantityResolver; + inventoryBulkAdjustQuantityAtLocation?: MutationToInventoryBulkAdjustQuantityAtLocationResolver; + inventoryDeactivate?: MutationToInventoryDeactivateResolver; + inventoryItemUpdate?: MutationToInventoryItemUpdateResolver; + kitSkillTriggerRequest?: MutationToKitSkillTriggerRequestResolver; + marketingActivityUpdate?: MutationToMarketingActivityUpdateResolver; + marketingEngagementCreate?: MutationToMarketingEngagementCreateResolver; + metafieldDelete?: MutationToMetafieldDeleteResolver; + metafieldStorefrontVisibilityCreate?: MutationToMetafieldStorefrontVisibilityCreateResolver; + metafieldStorefrontVisibilityDelete?: MutationToMetafieldStorefrontVisibilityDeleteResolver; + orderCapture?: MutationToOrderCaptureResolver; + orderClose?: MutationToOrderCloseResolver; + orderEditAddCustomItem?: MutationToOrderEditAddCustomItemResolver; + orderEditAddVariant?: MutationToOrderEditAddVariantResolver; + orderEditBegin?: MutationToOrderEditBeginResolver; + orderEditCommit?: MutationToOrderEditCommitResolver; + orderEditSetQuantity?: MutationToOrderEditSetQuantityResolver; + orderMarkAsPaid?: MutationToOrderMarkAsPaidResolver; + orderOpen?: MutationToOrderOpenResolver; + orderUpdate?: MutationToOrderUpdateResolver; + priceRuleActivate?: MutationToPriceRuleActivateResolver; + priceRuleCreate?: MutationToPriceRuleCreateResolver; + priceRuleDeactivate?: MutationToPriceRuleDeactivateResolver; + priceRuleDelete?: MutationToPriceRuleDeleteResolver; + priceRuleDiscountCodeCreate?: MutationToPriceRuleDiscountCodeCreateResolver; + priceRuleDiscountCodeUpdate?: MutationToPriceRuleDiscountCodeUpdateResolver; + priceRuleUpdate?: MutationToPriceRuleUpdateResolver; + privateMetafieldDelete?: MutationToPrivateMetafieldDeleteResolver; + privateMetafieldUpsert?: MutationToPrivateMetafieldUpsertResolver; + productAppendImages?: MutationToProductAppendImagesResolver; + productCreate?: MutationToProductCreateResolver; + productCreateMedia?: MutationToProductCreateMediaResolver; + productDelete?: MutationToProductDeleteResolver; + productDeleteImages?: MutationToProductDeleteImagesResolver; + productDeleteMedia?: MutationToProductDeleteMediaResolver; + productDuplicate?: MutationToProductDuplicateResolver; + productImageUpdate?: MutationToProductImageUpdateResolver; + productPublish?: MutationToProductPublishResolver; + productReorderImages?: MutationToProductReorderImagesResolver; + productReorderMedia?: MutationToProductReorderMediaResolver; + productUnpublish?: MutationToProductUnpublishResolver; + productUpdate?: MutationToProductUpdateResolver; + productUpdateMedia?: MutationToProductUpdateMediaResolver; + productVariantCreate?: MutationToProductVariantCreateResolver; + productVariantDelete?: MutationToProductVariantDeleteResolver; + productVariantUpdate?: MutationToProductVariantUpdateResolver; + publishablePublish?: MutationToPublishablePublishResolver; + publishablePublishToCurrentChannel?: MutationToPublishablePublishToCurrentChannelResolver; + publishableUnpublish?: MutationToPublishableUnpublishResolver; + publishableUnpublishToCurrentChannel?: MutationToPublishableUnpublishToCurrentChannelResolver; + refundCreate?: MutationToRefundCreateResolver; + savedSearchCreate?: MutationToSavedSearchCreateResolver; + savedSearchDelete?: MutationToSavedSearchDeleteResolver; + savedSearchUpdate?: MutationToSavedSearchUpdateResolver; + scriptTagCreate?: MutationToScriptTagCreateResolver; + scriptTagDelete?: MutationToScriptTagDeleteResolver; + scriptTagUpdate?: MutationToScriptTagUpdateResolver; + shippingPackageDelete?: MutationToShippingPackageDeleteResolver; + shippingPackageMakeDefault?: MutationToShippingPackageMakeDefaultResolver; + shippingPackageUpdate?: MutationToShippingPackageUpdateResolver; + shopLocaleDisable?: MutationToShopLocaleDisableResolver; + shopLocaleEnable?: MutationToShopLocaleEnableResolver; + shopLocaleUpdate?: MutationToShopLocaleUpdateResolver; + stagedUploadTargetGenerate?: MutationToStagedUploadTargetGenerateResolver; + stagedUploadTargetsGenerate?: MutationToStagedUploadTargetsGenerateResolver; + stagedUploadsCreate?: MutationToStagedUploadsCreateResolver; + storefrontAccessTokenCreate?: MutationToStorefrontAccessTokenCreateResolver; + storefrontAccessTokenDelete?: MutationToStorefrontAccessTokenDeleteResolver; + tagsAdd?: MutationToTagsAddResolver; + tagsRemove?: MutationToTagsRemoveResolver; + translationsRegister?: MutationToTranslationsRegisterResolver; + translationsRemove?: MutationToTranslationsRemoveResolver; + webhookSubscriptionCreate?: MutationToWebhookSubscriptionCreateResolver; + webhookSubscriptionDelete?: MutationToWebhookSubscriptionDeleteResolver; + webhookSubscriptionUpdate?: MutationToWebhookSubscriptionUpdateResolver; + } + + export interface MutationToAppCreditCreateArgs { + description: string; + amount: MoneyInput; + test?: boolean; + } + export interface MutationToAppCreditCreateResolver { + (parent: TParent, args: MutationToAppCreditCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToAppPurchaseOneTimeCreateArgs { + name: string; + price: MoneyInput; + returnUrl: URL; + test?: boolean; + } + export interface MutationToAppPurchaseOneTimeCreateResolver { + (parent: TParent, args: MutationToAppPurchaseOneTimeCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToAppSubscriptionCancelArgs { + id: string; + } + export interface MutationToAppSubscriptionCancelResolver { + (parent: TParent, args: MutationToAppSubscriptionCancelArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `checkoutShippingLineUpdate` mutation. - */ - export interface CheckoutShippingLineUpdatePayload { - - /** - * The updated checkout object. - */ - checkout?: Checkout; - - /** - * List of errors that occurred executing the mutation. - */ - checkoutUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array; + export interface MutationToAppSubscriptionCreateArgs { + name: string; + lineItems: Array; + test?: boolean; + trialDays?: number; + returnUrl: URL; + } + export interface MutationToAppSubscriptionCreateResolver { + (parent: TParent, args: MutationToAppSubscriptionCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the input fields required to create a customer access token. - */ - export interface CustomerAccessTokenCreateInput { - - /** - * The email associated to the customer. - */ - email: string; - - /** - * The login password to be used by the customer. - */ - password: string; + export interface MutationToAppSubscriptionLineItemUpdateArgs { + id: string; + cappedAmount: MoneyInput; + } + export interface MutationToAppSubscriptionLineItemUpdateResolver { + (parent: TParent, args: MutationToAppSubscriptionLineItemUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerAccessTokenCreate` mutation. - */ - export interface CustomerAccessTokenCreatePayload { - - /** - * The newly created customer access token object. - */ - customerAccessToken?: CustomerAccessToken; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToAppUsageRecordCreateArgs { + subscriptionLineItemId: string; + price: MoneyInput; + description: string; + } + export interface MutationToAppUsageRecordCreateResolver { + (parent: TParent, args: MutationToAppUsageRecordCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * A CustomerAccessToken represents the unique token required to make modifications to the customer object. - */ - export interface CustomerAccessToken { - - /** - * The customer’s access token. - */ - accessToken: string; - - /** - * The date and time when the customer access token expires. - */ - expiresAt: DateTime; + export interface MutationToBulkOperationCancelArgs { + id: string; + } + export interface MutationToBulkOperationCancelResolver { + (parent: TParent, args: MutationToBulkOperationCancelArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents an error that happens during execution of a customer mutation. - */ - export interface CustomerUserError extends DisplayableError { - - /** - * Error code to uniquely identify the error. - */ - code?: CustomerErrorCode; - - /** - * Path to the input field which caused the error. - */ - field?: Array; - - /** - * The error message. - */ - message: string; + export interface MutationToBulkOperationRunQueryArgs { + query: string; + } + export interface MutationToBulkOperationRunQueryResolver { + (parent: TParent, args: MutationToBulkOperationRunQueryArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Possible error codes that could be returned by a customer mutation. - */ - export const enum CustomerErrorCode { - - /** - * Input value is blank. - */ - BLANK = 'BLANK', - - /** - * Input value is invalid. - */ - INVALID = 'INVALID', - - /** - * Input value is already taken. - */ - TAKEN = 'TAKEN', - - /** - * Input value is too long. - */ - TOO_LONG = 'TOO_LONG', - - /** - * Input value is too short. - */ - TOO_SHORT = 'TOO_SHORT', - - /** - * Unidentified customer. - */ - UNIDENTIFIED_CUSTOMER = 'UNIDENTIFIED_CUSTOMER', - - /** - * Customer is disabled. - */ - CUSTOMER_DISABLED = 'CUSTOMER_DISABLED', - - /** - * Input password starts or ends with whitespace. - */ - PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE = 'PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE', - - /** - * Input contains HTML tags. - */ - CONTAINS_HTML_TAGS = 'CONTAINS_HTML_TAGS', - - /** - * Input contains URL. - */ - CONTAINS_URL = 'CONTAINS_URL', - - /** - * Invalid activation token. - */ - TOKEN_INVALID = 'TOKEN_INVALID', - - /** - * Customer already enabled. - */ - ALREADY_ENABLED = 'ALREADY_ENABLED', - - /** - * Address does not exist. - */ - NOT_FOUND = 'NOT_FOUND', - - /** - * Input email contains an invalid domain name. - */ - BAD_DOMAIN = 'BAD_DOMAIN', - - /** - * Multipass token is not valid. - */ - INVALID_MULTIPASS_REQUEST = 'INVALID_MULTIPASS_REQUEST' + export interface MutationToCollectionAddProductsArgs { + id: string; + productIds: Array; + } + export interface MutationToCollectionAddProductsResolver { + (parent: TParent, args: MutationToCollectionAddProductsArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerAccessTokenCreateWithMultipass` mutation. - */ - export interface CustomerAccessTokenCreateWithMultipassPayload { - - /** - * An access token object associated with the customer. - */ - customerAccessToken?: CustomerAccessToken; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; + export interface MutationToCollectionCreateArgs { + input: CollectionInput; + } + export interface MutationToCollectionCreateResolver { + (parent: TParent, args: MutationToCollectionCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerAccessTokenDelete` mutation. - */ - export interface CustomerAccessTokenDeletePayload { - - /** - * The destroyed access token. - */ - deletedAccessToken?: string; - - /** - * ID of the destroyed customer access token. - */ - deletedCustomerAccessTokenId?: string; - - /** - * List of errors that occurred executing the mutation. - */ - userErrors: Array; + export interface MutationToCollectionDeleteArgs { + input: CollectionDeleteInput; + } + export interface MutationToCollectionDeleteResolver { + (parent: TParent, args: MutationToCollectionDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerAccessTokenRenew` mutation. - */ - export interface CustomerAccessTokenRenewPayload { - - /** - * The renewed customer access token object. - */ - customerAccessToken?: CustomerAccessToken; - - /** - * List of errors that occurred executing the mutation. - */ - userErrors: Array; + export interface MutationToCollectionPublishArgs { + input: CollectionPublishInput; + } + export interface MutationToCollectionPublishResolver { + (parent: TParent, args: MutationToCollectionPublishArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the input fields required to activate a customer. - */ - export interface CustomerActivateInput { - - /** - * The activation token required to activate the customer. - */ - activationToken: string; - - /** - * New password that will be set during activation. - */ - password: string; + export interface MutationToCollectionRemoveProductsArgs { + id: string; + productIds: Array; + } + export interface MutationToCollectionRemoveProductsResolver { + (parent: TParent, args: MutationToCollectionRemoveProductsArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerActivate` mutation. - */ - export interface CustomerActivatePayload { - - /** - * The customer object. - */ - customer?: Customer; - - /** - * A newly created customer access token object for the customer. - */ - customerAccessToken?: CustomerAccessToken; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToCollectionReorderProductsArgs { + id: string; + moves: Array; + } + export interface MutationToCollectionReorderProductsResolver { + (parent: TParent, args: MutationToCollectionReorderProductsArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerActivateByUrl` mutation. - */ - export interface CustomerActivateByUrlPayload { - - /** - * The customer that was activated. - */ - customer?: Customer; - - /** - * A new customer access token for the customer. - */ - customerAccessToken?: CustomerAccessToken; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; + export interface MutationToCollectionUnpublishArgs { + input: CollectionUnpublishInput; + } + export interface MutationToCollectionUnpublishResolver { + (parent: TParent, args: MutationToCollectionUnpublishArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerAddressCreate` mutation. - */ - export interface CustomerAddressCreatePayload { - - /** - * The new customer address object. - */ - customerAddress?: MailingAddress; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToCollectionUpdateArgs { + input: CollectionInput; + } + export interface MutationToCollectionUpdateResolver { + (parent: TParent, args: MutationToCollectionUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerAddressDelete` mutation. - */ - export interface CustomerAddressDeletePayload { - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * ID of the deleted customer address. - */ - deletedCustomerAddressId?: string; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToCustomerAddTaxExemptionsArgs { + customerId: string; + taxExemptions: Array; + } + export interface MutationToCustomerAddTaxExemptionsResolver { + (parent: TParent, args: MutationToCustomerAddTaxExemptionsArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerAddressUpdate` mutation. - */ - export interface CustomerAddressUpdatePayload { - - /** - * The customer’s updated mailing address. - */ - customerAddress?: MailingAddress; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToCustomerCreateArgs { + input: CustomerInput; + } + export interface MutationToCustomerCreateResolver { + (parent: TParent, args: MutationToCustomerCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to create a new customer. - */ - export interface CustomerCreateInput { - - /** - * The customer’s first name. - */ - firstName?: string; - - /** - * The customer’s last name. - */ - lastName?: string; - - /** - * The customer’s email. - */ - email: string; - - /** - * A unique phone number for the customer. - * - * Formatted using E.164 standard. For example, _+16135551111_. - * - */ - phone?: string; - - /** - * The login password used by the customer. - */ - password: string; - - /** - * Indicates whether the customer has consented to be sent marketing material via email. - */ - acceptsMarketing?: boolean; + export interface MutationToCustomerDeleteArgs { + input: CustomerDeleteInput; + } + export interface MutationToCustomerDeleteResolver { + (parent: TParent, args: MutationToCustomerDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerCreate` mutation. - */ - export interface CustomerCreatePayload { - - /** - * The created customer object. - */ - customer?: Customer; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToCustomerGenerateAccountActivationUrlArgs { + customerId: string; + } + export interface MutationToCustomerGenerateAccountActivationUrlResolver { + (parent: TParent, args: MutationToCustomerGenerateAccountActivationUrlArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerDefaultAddressUpdate` mutation. - */ - export interface CustomerDefaultAddressUpdatePayload { - - /** - * The updated customer object. - */ - customer?: Customer; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToCustomerRemoveTaxExemptionsArgs { + customerId: string; + taxExemptions: Array; + } + export interface MutationToCustomerRemoveTaxExemptionsResolver { + (parent: TParent, args: MutationToCustomerRemoveTaxExemptionsArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerRecover` mutation. - */ - export interface CustomerRecoverPayload { - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToCustomerReplaceTaxExemptionsArgs { + customerId: string; + taxExemptions: Array; + } + export interface MutationToCustomerReplaceTaxExemptionsResolver { + (parent: TParent, args: MutationToCustomerReplaceTaxExemptionsArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to reset a customer’s password. - */ - export interface CustomerResetInput { - - /** - * The reset token required to reset the customer’s password. - */ - resetToken: string; - - /** - * New password that will be set as part of the reset password process. - */ - password: string; + export interface MutationToCustomerUpdateArgs { + input: CustomerInput; + } + export interface MutationToCustomerUpdateResolver { + (parent: TParent, args: MutationToCustomerUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerReset` mutation. - */ - export interface CustomerResetPayload { - - /** - * The customer object which was reset. - */ - customer?: Customer; - - /** - * A newly created customer access token object for the customer. - */ - customerAccessToken?: CustomerAccessToken; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToCustomerUpdateDefaultAddressArgs { + customerId: string; + addressId: string; + } + export interface MutationToCustomerUpdateDefaultAddressResolver { + (parent: TParent, args: MutationToCustomerUpdateDefaultAddressArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerResetByUrl` mutation. - */ - export interface CustomerResetByUrlPayload { - - /** - * The customer object which was reset. - */ - customer?: Customer; - - /** - * A newly created customer access token object for the customer. - */ - customerAccessToken?: CustomerAccessToken; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToDeliveryProfileCreateArgs { + profile: DeliveryProfileInput; + } + export interface MutationToDeliveryProfileCreateResolver { + (parent: TParent, args: MutationToDeliveryProfileCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Specifies the fields required to update the Customer information. - */ - export interface CustomerUpdateInput { - - /** - * The customer’s first name. - */ - firstName?: string; - - /** - * The customer’s last name. - */ - lastName?: string; - - /** - * The customer’s email. - */ - email?: string; - - /** - * A unique phone number for the customer. - * - * Formatted using E.164 standard. For example, _+16135551111_. - * - */ - phone?: string; - - /** - * The login password used by the customer. - */ - password?: string; - - /** - * Indicates whether the customer has consented to be sent marketing material via email. - */ - acceptsMarketing?: boolean; + export interface MutationToDeliveryProfileRemoveArgs { + id: string; + } + export interface MutationToDeliveryProfileRemoveResolver { + (parent: TParent, args: MutationToDeliveryProfileRemoveArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Return type for `customerUpdate` mutation. - */ - export interface CustomerUpdatePayload { - - /** - * The updated customer object. - */ - customer?: Customer; - - /** - * 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?: CustomerAccessToken; - - /** - * List of errors that occurred executing the mutation. - */ - customerUserErrors: Array; - - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array; + export interface MutationToDeliveryProfileUpdateArgs { + id: string; + profile: DeliveryProfileInput; + leaveLegacyModeProfiles?: boolean; + } + export interface MutationToDeliveryProfileUpdateResolver { + (parent: TParent, args: MutationToDeliveryProfileUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Automatic discount applications capture the intentions of a discount that was automatically applied. - * - */ - export interface AutomaticDiscountApplication extends 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 title of the application. - */ - title: string; - - /** - * The value of the discount application. - */ - value: PricingValue; + export interface MutationToDeliverySettingUpdateArgs { + setting: DeliverySettingInput; + } + export interface MutationToDeliverySettingUpdateResolver { + (parent: TParent, args: MutationToDeliverySettingUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Discount code applications capture the intentions of a discount code at - * the time that it is applied. - * - */ - export interface DiscountCodeApplication extends DiscountApplication { - - /** - * 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: boolean; - - /** - * The string identifying the discount code that was used at the time of application. - */ - code: 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; + export interface MutationToDeliveryShippingOriginAssignArgs { + locationId: string; + } + export interface MutationToDeliveryShippingOriginAssignResolver { + (parent: TParent, args: MutationToDeliveryShippingOriginAssignArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountAutomaticActivateArgs { + id: string; + } + export interface MutationToDiscountAutomaticActivateResolver { + (parent: TParent, args: MutationToDiscountAutomaticActivateArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountAutomaticBasicCreateArgs { + automaticBasicDiscount: DiscountAutomaticBasicInput; + } + export interface MutationToDiscountAutomaticBasicCreateResolver { + (parent: TParent, args: MutationToDiscountAutomaticBasicCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountAutomaticBasicUpdateArgs { + id: string; + automaticBasicDiscount: DiscountAutomaticBasicInput; + } + export interface MutationToDiscountAutomaticBasicUpdateResolver { + (parent: TParent, args: MutationToDiscountAutomaticBasicUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a video hosted outside of Shopify. - */ - export interface ExternalVideo extends Node, Media { - - /** - * A word or phrase to share the nature or contents of a media. - */ - alt?: string; - - /** - * The URL. - */ - embeddedUrl: URL; - - /** - * Globally unique identifier. - */ + export interface MutationToDiscountAutomaticBulkDeleteArgs { + search?: string; + savedSearchId?: string; + ids?: Array; + } + export interface MutationToDiscountAutomaticBulkDeleteResolver { + (parent: TParent, args: MutationToDiscountAutomaticBulkDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountAutomaticBxgyCreateArgs { + automaticBxgyDiscount: DiscountAutomaticBxgyInput; + } + export interface MutationToDiscountAutomaticBxgyCreateResolver { + (parent: TParent, args: MutationToDiscountAutomaticBxgyCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountAutomaticBxgyUpdateArgs { id: string; - - /** - * The media content type. - */ - mediaContentType: MediaContentType; - - /** - * The preview image for the media. - */ - previewImage?: Image; + automaticBxgyDiscount: DiscountAutomaticBxgyInput; + } + export interface MutationToDiscountAutomaticBxgyUpdateResolver { + (parent: TParent, args: MutationToDiscountAutomaticBxgyUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Manual discount applications capture the intentions of a discount that was manually created. - * - */ - export interface ManualDiscountApplication extends DiscountApplication { - - /** - * The method by which the discount's value is allocated to its entitled items. - */ - allocationMethod: DiscountApplicationAllocationMethod; - - /** - * The description of the application. - */ - description?: 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 title of the application. - */ - title: string; - - /** - * The value of the discount application. - */ - value: PricingValue; + export interface MutationToDiscountAutomaticDeactivateArgs { + id: string; + } + export interface MutationToDiscountAutomaticDeactivateResolver { + (parent: TParent, args: MutationToDiscountAutomaticDeactivateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a Shopify hosted image. - */ - export interface MediaImage extends Node, Media { - - /** - * A word or phrase to share the nature or contents of a media. - */ - alt?: string; - - /** - * Globally unique identifier. - */ + export interface MutationToDiscountAutomaticDeleteArgs { id: string; - - /** - * The image for the media. - */ - image?: Image; - - /** - * The media content type. - */ - mediaContentType: MediaContentType; - - /** - * The preview image for the media. - */ - previewImage?: Image; + } + export interface MutationToDiscountAutomaticDeleteResolver { + (parent: TParent, args: MutationToDiscountAutomaticDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a Shopify hosted 3D model. - */ - export interface Model3d extends Node, Media { - - /** - * A word or phrase to share the nature or contents of a media. - */ - alt?: string; - - /** - * Globally unique identifier. - */ + export interface MutationToDiscountCodeActivateArgs { id: string; - - /** - * The media content type. - */ - mediaContentType: MediaContentType; - - /** - * The preview image for the media. - */ - previewImage?: Image; - - /** - * The sources for a 3d model. - */ - sources: Array; + } + export interface MutationToDiscountCodeActivateResolver { + (parent: TParent, args: MutationToDiscountCodeActivateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a source for a Shopify hosted 3d model. - */ - export interface Model3dSource { - - /** - * The filesize of the 3d model. - */ - filesize: number; - - /** - * The format of the 3d model. - */ - format: string; - - /** - * The MIME type of the 3d model. - */ - mimeType: string; - - /** - * The URL of the 3d model. - */ - url: string; + export interface MutationToDiscountCodeBasicCreateArgs { + basicCodeDiscount: DiscountCodeBasicInput; + } + export interface MutationToDiscountCodeBasicCreateResolver { + (parent: TParent, args: MutationToDiscountCodeBasicCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Script discount applications capture the intentions of a discount that - * was created by a Shopify Script. - * - */ - export interface ScriptDiscountApplication extends DiscountApplication { - - /** - * The method by which the discount's value is allocated to its entitled items. - */ - allocationMethod: DiscountApplicationAllocationMethod; - - /** - * The description of the application as defined by the Script. - * @deprecated Use `title` instead - */ - description: 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 title of the application as defined by the Script. - */ - title: string; - - /** - * The value of the discount application. - */ - value: PricingValue; + export interface MutationToDiscountCodeBasicUpdateArgs { + id: string; + basicCodeDiscount: DiscountCodeBasicInput; + } + export interface MutationToDiscountCodeBasicUpdateResolver { + (parent: TParent, args: MutationToDiscountCodeBasicUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a Shopify hosted video. - */ - export interface Video extends Node, Media { - - /** - * A word or phrase to share the nature or contents of a media. - */ - alt?: string; - - /** - * Globally unique identifier. - */ + export interface MutationToDiscountCodeBxgyCreateArgs { + bxgyCodeDiscount: DiscountCodeBxgyInput; + } + export interface MutationToDiscountCodeBxgyCreateResolver { + (parent: TParent, args: MutationToDiscountCodeBxgyCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountCodeBxgyUpdateArgs { id: string; - - /** - * The media content type. - */ - mediaContentType: MediaContentType; - - /** - * The preview image for the media. - */ - previewImage?: Image; - - /** - * The sources for a video. - */ - sources: Array; + bxgyCodeDiscount: DiscountCodeBxgyInput; + } + export interface MutationToDiscountCodeBxgyUpdateResolver { + (parent: TParent, args: MutationToDiscountCodeBxgyUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /** - * Represents a source for a Shopify hosted video. - */ - export interface VideoSource { - - /** - * The format of the video source. - */ - format: string; - - /** - * The height of the video. - */ - height: number; - - /** - * The video MIME type. - */ - mimeType: string; - - /** - * The URL of the video. - */ - url: string; - - /** - * The width of the video. - */ - width: number; + export interface MutationToDiscountCodeDeactivateArgs { + id: string; + } + export interface MutationToDiscountCodeDeactivateResolver { + (parent: TParent, args: MutationToDiscountCodeDeactivateArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountCodeDeleteArgs { + id: string; + } + export interface MutationToDiscountCodeDeleteResolver { + (parent: TParent, args: MutationToDiscountCodeDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountCodeFreeShippingCreateArgs { + freeShippingCodeDiscount: DiscountCodeFreeShippingInput; + } + export interface MutationToDiscountCodeFreeShippingCreateResolver { + (parent: TParent, args: MutationToDiscountCodeFreeShippingCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToDiscountCodeFreeShippingUpdateArgs { + id: string; + freeShippingCodeDiscount: DiscountCodeFreeShippingInput; + } + export interface MutationToDiscountCodeFreeShippingUpdateResolver { + (parent: TParent, args: MutationToDiscountCodeFreeShippingUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - /********************************* - * * - * TYPE RESOLVERS * - * * - *********************************/ - /** - * This interface define the shape of your resolver - * Note that this type is designed to be compatible with graphql-tools resolvers - * However, you can still use other generated interfaces to make your resolver type-safed - */ - export interface Resolver { - QueryRoot?: QueryRootTypeResolver; - ArticleConnection?: ArticleConnectionTypeResolver; - ArticleEdge?: ArticleEdgeTypeResolver; - Article?: ArticleTypeResolver; - Node?: { - __resolveType: NodeTypeResolver - }; - - ArticleAuthor?: ArticleAuthorTypeResolver; - Blog?: BlogTypeResolver; - URL?: GraphQLScalarType; - CommentConnection?: CommentConnectionTypeResolver; - CommentEdge?: CommentEdgeTypeResolver; - Comment?: CommentTypeResolver; - CommentAuthor?: CommentAuthorTypeResolver; - HTML?: GraphQLScalarType; - PageInfo?: PageInfoTypeResolver; - Image?: ImageTypeResolver; - DateTime?: GraphQLScalarType; - SEO?: SEOTypeResolver; - BlogConnection?: BlogConnectionTypeResolver; - BlogEdge?: BlogEdgeTypeResolver; - Collection?: CollectionTypeResolver; - ProductConnection?: ProductConnectionTypeResolver; - ProductEdge?: ProductEdgeTypeResolver; - Product?: ProductTypeResolver; - HasMetafields?: { - __resolveType: HasMetafieldsTypeResolver - }; - - Metafield?: MetafieldTypeResolver; - MetafieldParentResource?: { - __resolveType: MetafieldParentResourceTypeResolver - }; - - ProductVariant?: ProductVariantTypeResolver; - Money?: GraphQLScalarType; - MoneyV2?: MoneyV2TypeResolver; - Decimal?: GraphQLScalarType; - MetafieldConnection?: MetafieldConnectionTypeResolver; - MetafieldEdge?: MetafieldEdgeTypeResolver; - ProductVariantPricePairConnection?: ProductVariantPricePairConnectionTypeResolver; - ProductVariantPricePairEdge?: ProductVariantPricePairEdgeTypeResolver; - ProductVariantPricePair?: ProductVariantPricePairTypeResolver; - MoneyV2Connection?: MoneyV2ConnectionTypeResolver; - MoneyV2Edge?: MoneyV2EdgeTypeResolver; - SelectedOption?: SelectedOptionTypeResolver; - UnitPriceMeasurement?: UnitPriceMeasurementTypeResolver; - CollectionConnection?: CollectionConnectionTypeResolver; - CollectionEdge?: CollectionEdgeTypeResolver; - ProductPriceRange?: ProductPriceRangeTypeResolver; - ImageConnection?: ImageConnectionTypeResolver; - ImageEdge?: ImageEdgeTypeResolver; - MediaConnection?: MediaConnectionTypeResolver; - MediaEdge?: MediaEdgeTypeResolver; - Media?: { - __resolveType: MediaTypeResolver - }; - - ProductOption?: ProductOptionTypeResolver; - ProductPriceRangeConnection?: ProductPriceRangeConnectionTypeResolver; - ProductPriceRangeEdge?: ProductPriceRangeEdgeTypeResolver; - ProductVariantConnection?: ProductVariantConnectionTypeResolver; - ProductVariantEdge?: ProductVariantEdgeTypeResolver; - Customer?: CustomerTypeResolver; - MailingAddressConnection?: MailingAddressConnectionTypeResolver; - MailingAddressEdge?: MailingAddressEdgeTypeResolver; - MailingAddress?: MailingAddressTypeResolver; - Checkout?: CheckoutTypeResolver; - AppliedGiftCard?: AppliedGiftCardTypeResolver; - AvailableShippingRates?: AvailableShippingRatesTypeResolver; - ShippingRate?: ShippingRateTypeResolver; - Attribute?: AttributeTypeResolver; - DiscountApplicationConnection?: DiscountApplicationConnectionTypeResolver; - DiscountApplicationEdge?: DiscountApplicationEdgeTypeResolver; - DiscountApplication?: { - __resolveType: DiscountApplicationTypeResolver - }; - - PricingValue?: { - __resolveType: PricingValueTypeResolver - }; - - PricingPercentageValue?: PricingPercentageValueTypeResolver; - CheckoutLineItemConnection?: CheckoutLineItemConnectionTypeResolver; - CheckoutLineItemEdge?: CheckoutLineItemEdgeTypeResolver; - CheckoutLineItem?: CheckoutLineItemTypeResolver; - DiscountAllocation?: DiscountAllocationTypeResolver; - Order?: OrderTypeResolver; - OrderLineItemConnection?: OrderLineItemConnectionTypeResolver; - OrderLineItemEdge?: OrderLineItemEdgeTypeResolver; - OrderLineItem?: OrderLineItemTypeResolver; - Fulfillment?: FulfillmentTypeResolver; - FulfillmentLineItemConnection?: FulfillmentLineItemConnectionTypeResolver; - FulfillmentLineItemEdge?: FulfillmentLineItemEdgeTypeResolver; - FulfillmentLineItem?: FulfillmentLineItemTypeResolver; - FulfillmentTrackingInfo?: FulfillmentTrackingInfoTypeResolver; - OrderConnection?: OrderConnectionTypeResolver; - OrderEdge?: OrderEdgeTypeResolver; - Page?: PageTypeResolver; - PageConnection?: PageConnectionTypeResolver; - PageEdge?: PageEdgeTypeResolver; - StringConnection?: StringConnectionTypeResolver; - StringEdge?: StringEdgeTypeResolver; - ApiVersion?: ApiVersionTypeResolver; - Shop?: ShopTypeResolver; - PaymentSettings?: PaymentSettingsTypeResolver; - Domain?: DomainTypeResolver; - ShopPolicy?: ShopPolicyTypeResolver; - Mutation?: MutationTypeResolver; - CheckoutAttributesUpdatePayload?: CheckoutAttributesUpdatePayloadTypeResolver; - CheckoutUserError?: CheckoutUserErrorTypeResolver; - DisplayableError?: { - __resolveType: DisplayableErrorTypeResolver - }; - - UserError?: UserErrorTypeResolver; - CheckoutAttributesUpdateV2Payload?: CheckoutAttributesUpdateV2PayloadTypeResolver; - CheckoutCompleteFreePayload?: CheckoutCompleteFreePayloadTypeResolver; - CheckoutCompleteWithCreditCardPayload?: CheckoutCompleteWithCreditCardPayloadTypeResolver; - Payment?: PaymentTypeResolver; - CreditCard?: CreditCardTypeResolver; - Transaction?: TransactionTypeResolver; - CheckoutCompleteWithCreditCardV2Payload?: CheckoutCompleteWithCreditCardV2PayloadTypeResolver; - CheckoutCompleteWithTokenizedPaymentPayload?: CheckoutCompleteWithTokenizedPaymentPayloadTypeResolver; - CheckoutCompleteWithTokenizedPaymentV2Payload?: CheckoutCompleteWithTokenizedPaymentV2PayloadTypeResolver; - CheckoutCompleteWithTokenizedPaymentV3Payload?: CheckoutCompleteWithTokenizedPaymentV3PayloadTypeResolver; - CheckoutCreatePayload?: CheckoutCreatePayloadTypeResolver; - CheckoutCustomerAssociatePayload?: CheckoutCustomerAssociatePayloadTypeResolver; - CheckoutCustomerAssociateV2Payload?: CheckoutCustomerAssociateV2PayloadTypeResolver; - CheckoutCustomerDisassociatePayload?: CheckoutCustomerDisassociatePayloadTypeResolver; - CheckoutCustomerDisassociateV2Payload?: CheckoutCustomerDisassociateV2PayloadTypeResolver; - CheckoutDiscountCodeApplyPayload?: CheckoutDiscountCodeApplyPayloadTypeResolver; - CheckoutDiscountCodeApplyV2Payload?: CheckoutDiscountCodeApplyV2PayloadTypeResolver; - CheckoutDiscountCodeRemovePayload?: CheckoutDiscountCodeRemovePayloadTypeResolver; - CheckoutEmailUpdatePayload?: CheckoutEmailUpdatePayloadTypeResolver; - CheckoutEmailUpdateV2Payload?: CheckoutEmailUpdateV2PayloadTypeResolver; - CheckoutGiftCardApplyPayload?: CheckoutGiftCardApplyPayloadTypeResolver; - CheckoutGiftCardRemovePayload?: CheckoutGiftCardRemovePayloadTypeResolver; - CheckoutGiftCardRemoveV2Payload?: CheckoutGiftCardRemoveV2PayloadTypeResolver; - CheckoutGiftCardsAppendPayload?: CheckoutGiftCardsAppendPayloadTypeResolver; - CheckoutLineItemsAddPayload?: CheckoutLineItemsAddPayloadTypeResolver; - CheckoutLineItemsRemovePayload?: CheckoutLineItemsRemovePayloadTypeResolver; - CheckoutLineItemsReplacePayload?: CheckoutLineItemsReplacePayloadTypeResolver; - CheckoutLineItemsUpdatePayload?: CheckoutLineItemsUpdatePayloadTypeResolver; - CheckoutShippingAddressUpdatePayload?: CheckoutShippingAddressUpdatePayloadTypeResolver; - CheckoutShippingAddressUpdateV2Payload?: CheckoutShippingAddressUpdateV2PayloadTypeResolver; - CheckoutShippingLineUpdatePayload?: CheckoutShippingLineUpdatePayloadTypeResolver; - CustomerAccessTokenCreatePayload?: CustomerAccessTokenCreatePayloadTypeResolver; - CustomerAccessToken?: CustomerAccessTokenTypeResolver; - CustomerUserError?: CustomerUserErrorTypeResolver; - CustomerAccessTokenCreateWithMultipassPayload?: CustomerAccessTokenCreateWithMultipassPayloadTypeResolver; - CustomerAccessTokenDeletePayload?: CustomerAccessTokenDeletePayloadTypeResolver; - CustomerAccessTokenRenewPayload?: CustomerAccessTokenRenewPayloadTypeResolver; - CustomerActivatePayload?: CustomerActivatePayloadTypeResolver; - CustomerActivateByUrlPayload?: CustomerActivateByUrlPayloadTypeResolver; - CustomerAddressCreatePayload?: CustomerAddressCreatePayloadTypeResolver; - CustomerAddressDeletePayload?: CustomerAddressDeletePayloadTypeResolver; - CustomerAddressUpdatePayload?: CustomerAddressUpdatePayloadTypeResolver; - CustomerCreatePayload?: CustomerCreatePayloadTypeResolver; - CustomerDefaultAddressUpdatePayload?: CustomerDefaultAddressUpdatePayloadTypeResolver; - CustomerRecoverPayload?: CustomerRecoverPayloadTypeResolver; - CustomerResetPayload?: CustomerResetPayloadTypeResolver; - CustomerResetByUrlPayload?: CustomerResetByUrlPayloadTypeResolver; - CustomerUpdatePayload?: CustomerUpdatePayloadTypeResolver; - AutomaticDiscountApplication?: AutomaticDiscountApplicationTypeResolver; - DiscountCodeApplication?: DiscountCodeApplicationTypeResolver; - ExternalVideo?: ExternalVideoTypeResolver; - ManualDiscountApplication?: ManualDiscountApplicationTypeResolver; - MediaImage?: MediaImageTypeResolver; - Model3d?: Model3dTypeResolver; - Model3dSource?: Model3dSourceTypeResolver; - ScriptDiscountApplication?: ScriptDiscountApplicationTypeResolver; - Video?: VideoTypeResolver; - VideoSource?: VideoSourceTypeResolver; + export interface MutationToDraftOrderCalculateArgs { + input: DraftOrderInput; } - export interface QueryRootTypeResolver { - articles?: QueryRootToArticlesResolver; - blogByHandle?: QueryRootToBlogByHandleResolver; - blogs?: QueryRootToBlogsResolver; - collectionByHandle?: QueryRootToCollectionByHandleResolver; - collections?: QueryRootToCollectionsResolver; - customer?: QueryRootToCustomerResolver; - node?: QueryRootToNodeResolver; - nodes?: QueryRootToNodesResolver; - pageByHandle?: QueryRootToPageByHandleResolver; - pages?: QueryRootToPagesResolver; - productByHandle?: QueryRootToProductByHandleResolver; - productRecommendations?: QueryRootToProductRecommendationsResolver; - productTags?: QueryRootToProductTagsResolver; - productTypes?: QueryRootToProductTypesResolver; - products?: QueryRootToProductsResolver; - publicApiVersions?: QueryRootToPublicApiVersionsResolver; - shop?: QueryRootToShopResolver; + export interface MutationToDraftOrderCalculateResolver { + (parent: TParent, args: MutationToDraftOrderCalculateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToArticlesArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: ArticleSortKeys; - query?: string; + export interface MutationToDraftOrderCompleteArgs { + id: string; + paymentPending?: boolean; } - export interface QueryRootToArticlesResolver { - (parent: TParent, args: QueryRootToArticlesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToDraftOrderCompleteResolver { + (parent: TParent, args: MutationToDraftOrderCompleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToBlogByHandleArgs { - handle: string; + export interface MutationToDraftOrderCreateArgs { + input: DraftOrderInput; } - export interface QueryRootToBlogByHandleResolver { - (parent: TParent, args: QueryRootToBlogByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToDraftOrderCreateResolver { + (parent: TParent, args: MutationToDraftOrderCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToBlogsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: BlogSortKeys; - query?: string; + export interface MutationToDraftOrderDeleteArgs { + input: DraftOrderDeleteInput; } - export interface QueryRootToBlogsResolver { - (parent: TParent, args: QueryRootToBlogsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToDraftOrderDeleteResolver { + (parent: TParent, args: MutationToDraftOrderDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToCollectionByHandleArgs { - handle: string; + export interface MutationToDraftOrderInvoicePreviewArgs { + id: string; + email?: EmailInput; } - export interface QueryRootToCollectionByHandleResolver { - (parent: TParent, args: QueryRootToCollectionByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToDraftOrderInvoicePreviewResolver { + (parent: TParent, args: MutationToDraftOrderInvoicePreviewArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToCollectionsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: CollectionSortKeys; - query?: string; + export interface MutationToDraftOrderInvoiceSendArgs { + id: string; + email?: EmailInput; } - export interface QueryRootToCollectionsResolver { - (parent: TParent, args: QueryRootToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToDraftOrderInvoiceSendResolver { + (parent: TParent, args: MutationToDraftOrderInvoiceSendArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToCustomerArgs { - customerAccessToken: string; + export interface MutationToDraftOrderUpdateArgs { + id: string; + input: DraftOrderInput; } - export interface QueryRootToCustomerResolver { - (parent: TParent, args: QueryRootToCustomerArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToDraftOrderUpdateResolver { + (parent: TParent, args: MutationToDraftOrderUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToNodeArgs { + export interface MutationToFlowTriggerReceiveArgs { + body: string; + } + export interface MutationToFlowTriggerReceiveResolver { + (parent: TParent, args: MutationToFlowTriggerReceiveArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToFulfillmentCancelArgs { id: string; } - export interface QueryRootToNodeResolver { - (parent: TParent, args: QueryRootToNodeArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentCancelResolver { + (parent: TParent, args: MutationToFulfillmentCancelArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToNodesArgs { - ids: Array; + export interface MutationToFulfillmentCreateArgs { + input: FulfillmentInput; } - export interface QueryRootToNodesResolver { - (parent: TParent, args: QueryRootToNodesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentCreateResolver { + (parent: TParent, args: MutationToFulfillmentCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToPageByHandleArgs { - handle: string; + export interface MutationToFulfillmentCreateV2Args { + fulfillment: FulfillmentV2Input; + message?: string; } - export interface QueryRootToPageByHandleResolver { - (parent: TParent, args: QueryRootToPageByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentCreateV2Resolver { + (parent: TParent, args: MutationToFulfillmentCreateV2Args, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToPagesArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: PageSortKeys; - query?: string; + export interface MutationToFulfillmentOrderAcceptCancellationRequestArgs { + id: string; + message?: string; } - export interface QueryRootToPagesResolver { - (parent: TParent, args: QueryRootToPagesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentOrderAcceptCancellationRequestResolver { + (parent: TParent, args: MutationToFulfillmentOrderAcceptCancellationRequestArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToProductByHandleArgs { - handle: string; + export interface MutationToFulfillmentOrderAcceptFulfillmentRequestArgs { + id: string; + message?: string; } - export interface QueryRootToProductByHandleResolver { - (parent: TParent, args: QueryRootToProductByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentOrderAcceptFulfillmentRequestResolver { + (parent: TParent, args: MutationToFulfillmentOrderAcceptFulfillmentRequestArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToProductRecommendationsArgs { - productId: string; + export interface MutationToFulfillmentOrderCancelArgs { + id: string; } - export interface QueryRootToProductRecommendationsResolver { - (parent: TParent, args: QueryRootToProductRecommendationsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentOrderCancelResolver { + (parent: TParent, args: MutationToFulfillmentOrderCancelArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToProductTagsArgs { - first: number; + export interface MutationToFulfillmentOrderCloseArgs { + id: string; + message?: string; } - export interface QueryRootToProductTagsResolver { - (parent: TParent, args: QueryRootToProductTagsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentOrderCloseResolver { + (parent: TParent, args: MutationToFulfillmentOrderCloseArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToProductTypesArgs { - first: number; + export interface MutationToFulfillmentOrderMoveArgs { + id: string; + newLocationId: string; } - export interface QueryRootToProductTypesResolver { - (parent: TParent, args: QueryRootToProductTypesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentOrderMoveResolver { + (parent: TParent, args: MutationToFulfillmentOrderMoveArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToProductsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: ProductSortKeys; - query?: string; + export interface MutationToFulfillmentOrderRejectCancellationRequestArgs { + id: string; + message?: string; } - export interface QueryRootToProductsResolver { - (parent: TParent, args: QueryRootToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentOrderRejectCancellationRequestResolver { + (parent: TParent, args: MutationToFulfillmentOrderRejectCancellationRequestArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToPublicApiVersionsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentOrderRejectFulfillmentRequestArgs { + id: string; + message?: string; + } + export interface MutationToFulfillmentOrderRejectFulfillmentRequestResolver { + (parent: TParent, args: MutationToFulfillmentOrderRejectFulfillmentRequestArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface QueryRootToShopResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentOrderSubmitCancellationRequestArgs { + id: string; + message?: string; + } + export interface MutationToFulfillmentOrderSubmitCancellationRequestResolver { + (parent: TParent, args: MutationToFulfillmentOrderSubmitCancellationRequestArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleConnectionTypeResolver { - edges?: ArticleConnectionToEdgesResolver; - pageInfo?: ArticleConnectionToPageInfoResolver; + export interface MutationToFulfillmentOrderSubmitFulfillmentRequestArgs { + id: string; + message?: string; + notifyCustomer?: boolean; + fulfillmentOrderLineItems?: Array; + shippingMethod?: string; + } + export interface MutationToFulfillmentOrderSubmitFulfillmentRequestResolver { + (parent: TParent, args: MutationToFulfillmentOrderSubmitFulfillmentRequestArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleConnectionToEdgesResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentServiceCreateArgs { + name: string; + callbackUrl?: URL; + trackingSupport?: boolean; + } + export interface MutationToFulfillmentServiceCreateResolver { + (parent: TParent, args: MutationToFulfillmentServiceCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleConnectionToPageInfoResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentServiceDeleteArgs { + id: string; + destinationLocationId?: string; + } + export interface MutationToFulfillmentServiceDeleteResolver { + (parent: TParent, args: MutationToFulfillmentServiceDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleEdgeTypeResolver { - cursor?: ArticleEdgeToCursorResolver; - node?: ArticleEdgeToNodeResolver; + export interface MutationToFulfillmentServiceUpdateArgs { + id: string; + name?: string; + callbackUrl?: URL; + trackingSupport?: boolean; + fulfillmentOrdersOptIn?: boolean; + } + export interface MutationToFulfillmentServiceUpdateResolver { + (parent: TParent, args: MutationToFulfillmentServiceUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleEdgeToCursorResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentTrackingInfoUpdateArgs { + fulfillmentId: string; + trackingInfoUpdateInput: TrackingInfoUpdateInput; + } + export interface MutationToFulfillmentTrackingInfoUpdateResolver { + (parent: TParent, args: MutationToFulfillmentTrackingInfoUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleEdgeToNodeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToFulfillmentTrackingInfoUpdateV2Args { + fulfillmentId: string; + trackingInfoInput: FulfillmentTrackingInput; + notifyCustomer?: boolean; + } + export interface MutationToFulfillmentTrackingInfoUpdateV2Resolver { + (parent: TParent, args: MutationToFulfillmentTrackingInfoUpdateV2Args, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleTypeResolver { - author?: ArticleToAuthorResolver; - authorV2?: ArticleToAuthorV2Resolver; - blog?: ArticleToBlogResolver; - comments?: ArticleToCommentsResolver; - content?: ArticleToContentResolver; - contentHtml?: ArticleToContentHtmlResolver; - excerpt?: ArticleToExcerptResolver; - excerptHtml?: ArticleToExcerptHtmlResolver; - handle?: ArticleToHandleResolver; - id?: ArticleToIdResolver; - image?: ArticleToImageResolver; - publishedAt?: ArticleToPublishedAtResolver; - seo?: ArticleToSeoResolver; - tags?: ArticleToTagsResolver; - title?: ArticleToTitleResolver; - url?: ArticleToUrlResolver; + export interface MutationToInventoryActivateArgs { + inventoryItemId: string; + locationId: string; + available?: number; + } + export interface MutationToInventoryActivateResolver { + (parent: TParent, args: MutationToInventoryActivateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToAuthorResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToInventoryAdjustQuantityArgs { + input: InventoryAdjustQuantityInput; + } + export interface MutationToInventoryAdjustQuantityResolver { + (parent: TParent, args: MutationToInventoryAdjustQuantityArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToAuthorV2Resolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToInventoryBulkAdjustQuantityAtLocationArgs { + inventoryItemAdjustments: Array; + locationId: string; + } + export interface MutationToInventoryBulkAdjustQuantityAtLocationResolver { + (parent: TParent, args: MutationToInventoryBulkAdjustQuantityAtLocationArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToBlogResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToInventoryDeactivateArgs { + inventoryLevelId: string; + } + export interface MutationToInventoryDeactivateResolver { + (parent: TParent, args: MutationToInventoryDeactivateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToCommentsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface MutationToInventoryItemUpdateArgs { + id: string; + input: InventoryItemUpdateInput; } - export interface ArticleToCommentsResolver { - (parent: TParent, args: ArticleToCommentsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToInventoryItemUpdateResolver { + (parent: TParent, args: MutationToInventoryItemUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToContentArgs { - truncateAt?: number; + export interface MutationToKitSkillTriggerRequestArgs { + id: string; + locale: KitSkillLocale; + placeholders?: JSON; } - export interface ArticleToContentResolver { - (parent: TParent, args: ArticleToContentArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToKitSkillTriggerRequestResolver { + (parent: TParent, args: MutationToKitSkillTriggerRequestArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToContentHtmlResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToMarketingActivityUpdateArgs { + input: MarketingActivityUpdateInput; + } + export interface MutationToMarketingActivityUpdateResolver { + (parent: TParent, args: MutationToMarketingActivityUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToExcerptArgs { - truncateAt?: number; + export interface MutationToMarketingEngagementCreateArgs { + marketingActivityId: string; + marketingEngagement: MarketingEngagementInput; } - export interface ArticleToExcerptResolver { - (parent: TParent, args: ArticleToExcerptArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToMarketingEngagementCreateResolver { + (parent: TParent, args: MutationToMarketingEngagementCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToExcerptHtmlResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToMetafieldDeleteArgs { + input: MetafieldDeleteInput; + } + export interface MutationToMetafieldDeleteResolver { + (parent: TParent, args: MutationToMetafieldDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToHandleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToMetafieldStorefrontVisibilityCreateArgs { + input: MetafieldStorefrontVisibilityInput; + } + export interface MutationToMetafieldStorefrontVisibilityCreateResolver { + (parent: TParent, args: MutationToMetafieldStorefrontVisibilityCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToMetafieldStorefrontVisibilityDeleteArgs { + id: string; + } + export interface MutationToMetafieldStorefrontVisibilityDeleteResolver { + (parent: TParent, args: MutationToMetafieldStorefrontVisibilityDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToImageArgs { - maxWidth?: number; - maxHeight?: number; - crop?: CropRegion; - scale?: number; + export interface MutationToOrderCaptureArgs { + input: OrderCaptureInput; } - export interface ArticleToImageResolver { - (parent: TParent, args: ArticleToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderCaptureResolver { + (parent: TParent, args: MutationToOrderCaptureArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToPublishedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderCloseArgs { + input: OrderCloseInput; + } + export interface MutationToOrderCloseResolver { + (parent: TParent, args: MutationToOrderCloseArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToOrderEditAddCustomItemArgs { + id: string; + title: string; + locationId?: string; + price: MoneyInput; + quantity: number; + taxable?: boolean; + requiresShipping?: boolean; + } + export interface MutationToOrderEditAddCustomItemResolver { + (parent: TParent, args: MutationToOrderEditAddCustomItemArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MutationToOrderEditAddVariantArgs { + id: string; + variantId: string; + locationId?: string; + quantity: number; + } + export interface MutationToOrderEditAddVariantResolver { + (parent: TParent, args: MutationToOrderEditAddVariantArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToSeoResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderEditBeginArgs { + id: string; } - - export interface ArticleToTagsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderEditBeginResolver { + (parent: TParent, args: MutationToOrderEditBeginArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleToTitleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderEditCommitArgs { + id: string; + notifyCustomer?: boolean; + staffNote?: string; } - - export interface ArticleToUrlResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderEditCommitResolver { + (parent: TParent, args: MutationToOrderEditCommitArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface NodeTypeResolver { - (parent: TParent, context: any, info: GraphQLResolveInfo): 'Article' | 'Blog' | 'Comment' | 'Collection' | 'Product' | 'Metafield' | 'ProductVariant' | 'ProductOption' | 'MailingAddress' | 'Checkout' | 'AppliedGiftCard' | 'CheckoutLineItem' | 'Order' | 'Page' | 'ShopPolicy' | 'Payment' | 'ExternalVideo' | 'MediaImage' | 'Model3d' | 'Video'; + export interface MutationToOrderEditSetQuantityArgs { + id: string; + lineItemId: string; + quantity: number; + restock?: boolean; + locationId?: string; } - export interface ArticleAuthorTypeResolver { - bio?: ArticleAuthorToBioResolver; - email?: ArticleAuthorToEmailResolver; - firstName?: ArticleAuthorToFirstNameResolver; - lastName?: ArticleAuthorToLastNameResolver; - name?: ArticleAuthorToNameResolver; + export interface MutationToOrderEditSetQuantityResolver { + (parent: TParent, args: MutationToOrderEditSetQuantityArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleAuthorToBioResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderMarkAsPaidArgs { + input: OrderMarkAsPaidInput; } - - export interface ArticleAuthorToEmailResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderMarkAsPaidResolver { + (parent: TParent, args: MutationToOrderMarkAsPaidArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleAuthorToFirstNameResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderOpenArgs { + input: OrderOpenInput; } - - export interface ArticleAuthorToLastNameResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderOpenResolver { + (parent: TParent, args: MutationToOrderOpenArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ArticleAuthorToNameResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToOrderUpdateArgs { + input: OrderInput; } - - export interface BlogTypeResolver { - articleByHandle?: BlogToArticleByHandleResolver; - articles?: BlogToArticlesResolver; - authors?: BlogToAuthorsResolver; - handle?: BlogToHandleResolver; - id?: BlogToIdResolver; - title?: BlogToTitleResolver; - url?: BlogToUrlResolver; + export interface MutationToOrderUpdateResolver { + (parent: TParent, args: MutationToOrderUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface BlogToArticleByHandleArgs { - handle: string; + export interface MutationToPriceRuleActivateArgs { + id: string; } - export interface BlogToArticleByHandleResolver { - (parent: TParent, args: BlogToArticleByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleActivateResolver { + (parent: TParent, args: MutationToPriceRuleActivateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface BlogToArticlesArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: ArticleSortKeys; - query?: string; + export interface MutationToPriceRuleCreateArgs { + priceRule: PriceRuleInput; + priceRuleDiscountCode?: PriceRuleDiscountCodeInput; } - export interface BlogToArticlesResolver { - (parent: TParent, args: BlogToArticlesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleCreateResolver { + (parent: TParent, args: MutationToPriceRuleCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface BlogToAuthorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleDeactivateArgs { + id: string; } - - export interface BlogToHandleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleDeactivateResolver { + (parent: TParent, args: MutationToPriceRuleDeactivateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface BlogToIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleDeleteArgs { + id: string; } - - export interface BlogToTitleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleDeleteResolver { + (parent: TParent, args: MutationToPriceRuleDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface BlogToUrlResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleDiscountCodeCreateArgs { + priceRuleId: string; + code: string; } - - export interface CommentConnectionTypeResolver { - edges?: CommentConnectionToEdgesResolver; - pageInfo?: CommentConnectionToPageInfoResolver; + export interface MutationToPriceRuleDiscountCodeCreateResolver { + (parent: TParent, args: MutationToPriceRuleDiscountCodeCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CommentConnectionToEdgesResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleDiscountCodeUpdateArgs { + priceRuleId: string; + code: string; } - - export interface CommentConnectionToPageInfoResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleDiscountCodeUpdateResolver { + (parent: TParent, args: MutationToPriceRuleDiscountCodeUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CommentEdgeTypeResolver { - cursor?: CommentEdgeToCursorResolver; - node?: CommentEdgeToNodeResolver; + export interface MutationToPriceRuleUpdateArgs { + id: string; + priceRule: PriceRuleInput; + priceRuleDiscountCode?: PriceRuleDiscountCodeInput; } - - export interface CommentEdgeToCursorResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPriceRuleUpdateResolver { + (parent: TParent, args: MutationToPriceRuleUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CommentEdgeToNodeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPrivateMetafieldDeleteArgs { + input: PrivateMetafieldDeleteInput; } - - export interface CommentTypeResolver { - author?: CommentToAuthorResolver; - content?: CommentToContentResolver; - contentHtml?: CommentToContentHtmlResolver; - id?: CommentToIdResolver; + export interface MutationToPrivateMetafieldDeleteResolver { + (parent: TParent, args: MutationToPrivateMetafieldDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CommentToAuthorResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPrivateMetafieldUpsertArgs { + input: PrivateMetafieldInput; + } + export interface MutationToPrivateMetafieldUpsertResolver { + (parent: TParent, args: MutationToPrivateMetafieldUpsertArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CommentToContentArgs { - truncateAt?: number; + export interface MutationToProductAppendImagesArgs { + input: ProductAppendImagesInput; } - export interface CommentToContentResolver { - (parent: TParent, args: CommentToContentArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductAppendImagesResolver { + (parent: TParent, args: MutationToProductAppendImagesArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CommentToContentHtmlResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductCreateArgs { + input: ProductInput; + media?: Array; } - - export interface CommentToIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductCreateResolver { + (parent: TParent, args: MutationToProductCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CommentAuthorTypeResolver { - email?: CommentAuthorToEmailResolver; - name?: CommentAuthorToNameResolver; + export interface MutationToProductCreateMediaArgs { + productId: string; + media: Array; } - - export interface CommentAuthorToEmailResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductCreateMediaResolver { + (parent: TParent, args: MutationToProductCreateMediaArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CommentAuthorToNameResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductDeleteArgs { + input: ProductDeleteInput; } - - export interface PageInfoTypeResolver { - hasNextPage?: PageInfoToHasNextPageResolver; - hasPreviousPage?: PageInfoToHasPreviousPageResolver; + export interface MutationToProductDeleteResolver { + (parent: TParent, args: MutationToProductDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageInfoToHasNextPageResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductDeleteImagesArgs { + id: string; + imageIds: Array; } - - export interface PageInfoToHasPreviousPageResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductDeleteImagesResolver { + (parent: TParent, args: MutationToProductDeleteImagesArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ImageTypeResolver { - altText?: ImageToAltTextResolver; - id?: ImageToIdResolver; - originalSrc?: ImageToOriginalSrcResolver; - src?: ImageToSrcResolver; - transformedSrc?: ImageToTransformedSrcResolver; + export interface MutationToProductDeleteMediaArgs { + productId: string; + mediaIds: Array; } - - export interface ImageToAltTextResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductDeleteMediaResolver { + (parent: TParent, args: MutationToProductDeleteMediaArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ImageToIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductDuplicateArgs { + productId: string; + newTitle: string; + includeImages?: boolean; } - - export interface ImageToOriginalSrcResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductDuplicateResolver { + (parent: TParent, args: MutationToProductDuplicateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ImageToSrcResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductImageUpdateArgs { + productId: string; + image: ImageInput; + } + export interface MutationToProductImageUpdateResolver { + (parent: TParent, args: MutationToProductImageUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ImageToTransformedSrcArgs { - maxWidth?: number; - maxHeight?: number; - crop?: CropRegion; - scale?: number; - preferredContentType?: ImageContentType; + export interface MutationToProductPublishArgs { + input: ProductPublishInput; } - export interface ImageToTransformedSrcResolver { - (parent: TParent, args: ImageToTransformedSrcArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductPublishResolver { + (parent: TParent, args: MutationToProductPublishArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface SEOTypeResolver { - description?: SEOToDescriptionResolver; - title?: SEOToTitleResolver; + export interface MutationToProductReorderImagesArgs { + id: string; + moves: Array; } - - export interface SEOToDescriptionResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductReorderImagesResolver { + (parent: TParent, args: MutationToProductReorderImagesArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface SEOToTitleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductReorderMediaArgs { + id: string; + moves: Array; } - - export interface BlogConnectionTypeResolver { - edges?: BlogConnectionToEdgesResolver; - pageInfo?: BlogConnectionToPageInfoResolver; + export interface MutationToProductReorderMediaResolver { + (parent: TParent, args: MutationToProductReorderMediaArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface BlogConnectionToEdgesResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductUnpublishArgs { + input: ProductUnpublishInput; } - - export interface BlogConnectionToPageInfoResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductUnpublishResolver { + (parent: TParent, args: MutationToProductUnpublishArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface BlogEdgeTypeResolver { - cursor?: BlogEdgeToCursorResolver; - node?: BlogEdgeToNodeResolver; + export interface MutationToProductUpdateArgs { + input: ProductInput; } - - export interface BlogEdgeToCursorResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductUpdateResolver { + (parent: TParent, args: MutationToProductUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface BlogEdgeToNodeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductUpdateMediaArgs { + productId: string; + media: Array; } - - export interface CollectionTypeResolver { - description?: CollectionToDescriptionResolver; - descriptionHtml?: CollectionToDescriptionHtmlResolver; - handle?: CollectionToHandleResolver; - id?: CollectionToIdResolver; - image?: CollectionToImageResolver; - products?: CollectionToProductsResolver; - title?: CollectionToTitleResolver; - updatedAt?: CollectionToUpdatedAtResolver; + export interface MutationToProductUpdateMediaResolver { + (parent: TParent, args: MutationToProductUpdateMediaArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionToDescriptionArgs { - truncateAt?: number; + export interface MutationToProductVariantCreateArgs { + input: ProductVariantInput; } - export interface CollectionToDescriptionResolver { - (parent: TParent, args: CollectionToDescriptionArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductVariantCreateResolver { + (parent: TParent, args: MutationToProductVariantCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionToDescriptionHtmlResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductVariantDeleteArgs { + id: string; } - - export interface CollectionToHandleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductVariantDeleteResolver { + (parent: TParent, args: MutationToProductVariantDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionToIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToProductVariantUpdateArgs { + input: ProductVariantInput; + } + export interface MutationToProductVariantUpdateResolver { + (parent: TParent, args: MutationToProductVariantUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionToImageArgs { - maxWidth?: number; - maxHeight?: number; - crop?: CropRegion; - scale?: number; + export interface MutationToPublishablePublishArgs { + id: string; + input: Array; } - export interface CollectionToImageResolver { - (parent: TParent, args: CollectionToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPublishablePublishResolver { + (parent: TParent, args: MutationToPublishablePublishArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionToProductsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: ProductCollectionSortKeys; + export interface MutationToPublishablePublishToCurrentChannelArgs { + id: string; } - export interface CollectionToProductsResolver { - (parent: TParent, args: CollectionToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPublishablePublishToCurrentChannelResolver { + (parent: TParent, args: MutationToPublishablePublishToCurrentChannelArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionToTitleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPublishableUnpublishArgs { + id: string; + input: Array; } - - export interface CollectionToUpdatedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPublishableUnpublishResolver { + (parent: TParent, args: MutationToPublishableUnpublishArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductConnectionTypeResolver { - edges?: ProductConnectionToEdgesResolver; - pageInfo?: ProductConnectionToPageInfoResolver; + export interface MutationToPublishableUnpublishToCurrentChannelArgs { + id: string; } - - export interface ProductConnectionToEdgesResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToPublishableUnpublishToCurrentChannelResolver { + (parent: TParent, args: MutationToPublishableUnpublishToCurrentChannelArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductConnectionToPageInfoResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToRefundCreateArgs { + input: RefundInput; } - - export interface ProductEdgeTypeResolver { - cursor?: ProductEdgeToCursorResolver; - node?: ProductEdgeToNodeResolver; + export interface MutationToRefundCreateResolver { + (parent: TParent, args: MutationToRefundCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductEdgeToCursorResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToSavedSearchCreateArgs { + input: SavedSearchCreateInput; } - - export interface ProductEdgeToNodeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToSavedSearchCreateResolver { + (parent: TParent, args: MutationToSavedSearchCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductTypeResolver { - availableForSale?: ProductToAvailableForSaleResolver; - collections?: ProductToCollectionsResolver; - compareAtPriceRange?: ProductToCompareAtPriceRangeResolver; - createdAt?: ProductToCreatedAtResolver; - description?: ProductToDescriptionResolver; - descriptionHtml?: ProductToDescriptionHtmlResolver; - handle?: ProductToHandleResolver; - id?: ProductToIdResolver; - images?: ProductToImagesResolver; - media?: ProductToMediaResolver; - metafield?: ProductToMetafieldResolver; - metafields?: ProductToMetafieldsResolver; - onlineStoreUrl?: ProductToOnlineStoreUrlResolver; - options?: ProductToOptionsResolver; - presentmentPriceRanges?: ProductToPresentmentPriceRangesResolver; - priceRange?: ProductToPriceRangeResolver; - productType?: ProductToProductTypeResolver; - publishedAt?: ProductToPublishedAtResolver; - tags?: ProductToTagsResolver; - title?: ProductToTitleResolver; - totalInventory?: ProductToTotalInventoryResolver; - updatedAt?: ProductToUpdatedAtResolver; - variantBySelectedOptions?: ProductToVariantBySelectedOptionsResolver; - variants?: ProductToVariantsResolver; - vendor?: ProductToVendorResolver; + export interface MutationToSavedSearchDeleteArgs { + input: SavedSearchDeleteInput; } - - export interface ProductToAvailableForSaleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToSavedSearchDeleteResolver { + (parent: TParent, args: MutationToSavedSearchDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToCollectionsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface MutationToSavedSearchUpdateArgs { + input: SavedSearchUpdateInput; } - export interface ProductToCollectionsResolver { - (parent: TParent, args: ProductToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToSavedSearchUpdateResolver { + (parent: TParent, args: MutationToSavedSearchUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToCompareAtPriceRangeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToScriptTagCreateArgs { + input: ScriptTagInput; } - - export interface ProductToCreatedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToScriptTagCreateResolver { + (parent: TParent, args: MutationToScriptTagCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToDescriptionArgs { - truncateAt?: number; + export interface MutationToScriptTagDeleteArgs { + id: string; } - export interface ProductToDescriptionResolver { - (parent: TParent, args: ProductToDescriptionArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToScriptTagDeleteResolver { + (parent: TParent, args: MutationToScriptTagDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToDescriptionHtmlResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToScriptTagUpdateArgs { + id: string; + input: ScriptTagInput; + } + export interface MutationToScriptTagUpdateResolver { + (parent: TParent, args: MutationToScriptTagUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToHandleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToShippingPackageDeleteArgs { + id: string; + } + export interface MutationToShippingPackageDeleteResolver { + (parent: TParent, args: MutationToShippingPackageDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToShippingPackageMakeDefaultArgs { + id: string; + } + export interface MutationToShippingPackageMakeDefaultResolver { + (parent: TParent, args: MutationToShippingPackageMakeDefaultArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToImagesArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: ProductImageSortKeys; - maxWidth?: number; - maxHeight?: number; - crop?: CropRegion; - scale?: number; + export interface MutationToShippingPackageUpdateArgs { + id: string; } - export interface ProductToImagesResolver { - (parent: TParent, args: ProductToImagesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToShippingPackageUpdateResolver { + (parent: TParent, args: MutationToShippingPackageUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToMediaArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface MutationToShopLocaleDisableArgs { + locale: string; } - export interface ProductToMediaResolver { - (parent: TParent, args: ProductToMediaArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToShopLocaleDisableResolver { + (parent: TParent, args: MutationToShopLocaleDisableArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToMetafieldArgs { - namespace: string; - key: string; + export interface MutationToShopLocaleEnableArgs { + locale: string; } - export interface ProductToMetafieldResolver { - (parent: TParent, args: ProductToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToShopLocaleEnableResolver { + (parent: TParent, args: MutationToShopLocaleEnableArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToMetafieldsArgs { - namespace?: string; - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface MutationToShopLocaleUpdateArgs { + locale: string; + shopLocale: ShopLocaleInput; } - export interface ProductToMetafieldsResolver { - (parent: TParent, args: ProductToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToShopLocaleUpdateResolver { + (parent: TParent, args: MutationToShopLocaleUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToOnlineStoreUrlResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToStagedUploadTargetGenerateArgs { + input: StagedUploadTargetGenerateInput; + } + export interface MutationToStagedUploadTargetGenerateResolver { + (parent: TParent, args: MutationToStagedUploadTargetGenerateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToOptionsArgs { - first?: number; + export interface MutationToStagedUploadTargetsGenerateArgs { + input: Array; } - export interface ProductToOptionsResolver { - (parent: TParent, args: ProductToOptionsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToStagedUploadTargetsGenerateResolver { + (parent: TParent, args: MutationToStagedUploadTargetsGenerateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToPresentmentPriceRangesArgs { - presentmentCurrencies?: Array; - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface MutationToStagedUploadsCreateArgs { + input: Array; } - export interface ProductToPresentmentPriceRangesResolver { - (parent: TParent, args: ProductToPresentmentPriceRangesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToStagedUploadsCreateResolver { + (parent: TParent, args: MutationToStagedUploadsCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToPriceRangeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToStorefrontAccessTokenCreateArgs { + input: StorefrontAccessTokenInput; + } + export interface MutationToStorefrontAccessTokenCreateResolver { + (parent: TParent, args: MutationToStorefrontAccessTokenCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToProductTypeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToStorefrontAccessTokenDeleteArgs { + input: StorefrontAccessTokenDeleteInput; + } + export interface MutationToStorefrontAccessTokenDeleteResolver { + (parent: TParent, args: MutationToStorefrontAccessTokenDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToPublishedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToTagsAddArgs { + id: string; + tags: Array; + } + export interface MutationToTagsAddResolver { + (parent: TParent, args: MutationToTagsAddArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToTagsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToTagsRemoveArgs { + id: string; + tags: Array; + } + export interface MutationToTagsRemoveResolver { + (parent: TParent, args: MutationToTagsRemoveArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToTitleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToTranslationsRegisterArgs { + resourceId: string; + translations: Array; + } + export interface MutationToTranslationsRegisterResolver { + (parent: TParent, args: MutationToTranslationsRegisterArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToTotalInventoryResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToTranslationsRemoveArgs { + resourceId: string; + translationKeys: Array; + locales: Array; + } + export interface MutationToTranslationsRemoveResolver { + (parent: TParent, args: MutationToTranslationsRemoveArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToUpdatedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToWebhookSubscriptionCreateArgs { + topic: WebhookSubscriptionTopic; + webhookSubscription: WebhookSubscriptionInput; + } + export interface MutationToWebhookSubscriptionCreateResolver { + (parent: TParent, args: MutationToWebhookSubscriptionCreateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToVariantBySelectedOptionsArgs { - selectedOptions: Array; + export interface MutationToWebhookSubscriptionDeleteArgs { + id: string; } - export interface ProductToVariantBySelectedOptionsResolver { - (parent: TParent, args: ProductToVariantBySelectedOptionsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToWebhookSubscriptionDeleteResolver { + (parent: TParent, args: MutationToWebhookSubscriptionDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToVariantsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: ProductVariantSortKeys; + export interface MutationToWebhookSubscriptionUpdateArgs { + id: string; + webhookSubscription: WebhookSubscriptionInput; } - export interface ProductToVariantsResolver { - (parent: TParent, args: ProductToVariantsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MutationToWebhookSubscriptionUpdateResolver { + (parent: TParent, args: MutationToWebhookSubscriptionUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductToVendorResolver { + export interface AppCreditCreatePayloadTypeResolver { + appCredit?: AppCreditCreatePayloadToAppCreditResolver; + userErrors?: AppCreditCreatePayloadToUserErrorsResolver; + } + + export interface AppCreditCreatePayloadToAppCreditResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface HasMetafieldsTypeResolver { - (parent: TParent, context: any, info: GraphQLResolveInfo): 'Product' | 'ProductVariant'; + export interface AppCreditCreatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldTypeResolver { - createdAt?: MetafieldToCreatedAtResolver; - description?: MetafieldToDescriptionResolver; - id?: MetafieldToIdResolver; - key?: MetafieldToKeyResolver; - namespace?: MetafieldToNamespaceResolver; - parentResource?: MetafieldToParentResourceResolver; - updatedAt?: MetafieldToUpdatedAtResolver; - value?: MetafieldToValueResolver; - valueType?: MetafieldToValueTypeResolver; + + export interface AppPurchaseOneTimeCreatePayloadTypeResolver { + appPurchaseOneTime?: AppPurchaseOneTimeCreatePayloadToAppPurchaseOneTimeResolver; + confirmationUrl?: AppPurchaseOneTimeCreatePayloadToConfirmationUrlResolver; + userErrors?: AppPurchaseOneTimeCreatePayloadToUserErrorsResolver; } - export interface MetafieldToCreatedAtResolver { + export interface AppPurchaseOneTimeCreatePayloadToAppPurchaseOneTimeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldToDescriptionResolver { + export interface AppPurchaseOneTimeCreatePayloadToConfirmationUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldToIdResolver { + export interface AppPurchaseOneTimeCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldToKeyResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface AppSubscriptionCancelPayloadTypeResolver { + appSubscription?: AppSubscriptionCancelPayloadToAppSubscriptionResolver; + userErrors?: AppSubscriptionCancelPayloadToUserErrorsResolver; } - export interface MetafieldToNamespaceResolver { + export interface AppSubscriptionCancelPayloadToAppSubscriptionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldToParentResourceResolver { + export interface AppSubscriptionCancelPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldToUpdatedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface AppSubscriptionCreatePayloadTypeResolver { + appSubscription?: AppSubscriptionCreatePayloadToAppSubscriptionResolver; + confirmationUrl?: AppSubscriptionCreatePayloadToConfirmationUrlResolver; + userErrors?: AppSubscriptionCreatePayloadToUserErrorsResolver; } - export interface MetafieldToValueResolver { + export interface AppSubscriptionCreatePayloadToAppSubscriptionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldToValueTypeResolver { + export interface AppSubscriptionCreatePayloadToConfirmationUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldParentResourceTypeResolver { - (parent: TParent, context: any, info: GraphQLResolveInfo): 'Product' | 'ProductVariant'; + export interface AppSubscriptionCreatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantTypeResolver { - available?: ProductVariantToAvailableResolver; - availableForSale?: ProductVariantToAvailableForSaleResolver; - compareAtPrice?: ProductVariantToCompareAtPriceResolver; - compareAtPriceV2?: ProductVariantToCompareAtPriceV2Resolver; - currentlyNotInStock?: ProductVariantToCurrentlyNotInStockResolver; - id?: ProductVariantToIdResolver; - image?: ProductVariantToImageResolver; - metafield?: ProductVariantToMetafieldResolver; - metafields?: ProductVariantToMetafieldsResolver; - presentmentPrices?: ProductVariantToPresentmentPricesResolver; - presentmentUnitPrices?: ProductVariantToPresentmentUnitPricesResolver; - price?: ProductVariantToPriceResolver; - priceV2?: ProductVariantToPriceV2Resolver; - product?: ProductVariantToProductResolver; - quantityAvailable?: ProductVariantToQuantityAvailableResolver; - requiresShipping?: ProductVariantToRequiresShippingResolver; - selectedOptions?: ProductVariantToSelectedOptionsResolver; - sku?: ProductVariantToSkuResolver; - title?: ProductVariantToTitleResolver; - unitPrice?: ProductVariantToUnitPriceResolver; - unitPriceMeasurement?: ProductVariantToUnitPriceMeasurementResolver; - weight?: ProductVariantToWeightResolver; - weightUnit?: ProductVariantToWeightUnitResolver; + + export interface AppSubscriptionLineItemUpdatePayloadTypeResolver { + appSubscription?: AppSubscriptionLineItemUpdatePayloadToAppSubscriptionResolver; + confirmationUrl?: AppSubscriptionLineItemUpdatePayloadToConfirmationUrlResolver; + userErrors?: AppSubscriptionLineItemUpdatePayloadToUserErrorsResolver; } - export interface ProductVariantToAvailableResolver { + export interface AppSubscriptionLineItemUpdatePayloadToAppSubscriptionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToAvailableForSaleResolver { + export interface AppSubscriptionLineItemUpdatePayloadToConfirmationUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToCompareAtPriceResolver { + export interface AppSubscriptionLineItemUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToCompareAtPriceV2Resolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface AppUsageRecordCreatePayloadTypeResolver { + appUsageRecord?: AppUsageRecordCreatePayloadToAppUsageRecordResolver; + userErrors?: AppUsageRecordCreatePayloadToUserErrorsResolver; } - export interface ProductVariantToCurrentlyNotInStockResolver { + export interface AppUsageRecordCreatePayloadToAppUsageRecordResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToIdResolver { + export interface AppUsageRecordCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToImageArgs { - maxWidth?: number; - maxHeight?: number; - crop?: CropRegion; - scale?: number; + export interface BulkOperationCancelPayloadTypeResolver { + bulkOperation?: BulkOperationCancelPayloadToBulkOperationResolver; + userErrors?: BulkOperationCancelPayloadToUserErrorsResolver; } - export interface ProductVariantToImageResolver { - (parent: TParent, args: ProductVariantToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface BulkOperationCancelPayloadToBulkOperationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToMetafieldArgs { - namespace: string; - key: string; + export interface BulkOperationCancelPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToMetafieldResolver { - (parent: TParent, args: ProductVariantToMetafieldArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface BulkOperationRunQueryPayloadTypeResolver { + bulkOperation?: BulkOperationRunQueryPayloadToBulkOperationResolver; + userErrors?: BulkOperationRunQueryPayloadToUserErrorsResolver; } - export interface ProductVariantToMetafieldsArgs { - namespace?: string; - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface BulkOperationRunQueryPayloadToBulkOperationResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToMetafieldsResolver { - (parent: TParent, args: ProductVariantToMetafieldsArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface BulkOperationRunQueryPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToPresentmentPricesArgs { - presentmentCurrencies?: Array; - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface CollectionAddProductsPayloadTypeResolver { + collection?: CollectionAddProductsPayloadToCollectionResolver; + userErrors?: CollectionAddProductsPayloadToUserErrorsResolver; } - export interface ProductVariantToPresentmentPricesResolver { - (parent: TParent, args: ProductVariantToPresentmentPricesArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface CollectionAddProductsPayloadToCollectionResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToPresentmentUnitPricesArgs { - presentmentCurrencies?: Array; - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface CollectionAddProductsPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToPresentmentUnitPricesResolver { - (parent: TParent, args: ProductVariantToPresentmentUnitPricesArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface CollectionCreatePayloadTypeResolver { + collection?: CollectionCreatePayloadToCollectionResolver; + userErrors?: CollectionCreatePayloadToUserErrorsResolver; } - export interface ProductVariantToPriceResolver { + export interface CollectionCreatePayloadToCollectionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToPriceV2Resolver { + export interface CollectionCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToProductResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface CollectionDeletePayloadTypeResolver { + deletedCollectionId?: CollectionDeletePayloadToDeletedCollectionIdResolver; + shop?: CollectionDeletePayloadToShopResolver; + userErrors?: CollectionDeletePayloadToUserErrorsResolver; } - export interface ProductVariantToQuantityAvailableResolver { + export interface CollectionDeletePayloadToDeletedCollectionIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToRequiresShippingResolver { + export interface CollectionDeletePayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToSelectedOptionsResolver { + export interface CollectionDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToSkuResolver { + export interface CollectionPublishPayloadTypeResolver { + collection?: CollectionPublishPayloadToCollectionResolver; + collectionPublications?: CollectionPublishPayloadToCollectionPublicationsResolver; + shop?: CollectionPublishPayloadToShopResolver; + userErrors?: CollectionPublishPayloadToUserErrorsResolver; + } + + export interface CollectionPublishPayloadToCollectionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToTitleResolver { + export interface CollectionPublishPayloadToCollectionPublicationsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToUnitPriceResolver { + export interface CollectionPublishPayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToUnitPriceMeasurementResolver { + export interface CollectionPublishPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToWeightResolver { + export interface CollectionRemoveProductsPayloadTypeResolver { + job?: CollectionRemoveProductsPayloadToJobResolver; + userErrors?: CollectionRemoveProductsPayloadToUserErrorsResolver; + } + + export interface CollectionRemoveProductsPayloadToJobResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantToWeightUnitResolver { + export interface CollectionRemoveProductsPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MoneyV2TypeResolver { - amount?: MoneyV2ToAmountResolver; - currencyCode?: MoneyV2ToCurrencyCodeResolver; + export interface CollectionReorderProductsPayloadTypeResolver { + job?: CollectionReorderProductsPayloadToJobResolver; + userErrors?: CollectionReorderProductsPayloadToUserErrorsResolver; } - export interface MoneyV2ToAmountResolver { + export interface CollectionReorderProductsPayloadToJobResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MoneyV2ToCurrencyCodeResolver { + export interface CollectionReorderProductsPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldConnectionTypeResolver { - edges?: MetafieldConnectionToEdgesResolver; - pageInfo?: MetafieldConnectionToPageInfoResolver; + export interface CollectionUnpublishPayloadTypeResolver { + collection?: CollectionUnpublishPayloadToCollectionResolver; + shop?: CollectionUnpublishPayloadToShopResolver; + userErrors?: CollectionUnpublishPayloadToUserErrorsResolver; } - export interface MetafieldConnectionToEdgesResolver { + export interface CollectionUnpublishPayloadToCollectionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldConnectionToPageInfoResolver { + export interface CollectionUnpublishPayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldEdgeTypeResolver { - cursor?: MetafieldEdgeToCursorResolver; - node?: MetafieldEdgeToNodeResolver; + export interface CollectionUnpublishPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldEdgeToCursorResolver { + export interface CollectionUpdatePayloadTypeResolver { + collection?: CollectionUpdatePayloadToCollectionResolver; + job?: CollectionUpdatePayloadToJobResolver; + userErrors?: CollectionUpdatePayloadToUserErrorsResolver; + } + + export interface CollectionUpdatePayloadToCollectionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MetafieldEdgeToNodeResolver { + export interface CollectionUpdatePayloadToJobResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantPricePairConnectionTypeResolver { - edges?: ProductVariantPricePairConnectionToEdgesResolver; - pageInfo?: ProductVariantPricePairConnectionToPageInfoResolver; + export interface CollectionUpdatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantPricePairConnectionToEdgesResolver { + export interface CustomerAddTaxExemptionsPayloadTypeResolver { + customer?: CustomerAddTaxExemptionsPayloadToCustomerResolver; + userErrors?: CustomerAddTaxExemptionsPayloadToUserErrorsResolver; + } + + export interface CustomerAddTaxExemptionsPayloadToCustomerResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantPricePairConnectionToPageInfoResolver { + export interface CustomerAddTaxExemptionsPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantPricePairEdgeTypeResolver { - cursor?: ProductVariantPricePairEdgeToCursorResolver; - node?: ProductVariantPricePairEdgeToNodeResolver; + export interface CustomerCreatePayloadTypeResolver { + customer?: CustomerCreatePayloadToCustomerResolver; + userErrors?: CustomerCreatePayloadToUserErrorsResolver; } - export interface ProductVariantPricePairEdgeToCursorResolver { + export interface CustomerCreatePayloadToCustomerResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantPricePairEdgeToNodeResolver { + export interface CustomerCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantPricePairTypeResolver { - compareAtPrice?: ProductVariantPricePairToCompareAtPriceResolver; - price?: ProductVariantPricePairToPriceResolver; + export interface CustomerDeletePayloadTypeResolver { + deletedCustomerId?: CustomerDeletePayloadToDeletedCustomerIdResolver; + shop?: CustomerDeletePayloadToShopResolver; + userErrors?: CustomerDeletePayloadToUserErrorsResolver; } - export interface ProductVariantPricePairToCompareAtPriceResolver { + export interface CustomerDeletePayloadToDeletedCustomerIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantPricePairToPriceResolver { + export interface CustomerDeletePayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MoneyV2ConnectionTypeResolver { - edges?: MoneyV2ConnectionToEdgesResolver; - pageInfo?: MoneyV2ConnectionToPageInfoResolver; + export interface CustomerDeletePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CustomerGenerateAccountActivationUrlPayloadTypeResolver { + accountActivationUrl?: CustomerGenerateAccountActivationUrlPayloadToAccountActivationUrlResolver; + userErrors?: CustomerGenerateAccountActivationUrlPayloadToUserErrorsResolver; } - export interface MoneyV2ConnectionToEdgesResolver { + export interface CustomerGenerateAccountActivationUrlPayloadToAccountActivationUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MoneyV2ConnectionToPageInfoResolver { + export interface CustomerGenerateAccountActivationUrlPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MoneyV2EdgeTypeResolver { - cursor?: MoneyV2EdgeToCursorResolver; - node?: MoneyV2EdgeToNodeResolver; + export interface CustomerRemoveTaxExemptionsPayloadTypeResolver { + customer?: CustomerRemoveTaxExemptionsPayloadToCustomerResolver; + userErrors?: CustomerRemoveTaxExemptionsPayloadToUserErrorsResolver; } - export interface MoneyV2EdgeToCursorResolver { + export interface CustomerRemoveTaxExemptionsPayloadToCustomerResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MoneyV2EdgeToNodeResolver { + export interface CustomerRemoveTaxExemptionsPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface SelectedOptionTypeResolver { - name?: SelectedOptionToNameResolver; - value?: SelectedOptionToValueResolver; + export interface CustomerReplaceTaxExemptionsPayloadTypeResolver { + customer?: CustomerReplaceTaxExemptionsPayloadToCustomerResolver; + userErrors?: CustomerReplaceTaxExemptionsPayloadToUserErrorsResolver; } - export interface SelectedOptionToNameResolver { + export interface CustomerReplaceTaxExemptionsPayloadToCustomerResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface SelectedOptionToValueResolver { + export interface CustomerReplaceTaxExemptionsPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface UnitPriceMeasurementTypeResolver { - measuredType?: UnitPriceMeasurementToMeasuredTypeResolver; - quantityUnit?: UnitPriceMeasurementToQuantityUnitResolver; - quantityValue?: UnitPriceMeasurementToQuantityValueResolver; - referenceUnit?: UnitPriceMeasurementToReferenceUnitResolver; - referenceValue?: UnitPriceMeasurementToReferenceValueResolver; + export interface CustomerUpdatePayloadTypeResolver { + customer?: CustomerUpdatePayloadToCustomerResolver; + userErrors?: CustomerUpdatePayloadToUserErrorsResolver; } - export interface UnitPriceMeasurementToMeasuredTypeResolver { + export interface CustomerUpdatePayloadToCustomerResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface UnitPriceMeasurementToQuantityUnitResolver { + export interface CustomerUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface UnitPriceMeasurementToQuantityValueResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface CustomerUpdateDefaultAddressPayloadTypeResolver { + customer?: CustomerUpdateDefaultAddressPayloadToCustomerResolver; + userErrors?: CustomerUpdateDefaultAddressPayloadToUserErrorsResolver; } - export interface UnitPriceMeasurementToReferenceUnitResolver { + export interface CustomerUpdateDefaultAddressPayloadToCustomerResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface UnitPriceMeasurementToReferenceValueResolver { + export interface CustomerUpdateDefaultAddressPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionConnectionTypeResolver { - edges?: CollectionConnectionToEdgesResolver; - pageInfo?: CollectionConnectionToPageInfoResolver; + export interface deliveryProfileCreatePayloadTypeResolver { + profile?: deliveryProfileCreatePayloadToProfileResolver; + userErrors?: deliveryProfileCreatePayloadToUserErrorsResolver; } - export interface CollectionConnectionToEdgesResolver { + export interface deliveryProfileCreatePayloadToProfileResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionConnectionToPageInfoResolver { + export interface deliveryProfileCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionEdgeTypeResolver { - cursor?: CollectionEdgeToCursorResolver; - node?: CollectionEdgeToNodeResolver; + export interface deliveryProfileRemovePayloadTypeResolver { + job?: deliveryProfileRemovePayloadToJobResolver; + userErrors?: deliveryProfileRemovePayloadToUserErrorsResolver; } - export interface CollectionEdgeToCursorResolver { + export interface deliveryProfileRemovePayloadToJobResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CollectionEdgeToNodeResolver { + export interface deliveryProfileRemovePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductPriceRangeTypeResolver { - maxVariantPrice?: ProductPriceRangeToMaxVariantPriceResolver; - minVariantPrice?: ProductPriceRangeToMinVariantPriceResolver; + export interface deliveryProfileUpdatePayloadTypeResolver { + profile?: deliveryProfileUpdatePayloadToProfileResolver; + userErrors?: deliveryProfileUpdatePayloadToUserErrorsResolver; } - export interface ProductPriceRangeToMaxVariantPriceResolver { + export interface deliveryProfileUpdatePayloadToProfileResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductPriceRangeToMinVariantPriceResolver { + export interface deliveryProfileUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ImageConnectionTypeResolver { - edges?: ImageConnectionToEdgesResolver; - pageInfo?: ImageConnectionToPageInfoResolver; + export interface DeliverySettingUpdatePayloadTypeResolver { + setting?: DeliverySettingUpdatePayloadToSettingResolver; + userErrors?: DeliverySettingUpdatePayloadToUserErrorsResolver; } - export interface ImageConnectionToEdgesResolver { + export interface DeliverySettingUpdatePayloadToSettingResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ImageConnectionToPageInfoResolver { + export interface DeliverySettingUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ImageEdgeTypeResolver { - cursor?: ImageEdgeToCursorResolver; - node?: ImageEdgeToNodeResolver; + export interface DeliveryShippingOriginAssignPayloadTypeResolver { + userErrors?: DeliveryShippingOriginAssignPayloadToUserErrorsResolver; } - export interface ImageEdgeToCursorResolver { + export interface DeliveryShippingOriginAssignPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ImageEdgeToNodeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface DiscountAutomaticActivatePayloadTypeResolver { + automaticDiscountNode?: DiscountAutomaticActivatePayloadToAutomaticDiscountNodeResolver; + userErrors?: DiscountAutomaticActivatePayloadToUserErrorsResolver; } - export interface MediaConnectionTypeResolver { - edges?: MediaConnectionToEdgesResolver; - pageInfo?: MediaConnectionToPageInfoResolver; + export interface DiscountAutomaticActivatePayloadToAutomaticDiscountNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MediaConnectionToEdgesResolver { + export interface DiscountAutomaticActivatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MediaConnectionToPageInfoResolver { + export interface DiscountUserErrorTypeResolver { + code?: DiscountUserErrorToCodeResolver; + extraInfo?: DiscountUserErrorToExtraInfoResolver; + field?: DiscountUserErrorToFieldResolver; + message?: DiscountUserErrorToMessageResolver; + } + + export interface DiscountUserErrorToCodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MediaEdgeTypeResolver { - cursor?: MediaEdgeToCursorResolver; - node?: MediaEdgeToNodeResolver; + export interface DiscountUserErrorToExtraInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MediaEdgeToCursorResolver { + export interface DiscountUserErrorToFieldResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MediaEdgeToNodeResolver { + export interface DiscountUserErrorToMessageResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MediaTypeResolver { - (parent: TParent, context: any, info: GraphQLResolveInfo): 'ExternalVideo' | 'MediaImage' | 'Model3d' | 'Video'; + export interface DiscountAutomaticBasicCreatePayloadTypeResolver { + automaticDiscountNode?: DiscountAutomaticBasicCreatePayloadToAutomaticDiscountNodeResolver; + userErrors?: DiscountAutomaticBasicCreatePayloadToUserErrorsResolver; } - export interface ProductOptionTypeResolver { - id?: ProductOptionToIdResolver; - name?: ProductOptionToNameResolver; - values?: ProductOptionToValuesResolver; + + export interface DiscountAutomaticBasicCreatePayloadToAutomaticDiscountNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductOptionToIdResolver { + export interface DiscountAutomaticBasicCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductOptionToNameResolver { + export interface DiscountAutomaticBasicUpdatePayloadTypeResolver { + automaticDiscountNode?: DiscountAutomaticBasicUpdatePayloadToAutomaticDiscountNodeResolver; + userErrors?: DiscountAutomaticBasicUpdatePayloadToUserErrorsResolver; + } + + export interface DiscountAutomaticBasicUpdatePayloadToAutomaticDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductOptionToValuesResolver { + export interface DiscountAutomaticBasicUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductPriceRangeConnectionTypeResolver { - edges?: ProductPriceRangeConnectionToEdgesResolver; - pageInfo?: ProductPriceRangeConnectionToPageInfoResolver; + export interface DiscountAutomaticBulkDeletePayloadTypeResolver { + job?: DiscountAutomaticBulkDeletePayloadToJobResolver; + userErrors?: DiscountAutomaticBulkDeletePayloadToUserErrorsResolver; } - export interface ProductPriceRangeConnectionToEdgesResolver { + export interface DiscountAutomaticBulkDeletePayloadToJobResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductPriceRangeConnectionToPageInfoResolver { + export interface DiscountAutomaticBulkDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductPriceRangeEdgeTypeResolver { - cursor?: ProductPriceRangeEdgeToCursorResolver; - node?: ProductPriceRangeEdgeToNodeResolver; + export interface DiscountAutomaticBxgyCreatePayloadTypeResolver { + automaticDiscountNode?: DiscountAutomaticBxgyCreatePayloadToAutomaticDiscountNodeResolver; + userErrors?: DiscountAutomaticBxgyCreatePayloadToUserErrorsResolver; } - export interface ProductPriceRangeEdgeToCursorResolver { + export interface DiscountAutomaticBxgyCreatePayloadToAutomaticDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductPriceRangeEdgeToNodeResolver { + export interface DiscountAutomaticBxgyCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantConnectionTypeResolver { - edges?: ProductVariantConnectionToEdgesResolver; - pageInfo?: ProductVariantConnectionToPageInfoResolver; + export interface DiscountAutomaticBxgyUpdatePayloadTypeResolver { + automaticDiscountNode?: DiscountAutomaticBxgyUpdatePayloadToAutomaticDiscountNodeResolver; + userErrors?: DiscountAutomaticBxgyUpdatePayloadToUserErrorsResolver; } - export interface ProductVariantConnectionToEdgesResolver { + export interface DiscountAutomaticBxgyUpdatePayloadToAutomaticDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantConnectionToPageInfoResolver { + export interface DiscountAutomaticBxgyUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantEdgeTypeResolver { - cursor?: ProductVariantEdgeToCursorResolver; - node?: ProductVariantEdgeToNodeResolver; + export interface DiscountAutomaticDeactivatePayloadTypeResolver { + automaticDiscountNode?: DiscountAutomaticDeactivatePayloadToAutomaticDiscountNodeResolver; + userErrors?: DiscountAutomaticDeactivatePayloadToUserErrorsResolver; } - export interface ProductVariantEdgeToCursorResolver { + export interface DiscountAutomaticDeactivatePayloadToAutomaticDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ProductVariantEdgeToNodeResolver { + export interface DiscountAutomaticDeactivatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerTypeResolver { - acceptsMarketing?: CustomerToAcceptsMarketingResolver; - addresses?: CustomerToAddressesResolver; - createdAt?: CustomerToCreatedAtResolver; - defaultAddress?: CustomerToDefaultAddressResolver; - displayName?: CustomerToDisplayNameResolver; - email?: CustomerToEmailResolver; - firstName?: CustomerToFirstNameResolver; - id?: CustomerToIdResolver; - lastIncompleteCheckout?: CustomerToLastIncompleteCheckoutResolver; - lastName?: CustomerToLastNameResolver; - orders?: CustomerToOrdersResolver; - phone?: CustomerToPhoneResolver; - tags?: CustomerToTagsResolver; - updatedAt?: CustomerToUpdatedAtResolver; + export interface DiscountAutomaticDeletePayloadTypeResolver { + deletedAutomaticDiscountId?: DiscountAutomaticDeletePayloadToDeletedAutomaticDiscountIdResolver; + userErrors?: DiscountAutomaticDeletePayloadToUserErrorsResolver; } - export interface CustomerToAcceptsMarketingResolver { + export interface DiscountAutomaticDeletePayloadToDeletedAutomaticDiscountIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToAddressesArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface DiscountAutomaticDeletePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToAddressesResolver { - (parent: TParent, args: CustomerToAddressesArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface DiscountCodeActivatePayloadTypeResolver { + codeDiscountNode?: DiscountCodeActivatePayloadToCodeDiscountNodeResolver; + userErrors?: DiscountCodeActivatePayloadToUserErrorsResolver; } - export interface CustomerToCreatedAtResolver { + export interface DiscountCodeActivatePayloadToCodeDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToDefaultAddressResolver { + export interface DiscountCodeActivatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToDisplayNameResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface DiscountCodeBasicCreatePayloadTypeResolver { + codeDiscountNode?: DiscountCodeBasicCreatePayloadToCodeDiscountNodeResolver; + userErrors?: DiscountCodeBasicCreatePayloadToUserErrorsResolver; } - export interface CustomerToEmailResolver { + export interface DiscountCodeBasicCreatePayloadToCodeDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToFirstNameResolver { + export interface DiscountCodeBasicCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface DiscountCodeBasicUpdatePayloadTypeResolver { + codeDiscountNode?: DiscountCodeBasicUpdatePayloadToCodeDiscountNodeResolver; + userErrors?: DiscountCodeBasicUpdatePayloadToUserErrorsResolver; } - export interface CustomerToLastIncompleteCheckoutResolver { + export interface DiscountCodeBasicUpdatePayloadToCodeDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToLastNameResolver { + export interface DiscountCodeBasicUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToOrdersArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: OrderSortKeys; - query?: string; + export interface DiscountCodeBxgyCreatePayloadTypeResolver { + codeDiscountNode?: DiscountCodeBxgyCreatePayloadToCodeDiscountNodeResolver; + userErrors?: DiscountCodeBxgyCreatePayloadToUserErrorsResolver; } - export interface CustomerToOrdersResolver { - (parent: TParent, args: CustomerToOrdersArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface DiscountCodeBxgyCreatePayloadToCodeDiscountNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToPhoneResolver { + export interface DiscountCodeBxgyCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToTagsResolver { + export interface DiscountCodeBxgyUpdatePayloadTypeResolver { + codeDiscountNode?: DiscountCodeBxgyUpdatePayloadToCodeDiscountNodeResolver; + userErrors?: DiscountCodeBxgyUpdatePayloadToUserErrorsResolver; + } + + export interface DiscountCodeBxgyUpdatePayloadToCodeDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerToUpdatedAtResolver { + export interface DiscountCodeBxgyUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressConnectionTypeResolver { - edges?: MailingAddressConnectionToEdgesResolver; - pageInfo?: MailingAddressConnectionToPageInfoResolver; + export interface DiscountCodeDeactivatePayloadTypeResolver { + codeDiscountNode?: DiscountCodeDeactivatePayloadToCodeDiscountNodeResolver; + userErrors?: DiscountCodeDeactivatePayloadToUserErrorsResolver; } - export interface MailingAddressConnectionToEdgesResolver { + export interface DiscountCodeDeactivatePayloadToCodeDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressConnectionToPageInfoResolver { + export interface DiscountCodeDeactivatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressEdgeTypeResolver { - cursor?: MailingAddressEdgeToCursorResolver; - node?: MailingAddressEdgeToNodeResolver; + export interface DiscountCodeDeletePayloadTypeResolver { + deletedCodeDiscountId?: DiscountCodeDeletePayloadToDeletedCodeDiscountIdResolver; + userErrors?: DiscountCodeDeletePayloadToUserErrorsResolver; } - export interface MailingAddressEdgeToCursorResolver { + export interface DiscountCodeDeletePayloadToDeletedCodeDiscountIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressEdgeToNodeResolver { + export interface DiscountCodeDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressTypeResolver { - address1?: MailingAddressToAddress1Resolver; - address2?: MailingAddressToAddress2Resolver; - city?: MailingAddressToCityResolver; - company?: MailingAddressToCompanyResolver; - country?: MailingAddressToCountryResolver; - countryCode?: MailingAddressToCountryCodeResolver; - countryCodeV2?: MailingAddressToCountryCodeV2Resolver; - firstName?: MailingAddressToFirstNameResolver; - formatted?: MailingAddressToFormattedResolver; - formattedArea?: MailingAddressToFormattedAreaResolver; - id?: MailingAddressToIdResolver; - lastName?: MailingAddressToLastNameResolver; - latitude?: MailingAddressToLatitudeResolver; - longitude?: MailingAddressToLongitudeResolver; - name?: MailingAddressToNameResolver; - phone?: MailingAddressToPhoneResolver; - province?: MailingAddressToProvinceResolver; - provinceCode?: MailingAddressToProvinceCodeResolver; - zip?: MailingAddressToZipResolver; + export interface DiscountCodeFreeShippingCreatePayloadTypeResolver { + codeDiscountNode?: DiscountCodeFreeShippingCreatePayloadToCodeDiscountNodeResolver; + userErrors?: DiscountCodeFreeShippingCreatePayloadToUserErrorsResolver; } - export interface MailingAddressToAddress1Resolver { + export interface DiscountCodeFreeShippingCreatePayloadToCodeDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToAddress2Resolver { + export interface DiscountCodeFreeShippingCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToCityResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface DiscountCodeFreeShippingUpdatePayloadTypeResolver { + codeDiscountNode?: DiscountCodeFreeShippingUpdatePayloadToCodeDiscountNodeResolver; + userErrors?: DiscountCodeFreeShippingUpdatePayloadToUserErrorsResolver; } - export interface MailingAddressToCompanyResolver { + export interface DiscountCodeFreeShippingUpdatePayloadToCodeDiscountNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToCountryResolver { + export interface DiscountCodeFreeShippingUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToCountryCodeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface DraftOrderCalculatePayloadTypeResolver { + calculatedDraftOrder?: DraftOrderCalculatePayloadToCalculatedDraftOrderResolver; + userErrors?: DraftOrderCalculatePayloadToUserErrorsResolver; } - export interface MailingAddressToCountryCodeV2Resolver { + export interface DraftOrderCalculatePayloadToCalculatedDraftOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToFirstNameResolver { + export interface DraftOrderCalculatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToFormattedArgs { - withName?: boolean; - withCompany?: boolean; - } - export interface MailingAddressToFormattedResolver { - (parent: TParent, args: MailingAddressToFormattedArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedDraftOrderTypeResolver { + appliedDiscount?: CalculatedDraftOrderToAppliedDiscountResolver; + availableShippingRates?: CalculatedDraftOrderToAvailableShippingRatesResolver; + customer?: CalculatedDraftOrderToCustomerResolver; + lineItems?: CalculatedDraftOrderToLineItemsResolver; + shippingLine?: CalculatedDraftOrderToShippingLineResolver; + subtotalPrice?: CalculatedDraftOrderToSubtotalPriceResolver; + taxLines?: CalculatedDraftOrderToTaxLinesResolver; + totalPrice?: CalculatedDraftOrderToTotalPriceResolver; + totalShippingPrice?: CalculatedDraftOrderToTotalShippingPriceResolver; + totalTax?: CalculatedDraftOrderToTotalTaxResolver; } - export interface MailingAddressToFormattedAreaResolver { + export interface CalculatedDraftOrderToAppliedDiscountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToIdResolver { + export interface CalculatedDraftOrderToAvailableShippingRatesResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToLastNameResolver { + export interface CalculatedDraftOrderToCustomerResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToLatitudeResolver { + export interface CalculatedDraftOrderToLineItemsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToLongitudeResolver { + export interface CalculatedDraftOrderToShippingLineResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToNameResolver { + export interface CalculatedDraftOrderToSubtotalPriceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToPhoneResolver { + export interface CalculatedDraftOrderToTaxLinesResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToProvinceResolver { + export interface CalculatedDraftOrderToTotalPriceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToProvinceCodeResolver { + export interface CalculatedDraftOrderToTotalShippingPriceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MailingAddressToZipResolver { + export interface CalculatedDraftOrderToTotalTaxResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutTypeResolver { - appliedGiftCards?: CheckoutToAppliedGiftCardsResolver; - availableShippingRates?: CheckoutToAvailableShippingRatesResolver; - completedAt?: CheckoutToCompletedAtResolver; - createdAt?: CheckoutToCreatedAtResolver; - currencyCode?: CheckoutToCurrencyCodeResolver; - customAttributes?: CheckoutToCustomAttributesResolver; - customer?: CheckoutToCustomerResolver; - discountApplications?: CheckoutToDiscountApplicationsResolver; - email?: CheckoutToEmailResolver; - id?: CheckoutToIdResolver; - lineItems?: CheckoutToLineItemsResolver; - lineItemsSubtotalPrice?: CheckoutToLineItemsSubtotalPriceResolver; - note?: CheckoutToNoteResolver; - order?: CheckoutToOrderResolver; - orderStatusUrl?: CheckoutToOrderStatusUrlResolver; - paymentDue?: CheckoutToPaymentDueResolver; - paymentDueV2?: CheckoutToPaymentDueV2Resolver; - ready?: CheckoutToReadyResolver; - requiresShipping?: CheckoutToRequiresShippingResolver; - shippingAddress?: CheckoutToShippingAddressResolver; - shippingDiscountAllocations?: CheckoutToShippingDiscountAllocationsResolver; - shippingLine?: CheckoutToShippingLineResolver; - subtotalPrice?: CheckoutToSubtotalPriceResolver; - subtotalPriceV2?: CheckoutToSubtotalPriceV2Resolver; - taxExempt?: CheckoutToTaxExemptResolver; - taxesIncluded?: CheckoutToTaxesIncludedResolver; - totalPrice?: CheckoutToTotalPriceResolver; - totalPriceV2?: CheckoutToTotalPriceV2Resolver; - totalTax?: CheckoutToTotalTaxResolver; - totalTaxV2?: CheckoutToTotalTaxV2Resolver; - updatedAt?: CheckoutToUpdatedAtResolver; - webUrl?: CheckoutToWebUrlResolver; + export interface ShippingRateTypeResolver { + handle?: ShippingRateToHandleResolver; + price?: ShippingRateToPriceResolver; + title?: ShippingRateToTitleResolver; } - export interface CheckoutToAppliedGiftCardsResolver { + export interface ShippingRateToHandleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToAvailableShippingRatesResolver { + export interface ShippingRateToPriceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToCompletedAtResolver { + export interface ShippingRateToTitleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToCreatedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedDraftOrderLineItemTypeResolver { + appliedDiscount?: CalculatedDraftOrderLineItemToAppliedDiscountResolver; + custom?: CalculatedDraftOrderLineItemToCustomResolver; + customAttributes?: CalculatedDraftOrderLineItemToCustomAttributesResolver; + discountedTotal?: CalculatedDraftOrderLineItemToDiscountedTotalResolver; + discountedUnitPrice?: CalculatedDraftOrderLineItemToDiscountedUnitPriceResolver; + fulfillmentService?: CalculatedDraftOrderLineItemToFulfillmentServiceResolver; + image?: CalculatedDraftOrderLineItemToImageResolver; + isGiftCard?: CalculatedDraftOrderLineItemToIsGiftCardResolver; + name?: CalculatedDraftOrderLineItemToNameResolver; + originalTotal?: CalculatedDraftOrderLineItemToOriginalTotalResolver; + originalUnitPrice?: CalculatedDraftOrderLineItemToOriginalUnitPriceResolver; + product?: CalculatedDraftOrderLineItemToProductResolver; + quantity?: CalculatedDraftOrderLineItemToQuantityResolver; + requiresShipping?: CalculatedDraftOrderLineItemToRequiresShippingResolver; + sku?: CalculatedDraftOrderLineItemToSkuResolver; + taxable?: CalculatedDraftOrderLineItemToTaxableResolver; + title?: CalculatedDraftOrderLineItemToTitleResolver; + totalDiscount?: CalculatedDraftOrderLineItemToTotalDiscountResolver; + variant?: CalculatedDraftOrderLineItemToVariantResolver; + variantTitle?: CalculatedDraftOrderLineItemToVariantTitleResolver; + vendor?: CalculatedDraftOrderLineItemToVendorResolver; + weight?: CalculatedDraftOrderLineItemToWeightResolver; } - export interface CheckoutToCurrencyCodeResolver { + export interface CalculatedDraftOrderLineItemToAppliedDiscountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToCustomAttributesResolver { + export interface CalculatedDraftOrderLineItemToCustomResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToCustomerResolver { + export interface CalculatedDraftOrderLineItemToCustomAttributesResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToDiscountApplicationsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - } - export interface CheckoutToDiscountApplicationsResolver { - (parent: TParent, args: CheckoutToDiscountApplicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedDraftOrderLineItemToDiscountedTotalResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToEmailResolver { + export interface CalculatedDraftOrderLineItemToDiscountedUnitPriceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToIdResolver { + export interface CalculatedDraftOrderLineItemToFulfillmentServiceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToLineItemsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - } - export interface CheckoutToLineItemsResolver { - (parent: TParent, args: CheckoutToLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedDraftOrderLineItemToImageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToLineItemsSubtotalPriceResolver { + export interface CalculatedDraftOrderLineItemToIsGiftCardResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToNoteResolver { + export interface CalculatedDraftOrderLineItemToNameResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToOrderResolver { + export interface CalculatedDraftOrderLineItemToOriginalTotalResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToOrderStatusUrlResolver { + export interface CalculatedDraftOrderLineItemToOriginalUnitPriceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToPaymentDueResolver { + export interface CalculatedDraftOrderLineItemToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToPaymentDueV2Resolver { + export interface CalculatedDraftOrderLineItemToQuantityResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToReadyResolver { + export interface CalculatedDraftOrderLineItemToRequiresShippingResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToRequiresShippingResolver { + export interface CalculatedDraftOrderLineItemToSkuResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToShippingAddressResolver { + export interface CalculatedDraftOrderLineItemToTaxableResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToShippingDiscountAllocationsResolver { + export interface CalculatedDraftOrderLineItemToTitleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToShippingLineResolver { + export interface CalculatedDraftOrderLineItemToTotalDiscountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToSubtotalPriceResolver { + export interface CalculatedDraftOrderLineItemToVariantResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToSubtotalPriceV2Resolver { + export interface CalculatedDraftOrderLineItemToVariantTitleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToTaxExemptResolver { + export interface CalculatedDraftOrderLineItemToVendorResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToTaxesIncludedResolver { + export interface CalculatedDraftOrderLineItemToWeightResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToTotalPriceResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface DraftOrderCompletePayloadTypeResolver { + draftOrder?: DraftOrderCompletePayloadToDraftOrderResolver; + userErrors?: DraftOrderCompletePayloadToUserErrorsResolver; } - export interface CheckoutToTotalPriceV2Resolver { + export interface DraftOrderCompletePayloadToDraftOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToTotalTaxResolver { + export interface DraftOrderCompletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToTotalTaxV2Resolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface DraftOrderCreatePayloadTypeResolver { + draftOrder?: DraftOrderCreatePayloadToDraftOrderResolver; + userErrors?: DraftOrderCreatePayloadToUserErrorsResolver; } - export interface CheckoutToUpdatedAtResolver { + export interface DraftOrderCreatePayloadToDraftOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutToWebUrlResolver { + export interface DraftOrderCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AppliedGiftCardTypeResolver { - amountUsed?: AppliedGiftCardToAmountUsedResolver; - amountUsedV2?: AppliedGiftCardToAmountUsedV2Resolver; - balance?: AppliedGiftCardToBalanceResolver; - balanceV2?: AppliedGiftCardToBalanceV2Resolver; - id?: AppliedGiftCardToIdResolver; - lastCharacters?: AppliedGiftCardToLastCharactersResolver; - presentmentAmountUsed?: AppliedGiftCardToPresentmentAmountUsedResolver; + export interface DraftOrderDeletePayloadTypeResolver { + deletedId?: DraftOrderDeletePayloadToDeletedIdResolver; + userErrors?: DraftOrderDeletePayloadToUserErrorsResolver; } - export interface AppliedGiftCardToAmountUsedResolver { + export interface DraftOrderDeletePayloadToDeletedIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AppliedGiftCardToAmountUsedV2Resolver { + export interface DraftOrderDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AppliedGiftCardToBalanceResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface DraftOrderInvoicePreviewPayloadTypeResolver { + previewHtml?: DraftOrderInvoicePreviewPayloadToPreviewHtmlResolver; + userErrors?: DraftOrderInvoicePreviewPayloadToUserErrorsResolver; } - export interface AppliedGiftCardToBalanceV2Resolver { + export interface DraftOrderInvoicePreviewPayloadToPreviewHtmlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AppliedGiftCardToIdResolver { + export interface DraftOrderInvoicePreviewPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AppliedGiftCardToLastCharactersResolver { + export interface DraftOrderInvoiceSendPayloadTypeResolver { + draftOrder?: DraftOrderInvoiceSendPayloadToDraftOrderResolver; + userErrors?: DraftOrderInvoiceSendPayloadToUserErrorsResolver; + } + + export interface DraftOrderInvoiceSendPayloadToDraftOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AppliedGiftCardToPresentmentAmountUsedResolver { + export interface DraftOrderInvoiceSendPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AvailableShippingRatesTypeResolver { - ready?: AvailableShippingRatesToReadyResolver; - shippingRates?: AvailableShippingRatesToShippingRatesResolver; + export interface DraftOrderUpdatePayloadTypeResolver { + draftOrder?: DraftOrderUpdatePayloadToDraftOrderResolver; + userErrors?: DraftOrderUpdatePayloadToUserErrorsResolver; } - export interface AvailableShippingRatesToReadyResolver { + export interface DraftOrderUpdatePayloadToDraftOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AvailableShippingRatesToShippingRatesResolver { + export interface DraftOrderUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShippingRateTypeResolver { - handle?: ShippingRateToHandleResolver; - price?: ShippingRateToPriceResolver; - priceV2?: ShippingRateToPriceV2Resolver; - title?: ShippingRateToTitleResolver; + export interface FlowTriggerReceivePayloadTypeResolver { + userErrors?: FlowTriggerReceivePayloadToUserErrorsResolver; } - export interface ShippingRateToHandleResolver { + export interface FlowTriggerReceivePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShippingRateToPriceResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface FulfillmentCancelPayloadTypeResolver { + fulfillment?: FulfillmentCancelPayloadToFulfillmentResolver; + userErrors?: FulfillmentCancelPayloadToUserErrorsResolver; } - export interface ShippingRateToPriceV2Resolver { + export interface FulfillmentCancelPayloadToFulfillmentResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShippingRateToTitleResolver { + export interface FulfillmentCancelPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AttributeTypeResolver { - key?: AttributeToKeyResolver; - value?: AttributeToValueResolver; + export interface FulfillmentCreatePayloadTypeResolver { + fulfillment?: FulfillmentCreatePayloadToFulfillmentResolver; + order?: FulfillmentCreatePayloadToOrderResolver; + userErrors?: FulfillmentCreatePayloadToUserErrorsResolver; } - export interface AttributeToKeyResolver { + export interface FulfillmentCreatePayloadToFulfillmentResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AttributeToValueResolver { + export interface FulfillmentCreatePayloadToOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountApplicationConnectionTypeResolver { - edges?: DiscountApplicationConnectionToEdgesResolver; - pageInfo?: DiscountApplicationConnectionToPageInfoResolver; + export interface FulfillmentCreatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountApplicationConnectionToEdgesResolver { + export interface FulfillmentCreateV2PayloadTypeResolver { + fulfillment?: FulfillmentCreateV2PayloadToFulfillmentResolver; + userErrors?: FulfillmentCreateV2PayloadToUserErrorsResolver; + } + + export interface FulfillmentCreateV2PayloadToFulfillmentResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountApplicationConnectionToPageInfoResolver { + export interface FulfillmentCreateV2PayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountApplicationEdgeTypeResolver { - cursor?: DiscountApplicationEdgeToCursorResolver; - node?: DiscountApplicationEdgeToNodeResolver; + export interface FulfillmentOrderAcceptCancellationRequestPayloadTypeResolver { + fulfillmentOrder?: FulfillmentOrderAcceptCancellationRequestPayloadToFulfillmentOrderResolver; + userErrors?: FulfillmentOrderAcceptCancellationRequestPayloadToUserErrorsResolver; } - export interface DiscountApplicationEdgeToCursorResolver { + export interface FulfillmentOrderAcceptCancellationRequestPayloadToFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountApplicationEdgeToNodeResolver { + export interface FulfillmentOrderAcceptCancellationRequestPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountApplicationTypeResolver { - (parent: TParent, context: any, info: GraphQLResolveInfo): 'AutomaticDiscountApplication' | 'DiscountCodeApplication' | 'ManualDiscountApplication' | 'ScriptDiscountApplication'; - } - export interface PricingValueTypeResolver { - (parent: TParent, context: any, info: GraphQLResolveInfo): 'PricingPercentageValue' | 'MoneyV2'; + export interface FulfillmentOrderAcceptFulfillmentRequestPayloadTypeResolver { + fulfillmentOrder?: FulfillmentOrderAcceptFulfillmentRequestPayloadToFulfillmentOrderResolver; + userErrors?: FulfillmentOrderAcceptFulfillmentRequestPayloadToUserErrorsResolver; } - export interface PricingPercentageValueTypeResolver { - percentage?: PricingPercentageValueToPercentageResolver; + + export interface FulfillmentOrderAcceptFulfillmentRequestPayloadToFulfillmentOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PricingPercentageValueToPercentageResolver { + export interface FulfillmentOrderAcceptFulfillmentRequestPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemConnectionTypeResolver { - edges?: CheckoutLineItemConnectionToEdgesResolver; - pageInfo?: CheckoutLineItemConnectionToPageInfoResolver; + export interface FulfillmentOrderCancelPayloadTypeResolver { + fulfillmentOrder?: FulfillmentOrderCancelPayloadToFulfillmentOrderResolver; + replacementFulfillmentOrder?: FulfillmentOrderCancelPayloadToReplacementFulfillmentOrderResolver; + userErrors?: FulfillmentOrderCancelPayloadToUserErrorsResolver; + } + + export interface FulfillmentOrderCancelPayloadToFulfillmentOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemConnectionToEdgesResolver { + export interface FulfillmentOrderCancelPayloadToReplacementFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemConnectionToPageInfoResolver { + export interface FulfillmentOrderCancelPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemEdgeTypeResolver { - cursor?: CheckoutLineItemEdgeToCursorResolver; - node?: CheckoutLineItemEdgeToNodeResolver; + export interface FulfillmentOrderClosePayloadTypeResolver { + fulfillmentOrder?: FulfillmentOrderClosePayloadToFulfillmentOrderResolver; + userErrors?: FulfillmentOrderClosePayloadToUserErrorsResolver; } - export interface CheckoutLineItemEdgeToCursorResolver { + export interface FulfillmentOrderClosePayloadToFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemEdgeToNodeResolver { + export interface FulfillmentOrderClosePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemTypeResolver { - customAttributes?: CheckoutLineItemToCustomAttributesResolver; - discountAllocations?: CheckoutLineItemToDiscountAllocationsResolver; - id?: CheckoutLineItemToIdResolver; - quantity?: CheckoutLineItemToQuantityResolver; - title?: CheckoutLineItemToTitleResolver; - unitPrice?: CheckoutLineItemToUnitPriceResolver; - variant?: CheckoutLineItemToVariantResolver; + export interface FulfillmentOrderMovePayloadTypeResolver { + movedFulfillmentOrder?: FulfillmentOrderMovePayloadToMovedFulfillmentOrderResolver; + originalFulfillmentOrder?: FulfillmentOrderMovePayloadToOriginalFulfillmentOrderResolver; + remainingFulfillmentOrder?: FulfillmentOrderMovePayloadToRemainingFulfillmentOrderResolver; + userErrors?: FulfillmentOrderMovePayloadToUserErrorsResolver; } - export interface CheckoutLineItemToCustomAttributesResolver { + export interface FulfillmentOrderMovePayloadToMovedFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemToDiscountAllocationsResolver { + export interface FulfillmentOrderMovePayloadToOriginalFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemToIdResolver { + export interface FulfillmentOrderMovePayloadToRemainingFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemToQuantityResolver { + export interface FulfillmentOrderMovePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemToTitleResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface FulfillmentOrderRejectCancellationRequestPayloadTypeResolver { + fulfillmentOrder?: FulfillmentOrderRejectCancellationRequestPayloadToFulfillmentOrderResolver; + userErrors?: FulfillmentOrderRejectCancellationRequestPayloadToUserErrorsResolver; } - export interface CheckoutLineItemToUnitPriceResolver { + export interface FulfillmentOrderRejectCancellationRequestPayloadToFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemToVariantResolver { + export interface FulfillmentOrderRejectCancellationRequestPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountAllocationTypeResolver { - allocatedAmount?: DiscountAllocationToAllocatedAmountResolver; - discountApplication?: DiscountAllocationToDiscountApplicationResolver; + export interface FulfillmentOrderRejectFulfillmentRequestPayloadTypeResolver { + fulfillmentOrder?: FulfillmentOrderRejectFulfillmentRequestPayloadToFulfillmentOrderResolver; + userErrors?: FulfillmentOrderRejectFulfillmentRequestPayloadToUserErrorsResolver; } - export interface DiscountAllocationToAllocatedAmountResolver { + export interface FulfillmentOrderRejectFulfillmentRequestPayloadToFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountAllocationToDiscountApplicationResolver { + export interface FulfillmentOrderRejectFulfillmentRequestPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderTypeResolver { - cancelReason?: OrderToCancelReasonResolver; - canceledAt?: OrderToCanceledAtResolver; - currencyCode?: OrderToCurrencyCodeResolver; - currentSubtotalPrice?: OrderToCurrentSubtotalPriceResolver; - currentTotalPrice?: OrderToCurrentTotalPriceResolver; - currentTotalTax?: OrderToCurrentTotalTaxResolver; - customerLocale?: OrderToCustomerLocaleResolver; - customerUrl?: OrderToCustomerUrlResolver; - discountApplications?: OrderToDiscountApplicationsResolver; - edited?: OrderToEditedResolver; - email?: OrderToEmailResolver; - financialStatus?: OrderToFinancialStatusResolver; - fulfillmentStatus?: OrderToFulfillmentStatusResolver; - id?: OrderToIdResolver; - lineItems?: OrderToLineItemsResolver; - name?: OrderToNameResolver; - orderNumber?: OrderToOrderNumberResolver; - originalTotalPrice?: OrderToOriginalTotalPriceResolver; - phone?: OrderToPhoneResolver; - processedAt?: OrderToProcessedAtResolver; - shippingAddress?: OrderToShippingAddressResolver; - shippingDiscountAllocations?: OrderToShippingDiscountAllocationsResolver; - statusUrl?: OrderToStatusUrlResolver; - subtotalPrice?: OrderToSubtotalPriceResolver; - subtotalPriceV2?: OrderToSubtotalPriceV2Resolver; - successfulFulfillments?: OrderToSuccessfulFulfillmentsResolver; - totalPrice?: OrderToTotalPriceResolver; - totalPriceV2?: OrderToTotalPriceV2Resolver; - totalRefunded?: OrderToTotalRefundedResolver; - totalRefundedV2?: OrderToTotalRefundedV2Resolver; - totalShippingPrice?: OrderToTotalShippingPriceResolver; - totalShippingPriceV2?: OrderToTotalShippingPriceV2Resolver; - totalTax?: OrderToTotalTaxResolver; - totalTaxV2?: OrderToTotalTaxV2Resolver; + export interface FulfillmentOrderSubmitCancellationRequestPayloadTypeResolver { + fulfillmentOrder?: FulfillmentOrderSubmitCancellationRequestPayloadToFulfillmentOrderResolver; + userErrors?: FulfillmentOrderSubmitCancellationRequestPayloadToUserErrorsResolver; } - export interface OrderToCancelReasonResolver { + export interface FulfillmentOrderSubmitCancellationRequestPayloadToFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToCanceledAtResolver { + export interface FulfillmentOrderSubmitCancellationRequestPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToCurrencyCodeResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface FulfillmentOrderSubmitFulfillmentRequestPayloadTypeResolver { + originalFulfillmentOrder?: FulfillmentOrderSubmitFulfillmentRequestPayloadToOriginalFulfillmentOrderResolver; + submittedFulfillmentOrder?: FulfillmentOrderSubmitFulfillmentRequestPayloadToSubmittedFulfillmentOrderResolver; + unsubmittedFulfillmentOrder?: FulfillmentOrderSubmitFulfillmentRequestPayloadToUnsubmittedFulfillmentOrderResolver; + userErrors?: FulfillmentOrderSubmitFulfillmentRequestPayloadToUserErrorsResolver; } - export interface OrderToCurrentSubtotalPriceResolver { + export interface FulfillmentOrderSubmitFulfillmentRequestPayloadToOriginalFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToCurrentTotalPriceResolver { + export interface FulfillmentOrderSubmitFulfillmentRequestPayloadToSubmittedFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToCurrentTotalTaxResolver { + export interface FulfillmentOrderSubmitFulfillmentRequestPayloadToUnsubmittedFulfillmentOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToCustomerLocaleResolver { + export interface FulfillmentOrderSubmitFulfillmentRequestPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToCustomerUrlResolver { + export interface FulfillmentServiceCreatePayloadTypeResolver { + fulfillmentService?: FulfillmentServiceCreatePayloadToFulfillmentServiceResolver; + userErrors?: FulfillmentServiceCreatePayloadToUserErrorsResolver; + } + + export interface FulfillmentServiceCreatePayloadToFulfillmentServiceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToDiscountApplicationsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; + export interface FulfillmentServiceCreatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToDiscountApplicationsResolver { - (parent: TParent, args: OrderToDiscountApplicationsArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface FulfillmentServiceDeletePayloadTypeResolver { + deletedId?: FulfillmentServiceDeletePayloadToDeletedIdResolver; + userErrors?: FulfillmentServiceDeletePayloadToUserErrorsResolver; } - export interface OrderToEditedResolver { + export interface FulfillmentServiceDeletePayloadToDeletedIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToEmailResolver { + export interface FulfillmentServiceDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToFinancialStatusResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface FulfillmentServiceUpdatePayloadTypeResolver { + fulfillmentService?: FulfillmentServiceUpdatePayloadToFulfillmentServiceResolver; + userErrors?: FulfillmentServiceUpdatePayloadToUserErrorsResolver; } - export interface OrderToFulfillmentStatusResolver { + export interface FulfillmentServiceUpdatePayloadToFulfillmentServiceResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToIdResolver { + export interface FulfillmentServiceUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToLineItemsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - } - export interface OrderToLineItemsResolver { - (parent: TParent, args: OrderToLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface FulfillmentTrackingInfoUpdatePayloadTypeResolver { + fulfillment?: FulfillmentTrackingInfoUpdatePayloadToFulfillmentResolver; + userErrors?: FulfillmentTrackingInfoUpdatePayloadToUserErrorsResolver; } - export interface OrderToNameResolver { + export interface FulfillmentTrackingInfoUpdatePayloadToFulfillmentResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToOrderNumberResolver { + export interface FulfillmentTrackingInfoUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToOriginalTotalPriceResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface FulfillmentTrackingInfoUpdateV2PayloadTypeResolver { + fulfillment?: FulfillmentTrackingInfoUpdateV2PayloadToFulfillmentResolver; + userErrors?: FulfillmentTrackingInfoUpdateV2PayloadToUserErrorsResolver; } - export interface OrderToPhoneResolver { + export interface FulfillmentTrackingInfoUpdateV2PayloadToFulfillmentResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToProcessedAtResolver { + export interface FulfillmentTrackingInfoUpdateV2PayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToShippingAddressResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface InventoryActivatePayloadTypeResolver { + inventoryLevel?: InventoryActivatePayloadToInventoryLevelResolver; + userErrors?: InventoryActivatePayloadToUserErrorsResolver; } - export interface OrderToShippingDiscountAllocationsResolver { + export interface InventoryActivatePayloadToInventoryLevelResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToStatusUrlResolver { + export interface InventoryActivatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToSubtotalPriceResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface InventoryAdjustQuantityPayloadTypeResolver { + inventoryLevel?: InventoryAdjustQuantityPayloadToInventoryLevelResolver; + userErrors?: InventoryAdjustQuantityPayloadToUserErrorsResolver; } - export interface OrderToSubtotalPriceV2Resolver { + export interface InventoryAdjustQuantityPayloadToInventoryLevelResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToSuccessfulFulfillmentsArgs { - first?: number; + export interface InventoryAdjustQuantityPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToSuccessfulFulfillmentsResolver { - (parent: TParent, args: OrderToSuccessfulFulfillmentsArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface InventoryBulkAdjustQuantityAtLocationPayloadTypeResolver { + inventoryLevels?: InventoryBulkAdjustQuantityAtLocationPayloadToInventoryLevelsResolver; + userErrors?: InventoryBulkAdjustQuantityAtLocationPayloadToUserErrorsResolver; } - export interface OrderToTotalPriceResolver { + export interface InventoryBulkAdjustQuantityAtLocationPayloadToInventoryLevelsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToTotalPriceV2Resolver { + export interface InventoryBulkAdjustQuantityAtLocationPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToTotalRefundedResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface InventoryDeactivatePayloadTypeResolver { + userErrors?: InventoryDeactivatePayloadToUserErrorsResolver; } - export interface OrderToTotalRefundedV2Resolver { + export interface InventoryDeactivatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToTotalShippingPriceResolver { + export interface InventoryItemUpdatePayloadTypeResolver { + inventoryItem?: InventoryItemUpdatePayloadToInventoryItemResolver; + userErrors?: InventoryItemUpdatePayloadToUserErrorsResolver; + } + + export interface InventoryItemUpdatePayloadToInventoryItemResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToTotalShippingPriceV2Resolver { + export interface InventoryItemUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToTotalTaxResolver { + export interface KitSkillTriggerRequestPayloadTypeResolver { + conversationUid?: KitSkillTriggerRequestPayloadToConversationUidResolver; + userErrors?: KitSkillTriggerRequestPayloadToUserErrorsResolver; + } + + export interface KitSkillTriggerRequestPayloadToConversationUidResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderToTotalTaxV2Resolver { + export interface KitSkillTriggerRequestPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemConnectionTypeResolver { - edges?: OrderLineItemConnectionToEdgesResolver; - pageInfo?: OrderLineItemConnectionToPageInfoResolver; + export interface MarketingActivityUpdatePayloadTypeResolver { + marketingActivity?: MarketingActivityUpdatePayloadToMarketingActivityResolver; + userErrors?: MarketingActivityUpdatePayloadToUserErrorsResolver; } - export interface OrderLineItemConnectionToEdgesResolver { + export interface MarketingActivityUpdatePayloadToMarketingActivityResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemConnectionToPageInfoResolver { + export interface MarketingActivityUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemEdgeTypeResolver { - cursor?: OrderLineItemEdgeToCursorResolver; - node?: OrderLineItemEdgeToNodeResolver; + export interface MarketingEngagementCreatePayloadTypeResolver { + marketingEngagement?: MarketingEngagementCreatePayloadToMarketingEngagementResolver; + userErrors?: MarketingEngagementCreatePayloadToUserErrorsResolver; } - export interface OrderLineItemEdgeToCursorResolver { + export interface MarketingEngagementCreatePayloadToMarketingEngagementResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemEdgeToNodeResolver { + export interface MarketingEngagementCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemTypeResolver { - currentQuantity?: OrderLineItemToCurrentQuantityResolver; - customAttributes?: OrderLineItemToCustomAttributesResolver; - discountAllocations?: OrderLineItemToDiscountAllocationsResolver; - discountedTotalPrice?: OrderLineItemToDiscountedTotalPriceResolver; - originalTotalPrice?: OrderLineItemToOriginalTotalPriceResolver; - quantity?: OrderLineItemToQuantityResolver; - title?: OrderLineItemToTitleResolver; - variant?: OrderLineItemToVariantResolver; + export interface MarketingEngagementTypeResolver { + adSpend?: MarketingEngagementToAdSpendResolver; + clicksCount?: MarketingEngagementToClicksCountResolver; + commentsCount?: MarketingEngagementToCommentsCountResolver; + complaintsCount?: MarketingEngagementToComplaintsCountResolver; + failsCount?: MarketingEngagementToFailsCountResolver; + favoritesCount?: MarketingEngagementToFavoritesCountResolver; + fetchedAt?: MarketingEngagementToFetchedAtResolver; + impressionsCount?: MarketingEngagementToImpressionsCountResolver; + isCumulative?: MarketingEngagementToIsCumulativeResolver; + marketingActivity?: MarketingEngagementToMarketingActivityResolver; + occurredOn?: MarketingEngagementToOccurredOnResolver; + sendsCount?: MarketingEngagementToSendsCountResolver; + sharesCount?: MarketingEngagementToSharesCountResolver; + uniqueClicksCount?: MarketingEngagementToUniqueClicksCountResolver; + uniqueViewsCount?: MarketingEngagementToUniqueViewsCountResolver; + unsubscribesCount?: MarketingEngagementToUnsubscribesCountResolver; + utcOffset?: MarketingEngagementToUtcOffsetResolver; + viewsCount?: MarketingEngagementToViewsCountResolver; } - export interface OrderLineItemToCurrentQuantityResolver { + export interface MarketingEngagementToAdSpendResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemToCustomAttributesResolver { + export interface MarketingEngagementToClicksCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemToDiscountAllocationsResolver { + export interface MarketingEngagementToCommentsCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemToDiscountedTotalPriceResolver { + export interface MarketingEngagementToComplaintsCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemToOriginalTotalPriceResolver { + export interface MarketingEngagementToFailsCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemToQuantityResolver { + export interface MarketingEngagementToFavoritesCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemToTitleResolver { + export interface MarketingEngagementToFetchedAtResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderLineItemToVariantResolver { + export interface MarketingEngagementToImpressionsCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentTypeResolver { - fulfillmentLineItems?: FulfillmentToFulfillmentLineItemsResolver; - trackingCompany?: FulfillmentToTrackingCompanyResolver; - trackingInfo?: FulfillmentToTrackingInfoResolver; + export interface MarketingEngagementToIsCumulativeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentToFulfillmentLineItemsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - } - export interface FulfillmentToFulfillmentLineItemsResolver { - (parent: TParent, args: FulfillmentToFulfillmentLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MarketingEngagementToMarketingActivityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentToTrackingCompanyResolver { + export interface MarketingEngagementToOccurredOnResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentToTrackingInfoArgs { - first?: number; - } - export interface FulfillmentToTrackingInfoResolver { - (parent: TParent, args: FulfillmentToTrackingInfoArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface MarketingEngagementToSendsCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemConnectionTypeResolver { - edges?: FulfillmentLineItemConnectionToEdgesResolver; - pageInfo?: FulfillmentLineItemConnectionToPageInfoResolver; + export interface MarketingEngagementToSharesCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemConnectionToEdgesResolver { + export interface MarketingEngagementToUniqueClicksCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemConnectionToPageInfoResolver { + export interface MarketingEngagementToUniqueViewsCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemEdgeTypeResolver { - cursor?: FulfillmentLineItemEdgeToCursorResolver; - node?: FulfillmentLineItemEdgeToNodeResolver; + export interface MarketingEngagementToUnsubscribesCountResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemEdgeToCursorResolver { + export interface MarketingEngagementToUtcOffsetResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemEdgeToNodeResolver { + export interface MarketingEngagementToViewsCountResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemTypeResolver { - lineItem?: FulfillmentLineItemToLineItemResolver; - quantity?: FulfillmentLineItemToQuantityResolver; + export interface MetafieldDeletePayloadTypeResolver { + deletedId?: MetafieldDeletePayloadToDeletedIdResolver; + userErrors?: MetafieldDeletePayloadToUserErrorsResolver; } - export interface FulfillmentLineItemToLineItemResolver { + export interface MetafieldDeletePayloadToDeletedIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentLineItemToQuantityResolver { + export interface MetafieldDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentTrackingInfoTypeResolver { - number?: FulfillmentTrackingInfoToNumberResolver; - url?: FulfillmentTrackingInfoToUrlResolver; + export interface MetafieldStorefrontVisibilityCreatePayloadTypeResolver { + metafieldStorefrontVisibility?: MetafieldStorefrontVisibilityCreatePayloadToMetafieldStorefrontVisibilityResolver; + userErrors?: MetafieldStorefrontVisibilityCreatePayloadToUserErrorsResolver; } - export interface FulfillmentTrackingInfoToNumberResolver { + export interface MetafieldStorefrontVisibilityCreatePayloadToMetafieldStorefrontVisibilityResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface FulfillmentTrackingInfoToUrlResolver { + export interface MetafieldStorefrontVisibilityCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderConnectionTypeResolver { - edges?: OrderConnectionToEdgesResolver; - pageInfo?: OrderConnectionToPageInfoResolver; + export interface MetafieldStorefrontVisibilityDeletePayloadTypeResolver { + deletedMetafieldStorefrontVisibilityId?: MetafieldStorefrontVisibilityDeletePayloadToDeletedMetafieldStorefrontVisibilityIdResolver; + userErrors?: MetafieldStorefrontVisibilityDeletePayloadToUserErrorsResolver; } - export interface OrderConnectionToEdgesResolver { + export interface MetafieldStorefrontVisibilityDeletePayloadToDeletedMetafieldStorefrontVisibilityIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderConnectionToPageInfoResolver { + export interface MetafieldStorefrontVisibilityDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderEdgeTypeResolver { - cursor?: OrderEdgeToCursorResolver; - node?: OrderEdgeToNodeResolver; + export interface OrderCapturePayloadTypeResolver { + transaction?: OrderCapturePayloadToTransactionResolver; + userErrors?: OrderCapturePayloadToUserErrorsResolver; } - export interface OrderEdgeToCursorResolver { + export interface OrderCapturePayloadToTransactionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface OrderEdgeToNodeResolver { + export interface OrderCapturePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageTypeResolver { - body?: PageToBodyResolver; - bodySummary?: PageToBodySummaryResolver; - createdAt?: PageToCreatedAtResolver; - handle?: PageToHandleResolver; - id?: PageToIdResolver; - title?: PageToTitleResolver; - updatedAt?: PageToUpdatedAtResolver; - url?: PageToUrlResolver; + export interface OrderClosePayloadTypeResolver { + order?: OrderClosePayloadToOrderResolver; + userErrors?: OrderClosePayloadToUserErrorsResolver; } - export interface PageToBodyResolver { + export interface OrderClosePayloadToOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageToBodySummaryResolver { + export interface OrderClosePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageToCreatedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditAddCustomItemPayloadTypeResolver { + calculatedLineItem?: OrderEditAddCustomItemPayloadToCalculatedLineItemResolver; + calculatedOrder?: OrderEditAddCustomItemPayloadToCalculatedOrderResolver; + userErrors?: OrderEditAddCustomItemPayloadToUserErrorsResolver; } - export interface PageToHandleResolver { + export interface OrderEditAddCustomItemPayloadToCalculatedLineItemResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageToIdResolver { + export interface OrderEditAddCustomItemPayloadToCalculatedOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageToTitleResolver { + export interface OrderEditAddCustomItemPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageToUpdatedAtResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedLineItemTypeResolver { + customAttributes?: CalculatedLineItemToCustomAttributesResolver; + discountAllocations?: CalculatedLineItemToDiscountAllocationsResolver; + discountedUnitPriceSet?: CalculatedLineItemToDiscountedUnitPriceSetResolver; + editableQuantity?: CalculatedLineItemToEditableQuantityResolver; + editableQuantityBeforeChanges?: CalculatedLineItemToEditableQuantityBeforeChangesResolver; + editableSubtotalSet?: CalculatedLineItemToEditableSubtotalSetResolver; + id?: CalculatedLineItemToIdResolver; + image?: CalculatedLineItemToImageResolver; + originalUnitPriceSet?: CalculatedLineItemToOriginalUnitPriceSetResolver; + quantity?: CalculatedLineItemToQuantityResolver; + restockable?: CalculatedLineItemToRestockableResolver; + restocking?: CalculatedLineItemToRestockingResolver; + sku?: CalculatedLineItemToSkuResolver; + stagedChanges?: CalculatedLineItemToStagedChangesResolver; + title?: CalculatedLineItemToTitleResolver; + uneditableSubtotalSet?: CalculatedLineItemToUneditableSubtotalSetResolver; + variant?: CalculatedLineItemToVariantResolver; + variantTitle?: CalculatedLineItemToVariantTitleResolver; } - export interface PageToUrlResolver { + export interface CalculatedLineItemToCustomAttributesResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageConnectionTypeResolver { - edges?: PageConnectionToEdgesResolver; - pageInfo?: PageConnectionToPageInfoResolver; + export interface CalculatedLineItemToDiscountAllocationsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageConnectionToEdgesResolver { + export interface CalculatedLineItemToDiscountedUnitPriceSetResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageConnectionToPageInfoResolver { + export interface CalculatedLineItemToEditableQuantityResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageEdgeTypeResolver { - cursor?: PageEdgeToCursorResolver; - node?: PageEdgeToNodeResolver; + export interface CalculatedLineItemToEditableQuantityBeforeChangesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageEdgeToCursorResolver { + export interface CalculatedLineItemToEditableSubtotalSetResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PageEdgeToNodeResolver { + export interface CalculatedLineItemToIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface StringConnectionTypeResolver { - edges?: StringConnectionToEdgesResolver; - pageInfo?: StringConnectionToPageInfoResolver; + export interface CalculatedLineItemToImageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface StringConnectionToEdgesResolver { + export interface CalculatedLineItemToOriginalUnitPriceSetResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface StringConnectionToPageInfoResolver { + export interface CalculatedLineItemToQuantityResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface StringEdgeTypeResolver { - cursor?: StringEdgeToCursorResolver; - node?: StringEdgeToNodeResolver; + export interface CalculatedLineItemToRestockableResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface StringEdgeToCursorResolver { + export interface CalculatedLineItemToRestockingResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface StringEdgeToNodeResolver { + export interface CalculatedLineItemToSkuResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ApiVersionTypeResolver { - displayName?: ApiVersionToDisplayNameResolver; - handle?: ApiVersionToHandleResolver; - supported?: ApiVersionToSupportedResolver; + export interface CalculatedLineItemToStagedChangesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ApiVersionToDisplayNameResolver { + export interface CalculatedLineItemToTitleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ApiVersionToHandleResolver { + export interface CalculatedLineItemToUneditableSubtotalSetResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ApiVersionToSupportedResolver { + export interface CalculatedLineItemToVariantResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopTypeResolver { - articles?: ShopToArticlesResolver; - blogs?: ShopToBlogsResolver; - collectionByHandle?: ShopToCollectionByHandleResolver; - collections?: ShopToCollectionsResolver; - currencyCode?: ShopToCurrencyCodeResolver; - description?: ShopToDescriptionResolver; - moneyFormat?: ShopToMoneyFormatResolver; - name?: ShopToNameResolver; - paymentSettings?: ShopToPaymentSettingsResolver; - primaryDomain?: ShopToPrimaryDomainResolver; - privacyPolicy?: ShopToPrivacyPolicyResolver; - productByHandle?: ShopToProductByHandleResolver; - productTags?: ShopToProductTagsResolver; - productTypes?: ShopToProductTypesResolver; - products?: ShopToProductsResolver; - refundPolicy?: ShopToRefundPolicyResolver; - shipsToCountries?: ShopToShipsToCountriesResolver; - shopifyPaymentsAccountId?: ShopToShopifyPaymentsAccountIdResolver; - termsOfService?: ShopToTermsOfServiceResolver; + export interface CalculatedLineItemToVariantTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToArticlesArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: ArticleSortKeys; - query?: string; + export interface OrderStagedChangeTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'OrderStagedChangeAddCustomItem' | 'OrderStagedChangeAddVariant' | 'OrderStagedChangeIncrementItem' | 'OrderStagedChangeDecrementItem'; } - export interface ShopToArticlesResolver { - (parent: TParent, args: ShopToArticlesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeAddCustomItemTypeResolver { + originalUnitPrice?: OrderStagedChangeAddCustomItemToOriginalUnitPriceResolver; + quantity?: OrderStagedChangeAddCustomItemToQuantityResolver; + title?: OrderStagedChangeAddCustomItemToTitleResolver; } - export interface ShopToBlogsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: BlogSortKeys; - query?: string; - } - export interface ShopToBlogsResolver { - (parent: TParent, args: ShopToBlogsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeAddCustomItemToOriginalUnitPriceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToCollectionByHandleArgs { - handle: string; - } - export interface ShopToCollectionByHandleResolver { - (parent: TParent, args: ShopToCollectionByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeAddCustomItemToQuantityResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToCollectionsArgs { - first?: number; - after?: string; - last?: number; - before?: string; - reverse?: boolean; - sortKey?: CollectionSortKeys; - query?: string; + export interface OrderStagedChangeAddCustomItemToTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToCollectionsResolver { - (parent: TParent, args: ShopToCollectionsArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface OrderStagedChangeAddVariantTypeResolver { + quantity?: OrderStagedChangeAddVariantToQuantityResolver; + variant?: OrderStagedChangeAddVariantToVariantResolver; } - export interface ShopToCurrencyCodeResolver { + export interface OrderStagedChangeAddVariantToQuantityResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToDescriptionResolver { + export interface OrderStagedChangeAddVariantToVariantResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToMoneyFormatResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeIncrementItemTypeResolver { + delta?: OrderStagedChangeIncrementItemToDeltaResolver; + lineItem?: OrderStagedChangeIncrementItemToLineItemResolver; } - export interface ShopToNameResolver { + export interface OrderStagedChangeIncrementItemToDeltaResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToPaymentSettingsResolver { + export interface OrderStagedChangeIncrementItemToLineItemResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToPrimaryDomainResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeDecrementItemTypeResolver { + delta?: OrderStagedChangeDecrementItemToDeltaResolver; + lineItem?: OrderStagedChangeDecrementItemToLineItemResolver; + restock?: OrderStagedChangeDecrementItemToRestockResolver; } - export interface ShopToPrivacyPolicyResolver { + export interface OrderStagedChangeDecrementItemToDeltaResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToProductByHandleArgs { - handle: string; - } - export interface ShopToProductByHandleResolver { - (parent: TParent, args: ShopToProductByHandleArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeDecrementItemToLineItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToProductTagsArgs { - first: number; - } - export interface ShopToProductTagsResolver { - (parent: TParent, args: ShopToProductTagsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeDecrementItemToRestockResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToProductTypesArgs { - first: number; - } - export interface ShopToProductTypesResolver { - (parent: TParent, args: ShopToProductTypesArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedOrderTypeResolver { + addedLineItems?: CalculatedOrderToAddedLineItemsResolver; + cartDiscountAmountSet?: CalculatedOrderToCartDiscountAmountSetResolver; + committed?: CalculatedOrderToCommittedResolver; + id?: CalculatedOrderToIdResolver; + lineItems?: CalculatedOrderToLineItemsResolver; + notificationPreviewHtml?: CalculatedOrderToNotificationPreviewHtmlResolver; + notificationPreviewTitle?: CalculatedOrderToNotificationPreviewTitleResolver; + order?: CalculatedOrderToOrderResolver; + originalOrder?: CalculatedOrderToOriginalOrderResolver; + stagedChanges?: CalculatedOrderToStagedChangesResolver; + subtotalLineItemsQuantity?: CalculatedOrderToSubtotalLineItemsQuantityResolver; + subtotalPriceSet?: CalculatedOrderToSubtotalPriceSetResolver; + taxLines?: CalculatedOrderToTaxLinesResolver; + totalOutstandingSet?: CalculatedOrderToTotalOutstandingSetResolver; + totalPriceSet?: CalculatedOrderToTotalPriceSetResolver; } - export interface ShopToProductsArgs { + export interface CalculatedOrderToAddedLineItemsArgs { first?: number; after?: string; last?: number; before?: string; reverse?: boolean; - sortKey?: ProductSortKeys; - query?: string; } - export interface ShopToProductsResolver { - (parent: TParent, args: ShopToProductsArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedOrderToAddedLineItemsResolver { + (parent: TParent, args: CalculatedOrderToAddedLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToRefundPolicyResolver { + export interface CalculatedOrderToCartDiscountAmountSetResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToShipsToCountriesResolver { + export interface CalculatedOrderToCommittedResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToShopifyPaymentsAccountIdResolver { + export interface CalculatedOrderToIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopToTermsOfServiceResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedOrderToLineItemsArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; + query?: string; } - - export interface PaymentSettingsTypeResolver { - acceptedCardBrands?: PaymentSettingsToAcceptedCardBrandsResolver; - cardVaultUrl?: PaymentSettingsToCardVaultUrlResolver; - countryCode?: PaymentSettingsToCountryCodeResolver; - currencyCode?: PaymentSettingsToCurrencyCodeResolver; - enabledPresentmentCurrencies?: PaymentSettingsToEnabledPresentmentCurrenciesResolver; - shopifyPaymentsAccountId?: PaymentSettingsToShopifyPaymentsAccountIdResolver; - supportedDigitalWallets?: PaymentSettingsToSupportedDigitalWalletsResolver; + export interface CalculatedOrderToLineItemsResolver { + (parent: TParent, args: CalculatedOrderToLineItemsArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentSettingsToAcceptedCardBrandsResolver { + export interface CalculatedOrderToNotificationPreviewHtmlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentSettingsToCardVaultUrlResolver { + export interface CalculatedOrderToNotificationPreviewTitleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentSettingsToCountryCodeResolver { + export interface CalculatedOrderToOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentSettingsToCurrencyCodeResolver { + export interface CalculatedOrderToOriginalOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentSettingsToEnabledPresentmentCurrenciesResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedOrderToStagedChangesArgs { + first?: number; + after?: string; + last?: number; + before?: string; + reverse?: boolean; } - - export interface PaymentSettingsToShopifyPaymentsAccountIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedOrderToStagedChangesResolver { + (parent: TParent, args: CalculatedOrderToStagedChangesArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentSettingsToSupportedDigitalWalletsResolver { + export interface CalculatedOrderToSubtotalLineItemsQuantityResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DomainTypeResolver { - host?: DomainToHostResolver; - sslEnabled?: DomainToSslEnabledResolver; - url?: DomainToUrlResolver; + export interface CalculatedOrderToSubtotalPriceSetResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DomainToHostResolver { + export interface CalculatedOrderToTaxLinesResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DomainToSslEnabledResolver { + export interface CalculatedOrderToTotalOutstandingSetResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DomainToUrlResolver { + export interface CalculatedOrderToTotalPriceSetResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopPolicyTypeResolver { - body?: ShopPolicyToBodyResolver; - handle?: ShopPolicyToHandleResolver; - id?: ShopPolicyToIdResolver; - title?: ShopPolicyToTitleResolver; - url?: ShopPolicyToUrlResolver; + export interface CalculatedLineItemConnectionTypeResolver { + edges?: CalculatedLineItemConnectionToEdgesResolver; + pageInfo?: CalculatedLineItemConnectionToPageInfoResolver; } - export interface ShopPolicyToBodyResolver { + export interface CalculatedLineItemConnectionToEdgesResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopPolicyToHandleResolver { + export interface CalculatedLineItemConnectionToPageInfoResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopPolicyToIdResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface CalculatedLineItemEdgeTypeResolver { + cursor?: CalculatedLineItemEdgeToCursorResolver; + node?: CalculatedLineItemEdgeToNodeResolver; } - export interface ShopPolicyToTitleResolver { + export interface CalculatedLineItemEdgeToCursorResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ShopPolicyToUrlResolver { + export interface CalculatedLineItemEdgeToNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationTypeResolver { - checkoutAttributesUpdate?: MutationToCheckoutAttributesUpdateResolver; - checkoutAttributesUpdateV2?: MutationToCheckoutAttributesUpdateV2Resolver; - checkoutCompleteFree?: MutationToCheckoutCompleteFreeResolver; - checkoutCompleteWithCreditCard?: MutationToCheckoutCompleteWithCreditCardResolver; - checkoutCompleteWithCreditCardV2?: MutationToCheckoutCompleteWithCreditCardV2Resolver; - checkoutCompleteWithTokenizedPayment?: MutationToCheckoutCompleteWithTokenizedPaymentResolver; - checkoutCompleteWithTokenizedPaymentV2?: MutationToCheckoutCompleteWithTokenizedPaymentV2Resolver; - checkoutCompleteWithTokenizedPaymentV3?: MutationToCheckoutCompleteWithTokenizedPaymentV3Resolver; - checkoutCreate?: MutationToCheckoutCreateResolver; - checkoutCustomerAssociate?: MutationToCheckoutCustomerAssociateResolver; - checkoutCustomerAssociateV2?: MutationToCheckoutCustomerAssociateV2Resolver; - checkoutCustomerDisassociate?: MutationToCheckoutCustomerDisassociateResolver; - checkoutCustomerDisassociateV2?: MutationToCheckoutCustomerDisassociateV2Resolver; - checkoutDiscountCodeApply?: MutationToCheckoutDiscountCodeApplyResolver; - checkoutDiscountCodeApplyV2?: MutationToCheckoutDiscountCodeApplyV2Resolver; - checkoutDiscountCodeRemove?: MutationToCheckoutDiscountCodeRemoveResolver; - checkoutEmailUpdate?: MutationToCheckoutEmailUpdateResolver; - checkoutEmailUpdateV2?: MutationToCheckoutEmailUpdateV2Resolver; - checkoutGiftCardApply?: MutationToCheckoutGiftCardApplyResolver; - checkoutGiftCardRemove?: MutationToCheckoutGiftCardRemoveResolver; - checkoutGiftCardRemoveV2?: MutationToCheckoutGiftCardRemoveV2Resolver; - checkoutGiftCardsAppend?: MutationToCheckoutGiftCardsAppendResolver; - checkoutLineItemsAdd?: MutationToCheckoutLineItemsAddResolver; - checkoutLineItemsRemove?: MutationToCheckoutLineItemsRemoveResolver; - checkoutLineItemsReplace?: MutationToCheckoutLineItemsReplaceResolver; - checkoutLineItemsUpdate?: MutationToCheckoutLineItemsUpdateResolver; - checkoutShippingAddressUpdate?: MutationToCheckoutShippingAddressUpdateResolver; - checkoutShippingAddressUpdateV2?: MutationToCheckoutShippingAddressUpdateV2Resolver; - checkoutShippingLineUpdate?: MutationToCheckoutShippingLineUpdateResolver; - customerAccessTokenCreate?: MutationToCustomerAccessTokenCreateResolver; - customerAccessTokenCreateWithMultipass?: MutationToCustomerAccessTokenCreateWithMultipassResolver; - customerAccessTokenDelete?: MutationToCustomerAccessTokenDeleteResolver; - customerAccessTokenRenew?: MutationToCustomerAccessTokenRenewResolver; - customerActivate?: MutationToCustomerActivateResolver; - customerActivateByUrl?: MutationToCustomerActivateByUrlResolver; - customerAddressCreate?: MutationToCustomerAddressCreateResolver; - customerAddressDelete?: MutationToCustomerAddressDeleteResolver; - customerAddressUpdate?: MutationToCustomerAddressUpdateResolver; - customerCreate?: MutationToCustomerCreateResolver; - customerDefaultAddressUpdate?: MutationToCustomerDefaultAddressUpdateResolver; - customerRecover?: MutationToCustomerRecoverResolver; - customerReset?: MutationToCustomerResetResolver; - customerResetByUrl?: MutationToCustomerResetByUrlResolver; - customerUpdate?: MutationToCustomerUpdateResolver; - } - - export interface MutationToCheckoutAttributesUpdateArgs { - checkoutId: string; - input: CheckoutAttributesUpdateInput; - } - export interface MutationToCheckoutAttributesUpdateResolver { - (parent: TParent, args: MutationToCheckoutAttributesUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; - } - - export interface MutationToCheckoutAttributesUpdateV2Args { - checkoutId: string; - input: CheckoutAttributesUpdateV2Input; - } - export interface MutationToCheckoutAttributesUpdateV2Resolver { - (parent: TParent, args: MutationToCheckoutAttributesUpdateV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeConnectionTypeResolver { + edges?: OrderStagedChangeConnectionToEdgesResolver; + pageInfo?: OrderStagedChangeConnectionToPageInfoResolver; } - export interface MutationToCheckoutCompleteFreeArgs { - checkoutId: string; - } - export interface MutationToCheckoutCompleteFreeResolver { - (parent: TParent, args: MutationToCheckoutCompleteFreeArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeConnectionToEdgesResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutCompleteWithCreditCardArgs { - checkoutId: string; - payment: CreditCardPaymentInput; - } - export interface MutationToCheckoutCompleteWithCreditCardResolver { - (parent: TParent, args: MutationToCheckoutCompleteWithCreditCardArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeConnectionToPageInfoResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutCompleteWithCreditCardV2Args { - checkoutId: string; - payment: CreditCardPaymentInputV2; - } - export interface MutationToCheckoutCompleteWithCreditCardV2Resolver { - (parent: TParent, args: MutationToCheckoutCompleteWithCreditCardV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeEdgeTypeResolver { + cursor?: OrderStagedChangeEdgeToCursorResolver; + node?: OrderStagedChangeEdgeToNodeResolver; } - export interface MutationToCheckoutCompleteWithTokenizedPaymentArgs { - checkoutId: string; - payment: TokenizedPaymentInput; - } - export interface MutationToCheckoutCompleteWithTokenizedPaymentResolver { - (parent: TParent, args: MutationToCheckoutCompleteWithTokenizedPaymentArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeEdgeToCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutCompleteWithTokenizedPaymentV2Args { - checkoutId: string; - payment: TokenizedPaymentInputV2; - } - export interface MutationToCheckoutCompleteWithTokenizedPaymentV2Resolver { - (parent: TParent, args: MutationToCheckoutCompleteWithTokenizedPaymentV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderStagedChangeEdgeToNodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutCompleteWithTokenizedPaymentV3Args { - checkoutId: string; - payment: TokenizedPaymentInputV3; - } - export interface MutationToCheckoutCompleteWithTokenizedPaymentV3Resolver { - (parent: TParent, args: MutationToCheckoutCompleteWithTokenizedPaymentV3Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditAddVariantPayloadTypeResolver { + calculatedLineItem?: OrderEditAddVariantPayloadToCalculatedLineItemResolver; + calculatedOrder?: OrderEditAddVariantPayloadToCalculatedOrderResolver; + userErrors?: OrderEditAddVariantPayloadToUserErrorsResolver; } - export interface MutationToCheckoutCreateArgs { - input: CheckoutCreateInput; - } - export interface MutationToCheckoutCreateResolver { - (parent: TParent, args: MutationToCheckoutCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditAddVariantPayloadToCalculatedLineItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutCustomerAssociateArgs { - checkoutId: string; - customerAccessToken: string; - } - export interface MutationToCheckoutCustomerAssociateResolver { - (parent: TParent, args: MutationToCheckoutCustomerAssociateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditAddVariantPayloadToCalculatedOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutCustomerAssociateV2Args { - checkoutId: string; - customerAccessToken: string; - } - export interface MutationToCheckoutCustomerAssociateV2Resolver { - (parent: TParent, args: MutationToCheckoutCustomerAssociateV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditAddVariantPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutCustomerDisassociateArgs { - checkoutId: string; - } - export interface MutationToCheckoutCustomerDisassociateResolver { - (parent: TParent, args: MutationToCheckoutCustomerDisassociateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditBeginPayloadTypeResolver { + calculatedOrder?: OrderEditBeginPayloadToCalculatedOrderResolver; + userErrors?: OrderEditBeginPayloadToUserErrorsResolver; } - export interface MutationToCheckoutCustomerDisassociateV2Args { - checkoutId: string; - } - export interface MutationToCheckoutCustomerDisassociateV2Resolver { - (parent: TParent, args: MutationToCheckoutCustomerDisassociateV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditBeginPayloadToCalculatedOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutDiscountCodeApplyArgs { - discountCode: string; - checkoutId: string; - } - export interface MutationToCheckoutDiscountCodeApplyResolver { - (parent: TParent, args: MutationToCheckoutDiscountCodeApplyArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditBeginPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutDiscountCodeApplyV2Args { - discountCode: string; - checkoutId: string; - } - export interface MutationToCheckoutDiscountCodeApplyV2Resolver { - (parent: TParent, args: MutationToCheckoutDiscountCodeApplyV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditCommitPayloadTypeResolver { + order?: OrderEditCommitPayloadToOrderResolver; + userErrors?: OrderEditCommitPayloadToUserErrorsResolver; } - export interface MutationToCheckoutDiscountCodeRemoveArgs { - checkoutId: string; - } - export interface MutationToCheckoutDiscountCodeRemoveResolver { - (parent: TParent, args: MutationToCheckoutDiscountCodeRemoveArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditCommitPayloadToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutEmailUpdateArgs { - checkoutId: string; - email: string; - } - export interface MutationToCheckoutEmailUpdateResolver { - (parent: TParent, args: MutationToCheckoutEmailUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditCommitPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutEmailUpdateV2Args { - checkoutId: string; - email: string; - } - export interface MutationToCheckoutEmailUpdateV2Resolver { - (parent: TParent, args: MutationToCheckoutEmailUpdateV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditSetQuantityPayloadTypeResolver { + calculatedLineItem?: OrderEditSetQuantityPayloadToCalculatedLineItemResolver; + calculatedOrder?: OrderEditSetQuantityPayloadToCalculatedOrderResolver; + userErrors?: OrderEditSetQuantityPayloadToUserErrorsResolver; } - export interface MutationToCheckoutGiftCardApplyArgs { - giftCardCode: string; - checkoutId: string; - } - export interface MutationToCheckoutGiftCardApplyResolver { - (parent: TParent, args: MutationToCheckoutGiftCardApplyArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditSetQuantityPayloadToCalculatedLineItemResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutGiftCardRemoveArgs { - appliedGiftCardId: string; - checkoutId: string; - } - export interface MutationToCheckoutGiftCardRemoveResolver { - (parent: TParent, args: MutationToCheckoutGiftCardRemoveArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditSetQuantityPayloadToCalculatedOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutGiftCardRemoveV2Args { - appliedGiftCardId: string; - checkoutId: string; - } - export interface MutationToCheckoutGiftCardRemoveV2Resolver { - (parent: TParent, args: MutationToCheckoutGiftCardRemoveV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderEditSetQuantityPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutGiftCardsAppendArgs { - giftCardCodes: Array; - checkoutId: string; - } - export interface MutationToCheckoutGiftCardsAppendResolver { - (parent: TParent, args: MutationToCheckoutGiftCardsAppendArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderMarkAsPaidPayloadTypeResolver { + order?: OrderMarkAsPaidPayloadToOrderResolver; + userErrors?: OrderMarkAsPaidPayloadToUserErrorsResolver; } - export interface MutationToCheckoutLineItemsAddArgs { - lineItems: Array; - checkoutId: string; - } - export interface MutationToCheckoutLineItemsAddResolver { - (parent: TParent, args: MutationToCheckoutLineItemsAddArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderMarkAsPaidPayloadToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutLineItemsRemoveArgs { - checkoutId: string; - lineItemIds: Array; - } - export interface MutationToCheckoutLineItemsRemoveResolver { - (parent: TParent, args: MutationToCheckoutLineItemsRemoveArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderMarkAsPaidPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutLineItemsReplaceArgs { - lineItems: Array; - checkoutId: string; - } - export interface MutationToCheckoutLineItemsReplaceResolver { - (parent: TParent, args: MutationToCheckoutLineItemsReplaceArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderOpenPayloadTypeResolver { + order?: OrderOpenPayloadToOrderResolver; + userErrors?: OrderOpenPayloadToUserErrorsResolver; } - export interface MutationToCheckoutLineItemsUpdateArgs { - checkoutId: string; - lineItems: Array; - } - export interface MutationToCheckoutLineItemsUpdateResolver { - (parent: TParent, args: MutationToCheckoutLineItemsUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderOpenPayloadToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutShippingAddressUpdateArgs { - shippingAddress: MailingAddressInput; - checkoutId: string; - } - export interface MutationToCheckoutShippingAddressUpdateResolver { - (parent: TParent, args: MutationToCheckoutShippingAddressUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderOpenPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCheckoutShippingAddressUpdateV2Args { - shippingAddress: MailingAddressInput; - checkoutId: string; - } - export interface MutationToCheckoutShippingAddressUpdateV2Resolver { - (parent: TParent, args: MutationToCheckoutShippingAddressUpdateV2Args, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderUpdatePayloadTypeResolver { + order?: OrderUpdatePayloadToOrderResolver; + userErrors?: OrderUpdatePayloadToUserErrorsResolver; } - export interface MutationToCheckoutShippingLineUpdateArgs { - checkoutId: string; - shippingRateHandle: string; - } - export interface MutationToCheckoutShippingLineUpdateResolver { - (parent: TParent, args: MutationToCheckoutShippingLineUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderUpdatePayloadToOrderResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerAccessTokenCreateArgs { - input: CustomerAccessTokenCreateInput; - } - export interface MutationToCustomerAccessTokenCreateResolver { - (parent: TParent, args: MutationToCustomerAccessTokenCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface OrderUpdatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerAccessTokenCreateWithMultipassArgs { - multipassToken: string; - } - export interface MutationToCustomerAccessTokenCreateWithMultipassResolver { - (parent: TParent, args: MutationToCustomerAccessTokenCreateWithMultipassArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface PriceRuleActivatePayloadTypeResolver { + priceRule?: PriceRuleActivatePayloadToPriceRuleResolver; + priceRuleUserErrors?: PriceRuleActivatePayloadToPriceRuleUserErrorsResolver; + userErrors?: PriceRuleActivatePayloadToUserErrorsResolver; } - export interface MutationToCustomerAccessTokenDeleteArgs { - customerAccessToken: string; - } - export interface MutationToCustomerAccessTokenDeleteResolver { - (parent: TParent, args: MutationToCustomerAccessTokenDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface PriceRuleActivatePayloadToPriceRuleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerAccessTokenRenewArgs { - customerAccessToken: string; - } - export interface MutationToCustomerAccessTokenRenewResolver { - (parent: TParent, args: MutationToCustomerAccessTokenRenewArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface PriceRuleActivatePayloadToPriceRuleUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerActivateArgs { - id: string; - input: CustomerActivateInput; - } - export interface MutationToCustomerActivateResolver { - (parent: TParent, args: MutationToCustomerActivateArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface PriceRuleActivatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerActivateByUrlArgs { - activationUrl: URL; - password: string; - } - export interface MutationToCustomerActivateByUrlResolver { - (parent: TParent, args: MutationToCustomerActivateByUrlArgs, context: any, info: GraphQLResolveInfo): TResult; + export interface PriceRuleUserErrorTypeResolver { + code?: PriceRuleUserErrorToCodeResolver; + field?: PriceRuleUserErrorToFieldResolver; + message?: PriceRuleUserErrorToMessageResolver; } - export interface MutationToCustomerAddressCreateArgs { - customerAccessToken: string; - address: MailingAddressInput; + export interface PriceRuleUserErrorToCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerAddressCreateResolver { - (parent: TParent, args: MutationToCustomerAddressCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleUserErrorToFieldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerAddressDeleteArgs { - id: string; - customerAccessToken: string; + export interface PriceRuleUserErrorToMessageResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerAddressDeleteResolver { - (parent: TParent, args: MutationToCustomerAddressDeleteArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleCreatePayloadTypeResolver { + priceRule?: PriceRuleCreatePayloadToPriceRuleResolver; + priceRuleDiscountCode?: PriceRuleCreatePayloadToPriceRuleDiscountCodeResolver; + priceRuleUserErrors?: PriceRuleCreatePayloadToPriceRuleUserErrorsResolver; + userErrors?: PriceRuleCreatePayloadToUserErrorsResolver; } - export interface MutationToCustomerAddressUpdateArgs { - customerAccessToken: string; - id: string; - address: MailingAddressInput; + export interface PriceRuleCreatePayloadToPriceRuleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerAddressUpdateResolver { - (parent: TParent, args: MutationToCustomerAddressUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleCreatePayloadToPriceRuleDiscountCodeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerCreateArgs { - input: CustomerCreateInput; + export interface PriceRuleCreatePayloadToPriceRuleUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerCreateResolver { - (parent: TParent, args: MutationToCustomerCreateArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleCreatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerDefaultAddressUpdateArgs { - customerAccessToken: string; - addressId: string; + export interface PriceRuleDeactivatePayloadTypeResolver { + priceRule?: PriceRuleDeactivatePayloadToPriceRuleResolver; + priceRuleUserErrors?: PriceRuleDeactivatePayloadToPriceRuleUserErrorsResolver; + userErrors?: PriceRuleDeactivatePayloadToUserErrorsResolver; } - export interface MutationToCustomerDefaultAddressUpdateResolver { - (parent: TParent, args: MutationToCustomerDefaultAddressUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleDeactivatePayloadToPriceRuleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerRecoverArgs { - email: string; + export interface PriceRuleDeactivatePayloadToPriceRuleUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerRecoverResolver { - (parent: TParent, args: MutationToCustomerRecoverArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleDeactivatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerResetArgs { - id: string; - input: CustomerResetInput; + export interface PriceRuleDeletePayloadTypeResolver { + deletedPriceRuleId?: PriceRuleDeletePayloadToDeletedPriceRuleIdResolver; + priceRuleUserErrors?: PriceRuleDeletePayloadToPriceRuleUserErrorsResolver; + shop?: PriceRuleDeletePayloadToShopResolver; + userErrors?: PriceRuleDeletePayloadToUserErrorsResolver; } - export interface MutationToCustomerResetResolver { - (parent: TParent, args: MutationToCustomerResetArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleDeletePayloadToDeletedPriceRuleIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerResetByUrlArgs { - resetUrl: URL; - password: string; + export interface PriceRuleDeletePayloadToPriceRuleUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerResetByUrlResolver { - (parent: TParent, args: MutationToCustomerResetByUrlArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleDeletePayloadToShopResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerUpdateArgs { - customerAccessToken: string; - customer: CustomerUpdateInput; + export interface PriceRuleDeletePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MutationToCustomerUpdateResolver { - (parent: TParent, args: MutationToCustomerUpdateArgs, context: any, info: GraphQLResolveInfo): TResult; + + export interface PriceRuleDiscountCodeCreatePayloadTypeResolver { + priceRule?: PriceRuleDiscountCodeCreatePayloadToPriceRuleResolver; + priceRuleDiscountCode?: PriceRuleDiscountCodeCreatePayloadToPriceRuleDiscountCodeResolver; + priceRuleUserErrors?: PriceRuleDiscountCodeCreatePayloadToPriceRuleUserErrorsResolver; + userErrors?: PriceRuleDiscountCodeCreatePayloadToUserErrorsResolver; } - export interface CheckoutAttributesUpdatePayloadTypeResolver { - checkout?: CheckoutAttributesUpdatePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutAttributesUpdatePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutAttributesUpdatePayloadToUserErrorsResolver; + export interface PriceRuleDiscountCodeCreatePayloadToPriceRuleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutAttributesUpdatePayloadToCheckoutResolver { + export interface PriceRuleDiscountCodeCreatePayloadToPriceRuleDiscountCodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutAttributesUpdatePayloadToCheckoutUserErrorsResolver { + export interface PriceRuleDiscountCodeCreatePayloadToPriceRuleUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutAttributesUpdatePayloadToUserErrorsResolver { + export interface PriceRuleDiscountCodeCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutUserErrorTypeResolver { - code?: CheckoutUserErrorToCodeResolver; - field?: CheckoutUserErrorToFieldResolver; - message?: CheckoutUserErrorToMessageResolver; + export interface PriceRuleDiscountCodeUpdatePayloadTypeResolver { + priceRule?: PriceRuleDiscountCodeUpdatePayloadToPriceRuleResolver; + priceRuleDiscountCode?: PriceRuleDiscountCodeUpdatePayloadToPriceRuleDiscountCodeResolver; + priceRuleUserErrors?: PriceRuleDiscountCodeUpdatePayloadToPriceRuleUserErrorsResolver; + userErrors?: PriceRuleDiscountCodeUpdatePayloadToUserErrorsResolver; } - export interface CheckoutUserErrorToCodeResolver { + export interface PriceRuleDiscountCodeUpdatePayloadToPriceRuleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutUserErrorToFieldResolver { + export interface PriceRuleDiscountCodeUpdatePayloadToPriceRuleDiscountCodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutUserErrorToMessageResolver { + export interface PriceRuleDiscountCodeUpdatePayloadToPriceRuleUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DisplayableErrorTypeResolver { - (parent: TParent, context: any, info: GraphQLResolveInfo): 'CheckoutUserError' | 'UserError' | 'CustomerUserError'; + export interface PriceRuleDiscountCodeUpdatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface UserErrorTypeResolver { - field?: UserErrorToFieldResolver; - message?: UserErrorToMessageResolver; + + export interface PriceRuleUpdatePayloadTypeResolver { + priceRule?: PriceRuleUpdatePayloadToPriceRuleResolver; + priceRuleDiscountCode?: PriceRuleUpdatePayloadToPriceRuleDiscountCodeResolver; + priceRuleUserErrors?: PriceRuleUpdatePayloadToPriceRuleUserErrorsResolver; + userErrors?: PriceRuleUpdatePayloadToUserErrorsResolver; } - export interface UserErrorToFieldResolver { + export interface PriceRuleUpdatePayloadToPriceRuleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface UserErrorToMessageResolver { + export interface PriceRuleUpdatePayloadToPriceRuleDiscountCodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutAttributesUpdateV2PayloadTypeResolver { - checkout?: CheckoutAttributesUpdateV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutAttributesUpdateV2PayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutAttributesUpdateV2PayloadToUserErrorsResolver; + export interface PriceRuleUpdatePayloadToPriceRuleUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutAttributesUpdateV2PayloadToCheckoutResolver { + export interface PriceRuleUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutAttributesUpdateV2PayloadToCheckoutUserErrorsResolver { + export interface PrivateMetafieldDeletePayloadTypeResolver { + deletedPrivateMetafieldId?: PrivateMetafieldDeletePayloadToDeletedPrivateMetafieldIdResolver; + userErrors?: PrivateMetafieldDeletePayloadToUserErrorsResolver; + } + + export interface PrivateMetafieldDeletePayloadToDeletedPrivateMetafieldIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutAttributesUpdateV2PayloadToUserErrorsResolver { + export interface PrivateMetafieldDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteFreePayloadTypeResolver { - checkout?: CheckoutCompleteFreePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCompleteFreePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutCompleteFreePayloadToUserErrorsResolver; + export interface PrivateMetafieldUpsertPayloadTypeResolver { + privateMetafield?: PrivateMetafieldUpsertPayloadToPrivateMetafieldResolver; + userErrors?: PrivateMetafieldUpsertPayloadToUserErrorsResolver; } - export interface CheckoutCompleteFreePayloadToCheckoutResolver { + export interface PrivateMetafieldUpsertPayloadToPrivateMetafieldResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteFreePayloadToCheckoutUserErrorsResolver { + export interface PrivateMetafieldUpsertPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteFreePayloadToUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductAppendImagesPayloadTypeResolver { + newImages?: ProductAppendImagesPayloadToNewImagesResolver; + product?: ProductAppendImagesPayloadToProductResolver; + userErrors?: ProductAppendImagesPayloadToUserErrorsResolver; } - export interface CheckoutCompleteWithCreditCardPayloadTypeResolver { - checkout?: CheckoutCompleteWithCreditCardPayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCompleteWithCreditCardPayloadToCheckoutUserErrorsResolver; - payment?: CheckoutCompleteWithCreditCardPayloadToPaymentResolver; - userErrors?: CheckoutCompleteWithCreditCardPayloadToUserErrorsResolver; + export interface ProductAppendImagesPayloadToNewImagesArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface ProductAppendImagesPayloadToNewImagesResolver { + (parent: TParent, args: ProductAppendImagesPayloadToNewImagesArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithCreditCardPayloadToCheckoutResolver { + export interface ProductAppendImagesPayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithCreditCardPayloadToCheckoutUserErrorsResolver { + export interface ProductAppendImagesPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithCreditCardPayloadToPaymentResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductCreatePayloadTypeResolver { + product?: ProductCreatePayloadToProductResolver; + shop?: ProductCreatePayloadToShopResolver; + userErrors?: ProductCreatePayloadToUserErrorsResolver; } - export interface CheckoutCompleteWithCreditCardPayloadToUserErrorsResolver { + export interface ProductCreatePayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentTypeResolver { - amount?: PaymentToAmountResolver; - amountV2?: PaymentToAmountV2Resolver; - billingAddress?: PaymentToBillingAddressResolver; - checkout?: PaymentToCheckoutResolver; - creditCard?: PaymentToCreditCardResolver; - errorMessage?: PaymentToErrorMessageResolver; - id?: PaymentToIdResolver; - idempotencyKey?: PaymentToIdempotencyKeyResolver; - nextActionUrl?: PaymentToNextActionUrlResolver; - ready?: PaymentToReadyResolver; - test?: PaymentToTestResolver; - transaction?: PaymentToTransactionResolver; + export interface ProductCreatePayloadToShopResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToAmountResolver { + export interface ProductCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToAmountV2Resolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductCreateMediaPayloadTypeResolver { + media?: ProductCreateMediaPayloadToMediaResolver; + mediaUserErrors?: ProductCreateMediaPayloadToMediaUserErrorsResolver; + product?: ProductCreateMediaPayloadToProductResolver; + userErrors?: ProductCreateMediaPayloadToUserErrorsResolver; } - export interface PaymentToBillingAddressResolver { + export interface ProductCreateMediaPayloadToMediaResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToCheckoutResolver { + export interface ProductCreateMediaPayloadToMediaUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToCreditCardResolver { + export interface ProductCreateMediaPayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToErrorMessageResolver { + export interface ProductCreateMediaPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToIdResolver { + export interface MediaUserErrorTypeResolver { + code?: MediaUserErrorToCodeResolver; + field?: MediaUserErrorToFieldResolver; + message?: MediaUserErrorToMessageResolver; + } + + export interface MediaUserErrorToCodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToIdempotencyKeyResolver { + export interface MediaUserErrorToFieldResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToNextActionUrlResolver { + export interface MediaUserErrorToMessageResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToReadyResolver { + export interface ProductDeletePayloadTypeResolver { + deletedProductId?: ProductDeletePayloadToDeletedProductIdResolver; + shop?: ProductDeletePayloadToShopResolver; + userErrors?: ProductDeletePayloadToUserErrorsResolver; + } + + export interface ProductDeletePayloadToDeletedProductIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToTestResolver { + export interface ProductDeletePayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface PaymentToTransactionResolver { + export interface ProductDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CreditCardTypeResolver { - brand?: CreditCardToBrandResolver; - expiryMonth?: CreditCardToExpiryMonthResolver; - expiryYear?: CreditCardToExpiryYearResolver; - firstDigits?: CreditCardToFirstDigitsResolver; - firstName?: CreditCardToFirstNameResolver; - lastDigits?: CreditCardToLastDigitsResolver; - lastName?: CreditCardToLastNameResolver; - maskedNumber?: CreditCardToMaskedNumberResolver; + export interface ProductDeleteImagesPayloadTypeResolver { + deletedImageIds?: ProductDeleteImagesPayloadToDeletedImageIdsResolver; + product?: ProductDeleteImagesPayloadToProductResolver; + userErrors?: ProductDeleteImagesPayloadToUserErrorsResolver; } - export interface CreditCardToBrandResolver { + export interface ProductDeleteImagesPayloadToDeletedImageIdsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CreditCardToExpiryMonthResolver { + export interface ProductDeleteImagesPayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CreditCardToExpiryYearResolver { + export interface ProductDeleteImagesPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CreditCardToFirstDigitsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductDeleteMediaPayloadTypeResolver { + deletedMediaIds?: ProductDeleteMediaPayloadToDeletedMediaIdsResolver; + deletedProductImageIds?: ProductDeleteMediaPayloadToDeletedProductImageIdsResolver; + mediaUserErrors?: ProductDeleteMediaPayloadToMediaUserErrorsResolver; + product?: ProductDeleteMediaPayloadToProductResolver; + userErrors?: ProductDeleteMediaPayloadToUserErrorsResolver; } - export interface CreditCardToFirstNameResolver { + export interface ProductDeleteMediaPayloadToDeletedMediaIdsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CreditCardToLastDigitsResolver { + export interface ProductDeleteMediaPayloadToDeletedProductImageIdsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CreditCardToLastNameResolver { + export interface ProductDeleteMediaPayloadToMediaUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CreditCardToMaskedNumberResolver { + export interface ProductDeleteMediaPayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface TransactionTypeResolver { - amount?: TransactionToAmountResolver; - amountV2?: TransactionToAmountV2Resolver; - kind?: TransactionToKindResolver; - status?: TransactionToStatusResolver; - statusV2?: TransactionToStatusV2Resolver; - test?: TransactionToTestResolver; + export interface ProductDeleteMediaPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface TransactionToAmountResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductDuplicatePayloadTypeResolver { + imageJob?: ProductDuplicatePayloadToImageJobResolver; + newProduct?: ProductDuplicatePayloadToNewProductResolver; + shop?: ProductDuplicatePayloadToShopResolver; + userErrors?: ProductDuplicatePayloadToUserErrorsResolver; } - export interface TransactionToAmountV2Resolver { + export interface ProductDuplicatePayloadToImageJobResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface TransactionToKindResolver { + export interface ProductDuplicatePayloadToNewProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface TransactionToStatusResolver { + export interface ProductDuplicatePayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface TransactionToStatusV2Resolver { + export interface ProductDuplicatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface TransactionToTestResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductImageUpdatePayloadTypeResolver { + image?: ProductImageUpdatePayloadToImageResolver; + userErrors?: ProductImageUpdatePayloadToUserErrorsResolver; } - export interface CheckoutCompleteWithCreditCardV2PayloadTypeResolver { - checkout?: CheckoutCompleteWithCreditCardV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCompleteWithCreditCardV2PayloadToCheckoutUserErrorsResolver; - payment?: CheckoutCompleteWithCreditCardV2PayloadToPaymentResolver; - userErrors?: CheckoutCompleteWithCreditCardV2PayloadToUserErrorsResolver; + export interface ProductImageUpdatePayloadToImageArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface ProductImageUpdatePayloadToImageResolver { + (parent: TParent, args: ProductImageUpdatePayloadToImageArgs, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithCreditCardV2PayloadToCheckoutResolver { + export interface ProductImageUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithCreditCardV2PayloadToCheckoutUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductPublishPayloadTypeResolver { + product?: ProductPublishPayloadToProductResolver; + productPublications?: ProductPublishPayloadToProductPublicationsResolver; + shop?: ProductPublishPayloadToShopResolver; + userErrors?: ProductPublishPayloadToUserErrorsResolver; } - export interface CheckoutCompleteWithCreditCardV2PayloadToPaymentResolver { + export interface ProductPublishPayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithCreditCardV2PayloadToUserErrorsResolver { + export interface ProductPublishPayloadToProductPublicationsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentPayloadTypeResolver { - checkout?: CheckoutCompleteWithTokenizedPaymentPayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCompleteWithTokenizedPaymentPayloadToCheckoutUserErrorsResolver; - payment?: CheckoutCompleteWithTokenizedPaymentPayloadToPaymentResolver; - userErrors?: CheckoutCompleteWithTokenizedPaymentPayloadToUserErrorsResolver; + export interface ProductPublishPayloadToShopResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentPayloadToCheckoutResolver { + export interface ProductPublishPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentPayloadToCheckoutUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductReorderImagesPayloadTypeResolver { + job?: ProductReorderImagesPayloadToJobResolver; + userErrors?: ProductReorderImagesPayloadToUserErrorsResolver; } - export interface CheckoutCompleteWithTokenizedPaymentPayloadToPaymentResolver { + export interface ProductReorderImagesPayloadToJobResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentPayloadToUserErrorsResolver { + export interface ProductReorderImagesPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentV2PayloadTypeResolver { - checkout?: CheckoutCompleteWithTokenizedPaymentV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCompleteWithTokenizedPaymentV2PayloadToCheckoutUserErrorsResolver; - payment?: CheckoutCompleteWithTokenizedPaymentV2PayloadToPaymentResolver; - userErrors?: CheckoutCompleteWithTokenizedPaymentV2PayloadToUserErrorsResolver; + export interface ProductReorderMediaPayloadTypeResolver { + job?: ProductReorderMediaPayloadToJobResolver; + mediaUserErrors?: ProductReorderMediaPayloadToMediaUserErrorsResolver; + userErrors?: ProductReorderMediaPayloadToUserErrorsResolver; } - export interface CheckoutCompleteWithTokenizedPaymentV2PayloadToCheckoutResolver { + export interface ProductReorderMediaPayloadToJobResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentV2PayloadToCheckoutUserErrorsResolver { + export interface ProductReorderMediaPayloadToMediaUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentV2PayloadToPaymentResolver { + export interface ProductReorderMediaPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentV2PayloadToUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductUnpublishPayloadTypeResolver { + product?: ProductUnpublishPayloadToProductResolver; + shop?: ProductUnpublishPayloadToShopResolver; + userErrors?: ProductUnpublishPayloadToUserErrorsResolver; } - export interface CheckoutCompleteWithTokenizedPaymentV3PayloadTypeResolver { - checkout?: CheckoutCompleteWithTokenizedPaymentV3PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCompleteWithTokenizedPaymentV3PayloadToCheckoutUserErrorsResolver; - payment?: CheckoutCompleteWithTokenizedPaymentV3PayloadToPaymentResolver; - userErrors?: CheckoutCompleteWithTokenizedPaymentV3PayloadToUserErrorsResolver; + export interface ProductUnpublishPayloadToProductResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentV3PayloadToCheckoutResolver { + export interface ProductUnpublishPayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentV3PayloadToCheckoutUserErrorsResolver { + export interface ProductUnpublishPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentV3PayloadToPaymentResolver { + export interface ProductUpdatePayloadTypeResolver { + product?: ProductUpdatePayloadToProductResolver; + userErrors?: ProductUpdatePayloadToUserErrorsResolver; + } + + export interface ProductUpdatePayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCompleteWithTokenizedPaymentV3PayloadToUserErrorsResolver { + export interface ProductUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCreatePayloadTypeResolver { - checkout?: CheckoutCreatePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCreatePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutCreatePayloadToUserErrorsResolver; + export interface ProductUpdateMediaPayloadTypeResolver { + media?: ProductUpdateMediaPayloadToMediaResolver; + mediaUserErrors?: ProductUpdateMediaPayloadToMediaUserErrorsResolver; + product?: ProductUpdateMediaPayloadToProductResolver; + userErrors?: ProductUpdateMediaPayloadToUserErrorsResolver; } - export interface CheckoutCreatePayloadToCheckoutResolver { + export interface ProductUpdateMediaPayloadToMediaResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCreatePayloadToCheckoutUserErrorsResolver { + export interface ProductUpdateMediaPayloadToMediaUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCreatePayloadToUserErrorsResolver { + export interface ProductUpdateMediaPayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerAssociatePayloadTypeResolver { - checkout?: CheckoutCustomerAssociatePayloadToCheckoutResolver; - customer?: CheckoutCustomerAssociatePayloadToCustomerResolver; - userErrors?: CheckoutCustomerAssociatePayloadToUserErrorsResolver; + export interface ProductUpdateMediaPayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerAssociatePayloadToCheckoutResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductVariantCreatePayloadTypeResolver { + product?: ProductVariantCreatePayloadToProductResolver; + productVariant?: ProductVariantCreatePayloadToProductVariantResolver; + userErrors?: ProductVariantCreatePayloadToUserErrorsResolver; } - export interface CheckoutCustomerAssociatePayloadToCustomerResolver { + export interface ProductVariantCreatePayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerAssociatePayloadToUserErrorsResolver { + export interface ProductVariantCreatePayloadToProductVariantResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerAssociateV2PayloadTypeResolver { - checkout?: CheckoutCustomerAssociateV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCustomerAssociateV2PayloadToCheckoutUserErrorsResolver; - customer?: CheckoutCustomerAssociateV2PayloadToCustomerResolver; - userErrors?: CheckoutCustomerAssociateV2PayloadToUserErrorsResolver; + export interface ProductVariantCreatePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerAssociateV2PayloadToCheckoutResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ProductVariantDeletePayloadTypeResolver { + deletedProductVariantId?: ProductVariantDeletePayloadToDeletedProductVariantIdResolver; + product?: ProductVariantDeletePayloadToProductResolver; + userErrors?: ProductVariantDeletePayloadToUserErrorsResolver; } - export interface CheckoutCustomerAssociateV2PayloadToCheckoutUserErrorsResolver { + export interface ProductVariantDeletePayloadToDeletedProductVariantIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerAssociateV2PayloadToCustomerResolver { + export interface ProductVariantDeletePayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerAssociateV2PayloadToUserErrorsResolver { + export interface ProductVariantDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerDisassociatePayloadTypeResolver { - checkout?: CheckoutCustomerDisassociatePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCustomerDisassociatePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutCustomerDisassociatePayloadToUserErrorsResolver; + export interface ProductVariantUpdatePayloadTypeResolver { + product?: ProductVariantUpdatePayloadToProductResolver; + productVariant?: ProductVariantUpdatePayloadToProductVariantResolver; + userErrors?: ProductVariantUpdatePayloadToUserErrorsResolver; } - export interface CheckoutCustomerDisassociatePayloadToCheckoutResolver { + export interface ProductVariantUpdatePayloadToProductResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerDisassociatePayloadToCheckoutUserErrorsResolver { + export interface ProductVariantUpdatePayloadToProductVariantResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerDisassociatePayloadToUserErrorsResolver { + export interface ProductVariantUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerDisassociateV2PayloadTypeResolver { - checkout?: CheckoutCustomerDisassociateV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutCustomerDisassociateV2PayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutCustomerDisassociateV2PayloadToUserErrorsResolver; + export interface PublishablePublishPayloadTypeResolver { + publishable?: PublishablePublishPayloadToPublishableResolver; + shop?: PublishablePublishPayloadToShopResolver; + userErrors?: PublishablePublishPayloadToUserErrorsResolver; } - export interface CheckoutCustomerDisassociateV2PayloadToCheckoutResolver { + export interface PublishablePublishPayloadToPublishableResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerDisassociateV2PayloadToCheckoutUserErrorsResolver { + export interface PublishablePublishPayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutCustomerDisassociateV2PayloadToUserErrorsResolver { + export interface PublishablePublishPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeApplyPayloadTypeResolver { - checkout?: CheckoutDiscountCodeApplyPayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutDiscountCodeApplyPayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutDiscountCodeApplyPayloadToUserErrorsResolver; + export interface PublishablePublishToCurrentChannelPayloadTypeResolver { + publishable?: PublishablePublishToCurrentChannelPayloadToPublishableResolver; + shop?: PublishablePublishToCurrentChannelPayloadToShopResolver; + userErrors?: PublishablePublishToCurrentChannelPayloadToUserErrorsResolver; } - export interface CheckoutDiscountCodeApplyPayloadToCheckoutResolver { + export interface PublishablePublishToCurrentChannelPayloadToPublishableResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeApplyPayloadToCheckoutUserErrorsResolver { + export interface PublishablePublishToCurrentChannelPayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeApplyPayloadToUserErrorsResolver { + export interface PublishablePublishToCurrentChannelPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeApplyV2PayloadTypeResolver { - checkout?: CheckoutDiscountCodeApplyV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutDiscountCodeApplyV2PayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutDiscountCodeApplyV2PayloadToUserErrorsResolver; + export interface PublishableUnpublishPayloadTypeResolver { + publishable?: PublishableUnpublishPayloadToPublishableResolver; + shop?: PublishableUnpublishPayloadToShopResolver; + userErrors?: PublishableUnpublishPayloadToUserErrorsResolver; } - export interface CheckoutDiscountCodeApplyV2PayloadToCheckoutResolver { + export interface PublishableUnpublishPayloadToPublishableResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeApplyV2PayloadToCheckoutUserErrorsResolver { + export interface PublishableUnpublishPayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeApplyV2PayloadToUserErrorsResolver { + export interface PublishableUnpublishPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeRemovePayloadTypeResolver { - checkout?: CheckoutDiscountCodeRemovePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutDiscountCodeRemovePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutDiscountCodeRemovePayloadToUserErrorsResolver; + export interface PublishableUnpublishToCurrentChannelPayloadTypeResolver { + publishable?: PublishableUnpublishToCurrentChannelPayloadToPublishableResolver; + shop?: PublishableUnpublishToCurrentChannelPayloadToShopResolver; + userErrors?: PublishableUnpublishToCurrentChannelPayloadToUserErrorsResolver; } - export interface CheckoutDiscountCodeRemovePayloadToCheckoutResolver { + export interface PublishableUnpublishToCurrentChannelPayloadToPublishableResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeRemovePayloadToCheckoutUserErrorsResolver { + export interface PublishableUnpublishToCurrentChannelPayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutDiscountCodeRemovePayloadToUserErrorsResolver { + export interface PublishableUnpublishToCurrentChannelPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutEmailUpdatePayloadTypeResolver { - checkout?: CheckoutEmailUpdatePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutEmailUpdatePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutEmailUpdatePayloadToUserErrorsResolver; + export interface RefundCreatePayloadTypeResolver { + order?: RefundCreatePayloadToOrderResolver; + refund?: RefundCreatePayloadToRefundResolver; + userErrors?: RefundCreatePayloadToUserErrorsResolver; } - export interface CheckoutEmailUpdatePayloadToCheckoutResolver { + export interface RefundCreatePayloadToOrderResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutEmailUpdatePayloadToCheckoutUserErrorsResolver { + export interface RefundCreatePayloadToRefundResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutEmailUpdatePayloadToUserErrorsResolver { + export interface RefundCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutEmailUpdateV2PayloadTypeResolver { - checkout?: CheckoutEmailUpdateV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutEmailUpdateV2PayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutEmailUpdateV2PayloadToUserErrorsResolver; + export interface SavedSearchCreatePayloadTypeResolver { + savedSearch?: SavedSearchCreatePayloadToSavedSearchResolver; + userErrors?: SavedSearchCreatePayloadToUserErrorsResolver; } - export interface CheckoutEmailUpdateV2PayloadToCheckoutResolver { + export interface SavedSearchCreatePayloadToSavedSearchResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutEmailUpdateV2PayloadToCheckoutUserErrorsResolver { + export interface SavedSearchCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutEmailUpdateV2PayloadToUserErrorsResolver { + export interface SavedSearchDeletePayloadTypeResolver { + deletedSavedSearchId?: SavedSearchDeletePayloadToDeletedSavedSearchIdResolver; + shop?: SavedSearchDeletePayloadToShopResolver; + userErrors?: SavedSearchDeletePayloadToUserErrorsResolver; + } + + export interface SavedSearchDeletePayloadToDeletedSavedSearchIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardApplyPayloadTypeResolver { - checkout?: CheckoutGiftCardApplyPayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutGiftCardApplyPayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutGiftCardApplyPayloadToUserErrorsResolver; + export interface SavedSearchDeletePayloadToShopResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardApplyPayloadToCheckoutResolver { + export interface SavedSearchDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardApplyPayloadToCheckoutUserErrorsResolver { + export interface SavedSearchUpdatePayloadTypeResolver { + savedSearch?: SavedSearchUpdatePayloadToSavedSearchResolver; + userErrors?: SavedSearchUpdatePayloadToUserErrorsResolver; + } + + export interface SavedSearchUpdatePayloadToSavedSearchResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardApplyPayloadToUserErrorsResolver { + export interface SavedSearchUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardRemovePayloadTypeResolver { - checkout?: CheckoutGiftCardRemovePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutGiftCardRemovePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutGiftCardRemovePayloadToUserErrorsResolver; + export interface ScriptTagCreatePayloadTypeResolver { + scriptTag?: ScriptTagCreatePayloadToScriptTagResolver; + userErrors?: ScriptTagCreatePayloadToUserErrorsResolver; } - export interface CheckoutGiftCardRemovePayloadToCheckoutResolver { + export interface ScriptTagCreatePayloadToScriptTagResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardRemovePayloadToCheckoutUserErrorsResolver { + export interface ScriptTagCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardRemovePayloadToUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ScriptTagDeletePayloadTypeResolver { + deletedScriptTagId?: ScriptTagDeletePayloadToDeletedScriptTagIdResolver; + userErrors?: ScriptTagDeletePayloadToUserErrorsResolver; } - export interface CheckoutGiftCardRemoveV2PayloadTypeResolver { - checkout?: CheckoutGiftCardRemoveV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutGiftCardRemoveV2PayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutGiftCardRemoveV2PayloadToUserErrorsResolver; + export interface ScriptTagDeletePayloadToDeletedScriptTagIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardRemoveV2PayloadToCheckoutResolver { + export interface ScriptTagDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardRemoveV2PayloadToCheckoutUserErrorsResolver { + export interface ScriptTagUpdatePayloadTypeResolver { + scriptTag?: ScriptTagUpdatePayloadToScriptTagResolver; + userErrors?: ScriptTagUpdatePayloadToUserErrorsResolver; + } + + export interface ScriptTagUpdatePayloadToScriptTagResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardRemoveV2PayloadToUserErrorsResolver { + export interface ScriptTagUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardsAppendPayloadTypeResolver { - checkout?: CheckoutGiftCardsAppendPayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutGiftCardsAppendPayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutGiftCardsAppendPayloadToUserErrorsResolver; + export interface ShippingPackageDeletePayloadTypeResolver { + deletedId?: ShippingPackageDeletePayloadToDeletedIdResolver; + userErrors?: ShippingPackageDeletePayloadToUserErrorsResolver; } - export interface CheckoutGiftCardsAppendPayloadToCheckoutResolver { + export interface ShippingPackageDeletePayloadToDeletedIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardsAppendPayloadToCheckoutUserErrorsResolver { + export interface ShippingPackageDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutGiftCardsAppendPayloadToUserErrorsResolver { + export interface ShippingPackageMakeDefaultPayloadTypeResolver { + userErrors?: ShippingPackageMakeDefaultPayloadToUserErrorsResolver; + } + + export interface ShippingPackageMakeDefaultPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsAddPayloadTypeResolver { - checkout?: CheckoutLineItemsAddPayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutLineItemsAddPayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutLineItemsAddPayloadToUserErrorsResolver; + export interface ShippingPackageUpdatePayloadTypeResolver { + userErrors?: ShippingPackageUpdatePayloadToUserErrorsResolver; } - export interface CheckoutLineItemsAddPayloadToCheckoutResolver { + export interface ShippingPackageUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsAddPayloadToCheckoutUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ShopLocaleDisablePayloadTypeResolver { + locale?: ShopLocaleDisablePayloadToLocaleResolver; + userErrors?: ShopLocaleDisablePayloadToUserErrorsResolver; } - export interface CheckoutLineItemsAddPayloadToUserErrorsResolver { + export interface ShopLocaleDisablePayloadToLocaleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsRemovePayloadTypeResolver { - checkout?: CheckoutLineItemsRemovePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutLineItemsRemovePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutLineItemsRemovePayloadToUserErrorsResolver; + export interface ShopLocaleDisablePayloadToUserErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsRemovePayloadToCheckoutResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface ShopLocaleEnablePayloadTypeResolver { + shopLocale?: ShopLocaleEnablePayloadToShopLocaleResolver; + userErrors?: ShopLocaleEnablePayloadToUserErrorsResolver; } - export interface CheckoutLineItemsRemovePayloadToCheckoutUserErrorsResolver { + export interface ShopLocaleEnablePayloadToShopLocaleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsRemovePayloadToUserErrorsResolver { + export interface ShopLocaleEnablePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsReplacePayloadTypeResolver { - checkout?: CheckoutLineItemsReplacePayloadToCheckoutResolver; - userErrors?: CheckoutLineItemsReplacePayloadToUserErrorsResolver; + export interface ShopLocaleUpdatePayloadTypeResolver { + shopLocale?: ShopLocaleUpdatePayloadToShopLocaleResolver; + userErrors?: ShopLocaleUpdatePayloadToUserErrorsResolver; } - export interface CheckoutLineItemsReplacePayloadToCheckoutResolver { + export interface ShopLocaleUpdatePayloadToShopLocaleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsReplacePayloadToUserErrorsResolver { + export interface ShopLocaleUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsUpdatePayloadTypeResolver { - checkout?: CheckoutLineItemsUpdatePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutLineItemsUpdatePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutLineItemsUpdatePayloadToUserErrorsResolver; + export interface StagedUploadTargetGeneratePayloadTypeResolver { + parameters?: StagedUploadTargetGeneratePayloadToParametersResolver; + url?: StagedUploadTargetGeneratePayloadToUrlResolver; + userErrors?: StagedUploadTargetGeneratePayloadToUserErrorsResolver; } - export interface CheckoutLineItemsUpdatePayloadToCheckoutResolver { + export interface StagedUploadTargetGeneratePayloadToParametersResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsUpdatePayloadToCheckoutUserErrorsResolver { + export interface StagedUploadTargetGeneratePayloadToUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutLineItemsUpdatePayloadToUserErrorsResolver { + export interface StagedUploadTargetGeneratePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingAddressUpdatePayloadTypeResolver { - checkout?: CheckoutShippingAddressUpdatePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutShippingAddressUpdatePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutShippingAddressUpdatePayloadToUserErrorsResolver; + export interface MutationsStagedUploadTargetGenerateUploadParameterTypeResolver { + name?: MutationsStagedUploadTargetGenerateUploadParameterToNameResolver; + value?: MutationsStagedUploadTargetGenerateUploadParameterToValueResolver; } - export interface CheckoutShippingAddressUpdatePayloadToCheckoutResolver { + export interface MutationsStagedUploadTargetGenerateUploadParameterToNameResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingAddressUpdatePayloadToCheckoutUserErrorsResolver { + export interface MutationsStagedUploadTargetGenerateUploadParameterToValueResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingAddressUpdatePayloadToUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface StagedUploadTargetsGeneratePayloadTypeResolver { + urls?: StagedUploadTargetsGeneratePayloadToUrlsResolver; + userErrors?: StagedUploadTargetsGeneratePayloadToUserErrorsResolver; } - export interface CheckoutShippingAddressUpdateV2PayloadTypeResolver { - checkout?: CheckoutShippingAddressUpdateV2PayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutShippingAddressUpdateV2PayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutShippingAddressUpdateV2PayloadToUserErrorsResolver; + export interface StagedUploadTargetsGeneratePayloadToUrlsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingAddressUpdateV2PayloadToCheckoutResolver { + export interface StagedUploadTargetsGeneratePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingAddressUpdateV2PayloadToCheckoutUserErrorsResolver { + export interface StagedUploadTargetTypeResolver { + parameters?: StagedUploadTargetToParametersResolver; + url?: StagedUploadTargetToUrlResolver; + } + + export interface StagedUploadTargetToParametersResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingAddressUpdateV2PayloadToUserErrorsResolver { + export interface StagedUploadTargetToUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingLineUpdatePayloadTypeResolver { - checkout?: CheckoutShippingLineUpdatePayloadToCheckoutResolver; - checkoutUserErrors?: CheckoutShippingLineUpdatePayloadToCheckoutUserErrorsResolver; - userErrors?: CheckoutShippingLineUpdatePayloadToUserErrorsResolver; + export interface ImageUploadParameterTypeResolver { + name?: ImageUploadParameterToNameResolver; + value?: ImageUploadParameterToValueResolver; + } + + export interface ImageUploadParameterToNameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingLineUpdatePayloadToCheckoutResolver { + export interface ImageUploadParameterToValueResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingLineUpdatePayloadToCheckoutUserErrorsResolver { + export interface StagedUploadsCreatePayloadTypeResolver { + stagedTargets?: StagedUploadsCreatePayloadToStagedTargetsResolver; + userErrors?: StagedUploadsCreatePayloadToUserErrorsResolver; + } + + export interface StagedUploadsCreatePayloadToStagedTargetsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CheckoutShippingLineUpdatePayloadToUserErrorsResolver { + export interface StagedUploadsCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenCreatePayloadTypeResolver { - customerAccessToken?: CustomerAccessTokenCreatePayloadToCustomerAccessTokenResolver; - customerUserErrors?: CustomerAccessTokenCreatePayloadToCustomerUserErrorsResolver; - userErrors?: CustomerAccessTokenCreatePayloadToUserErrorsResolver; + export interface StagedMediaUploadTargetTypeResolver { + parameters?: StagedMediaUploadTargetToParametersResolver; + resourceUrl?: StagedMediaUploadTargetToResourceUrlResolver; + url?: StagedMediaUploadTargetToUrlResolver; } - export interface CustomerAccessTokenCreatePayloadToCustomerAccessTokenResolver { + export interface StagedMediaUploadTargetToParametersResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenCreatePayloadToCustomerUserErrorsResolver { + export interface StagedMediaUploadTargetToResourceUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenCreatePayloadToUserErrorsResolver { + export interface StagedMediaUploadTargetToUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenTypeResolver { - accessToken?: CustomerAccessTokenToAccessTokenResolver; - expiresAt?: CustomerAccessTokenToExpiresAtResolver; + export interface StagedUploadParameterTypeResolver { + name?: StagedUploadParameterToNameResolver; + value?: StagedUploadParameterToValueResolver; } - export interface CustomerAccessTokenToAccessTokenResolver { + export interface StagedUploadParameterToNameResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenToExpiresAtResolver { + export interface StagedUploadParameterToValueResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerUserErrorTypeResolver { - code?: CustomerUserErrorToCodeResolver; - field?: CustomerUserErrorToFieldResolver; - message?: CustomerUserErrorToMessageResolver; + export interface StorefrontAccessTokenCreatePayloadTypeResolver { + shop?: StorefrontAccessTokenCreatePayloadToShopResolver; + storefrontAccessToken?: StorefrontAccessTokenCreatePayloadToStorefrontAccessTokenResolver; + userErrors?: StorefrontAccessTokenCreatePayloadToUserErrorsResolver; } - export interface CustomerUserErrorToCodeResolver { + export interface StorefrontAccessTokenCreatePayloadToShopResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerUserErrorToFieldResolver { + export interface StorefrontAccessTokenCreatePayloadToStorefrontAccessTokenResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerUserErrorToMessageResolver { + export interface StorefrontAccessTokenCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenCreateWithMultipassPayloadTypeResolver { - customerAccessToken?: CustomerAccessTokenCreateWithMultipassPayloadToCustomerAccessTokenResolver; - customerUserErrors?: CustomerAccessTokenCreateWithMultipassPayloadToCustomerUserErrorsResolver; + export interface StorefrontAccessTokenDeletePayloadTypeResolver { + deletedStorefrontAccessTokenId?: StorefrontAccessTokenDeletePayloadToDeletedStorefrontAccessTokenIdResolver; + userErrors?: StorefrontAccessTokenDeletePayloadToUserErrorsResolver; } - export interface CustomerAccessTokenCreateWithMultipassPayloadToCustomerAccessTokenResolver { + export interface StorefrontAccessTokenDeletePayloadToDeletedStorefrontAccessTokenIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenCreateWithMultipassPayloadToCustomerUserErrorsResolver { + export interface StorefrontAccessTokenDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenDeletePayloadTypeResolver { - deletedAccessToken?: CustomerAccessTokenDeletePayloadToDeletedAccessTokenResolver; - deletedCustomerAccessTokenId?: CustomerAccessTokenDeletePayloadToDeletedCustomerAccessTokenIdResolver; - userErrors?: CustomerAccessTokenDeletePayloadToUserErrorsResolver; - } - - export interface CustomerAccessTokenDeletePayloadToDeletedAccessTokenResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface TagsAddPayloadTypeResolver { + node?: TagsAddPayloadToNodeResolver; + userErrors?: TagsAddPayloadToUserErrorsResolver; } - export interface CustomerAccessTokenDeletePayloadToDeletedCustomerAccessTokenIdResolver { + export interface TagsAddPayloadToNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenDeletePayloadToUserErrorsResolver { + export interface TagsAddPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenRenewPayloadTypeResolver { - customerAccessToken?: CustomerAccessTokenRenewPayloadToCustomerAccessTokenResolver; - userErrors?: CustomerAccessTokenRenewPayloadToUserErrorsResolver; + export interface TagsRemovePayloadTypeResolver { + node?: TagsRemovePayloadToNodeResolver; + userErrors?: TagsRemovePayloadToUserErrorsResolver; } - export interface CustomerAccessTokenRenewPayloadToCustomerAccessTokenResolver { + export interface TagsRemovePayloadToNodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAccessTokenRenewPayloadToUserErrorsResolver { + export interface TagsRemovePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerActivatePayloadTypeResolver { - customer?: CustomerActivatePayloadToCustomerResolver; - customerAccessToken?: CustomerActivatePayloadToCustomerAccessTokenResolver; - customerUserErrors?: CustomerActivatePayloadToCustomerUserErrorsResolver; - userErrors?: CustomerActivatePayloadToUserErrorsResolver; + export interface TranslationsRegisterPayloadTypeResolver { + translations?: TranslationsRegisterPayloadToTranslationsResolver; + userErrors?: TranslationsRegisterPayloadToUserErrorsResolver; } - export interface CustomerActivatePayloadToCustomerResolver { + export interface TranslationsRegisterPayloadToTranslationsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerActivatePayloadToCustomerAccessTokenResolver { + export interface TranslationsRegisterPayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerActivatePayloadToCustomerUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface TranslationUserErrorTypeResolver { + code?: TranslationUserErrorToCodeResolver; + field?: TranslationUserErrorToFieldResolver; + message?: TranslationUserErrorToMessageResolver; } - export interface CustomerActivatePayloadToUserErrorsResolver { + export interface TranslationUserErrorToCodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerActivateByUrlPayloadTypeResolver { - customer?: CustomerActivateByUrlPayloadToCustomerResolver; - customerAccessToken?: CustomerActivateByUrlPayloadToCustomerAccessTokenResolver; - customerUserErrors?: CustomerActivateByUrlPayloadToCustomerUserErrorsResolver; + export interface TranslationUserErrorToFieldResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerActivateByUrlPayloadToCustomerResolver { + export interface TranslationUserErrorToMessageResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerActivateByUrlPayloadToCustomerAccessTokenResolver { + export interface TranslationsRemovePayloadTypeResolver { + translations?: TranslationsRemovePayloadToTranslationsResolver; + userErrors?: TranslationsRemovePayloadToUserErrorsResolver; + } + + export interface TranslationsRemovePayloadToTranslationsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerActivateByUrlPayloadToCustomerUserErrorsResolver { + export interface TranslationsRemovePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressCreatePayloadTypeResolver { - customerAddress?: CustomerAddressCreatePayloadToCustomerAddressResolver; - customerUserErrors?: CustomerAddressCreatePayloadToCustomerUserErrorsResolver; - userErrors?: CustomerAddressCreatePayloadToUserErrorsResolver; + export interface WebhookSubscriptionCreatePayloadTypeResolver { + userErrors?: WebhookSubscriptionCreatePayloadToUserErrorsResolver; + webhookSubscription?: WebhookSubscriptionCreatePayloadToWebhookSubscriptionResolver; } - export interface CustomerAddressCreatePayloadToCustomerAddressResolver { + export interface WebhookSubscriptionCreatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressCreatePayloadToCustomerUserErrorsResolver { + export interface WebhookSubscriptionCreatePayloadToWebhookSubscriptionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressCreatePayloadToUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface WebhookSubscriptionDeletePayloadTypeResolver { + deletedWebhookSubscriptionId?: WebhookSubscriptionDeletePayloadToDeletedWebhookSubscriptionIdResolver; + userErrors?: WebhookSubscriptionDeletePayloadToUserErrorsResolver; } - export interface CustomerAddressDeletePayloadTypeResolver { - customerUserErrors?: CustomerAddressDeletePayloadToCustomerUserErrorsResolver; - deletedCustomerAddressId?: CustomerAddressDeletePayloadToDeletedCustomerAddressIdResolver; - userErrors?: CustomerAddressDeletePayloadToUserErrorsResolver; + export interface WebhookSubscriptionDeletePayloadToDeletedWebhookSubscriptionIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressDeletePayloadToCustomerUserErrorsResolver { + export interface WebhookSubscriptionDeletePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressDeletePayloadToDeletedCustomerAddressIdResolver { + export interface WebhookSubscriptionUpdatePayloadTypeResolver { + userErrors?: WebhookSubscriptionUpdatePayloadToUserErrorsResolver; + webhookSubscription?: WebhookSubscriptionUpdatePayloadToWebhookSubscriptionResolver; + } + + export interface WebhookSubscriptionUpdatePayloadToUserErrorsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressDeletePayloadToUserErrorsResolver { + export interface WebhookSubscriptionUpdatePayloadToWebhookSubscriptionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressUpdatePayloadTypeResolver { - customerAddress?: CustomerAddressUpdatePayloadToCustomerAddressResolver; - customerUserErrors?: CustomerAddressUpdatePayloadToCustomerUserErrorsResolver; - userErrors?: CustomerAddressUpdatePayloadToUserErrorsResolver; + export interface AutomaticDiscountApplicationTypeResolver { + allocationMethod?: AutomaticDiscountApplicationToAllocationMethodResolver; + index?: AutomaticDiscountApplicationToIndexResolver; + targetSelection?: AutomaticDiscountApplicationToTargetSelectionResolver; + targetType?: AutomaticDiscountApplicationToTargetTypeResolver; + title?: AutomaticDiscountApplicationToTitleResolver; + value?: AutomaticDiscountApplicationToValueResolver; } - export interface CustomerAddressUpdatePayloadToCustomerAddressResolver { + export interface AutomaticDiscountApplicationToAllocationMethodResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressUpdatePayloadToCustomerUserErrorsResolver { + export interface AutomaticDiscountApplicationToIndexResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerAddressUpdatePayloadToUserErrorsResolver { + export interface AutomaticDiscountApplicationToTargetSelectionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerCreatePayloadTypeResolver { - customer?: CustomerCreatePayloadToCustomerResolver; - customerUserErrors?: CustomerCreatePayloadToCustomerUserErrorsResolver; - userErrors?: CustomerCreatePayloadToUserErrorsResolver; + export interface AutomaticDiscountApplicationToTargetTypeResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerCreatePayloadToCustomerResolver { + export interface AutomaticDiscountApplicationToTitleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerCreatePayloadToCustomerUserErrorsResolver { + export interface AutomaticDiscountApplicationToValueResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerCreatePayloadToUserErrorsResolver { - (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + export interface BasicEventTypeResolver { + appTitle?: BasicEventToAppTitleResolver; + attributeToApp?: BasicEventToAttributeToAppResolver; + attributeToUser?: BasicEventToAttributeToUserResolver; + createdAt?: BasicEventToCreatedAtResolver; + criticalAlert?: BasicEventToCriticalAlertResolver; + id?: BasicEventToIdResolver; + message?: BasicEventToMessageResolver; } - export interface CustomerDefaultAddressUpdatePayloadTypeResolver { - customer?: CustomerDefaultAddressUpdatePayloadToCustomerResolver; - customerUserErrors?: CustomerDefaultAddressUpdatePayloadToCustomerUserErrorsResolver; - userErrors?: CustomerDefaultAddressUpdatePayloadToUserErrorsResolver; + export interface BasicEventToAppTitleResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerDefaultAddressUpdatePayloadToCustomerResolver { + export interface BasicEventToAttributeToAppResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerDefaultAddressUpdatePayloadToCustomerUserErrorsResolver { + export interface BasicEventToAttributeToUserResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerDefaultAddressUpdatePayloadToUserErrorsResolver { + export interface BasicEventToCreatedAtResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerRecoverPayloadTypeResolver { - customerUserErrors?: CustomerRecoverPayloadToCustomerUserErrorsResolver; - userErrors?: CustomerRecoverPayloadToUserErrorsResolver; + export interface BasicEventToCriticalAlertResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerRecoverPayloadToCustomerUserErrorsResolver { + export interface BasicEventToIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerRecoverPayloadToUserErrorsResolver { + export interface BasicEventToMessageResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetPayloadTypeResolver { - customer?: CustomerResetPayloadToCustomerResolver; - customerAccessToken?: CustomerResetPayloadToCustomerAccessTokenResolver; - customerUserErrors?: CustomerResetPayloadToCustomerUserErrorsResolver; - userErrors?: CustomerResetPayloadToUserErrorsResolver; + export interface CommentEventTypeResolver { + appTitle?: CommentEventToAppTitleResolver; + attachments?: CommentEventToAttachmentsResolver; + attributeToApp?: CommentEventToAttributeToAppResolver; + attributeToUser?: CommentEventToAttributeToUserResolver; + canDelete?: CommentEventToCanDeleteResolver; + canEdit?: CommentEventToCanEditResolver; + createdAt?: CommentEventToCreatedAtResolver; + criticalAlert?: CommentEventToCriticalAlertResolver; + edited?: CommentEventToEditedResolver; + embed?: CommentEventToEmbedResolver; + id?: CommentEventToIdResolver; + message?: CommentEventToMessageResolver; + rawMessage?: CommentEventToRawMessageResolver; + subject?: CommentEventToSubjectResolver; } - export interface CustomerResetPayloadToCustomerResolver { + export interface CommentEventToAppTitleResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetPayloadToCustomerAccessTokenResolver { + export interface CommentEventToAttachmentsResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetPayloadToCustomerUserErrorsResolver { + export interface CommentEventToAttributeToAppResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetPayloadToUserErrorsResolver { + export interface CommentEventToAttributeToUserResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetByUrlPayloadTypeResolver { - customer?: CustomerResetByUrlPayloadToCustomerResolver; - customerAccessToken?: CustomerResetByUrlPayloadToCustomerAccessTokenResolver; - customerUserErrors?: CustomerResetByUrlPayloadToCustomerUserErrorsResolver; - userErrors?: CustomerResetByUrlPayloadToUserErrorsResolver; + export interface CommentEventToCanDeleteResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetByUrlPayloadToCustomerResolver { + export interface CommentEventToCanEditResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetByUrlPayloadToCustomerAccessTokenResolver { + export interface CommentEventToCreatedAtResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetByUrlPayloadToCustomerUserErrorsResolver { + export interface CommentEventToCriticalAlertResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerResetByUrlPayloadToUserErrorsResolver { + export interface CommentEventToEditedResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerUpdatePayloadTypeResolver { - customer?: CustomerUpdatePayloadToCustomerResolver; - customerAccessToken?: CustomerUpdatePayloadToCustomerAccessTokenResolver; - customerUserErrors?: CustomerUpdatePayloadToCustomerUserErrorsResolver; - userErrors?: CustomerUpdatePayloadToUserErrorsResolver; + export interface CommentEventToEmbedResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerUpdatePayloadToCustomerResolver { + export interface CommentEventToIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerUpdatePayloadToCustomerAccessTokenResolver { + export interface CommentEventToMessageResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerUpdatePayloadToCustomerUserErrorsResolver { + export interface CommentEventToRawMessageResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface CustomerUpdatePayloadToUserErrorsResolver { + export interface CommentEventToSubjectResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AutomaticDiscountApplicationTypeResolver { - allocationMethod?: AutomaticDiscountApplicationToAllocationMethodResolver; - targetSelection?: AutomaticDiscountApplicationToTargetSelectionResolver; - targetType?: AutomaticDiscountApplicationToTargetTypeResolver; - title?: AutomaticDiscountApplicationToTitleResolver; - value?: AutomaticDiscountApplicationToValueResolver; + export interface CommentEventAttachmentTypeResolver { + fileExtension?: CommentEventAttachmentToFileExtensionResolver; + id?: CommentEventAttachmentToIdResolver; + image?: CommentEventAttachmentToImageResolver; + name?: CommentEventAttachmentToNameResolver; + size?: CommentEventAttachmentToSizeResolver; + url?: CommentEventAttachmentToUrlResolver; } - export interface AutomaticDiscountApplicationToAllocationMethodResolver { + export interface CommentEventAttachmentToFileExtensionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AutomaticDiscountApplicationToTargetSelectionResolver { + export interface CommentEventAttachmentToIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AutomaticDiscountApplicationToTargetTypeResolver { + export interface CommentEventAttachmentToImageArgs { + maxWidth?: number; + maxHeight?: number; + crop?: CropRegion; + scale?: number; + } + export interface CommentEventAttachmentToImageResolver { + (parent: TParent, args: CommentEventAttachmentToImageArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface CommentEventAttachmentToNameResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AutomaticDiscountApplicationToTitleResolver { + export interface CommentEventAttachmentToSizeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface AutomaticDiscountApplicationToValueResolver { + export interface CommentEventAttachmentToUrlResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface CommentEventEmbedTypeResolver { + (parent: TParent, context: any, info: GraphQLResolveInfo): 'Order' | 'DraftOrder' | 'Customer' | 'Product' | 'ProductVariant'; + } export interface DiscountCodeApplicationTypeResolver { allocationMethod?: DiscountCodeApplicationToAllocationMethodResolver; - applicable?: DiscountCodeApplicationToApplicableResolver; code?: DiscountCodeApplicationToCodeResolver; + index?: DiscountCodeApplicationToIndexResolver; targetSelection?: DiscountCodeApplicationToTargetSelectionResolver; targetType?: DiscountCodeApplicationToTargetTypeResolver; value?: DiscountCodeApplicationToValueResolver; @@ -12513,11 +44785,11 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountCodeApplicationToApplicableResolver { + export interface DiscountCodeApplicationToCodeResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface DiscountCodeApplicationToCodeResolver { + export interface DiscountCodeApplicationToIndexResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } @@ -12538,7 +44810,9 @@ export type Money = any; embeddedUrl?: ExternalVideoToEmbeddedUrlResolver; id?: ExternalVideoToIdResolver; mediaContentType?: ExternalVideoToMediaContentTypeResolver; - previewImage?: ExternalVideoToPreviewImageResolver; + mediaErrors?: ExternalVideoToMediaErrorsResolver; + preview?: ExternalVideoToPreviewResolver; + status?: ExternalVideoToStatusResolver; } export interface ExternalVideoToAltResolver { @@ -12557,13 +44831,22 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface ExternalVideoToPreviewImageResolver { + export interface ExternalVideoToMediaErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ExternalVideoToPreviewResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ExternalVideoToStatusResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } export interface ManualDiscountApplicationTypeResolver { allocationMethod?: ManualDiscountApplicationToAllocationMethodResolver; description?: ManualDiscountApplicationToDescriptionResolver; + index?: ManualDiscountApplicationToIndexResolver; targetSelection?: ManualDiscountApplicationToTargetSelectionResolver; targetType?: ManualDiscountApplicationToTargetTypeResolver; title?: ManualDiscountApplicationToTitleResolver; @@ -12578,6 +44861,10 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface ManualDiscountApplicationToIndexResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + export interface ManualDiscountApplicationToTargetSelectionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } @@ -12599,7 +44886,9 @@ export type Money = any; id?: MediaImageToIdResolver; image?: MediaImageToImageResolver; mediaContentType?: MediaImageToMediaContentTypeResolver; - previewImage?: MediaImageToPreviewImageResolver; + mediaErrors?: MediaImageToMediaErrorsResolver; + preview?: MediaImageToPreviewResolver; + status?: MediaImageToStatusResolver; } export interface MediaImageToAltResolver { @@ -12618,22 +44907,38 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface MediaImageToPreviewImageResolver { + export interface MediaImageToMediaErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaImageToPreviewResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface MediaImageToStatusResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } export interface Model3dTypeResolver { alt?: Model3dToAltResolver; + filename?: Model3dToFilenameResolver; id?: Model3dToIdResolver; mediaContentType?: Model3dToMediaContentTypeResolver; - previewImage?: Model3dToPreviewImageResolver; + mediaErrors?: Model3dToMediaErrorsResolver; + originalSource?: Model3dToOriginalSourceResolver; + preview?: Model3dToPreviewResolver; sources?: Model3dToSourcesResolver; + status?: Model3dToStatusResolver; } export interface Model3dToAltResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface Model3dToFilenameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + export interface Model3dToIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } @@ -12642,7 +44947,15 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface Model3dToPreviewImageResolver { + export interface Model3dToMediaErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface Model3dToOriginalSourceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface Model3dToPreviewResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } @@ -12650,6 +44963,10 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface Model3dToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + export interface Model3dSourceTypeResolver { filesize?: Model3dSourceToFilesizeResolver; format?: Model3dSourceToFormatResolver; @@ -12673,9 +44990,68 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface OnlineStoreArticleTypeResolver { + defaultCursor?: OnlineStoreArticleToDefaultCursorResolver; + id?: OnlineStoreArticleToIdResolver; + translations?: OnlineStoreArticleToTranslationsResolver; + } + + export interface OnlineStoreArticleToDefaultCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OnlineStoreArticleToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OnlineStoreArticleToTranslationsArgs { + locale: string; + } + export interface OnlineStoreArticleToTranslationsResolver { + (parent: TParent, args: OnlineStoreArticleToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OnlineStoreBlogTypeResolver { + id?: OnlineStoreBlogToIdResolver; + translations?: OnlineStoreBlogToTranslationsResolver; + } + + export interface OnlineStoreBlogToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OnlineStoreBlogToTranslationsArgs { + locale: string; + } + export interface OnlineStoreBlogToTranslationsResolver { + (parent: TParent, args: OnlineStoreBlogToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OnlineStorePageTypeResolver { + defaultCursor?: OnlineStorePageToDefaultCursorResolver; + id?: OnlineStorePageToIdResolver; + translations?: OnlineStorePageToTranslationsResolver; + } + + export interface OnlineStorePageToDefaultCursorResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OnlineStorePageToIdResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface OnlineStorePageToTranslationsArgs { + locale: string; + } + export interface OnlineStorePageToTranslationsResolver { + (parent: TParent, args: OnlineStorePageToTranslationsArgs, context: any, info: GraphQLResolveInfo): TResult; + } + export interface ScriptDiscountApplicationTypeResolver { allocationMethod?: ScriptDiscountApplicationToAllocationMethodResolver; description?: ScriptDiscountApplicationToDescriptionResolver; + index?: ScriptDiscountApplicationToIndexResolver; targetSelection?: ScriptDiscountApplicationToTargetSelectionResolver; targetType?: ScriptDiscountApplicationToTargetTypeResolver; title?: ScriptDiscountApplicationToTitleResolver; @@ -12690,6 +45066,10 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface ScriptDiscountApplicationToIndexResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + export interface ScriptDiscountApplicationToTargetSelectionResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } @@ -12706,18 +45086,62 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface ShopifyPaymentsDefaultChargeStatementDescriptorTypeResolver { + default?: ShopifyPaymentsDefaultChargeStatementDescriptorToDefaultResolver; + prefix?: ShopifyPaymentsDefaultChargeStatementDescriptorToPrefixResolver; + } + + export interface ShopifyPaymentsDefaultChargeStatementDescriptorToDefaultResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsDefaultChargeStatementDescriptorToPrefixResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsJpChargeStatementDescriptorTypeResolver { + default?: ShopifyPaymentsJpChargeStatementDescriptorToDefaultResolver; + kana?: ShopifyPaymentsJpChargeStatementDescriptorToKanaResolver; + kanji?: ShopifyPaymentsJpChargeStatementDescriptorToKanjiResolver; + prefix?: ShopifyPaymentsJpChargeStatementDescriptorToPrefixResolver; + } + + export interface ShopifyPaymentsJpChargeStatementDescriptorToDefaultResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsJpChargeStatementDescriptorToKanaResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsJpChargeStatementDescriptorToKanjiResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface ShopifyPaymentsJpChargeStatementDescriptorToPrefixResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + export interface VideoTypeResolver { alt?: VideoToAltResolver; + filename?: VideoToFilenameResolver; id?: VideoToIdResolver; mediaContentType?: VideoToMediaContentTypeResolver; - previewImage?: VideoToPreviewImageResolver; + mediaErrors?: VideoToMediaErrorsResolver; + originalSource?: VideoToOriginalSourceResolver; + preview?: VideoToPreviewResolver; sources?: VideoToSourcesResolver; + status?: VideoToStatusResolver; } export interface VideoToAltResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface VideoToFilenameResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + export interface VideoToIdResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } @@ -12726,7 +45150,15 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } - export interface VideoToPreviewImageResolver { + export interface VideoToMediaErrorsResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface VideoToOriginalSourceResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + + export interface VideoToPreviewResolver { (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } @@ -12734,6 +45166,10 @@ export type Money = any; (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; } + export interface VideoToStatusResolver { + (parent: TParent, args: {}, context: any, info: GraphQLResolveInfo): TResult; + } + export interface VideoSourceTypeResolver { format?: VideoSourceToFormatResolver; height?: VideoSourceToHeightResolver; diff --git a/package.json b/package.json index 00a8d25..a6ced3d 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,17 @@ { - "name": "shopify-storefront-api-typings", + "name": "shopify-admin-api-typings", "version": "1.2.1", - "description": "Typings for Shopify Storefront API", + "description": "Typings for Shopify Admin API", "author": { "name": "Carl-Johan Kihl", "email": "carljohan.kihl@gmail.com", "url": "https://carljohan.me" }, - "repository": "github:caki0915/shopify-storefront-api-typings", + "repository": "github:caki0915/shopify-admin-api-typings", "bugs": { - "url": "https://github.com/caki0915/shopify-storefront-api-typings/issues" + "url": "https://github.com/caki0915/shopify-admin-api-typings/issues" }, - "homepage": "https://github.com/caki0915/shopify-storefront-api-typings", + "homepage": "https://github.com/caki0915/shopify-admin-api-typings", "scripts": { "start": "node generateSchema.js", "test": "echo \"Error: no test specified\" && exit 1" @@ -31,7 +31,7 @@ }, "keywords": [ "shopify", - "shopify storefront api", + "shopify admin api", "shopify api", "typescript", "typedefinitions",